# Latest

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

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

**Page:** 213

---

## [Processing (PDE) ant build Error](https://discourse.processing.org/t/processing-pde-ant-build-error/30890)

<div class="topic-metadata">

**Author:** [@Flolo](https://discourse.processing.org/u/Flolo)\
**Replies:** 0\
**Last updated:** [June 24, 2021, 4:33pm UTC](https://discourse.processing.org/t/processing-pde-ant-build-error/30890 "2021-06-24T16:33:11Z")

</div>

Hey I need some help. I want to change some code in the Processing (PDE). That’s why I downloaded the Github library. Then I copied the “app” folder to the desktop and opened it in eclipse. There were a few bugs as st…

---

## [Is there an associated timeout function when using Serial Buffer](https://discourse.processing.org/t/is-there-an-associated-timeout-function-when-using-serial-buffer/30886)

<div class="topic-metadata">

**Author:** [@gerrikoio](https://discourse.processing.org/u/gerrikoio)\
**Replies:** 2\
**Last updated:** [June 24, 2021, 3:19pm UTC](https://discourse.processing.org/t/is-there-an-associated-timeout-function-when-using-serial-buffer/30886 "2021-06-24T15:19:01Z")

</div>

I have been testing the Serial library buffer() function and it works very well with Serial Event. But I am left wondering what happens if the Serial port is somehow disrupted. Is there a timeout parameter somewhere tha…

---

## [Efficient File Loading / Memory Usage Tips?](https://discourse.processing.org/t/efficient-file-loading-memory-usage-tips/30859)

<div class="topic-metadata">

**Author:** [@CosmicCrowMC](https://discourse.processing.org/u/CosmicCrowMC)\
**Replies:** 4\
**Last updated:** [June 24, 2021, 11:47am UTC](https://discourse.processing.org/t/efficient-file-loading-memory-usage-tips/30859 "2021-06-24T11:47:44Z")

</div>

Hello there! I’ve developed quite a large game with Processing, and I’m wanting to know the best way to load a large number of files (200+). I’ve tried loading them all with a thread called in setup(), but I’m concerned …

---

## [Patterner, a tool for Axidraw](https://discourse.processing.org/t/patterner-a-tool-for-axidraw/28216)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 1\
**Last updated:** [June 24, 2021, 9:54am UTC](https://discourse.processing.org/t/patterner-a-tool-for-axidraw/28216 "2021-06-24T09:54:14Z")

</div>

Hi, here’s a big works that I start some month ago. : Patterner on Github It’s an application to create random pattern and draw it with axidraw. If you don’t have plotter, no problem you can just draw and save as .pn…

---

## [App resize help](https://discourse.processing.org/t/app-resize-help/30883)

<div class="topic-metadata">

**Author:** [@r0x15](https://discourse.processing.org/u/r0x15)\
**Replies:** 2\
**Last updated:** [June 24, 2021, 6:15am UTC](https://discourse.processing.org/t/app-resize-help/30883 "2021-06-24T06:15:46Z")

</div>

Any help Howto resize app when chance revolution screen Thankyou

---

## [How to do other sides](https://discourse.processing.org/t/how-to-do-other-sides/30878)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 0\
**Last updated:** [June 23, 2021, 7:18pm UTC](https://discourse.processing.org/t/how-to-do-other-sides/30878 "2021-06-23T19:18:01Z")

</div>

i cant figure out how to use this code in other directions. this line of code checks if something on its west side is in range and then it presses z. this works but i cant seem to figure out how to do it for its northwe…

---

## [Get source code from Debugged application](https://discourse.processing.org/t/get-source-code-from-debugged-application/30877)

<div class="topic-metadata">

**Author:** [@Syed\_Daanish](https://discourse.processing.org/u/Syed_Daanish)\
**Replies:** 0\
**Last updated:** [June 23, 2021, 6:22pm UTC](https://discourse.processing.org/t/get-source-code-from-debugged-application/30877 "2021-06-23T18:22:59Z")

</div>

I was Debugging my application for processing for android my computer went blank and the sketch got deleted I know how to create apk from the application but how do I get the source code(java) from the apk?? Any suggesti…

---

## [Loading multiple images with a wildcard?](https://discourse.processing.org/t/loading-multiple-images-with-a-wildcard/30866)

<div class="topic-metadata">

**Author:** [@Mat100](https://discourse.processing.org/u/Mat100)\
**Replies:** 6\
**Last updated:** [June 23, 2021, 2:11pm UTC](https://discourse.processing.org/t/loading-multiple-images-with-a-wildcard/30866 "2021-06-23T14:11:14Z")

</div>

Hi, How do I load images numbered 0000 - 0100? I have a series of images "frame-0000.png to “frame-0100.png” If I use this code… for (int i = 0; i \< images.length; i ++ ) { images\[i\] = loadImage( "frame-000" + i …

---

## [Some class wrapped examples for py5](https://discourse.processing.org/t/some-class-wrapped-examples-for-py5/30864)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 0\
**Last updated:** [June 23, 2021, 8:40am UTC](https://discourse.processing.org/t/some-class-wrapped-examples-for-py5/30864 "2021-06-23T08:40:47Z")

</div>

I’ve just been blocked from creating a further reply to New Python Processing project: Py5 - #12 by monkstone so annoyingly I’m picking up the thread again. @tabreturn I’ve been digging a bit deeper into py5 and I belie…

---

## [Image() on a 3d canvas on draw() and setup()](https://discourse.processing.org/t/image-on-a-3d-canvas-on-draw-and-setup/30812)

<div class="topic-metadata">

**Author:** [@JoseMY](https://discourse.processing.org/u/JoseMY)\
**Replies:** 7\
**Last updated:** [June 23, 2021, 6:53am UTC](https://discourse.processing.org/t/image-on-a-3d-canvas-on-draw-and-setup/30812 "2021-06-23T06:53:54Z")

</div>

Hi! I’m continuing with my efforts to replicate early works of computer art. I made this nice sketch to replicate Manfred Mohr’s Pascal triangle: http://p5js.sketchpad.cc/NbccVM8Nvk And then I made an animated versio…

---

## [Illegal modifier for the local class Notepad; only abstract or final is permitted](https://discourse.processing.org/t/illegal-modifier-for-the-local-class-notepad-only-abstract-or-final-is-permitted/30831)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 1\
**Last updated:** [June 23, 2021, 6:34am UTC](https://discourse.processing.org/t/illegal-modifier-for-the-local-class-notepad-only-abstract-or-final-is-permitted/30831 "2021-06-23T06:34:33Z")

</div>

why does my code return the error: Illegal modifier for the local class Notepad; only abstract or final is permitted this is the code: \`int x=1; int y=1; color ring1 = color(0,0,0); color ring2 = color(0,0,0); color r…

---

## [Rectangle button](https://discourse.processing.org/t/rectangle-button/30846)

<div class="topic-metadata">

**Author:** [@PARINAZ129](https://discourse.processing.org/u/PARINAZ129)\
**Replies:** 3\
**Last updated:** [June 23, 2021, 1:38am UTC](https://discourse.processing.org/t/rectangle-button/30846 "2021-06-23T01:38:22Z")

</div>

Dear As a beginner, I wanted to create 4 buttons that show different colors when being pressed, however, when I press each of them they don’t work individually. Additionally, I have a serious problem with writing distan…

---

## [How to disable window maximization](https://discourse.processing.org/t/how-to-disable-window-maximization/30713)

<div class="topic-metadata">

**Author:** [@s31](https://discourse.processing.org/u/s31)\
**Replies:** 5\
**Last updated:** [June 22, 2021, 8:52pm UTC](https://discourse.processing.org/t/how-to-disable-window-maximization/30713 "2021-06-22T20:52:36Z")

</div>

Hello, Every time I create a new processing sketch it adds a maximize screen button to the running window. I know its possible to just use void draw(){ surface.setSize(500,500); } to keep the window at a constant si…

---

## [How could I have acces to DOM elements p5.js](https://discourse.processing.org/t/how-could-i-have-acces-to-dom-elements-p5-js/30852)

<div class="topic-metadata">

**Author:** [@WaningJupiter](https://discourse.processing.org/u/WaningJupiter)\
**Replies:** 4\
**Last updated:** [June 22, 2021, 4:50pm UTC](https://discourse.processing.org/t/how-could-i-have-acces-to-dom-elements-p5-js/30852 "2021-06-22T16:50:24Z")

</div>

Hi community, I’ve watched Handling DOM Events with Callbacks of Coding Train. In this vidéo, Daniel Shiffman created a button element in sketch.js , using a mousePressed() function to control the randomness of backgro…

---

## [Methods for accessing battery status on an android device](https://discourse.processing.org/t/methods-for-accessing-battery-status-on-an-android-device/30381)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 14\
**Last updated:** [June 22, 2021, 3:30pm UTC](https://discourse.processing.org/t/methods-for-accessing-battery-status-on-an-android-device/30381 "2021-06-22T15:30:32Z")

</div>

Hi, How is the battery status on an android device accessed? Any help is much appreciated. Cheers.

---

## [Need help for a grid](https://discourse.processing.org/t/need-help-for-a-grid/30851)

<div class="topic-metadata">

**Author:** [@sympathetic](https://discourse.processing.org/u/sympathetic)\
**Replies:** 1\
**Last updated:** [June 22, 2021, 2:20pm UTC](https://discourse.processing.org/t/need-help-for-a-grid/30851 "2021-06-22T14:20:16Z")

</div>

Hi, my english is not that good i hope you understand. So I have a grid with a for cycle and wanted it to map the brightness of an ellipse, but don’t really know how to code it. int a = 20; void setup () { size(800, 8…

---

## [A more complicated py5 sketch](https://discourse.processing.org/t/a-more-complicated-py5-sketch/30848)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 3\
**Last updated:** [June 22, 2021, 1:14pm UTC](https://discourse.processing.org/t/a-more-complicated-py5-sketch/30848 "2021-06-22T13:14:34Z")

</div>

There is a Newton Fractal sketch on Jorg Kantel blog that I converted to run with py5:- import py5 import cmath imgx = 512 imgy = 512 # Drawing area # xa = 1.126 xa = -2.0 xb = 2.0 ya = -2.0 yb = 2.0 maxIt = 20 # max…

---

## [Is "StringBuffer" deprecated?](https://discourse.processing.org/t/is-stringbuffer-deprecated/30844)

<div class="topic-metadata">

**Author:** [@RenanRabelo](https://discourse.processing.org/u/RenanRabelo)\
**Replies:** 2\
**Last updated:** [June 22, 2021, 7:05am UTC](https://discourse.processing.org/t/is-stringbuffer-deprecated/30844 "2021-06-22T07:05:24Z")

</div>

Hi everyone, I was watching this video about L-Systems and Daniel used “StringBuffer” in his code, but I can’t find anything about “StringBuffer” in Processing reference. Is this data type deprecated? Thanks!

---

## [Does anyone know K2P3Toolkit?](https://discourse.processing.org/t/does-anyone-know-k2p3toolkit/30547)

<div class="topic-metadata">

**Author:** [@AbleYudada](https://discourse.processing.org/u/AbleYudada)\
**Replies:** 10\
**Last updated:** [June 22, 2021, 1:59am UTC](https://discourse.processing.org/t/does-anyone-know-k2p3toolkit/30547 "2021-06-22T01:59:40Z")

</div>

Hello guys! I was researching the K2P3Toolkit library in win10 recently, and I found that it can only be applied to the openkinect library on the mac. I tried to modify the code using the kinectPV2 library, but it runs a…

---

## [Peasycam 3d Rendering Issue mac](https://discourse.processing.org/t/peasycam-3d-rendering-issue-mac/30823)

<div class="topic-metadata">

**Author:** [@nfranczak](https://discourse.processing.org/u/nfranczak)\
**Replies:** 3\
**Last updated:** [June 21, 2021, 10:52pm UTC](https://discourse.processing.org/t/peasycam-3d-rendering-issue-mac/30823 "2021-06-21T22:52:09Z")

</div>

hi all, i am totally new to processing3 so i apologize in advance if this is a simple issue. i am trying to render the lorenz attractor. I am able to model it in 2D with this code float x = 0.01; float y = 0; float z …

---

## [Continuous Random Line](https://discourse.processing.org/t/continuous-random-line/30377)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 16\
**Last updated:** [June 21, 2021, 5:21pm UTC](https://discourse.processing.org/t/continuous-random-line/30377 "2021-06-21T17:21:57Z")

</div>

Hi there! I would like to create a drawing with a line with random points , something similar to the picture attached. I have found a Code and I am trying but It does not work. Can you please help me with that and te…

---

## [Is it possible to check for operating system?](https://discourse.processing.org/t/is-it-possible-to-check-for-operating-system/14180)

<div class="topic-metadata">

**Author:** [@oskarino](https://discourse.processing.org/u/oskarino)\
**Replies:** 5\
**Last updated:** [June 21, 2021, 4:33pm UTC](https://discourse.processing.org/t/is-it-possible-to-check-for-operating-system/14180 "2021-06-21T16:33:18Z")

</div>

I have written a piece of code for Windows, and would like to use almost entirely the same piece of code for Android, just with a few minor changes (in particular screen size and mouse activity). Instead of copying the …

---

## [Teacher looking for advice on Mobile App Development with p5.js or Processing for Android](https://discourse.processing.org/t/teacher-looking-for-advice-on-mobile-app-development-with-p5-js-or-processing-for-android/23188)

<div class="topic-metadata">

**Author:** [@MaggieStrain](https://discourse.processing.org/u/MaggieStrain)\
**Replies:** 12\
**Last updated:** [June 21, 2021, 2:58pm UTC](https://discourse.processing.org/t/teacher-looking-for-advice-on-mobile-app-development-with-p5-js-or-processing-for-android/23188 "2021-06-21T14:58:49Z")

</div>

Hello! I am a US teacher planning to teach Mobile App Development. I had planned to use Processing for Android but had to change my plans due to COVID-19, and I am running into difficulties with p5.js. I have two quest…

---

## [How do I loop the methods in my game?](https://discourse.processing.org/t/how-do-i-loop-the-methods-in-my-game/30821)

<div class="topic-metadata">

**Author:** [@Metin](https://discourse.processing.org/u/Metin)\
**Replies:** 10\
**Last updated:** [June 21, 2021, 1:50pm UTC](https://discourse.processing.org/t/how-do-i-loop-the-methods-in-my-game/30821 "2021-06-21T13:50:12Z")

</div>

Hello guys! I am in need of your help. I am currently working on a game that is similar to Pac-Man without the walls and stuff. Doing it while being a beginner in coding and Processing. You will also see that I am sti…

---

## [Comparing serial Arduino inputs with Strings in if-statements don´t work](https://discourse.processing.org/t/comparing-serial-arduino-inputs-with-strings-in-if-statements-don-t-work/30791)

<div class="topic-metadata">

**Author:** [@Simon44](https://discourse.processing.org/u/Simon44)\
**Replies:** 4\
**Last updated:** [June 21, 2021, 11:21am UTC](https://discourse.processing.org/t/comparing-serial-arduino-inputs-with-strings-in-if-statements-don-t-work/30791 "2021-06-21T11:21:45Z")

</div>

Hello Community, I´m working on my first Arduino + Processing project. The Arduino microcontroller is built as an “roll the dice” game. When I push a button on the board random numbers between 1-6 are rolled and display…

---

## [Check x&y when they are the correct color](https://discourse.processing.org/t/check-x-y-when-they-are-the-correct-color/30830)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 5\
**Last updated:** [June 21, 2021, 11:00am UTC](https://discourse.processing.org/t/check-x-y-when-they-are-the-correct-color/30830 "2021-06-21T11:00:57Z")

</div>

this code prints the word same if the color on coordinates x,y is the same as one of the team colors. how do i check what x and y are at the moment that they are one of the team colors and place a circle there. int x=1;…

---

## [Can I make these animations on curveVertex smooth?](https://discourse.processing.org/t/can-i-make-these-animations-on-curvevertex-smooth/30805)

<div class="topic-metadata">

**Author:** [@cog](https://discourse.processing.org/u/cog)\
**Replies:** 2\
**Last updated:** [June 20, 2021, 11:15pm UTC](https://discourse.processing.org/t/can-i-make-these-animations-on-curvevertex-smooth/30805 "2021-06-20T23:15:29Z")

</div>

https://editor.p5js.org/CarlyRaeJepsenStan/sketches/xH6tvmKep Sorry about the poor code - I’m going to rewrite it with arrays. In any case, as you can see the blob changes bounds and position quite often. However, I w…

---

## [Get resized window size?](https://discourse.processing.org/t/get-resized-window-size/30808)

<div class="topic-metadata">

**Author:** [@Sayochi](https://discourse.processing.org/u/Sayochi)\
**Replies:** 8\
**Last updated:** [June 20, 2021, 8:22pm UTC](https://discourse.processing.org/t/get-resized-window-size/30808 "2021-06-20T20:22:14Z")

</div>

I’m making a 2d noise map generator in processing js. I’m doing this with pixels\[\] in my sketch and when I resize my window it doesn’t behave in the way i want. what I want is creating wider map if window width is increa…

---

## [Split-screen with Green library](https://discourse.processing.org/t/split-screen-with-green-library/30817)

<div class="topic-metadata">

**Author:** [@RatdeMare](https://discourse.processing.org/u/RatdeMare)\
**Replies:** 0\
**Last updated:** [June 20, 2021, 6:05pm UTC](https://discourse.processing.org/t/split-screen-with-green-library/30817 "2021-06-20T18:05:15Z")

</div>

Hi, I’ve been using the Processing’s Green library for about a week now and it’s super to make up my first own little multiplayer spaceship shooter game EXCEPT that I absolutely can’t find how to chose where in the windo…

---

## [Help me please, I can't save my images](https://discourse.processing.org/t/help-me-please-i-cant-save-my-images/30811)

<div class="topic-metadata">

**Author:** [@manu1306](https://discourse.processing.org/u/manu1306)\
**Replies:** 4\
**Last updated:** [June 20, 2021, 4:55pm UTC](https://discourse.processing.org/t/help-me-please-i-cant-save-my-images/30811 "2021-06-20T16:55:11Z")

</div>

Hello I am new to the processing software I found a code on github but I would have liked to add the function of saving the image for each image made by the algorithm can you help me please thank you because I do not can…

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

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