# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=179

[Latest](https://discourse.processing.org/latest.md) · [Categories](https://discourse.processing.org/categories.md) · [Tags](https://discourse.processing.org/tags.md)

**Page:** 180

---

## [Pixelflow optical flow questions](https://discourse.processing.org/t/pixelflow-optical-flow-questions/33332)

<div class="topic-metadata">

**Author:** [@jimjimmer](https://discourse.processing.org/u/jimjimmer)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 11:39am UTC](https://discourse.processing.org/t/pixelflow-optical-flow-questions/33332 "2021-11-05T11:39:14Z")

</div>

/\*\* \* \* PixelFlow | Copyright (C) 2017 Thomas Diewald - www.thomasdiewald.com \* \* https://github.com/diwi/PixelFlow.git \* \* A Processing/Java library for high performance GPU-Computing. \* MIT License: https://o…

---

## [Ping-pong buffer in p5js shader](https://discourse.processing.org/t/ping-pong-buffer-in-p5js-shader/33367)

<div class="topic-metadata">

**Author:** [@altitudinem](https://discourse.processing.org/u/altitudinem)\
**Replies:** 0\
**Last updated:** [November 6, 2021, 8:41pm UTC](https://discourse.processing.org/t/ping-pong-buffer-in-p5js-shader/33367 "2021-11-06T20:41:24Z")

</div>

Hello everyone, I need help to figure out how to use multiple buffers in shader. (within p5js) First, this is the code that I’ve wrote so far. https://editor.p5js.org/exusquam/sketches/ELEBXQ174 Below is the same cod…

---

## [USB Authentication System](https://discourse.processing.org/t/usb-authentication-system/33366)

<div class="topic-metadata">

**Author:** [@TechMaster04](https://discourse.processing.org/u/TechMaster04)\
**Replies:** 0\
**Last updated:** [November 6, 2021, 7:19pm UTC](https://discourse.processing.org/t/usb-authentication-system/33366 "2021-11-06T19:19:44Z")

</div>

Hello all, I’ve been working a program that allows queues to be synced across the network. As an extension to this program, I created an administrator mode that can be accessed by pressing a certain button combination (…

---

## [A vec2D class for py5](https://discourse.processing.org/t/a-vec2d-class-for-py5/33363)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 0\
**Last updated:** [November 6, 2021, 1:52pm UTC](https://discourse.processing.org/t/a-vec2d-class-for-py5/33363 "2021-11-06T13:52:52Z")

</div>

@hx2A @tabreturn Recently I experimented with @villares python PVector class, which inspired me to experiment with a Vec2D class for py5 (in ruby-processing I prefer Vec2D and Vec3D classes over PVector) see my py5-vec2d …

---

## [New rotated ellipse function help and suggestions](https://discourse.processing.org/t/new-rotated-ellipse-function-help-and-suggestions/33281)

<div class="topic-metadata">

**Author:** [@maggie](https://discourse.processing.org/u/maggie)\
**Replies:** 4\
**Last updated:** [November 6, 2021, 2:31pm UTC](https://discourse.processing.org/t/new-rotated-ellipse-function-help-and-suggestions/33281 "2021-11-06T14:31:45Z")

</div>

Hello! I finally figured out how to make an ellipse that will rotate without having to use the rotate function on it. I had had no luck getting solutions using rotate() and push()/pop() to generalize to making multiple …

---

## [Oppositional Rotations](https://discourse.processing.org/t/oppositional-rotations/33364)

<div class="topic-metadata">

**Author:** [@javagar](https://discourse.processing.org/u/javagar)\
**Replies:** 0\
**Last updated:** [November 6, 2021, 2:28pm UTC](https://discourse.processing.org/t/oppositional-rotations/33364 "2021-11-06T14:28:00Z")

</div>

The forms rotate clockwise, while the colors rotate counterclockwise. p5.js code: /\* Oppositional Rotations The forms rotate clockwise, while the colors rotate counterclockwise. November 6, 2021 \*/ let ang = 0; funct…

---

## [How to de-register a running thread in Processing](https://discourse.processing.org/t/how-to-de-register-a-running-thread-in-processing/33337)

<div class="topic-metadata">

**Author:** [@avong](https://discourse.processing.org/u/avong)\
**Replies:** 2\
**Last updated:** [November 6, 2021, 6:11am UTC](https://discourse.processing.org/t/how-to-de-register-a-running-thread-in-processing/33337 "2021-11-06T06:11:12Z")

</div>

Permit me to ask once again. I have read and understand how to register thread using the "thread( " “)” function. but, in all the tutorials, i did not see where i can stop a running thread. is there any helping hand? …

---

## [Erase a rectangle](https://discourse.processing.org/t/erase-a-rectangle/33352)

<div class="topic-metadata">

**Author:** [@stefanmz7](https://discourse.processing.org/u/stefanmz7)\
**Replies:** 8\
**Last updated:** [November 6, 2021, 2:54am UTC](https://discourse.processing.org/t/erase-a-rectangle/33352 "2021-11-06T02:54:54Z")

</div>

Hey so can I erase a shape after drawing it? For example I want to have a circle and a rectangle and when they collide the rectangle is erased,it’s just gone out of the program. So how do I do the erasing? I got the othe…

---

## [Optimizing a function](https://discourse.processing.org/t/optimizing-a-function/33353)

<div class="topic-metadata">

**Author:** [@seanc4s](https://discourse.processing.org/u/seanc4s)\
**Replies:** 0\
**Last updated:** [November 6, 2021, 2:53am UTC](https://discourse.processing.org/t/optimizing-a-function/33353 "2021-11-06T02:53:56Z")

</div>

void setup(){ size(256,256); stroke(255); for(int i=0;i\<65536;i++){ int x=i&255; int y=i\>\>8; float v=boh(x/127.5-1f,y/127.5-1f); set(x,y,color(v\*100,0,200-v\*100)); } float x1=1f; float x2=-1f…

---

## [Resize rectangle](https://discourse.processing.org/t/resize-rectangle/33343)

<div class="topic-metadata">

**Author:** [@stefanmz7](https://discourse.processing.org/u/stefanmz7)\
**Replies:** 3\
**Last updated:** [November 5, 2021, 6:47pm UTC](https://discourse.processing.org/t/resize-rectangle/33343 "2021-11-05T18:47:24Z")

</div>

Hey,so I need to resize a rectangle when a condition is met. Can I do this? Is there a way to resize a rectangle that is drawn in the draw method() after the fact in an if statement? If something is true then resize the …

---

## [setResizable(TRUE)](https://discourse.processing.org/t/setresizable-true/33202)

<div class="topic-metadata">

**Author:** [@markcosmic](https://discourse.processing.org/u/markcosmic)\
**Replies:** 3\
**Last updated:** [November 5, 2021, 6:04pm UTC](https://discourse.processing.org/t/setresizable-true/33202 "2021-11-05T18:04:24Z")

</div>

After looking online for an answer, I am stumped. In setup() I use setResizable(TRUE). That allows me to resize my display window, and works, but the content within the display window does not resize. I have found no re…

---

## [Experimenting with Noise in py5](https://discourse.processing.org/t/experimenting-with-noise-in-py5/31938)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 14\
**Last updated:** [November 5, 2021, 5:23pm UTC](https://discourse.processing.org/t/experimenting-with-noise-in-py5/31938 "2021-11-05T17:23:17Z")

</div>

Recently @micycle presented his uniform noise library. I thought it would interesting to see how py5 noise compared, because I know it is implemented differently from processing “perlin noise”. Here is the test sketch (m…

---

## [Video Capture with py5](https://discourse.processing.org/t/video-capture-with-py5/33191)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 6\
**Last updated:** [November 5, 2021, 5:02pm UTC](https://discourse.processing.org/t/video-capture-with-py5/33191 "2021-11-05T17:02:17Z")

</div>

On linux this is a simple as putting the video jars (video.jar, jna.jar & gst1-java-core.jar) in a jar folder and in this example the glsl filter in a data folder (experience might be different Windows or Mac). Here I us…

---

## [French 2-deck Solitaire](https://discourse.processing.org/t/french-2-deck-solitaire/32753)

<div class="topic-metadata">

**Author:** [@JoseMY](https://discourse.processing.org/u/JoseMY)\
**Replies:** 10\
**Last updated:** [November 5, 2021, 4:53pm UTC](https://discourse.processing.org/t/french-2-deck-solitaire/32753 "2021-11-05T16:53:11Z")

</div>

Hello everybody! After many years thinking about programming this on other libraries, I finally programmed a French solitaire using P5js. It is slightly different from Klondike, since it uses two decks, you can place A…

---

## [How to declare an instance when no face is detected in \[deep-vision-processing library\]?](https://discourse.processing.org/t/how-to-declare-an-instance-when-no-face-is-detected-in-deep-vision-processing-library/33336)

<div class="topic-metadata">

**Author:** [@Yatish001](https://discourse.processing.org/u/Yatish001)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 2:29pm UTC](https://discourse.processing.org/t/how-to-declare-an-instance-when-no-face-is-detected-in-deep-vision-processing-library/33336 "2021-11-05T14:29:49Z")

</div>

I want to play one video when no face is detected and play another video when a face is detected using Deep Vision Library for processing. I am using the FaceDetectorHaarWebcam code from the examples. However, I am not a…

---

## [Hiring: Computational Media and Arts academics](https://discourse.processing.org/t/hiring-computational-media-and-arts-academics/33333)

<div class="topic-metadata">

**Author:** [@lobodelmar](https://discourse.processing.org/u/lobodelmar)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 11:51am UTC](https://discourse.processing.org/t/hiring-computational-media-and-arts-academics/33333 "2021-11-05T11:51:24Z")

</div>

Hi everyone, the Hong Kong University of Science and Technology is setting up a brand new Computational Media and Arts department on their new campus in Guangzhou, China. The university is very highly ranked tech instit…

---

## [Using \[deep-vision-processing library\] framework](https://discourse.processing.org/t/using-deep-vision-processing-library-framework/33328)

<div class="topic-metadata">

**Author:** [@Yatish001](https://discourse.processing.org/u/Yatish001)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 11:30am UTC](https://discourse.processing.org/t/using-deep-vision-processing-library-framework/33328 "2021-11-05T11:30:08Z")

</div>

I want to play a video only when a face is detected on live webcam and play another video if no face is detected. I want to use this code from the Examples, but I am unable to understand the syntax. \<\>import processing…

---

## [Rendering many objects with a shader](https://discourse.processing.org/t/rendering-many-objects-with-a-shader/33286)

<div class="topic-metadata">

**Author:** [@Brahvim](https://discourse.processing.org/u/Brahvim)\
**Replies:** 2\
**Last updated:** [November 5, 2021, 10:39am UTC](https://discourse.processing.org/t/rendering-many-objects-with-a-shader/33286 "2021-11-05T10:39:28Z")

</div>

Hello there! I made a fragment shader that can render circles, and would like to use it inside Processing as a replacement for Processing’s own functions. An extra question, if it is appropriate to ask this much in one …

---

## [Character Dashing Movement](https://discourse.processing.org/t/character-dashing-movement/33321)

<div class="topic-metadata">

**Author:** [@wending10](https://discourse.processing.org/u/wending10)\
**Replies:** 2\
**Last updated:** [November 5, 2021, 9:19am UTC](https://discourse.processing.org/t/character-dashing-movement/33321 "2021-11-05T09:19:10Z")

</div>

Hi, I would like to ask on how to code on the movement of character. Basically, when I press my right arrow key, it will move right, and when I press my left shift, it will dash for a certain time(using int dashcounter) …

---

## [Error 400 Invalid Request](https://discourse.processing.org/t/error-400-invalid-request/33288)

<div class="topic-metadata">

**Author:** [@eharkins](https://discourse.processing.org/u/eharkins)\
**Replies:** 6\
**Last updated:** [November 4, 2021, 8:39pm UTC](https://discourse.processing.org/t/error-400-invalid-request/33288 "2021-11-04T20:39:50Z")

</div>

\<For at least two weeks my students and I have been receiving this error in both Chrome and Safari. Eventually we can log on, but it seems to be getting worse. I have googled "P5.js Authentication Error 400 to no avail. …

---

## [Using villares PVector (python implementation) in py5](https://discourse.processing.org/t/using-villares-pvector-python-implementation-in-py5/33268)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 4\
**Last updated:** [November 4, 2021, 7:16am UTC](https://discourse.processing.org/t/using-villares-pvector-python-implementation-in-py5/33268 "2021-11-04T07:16:51Z")

</div>

@villares has created a proposed new python implementation of PVector for use with py5. I’m not a fan of camel case in python (or ruby) so I changed the signature of PVector.fromAngle and also enclosed it as a module. Bu…

---

## [Use Processing to make continuous graph using CSV](https://discourse.processing.org/t/use-processing-to-make-continuous-graph-using-csv/16898)

<div class="topic-metadata">

**Author:** [@lopklopk](https://discourse.processing.org/u/lopklopk)\
**Replies:** 12\
**Last updated:** [November 4, 2021, 12:49am UTC](https://discourse.processing.org/t/use-processing-to-make-continuous-graph-using-csv/16898 "2021-11-04T00:49:30Z")

</div>

using CSV… In processing to make continuous graph Or Dynamic or animated graph of ECG data :slightly\_smiling\_face: : I’ve using CSV contain one colum for seconds & other for mVolt ECG data AD8232… something like bel…

---

## [Keep background image in P3D](https://discourse.processing.org/t/keep-background-image-in-p3d/33224)

<div class="topic-metadata">

**Author:** [@Kylle](https://discourse.processing.org/u/Kylle)\
**Replies:** 6\
**Last updated:** [November 4, 2021, 8:48am UTC](https://discourse.processing.org/t/keep-background-image-in-p3d/33224 "2021-11-04T08:48:21Z")

</div>

When using the P3D render the loaded 2D image disappears but I will just want to overwrite parts of it with spheres. How to fix this? PImage img; void setup() { size(1500, 800,P3D); img = loadImage("String4.png"); …

---

## [Save png function keyPressed not working!](https://discourse.processing.org/t/save-png-function-keypressed-not-working/32834)

<div class="topic-metadata">

**Author:** [@u\_ro](https://discourse.processing.org/u/u_ro)\
**Replies:** 3\
**Last updated:** [November 4, 2021, 1:33am UTC](https://discourse.processing.org/t/save-png-function-keypressed-not-working/32834 "2021-11-04T01:33:16Z")

</div>

hey guys, silly question: I am not able to save a png in this sketch, I cannot understand why… saveCount = 0; var mic, fft, spectrum = \[\]; var X,Y; var spectrumBuffer = \[\]; var depth = 20; var length = 40; var spacing …

---

## [Failed to install java.nio.charset.UnsupportedCharsetException](https://discourse.processing.org/t/failed-to-install-java-nio-charset-unsupportedcharsetexception/33291)

<div class="topic-metadata">

**Author:** [@Jim-Plaxco-Artsnova](https://discourse.processing.org/u/Jim-Plaxco-Artsnova)\
**Replies:** 8\
**Last updated:** [November 4, 2021, 12:16am UTC](https://discourse.processing.org/t/failed-to-install-java-nio-charset-unsupportedcharsetexception/33291 "2021-11-04T00:16:07Z")

</div>

Hi everyone, Just tried to run Processing in Python mode for the first time in Windows 7 and get the following error: Failed to install ‘’: java.nio.charset.UnsupportedCharsetException: cp0. Looking around it seems th…

---

## [Make 2 needle rotate on its center point](https://discourse.processing.org/t/make-2-needle-rotate-on-its-center-point/33265)

<div class="topic-metadata">

**Author:** [@anwar05](https://discourse.processing.org/u/anwar05)\
**Replies:** 13\
**Last updated:** [November 3, 2021, 10:42pm UTC](https://discourse.processing.org/t/make-2-needle-rotate-on-its-center-point/33265 "2021-11-03T22:42:30Z")

</div>

Hi everyone, I am a mechanical engineering student who is making a dynotest project where I will visualize the serial monitor value from Arduino using processing. I’m making two gauges. However, one of the needles of…

---

## [Link or call image when answere correct (Quiz with keyboard input)](https://discourse.processing.org/t/link-or-call-image-when-answere-correct-quiz-with-keyboard-input/33222)

<div class="topic-metadata">

**Author:** [@jelledgwn](https://discourse.processing.org/u/jelledgwn)\
**Replies:** 4\
**Last updated:** [November 3, 2021, 7:53pm UTC](https://discourse.processing.org/t/link-or-call-image-when-answere-correct-quiz-with-keyboard-input/33222 "2021-11-03T19:53:51Z")

</div>

Hello everyone, Im coding a quiz but Im just a beginner. So there is one thing I need help with: What I want: When the answer is correct it needs to go to the next picture. How do I draw the next image when the answ…

---

## [3D image transform question](https://discourse.processing.org/t/3d-image-transform-question/33252)

<div class="topic-metadata">

**Author:** [@zlaccu](https://discourse.processing.org/u/zlaccu)\
**Replies:** 4\
**Last updated:** [November 3, 2021, 2:12pm UTC](https://discourse.processing.org/t/3d-image-transform-question/33252 "2021-11-03T14:12:39Z")

</div>

hi there! im recreating this effect : Login • Instagram but my looks not very good. this is my looks like: I think that in the original video, where the gray value is high, It’s not that the height of boxes change, …

---

## [Identifying OpenGL/GLSL Version, Targeting a Dedicated GPU](https://discourse.processing.org/t/identifying-opengl-glsl-version-targeting-a-dedicated-gpu/33273)

<div class="topic-metadata">

**Author:** [@jdotson8](https://discourse.processing.org/u/jdotson8)\
**Replies:** 2\
**Last updated:** [November 3, 2021, 1:30pm UTC](https://discourse.processing.org/t/identifying-opengl-glsl-version-targeting-a-dedicated-gpu/33273 "2021-11-03T13:30:32Z")

</div>

OpenGL Version I have been working on a volume rendering project in Processing 3.3.7 that makes extensive use of custom shaders. Everything seems to be working fine on my laptop, but there are certain features that I di…

---

## [Trayecto que se da de un lugar a otro al clickear](https://discourse.processing.org/t/trayecto-que-se-da-de-un-lugar-a-otro-al-clickear/33278)

<div class="topic-metadata">

**Author:** [@tati1202](https://discourse.processing.org/u/tati1202)\
**Replies:** 0\
**Last updated:** [November 3, 2021, 2:57am UTC](https://discourse.processing.org/t/trayecto-que-se-da-de-un-lugar-a-otro-al-clickear/33278 "2021-11-03T02:57:34Z")

</div>

please format code with \</\> button \* homework policy \* asking questions https://github.com/BautiFelli/tecnomultimedia/tree/clPelota hola, no estamos pudiendo lograr que el trayecto de la pelota se de solo al clickea…

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=178)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=180)
