# Latest

**URL:** https://discourse.processing.org/latest.md?page=127

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

**Page:** 128

---

## [Rotate problem with PGraphics](https://discourse.processing.org/t/rotate-problem-with-pgraphics/37753)

<div class="topic-metadata">

**Author:** [@druuupppa](https://discourse.processing.org/u/druuupppa)\
**Replies:** 4\
**Last updated:** [June 29, 2022, 11:56pm UTC](https://discourse.processing.org/t/rotate-problem-with-pgraphics/37753 "2022-06-29T23:56:30Z")

</div>

Can someone please help me to get rotate to work with pgraphics in the following code. This code calls a function that draws a ‘petal’ that I would like to rotate and which was working perfectly without PGraphics. \< p.…

---

## [Remove() and images](https://discourse.processing.org/t/remove-and-images/37756)

<div class="topic-metadata">

**Author:** [@caw](https://discourse.processing.org/u/caw)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 11:02pm UTC](https://discourse.processing.org/t/remove-and-images/37756 "2022-06-29T23:02:21Z")

</div>

I have a misunderstanding about images and ‘removing’ them. The remove() function in p5.js Removes a Graphics object from the page and frees any resources associated with it. and one of the examples is: let bg; fun…

---

## [Multiple Canvas](https://discourse.processing.org/t/multiple-canvas/37718)

<div class="topic-metadata">

**Author:** [@vorfra](https://discourse.processing.org/u/vorfra)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 3:10pm UTC](https://discourse.processing.org/t/multiple-canvas/37718 "2022-06-29T15:10:03Z")

</div>

I want this sketch (#1) to be the background p5.js Web Editor of this sketch (#2) p5.js Web Editor I want to save sketch#1 output as an image and use the image as the background of another sketch#2, all in the same prog…

---

## [Circles drawing differently in active and static modes](https://discourse.processing.org/t/circles-drawing-differently-in-active-and-static-modes/37735)

<div class="topic-metadata">

**Author:** [@Nicholas](https://discourse.processing.org/u/Nicholas)\
**Replies:** 4\
**Last updated:** [June 29, 2022, 12:42pm UTC](https://discourse.processing.org/t/circles-drawing-differently-in-active-and-static-modes/37735 "2022-06-29T12:42:17Z")

</div>

Hello all I’ve just installed Processing 4, and when I run the following in static mode I get a smooth circle: size(500,500); noStroke(); circle(width/2,height/2,20); But when I run the same code in active mode it …

---

## [HELP! Exception in Event Handler](https://discourse.processing.org/t/help-exception-in-event-handler/37751)

<div class="topic-metadata">

**Author:** [@charlielamus](https://discourse.processing.org/u/charlielamus)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 8:31am UTC](https://discourse.processing.org/t/help-exception-in-event-handler/37751 "2022-06-29T08:31:12Z")

</div>

Hello! I know next to nothing about java, being limited to playing about with the Marlin code for my 3d printer. I am a total beginner, so please be kind… I am also autistic so I might ask questions which sound stupid.…

---

## [Sin()-function and radians()-function implemented in processing.1.4.16.js?](https://discourse.processing.org/t/sin-function-and-radians-function-implemented-in-processing-1-4-16-js/37729)

<div class="topic-metadata">

**Author:** [@anrui71](https://discourse.processing.org/u/anrui71)\
**Replies:** 5\
**Last updated:** [June 29, 2022, 6:12am UTC](https://discourse.processing.org/t/sin-function-and-radians-function-implemented-in-processing-1-4-16-js/37729 "2022-06-29T06:12:58Z")

</div>

Hello to all, I read a bit about the potential difficulties to work with processing.js but so far luckily did not encounter any problem. Only just now it occurs that the sin()-function, probabily also the radians()-func…

---

## [How to capture every frame of a video, manipulate the image using a function, and display the manipulated frames?](https://discourse.processing.org/t/how-to-capture-every-frame-of-a-video-manipulate-the-image-using-a-function-and-display-the-manipulated-frames/37747)

<div class="topic-metadata">

**Author:** [@Alalalala](https://discourse.processing.org/u/Alalalala)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 2:20am UTC](https://discourse.processing.org/t/how-to-capture-every-frame-of-a-video-manipulate-the-image-using-a-function-and-display-the-manipulated-frames/37747 "2022-06-29T02:20:03Z")

</div>

I was looking at the examples in the video library and there is an example that lets you control the video by pressing arrow keys and navigating per frame Is there a way i can store the frame as an image, obtain the col…

---

## [Generate QR code – ZXing library](https://discourse.processing.org/t/generate-qr-code-zxing-library/1250)

<div class="topic-metadata">

**Author:** [@f.m](https://discourse.processing.org/u/f.m)\
**Replies:** 9\
**Last updated:** [June 28, 2022, 4:45pm UTC](https://discourse.processing.org/t/generate-qr-code-zxing-library/1250 "2022-06-28T16:45:39Z")

</div>

Hello, does anyone ever worked with the ZXing library? I am trying to generate QR codes with this library in processing. So when open the example sketch “generateQRCode” there is always the same error: The package “com…

---

## [CreateElement() and Clear() not defined on page load even though it is called in function setup()](https://discourse.processing.org/t/createelement-and-clear-not-defined-on-page-load-even-though-it-is-called-in-function-setup/37733)

<div class="topic-metadata">

**Author:** [@bill.le](https://discourse.processing.org/u/bill.le)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 4:30pm UTC](https://discourse.processing.org/t/createelement-and-clear-not-defined-on-page-load-even-though-it-is-called-in-function-setup/37733 "2022-06-28T16:30:54Z")

</div>

Hi! I’m currently working on a project (a chrome extension) that loads the canvas onto any site so I can draw on it. However, at random times, I would get errors saying that CreateElement() or Clear() is not defined. M…

---

## [Sampling a movement by storing Mouse datas and repeat it one second after. The right sampling :)](https://discourse.processing.org/t/sampling-a-movement-by-storing-mouse-datas-and-repeat-it-one-second-after-the-right-sampling/37472)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 10\
**Last updated:** [June 28, 2022, 4:10pm UTC](https://discourse.processing.org/t/sampling-a-movement-by-storing-mouse-datas-and-repeat-it-one-second-after-the-right-sampling/37472 "2022-06-28T16:10:25Z")

</div>

PLEASE GO to SEE my NEXT post! Thank you Hello everybodies, I would like to be able to record the x and y position of the mouse for a second and then automatically redo that recorded movement. It would be nice to succ…

---

## [Copy data to OpenGL buffer](https://discourse.processing.org/t/copy-data-to-opengl-buffer/17709)

<div class="topic-metadata">

**Author:** [@Alex\_Pr](https://discourse.processing.org/u/Alex_Pr)\
**Replies:** 6\
**Last updated:** [June 28, 2022, 6:32am UTC](https://discourse.processing.org/t/copy-data-to-opengl-buffer/17709 "2022-06-28T06:32:30Z")

</div>

I’m trying to implement a parallax mapping shader following this post. In the (C++) code, at the end of the renderQuad function, the the array quadVertices is copied into the GL Buffer. How can I do the same in Processi…

---

## [How to make p5.speech work in electron application for speech to text?](https://discourse.processing.org/t/how-to-make-p5-speech-work-in-electron-application-for-speech-to-text/37739)

<div class="topic-metadata">

**Author:** [@alokmahor](https://discourse.processing.org/u/alokmahor)\
**Replies:** 1\
**Last updated:** [June 27, 2022, 9:33pm UTC](https://discourse.processing.org/t/how-to-make-p5-speech-work-in-electron-application-for-speech-to-text/37739 "2022-06-27T21:33:10Z")

</div>

I have created a smaple electron application to try p5.speech. But that is not working and I am not seeing any error in console. Index.html \<!DOCTYPE html\> \<html\> \<head\> \<meta charset="UTF-8"\> \<title\>Hello p5…

---

## [Fill() can only be called between beginShape() and endShape()](https://discourse.processing.org/t/fill-can-only-be-called-between-beginshape-and-endshape/37738)

<div class="topic-metadata">

**Author:** [@bcabc](https://discourse.processing.org/u/bcabc)\
**Replies:** 1\
**Last updated:** [June 27, 2022, 7:19pm UTC](https://discourse.processing.org/t/fill-can-only-be-called-between-beginshape-and-endshape/37738 "2022-06-27T19:19:42Z")

</div>

Hi - I’m working through the PShape example and running into a bit of a problem with the following code. I can’t seem to color fill the shape. Any suggestions? PShape square; void setup() { size(400, 400); squar…

---

## [rectMode for only 1 rect](https://discourse.processing.org/t/rectmode-for-only-1-rect/37737)

<div class="topic-metadata">

**Author:** [@Sander](https://discourse.processing.org/u/Sander)\
**Replies:** 3\
**Last updated:** [June 27, 2022, 8:53pm UTC](https://discourse.processing.org/t/rectmode-for-only-1-rect/37737 "2022-06-27T20:53:11Z")

</div>

Hey, i am new in Processing and i have a question… i want to center 1 rect but the function rectMode centers all rects how can i change this?

---

## [Jobs / career recommendations](https://discourse.processing.org/t/jobs-career-recommendations/37692)

<div class="topic-metadata">

**Author:** [@Erif](https://discourse.processing.org/u/Erif)\
**Replies:** 6\
**Last updated:** [June 27, 2022, 2:27pm UTC](https://discourse.processing.org/t/jobs-career-recommendations/37692 "2022-06-27T14:27:26Z")

</div>

Hi all, I’ve been studying Processing full time for 6 months and would like your opinion on what would be the next step to start using these skills and get compensated economically (as soon as possible :sweat\_smile:). …

---

## [New computer, sketches don't work? \[Updated and "fix" found\]](https://discourse.processing.org/t/new-computer-sketches-dont-work-updated-and-fix-found/37722)

<div class="topic-metadata">

**Author:** [@darinb](https://discourse.processing.org/u/darinb)\
**Replies:** 0\
**Last updated:** [June 26, 2022, 9:00pm UTC](https://discourse.processing.org/t/new-computer-sketches-dont-work-updated-and-fix-found/37722 "2022-06-26T21:00:15Z")

</div>

I upgraded to an M1 Mac mini and and coming back to Processing after not using it for a while. I’m running into a problem with all of my sketches in that they will run, in a way, but display only a black screen while doi…

---

## [How to record many Audio Recorder?](https://discourse.processing.org/t/how-to-record-many-audio-recorder/4244)

<div class="topic-metadata">

**Author:** [@cocolembo](https://discourse.processing.org/u/cocolembo)\
**Replies:** 3\
**Last updated:** [June 26, 2022, 9:52pm UTC](https://discourse.processing.org/t/how-to-record-many-audio-recorder/4244 "2022-06-26T21:52:53Z")

</div>

Hi, I’m a beginner in Processing, here is a code to record an audio from micro input. (from minim library) The sketch allow to record an audio but just only one recording. I would like to record a new recording at eac…

---

## [Exit button on Android](https://discourse.processing.org/t/exit-button-on-android/37580)

<div class="topic-metadata">

**Author:** [@urlxd](https://discourse.processing.org/u/urlxd)\
**Replies:** 2\
**Last updated:** [June 26, 2022, 12:41am UTC](https://discourse.processing.org/t/exit-button-on-android/37580 "2022-06-26T00:41:44Z")

</div>

hello, i wanted to ask here i have a code: int f = 0; void setup(){ } void draw(){ if(keyPressed){ f = 255; exit(); } fill(f); rect(0,0,width, height); } I wanted that by pressing “back” the program wo…

---

## [Static reference to the non-static method](https://discourse.processing.org/t/static-reference-to-the-non-static-method/37711)

<div class="topic-metadata">

**Author:** [@PixelMx](https://discourse.processing.org/u/PixelMx)\
**Replies:** 2\
**Last updated:** [June 25, 2022, 2:32pm UTC](https://discourse.processing.org/t/static-reference-to-the-non-static-method/37711 "2022-06-25T14:32:49Z")

</div>

Hi, I’ve been reading about The Salesman Problem and I’ve seen TSP art, which I’m interested in creating. I found an existing sketch in gihub and I’m trying to adapt it to randomly read pixels from a black and white ima…

---

## [Glitches again in p5js](https://discourse.processing.org/t/glitches-again-in-p5js/37712)

<div class="topic-metadata">

**Author:** [@SomeOne](https://discourse.processing.org/u/SomeOne)\
**Replies:** 0\
**Last updated:** [June 25, 2022, 2:18pm UTC](https://discourse.processing.org/t/glitches-again-in-p5js/37712 "2022-06-25T14:18:45Z")

</div>

I developed old code and played with blend modes in p5js. Nice glitches (same code in Java is clean and honestly a bit boring).

---

## [Using keyCode when Processing imported as p](https://discourse.processing.org/t/using-keycode-when-processing-imported-as-p/37652)

<div class="topic-metadata">

**Author:** [@simonc8](https://discourse.processing.org/u/simonc8)\
**Replies:** 5\
**Last updated:** [June 25, 2022, 4:43am UTC](https://discourse.processing.org/t/using-keycode-when-processing-imported-as-p/37652 "2022-06-25T04:43:26Z")

</div>

I’m curious about why keyCode doesn’t seem to recognise keypresses when you import processing using an alias. I am using trinket, so that may be an issue. With this simple code from processing import \* def keyPressed…

---

## [Converting coding challenge 'Self-avoiding walk backtracing' from p5.js to Processing (Java)](https://discourse.processing.org/t/converting-coding-challenge-self-avoiding-walk-backtracing-from-p5-js-to-processing-java/35047)

<div class="topic-metadata">

**Author:** [@psamead](https://discourse.processing.org/u/psamead)\
**Replies:** 20\
**Last updated:** [June 25, 2022, 1:52am UTC](https://discourse.processing.org/t/converting-coding-challenge-self-avoiding-walk-backtracing-from-p5-js-to-processing-java/35047 "2022-06-25T01:52:15Z")

</div>

Hi my friends, I am trying to learn coding challenge Self-avoiding walk backtracing from Denial’s video 26:40 ; And converting the P5.js code to processing(java) code. But my code seems it is struggling on getting the a…

---

## [Minim delay & other effects](https://discourse.processing.org/t/minim-delay-other-effects/34707)

<div class="topic-metadata">

**Author:** [@Froschgelb](https://discourse.processing.org/u/Froschgelb)\
**Replies:** 2\
**Last updated:** [June 25, 2022, 1:32am UTC](https://discourse.processing.org/t/minim-delay-other-effects/34707 "2022-06-25T01:32:53Z")

</div>

Hi there, I am writing a small program to record audio and apply some basic effects from the minim library, delay & flanger etc. I have implimented the record feature and it works fine however trying to patch effects is …

---

## [Shuffling audio files in Minim on a pi Zero](https://discourse.processing.org/t/shuffling-audio-files-in-minim-on-a-pi-zero/37701)

<div class="topic-metadata">

**Author:** [@gwenn](https://discourse.processing.org/u/gwenn)\
**Replies:** 0\
**Last updated:** [June 24, 2022, 6:53pm UTC](https://discourse.processing.org/t/shuffling-audio-files-in-minim-on-a-pi-zero/37701 "2022-06-24T18:53:08Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi I am trying to randomly play audio files on a pi zero (yes you can play back audio files on a pi zero, as demonstrated here ) and do a few o…

---

## [New to processing and just need some quick guidance please](https://discourse.processing.org/t/new-to-processing-and-just-need-some-quick-guidance-please/37695)

<div class="topic-metadata">

**Author:** [@NoobyDooby](https://discourse.processing.org/u/NoobyDooby)\
**Replies:** 6\
**Last updated:** [June 23, 2022, 9:31pm UTC](https://discourse.processing.org/t/new-to-processing-and-just-need-some-quick-guidance-please/37695 "2022-06-23T21:31:56Z")

</div>

Hello! I’m very new to processing and have been watching tons of code train videos. At the moment I’ve spent some time looking at projects from the openprocessing website and have had tons of fun with it. There are som…

---

## [I love Processing!](https://discourse.processing.org/t/i-love-processing/37697)

<div class="topic-metadata">

**Author:** [@IRIGIMA](https://discourse.processing.org/u/IRIGIMA)\
**Replies:** 0\
**Last updated:** [June 23, 2022, 9:18pm UTC](https://discourse.processing.org/t/i-love-processing/37697 "2022-06-23T21:18:23Z")

</div>

---

## [Processing not compiling my code anymore](https://discourse.processing.org/t/processing-not-compiling-my-code-anymore/37654)

<div class="topic-metadata">

**Author:** [@jhsa](https://discourse.processing.org/u/jhsa)\
**Replies:** 20\
**Last updated:** [June 23, 2022, 2:41pm UTC](https://discourse.processing.org/t/processing-not-compiling-my-code-anymore/37654 "2022-06-23T14:41:58Z")

</div>

Hi guys. I am having a problem. I was running a sketch on processing on my old PC with windows 7 and it worked fine. the IDE compiled it and the compiled .exe file also worked. that computer’s hard drive stopped working …

---

## [Implicit super constructor classes.Mover() is undefined. Must explicitly invoke another constructor](https://discourse.processing.org/t/implicit-super-constructor-classes-mover-is-undefined-must-explicitly-invoke-another-constructor/37683)

<div class="topic-metadata">

**Author:** [@BeshooD](https://discourse.processing.org/u/BeshooD)\
**Replies:** 11\
**Last updated:** [June 23, 2022, 5:15am UTC](https://discourse.processing.org/t/implicit-super-constructor-classes-mover-is-undefined-must-explicitly-invoke-another-constructor/37683 "2022-06-23T05:15:29Z")

</div>

Not sure what this message means, can I get some help?

---

## [Understanding which curve function is most efficent for drawing a pointed oval?](https://discourse.processing.org/t/understanding-which-curve-function-is-most-efficent-for-drawing-a-pointed-oval/37685)

<div class="topic-metadata">

**Author:** [@SpaceWave](https://discourse.processing.org/u/SpaceWave)\
**Replies:** 1\
**Last updated:** [June 22, 2022, 9:53pm UTC](https://discourse.processing.org/t/understanding-which-curve-function-is-most-efficent-for-drawing-a-pointed-oval/37685 "2022-06-22T21:53:24Z")

</div>

Hello, probably a very simple question. I’m trying to draw a pointed oval as part of a sketch I’m doing. I’m having trouble parsing the reference material for all the different options to draw a curve. I’ve tried to unde…

---

## [Window size of exported windows executable](https://discourse.processing.org/t/window-size-of-exported-windows-executable/36311)

<div class="topic-metadata">

**Author:** [@mcmonty](https://discourse.processing.org/u/mcmonty)\
**Replies:** 5\
**Last updated:** [June 22, 2022, 8:59pm UTC](https://discourse.processing.org/t/window-size-of-exported-windows-executable/36311 "2022-06-22T20:59:11Z")

</div>

Hello, I’m working in Processing 4.0b7. When I export my program (file-\>export application) and choose Windows, the exported program works fine. However, the size of the window is larger than when I run the program fro…

[Previous page](https://discourse.processing.org/latest.md?page=126)

[Next page](https://discourse.processing.org/latest.md?page=128)
