# Latest

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

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

**Page:** 267

---

## [Henon Phase Diagram](https://discourse.processing.org/t/henon-phase-diagram/26932)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 3\
**Last updated:** [January 10, 2021, 4:53pm UTC](https://discourse.processing.org/t/henon-phase-diagram/26932 "2021-01-10T16:53:29Z")

</div>

@tabreturn @villares Jorg Kantel often posts stuff on twitter that should be of interest to python processing fans on twitter @jkantel (usually links to his blog). Inspired by one of his latest posts I created the follow…

---

## [Idk where is the error](https://discourse.processing.org/t/idk-where-is-the-error/26952)

<div class="topic-metadata">

**Author:** [@deiwy](https://discourse.processing.org/u/deiwy)\
**Replies:** 2\
**Last updated:** [January 10, 2021, 3:30pm UTC](https://discourse.processing.org/t/idk-where-is-the-error/26952 "2021-01-10T15:30:05Z")

</div>

so, I recently started programming on processing 3, the first game I want to do has to be a platformer, but I made a mistake and I don’t know what it is block\[\] b; int Map\[\]\[\] = { {1,0,0,0,0,0,0,0}, {0,1,0,0,0,1,0,…

---

## [Problem with movie clip in build](https://discourse.processing.org/t/problem-with-movie-clip-in-build/26769)

<div class="topic-metadata">

**Author:** [@blackwood](https://discourse.processing.org/u/blackwood)\
**Replies:** 5\
**Last updated:** [January 10, 2021, 3:29pm UTC](https://discourse.processing.org/t/problem-with-movie-clip-in-build/26769 "2021-01-10T15:29:53Z")

</div>

Hey there, a friend and I are making a game for college project in Processing. Before the game starts, a cutscene is played which works perfectly fine when tested in the editor, but when exported as a build (Windows), i…

---

## [Get new size of PShape after transform (shear)?](https://discourse.processing.org/t/get-new-size-of-pshape-after-transform-shear/18184)

<div class="topic-metadata">

**Author:** [@snaders](https://discourse.processing.org/u/snaders)\
**Replies:** 3\
**Last updated:** [January 10, 2021, 1:57pm UTC](https://discourse.processing.org/t/get-new-size-of-pshape-after-transform-shear/18184 "2021-01-10T13:57:12Z")

</div>

I’m transforming a shape with shearX. I’m looking for a way to get the new ‘real’ size of the shape after transforming. Is this possible? The shape is loaded from a SVG with loadShape. I was thinking to do something lik…

---

## [Creating Random Rectangles Without Overlap](https://discourse.processing.org/t/creating-random-rectangles-without-overlap/26918)

<div class="topic-metadata">

**Author:** [@jSmith](https://discourse.processing.org/u/jSmith)\
**Replies:** 11\
**Last updated:** [January 10, 2021, 12:22pm UTC](https://discourse.processing.org/t/creating-random-rectangles-without-overlap/26918 "2021-01-10T12:22:04Z")

</div>

Hey guys, so I know that there are other posts about this topic but they don’t really seem to help. Other solutions make use of arrayList and class, which I was not taught. And so I was wondering if it is possible to ach…

---

## [Is there a way to use a native js function in p5?](https://discourse.processing.org/t/is-there-a-way-to-use-a-native-js-function-in-p5/26945)

<div class="topic-metadata">

**Author:** [@jgsantos](https://discourse.processing.org/u/jgsantos)\
**Replies:** 3\
**Last updated:** [January 10, 2021, 11:59am UTC](https://discourse.processing.org/t/is-there-a-way-to-use-a-native-js-function-in-p5/26945 "2021-01-10T11:59:18Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi, i’am wondering if it is possible to use native js functions in p5. I need, for example, to use the element.scrollTop property, but i don’t k…

---

## [Null Pointer help and some guidance with a working EEPROM write Processing sketch](https://discourse.processing.org/t/null-pointer-help-and-some-guidance-with-a-working-eeprom-write-processing-sketch/26797)

<div class="topic-metadata">

**Author:** [@jshackel8](https://discourse.processing.org/u/jshackel8)\
**Replies:** 4\
**Last updated:** [January 10, 2021, 11:44am UTC](https://discourse.processing.org/t/null-pointer-help-and-some-guidance-with-a-working-eeprom-write-processing-sketch/26797 "2021-01-10T11:44:05Z")

</div>

Hello, This is my first post. I apologize if I’m not adhering to the syntax for submitting questions if I messed it up. I created a working Arduino nano sketch that works in combination with a Processing sketch to read …

---

## [Change .obj file](https://discourse.processing.org/t/change-obj-file/26821)

<div class="topic-metadata">

**Author:** [@nur92](https://discourse.processing.org/u/nur92)\
**Replies:** 8\
**Last updated:** [January 10, 2021, 10:24am UTC](https://discourse.processing.org/t/change-obj-file/26821 "2021-01-10T10:24:56Z")

</div>

Hello I have question to ask. I use the cuberotate file from Adafruit BNo055 file (example\_processing file) and I tried to change the bunny.obj to other object. I have the autocad 3D modelling file in .obj and .mtl I tri…

---

## [G4p GUI editor issues](https://discourse.processing.org/t/g4p-gui-editor-issues/26781)

<div class="topic-metadata">

**Author:** [@jimlee](https://discourse.processing.org/u/jimlee)\
**Replies:** 18\
**Last updated:** [January 10, 2021, 9:35am UTC](https://discourse.processing.org/t/g4p-gui-editor-issues/26781 "2021-01-10T09:35:56Z")

</div>

I set up a new app and created my interface using G4P GUI editor. Everyhting was wonderful. App actually did pretty much what I wanted. Went to bed a happy camper. Next day, I can still edit my app code in processing bu…

---

## [Problem coding Java (TRIANGLE\_FAN )](https://discourse.processing.org/t/problem-coding-java-triangle-fan/26935)

<div class="topic-metadata">

**Author:** [@hom1](https://discourse.processing.org/u/hom1)\
**Replies:** 1\
**Last updated:** [January 10, 2021, 1:10am UTC](https://discourse.processing.org/t/problem-coding-java-triangle-fan/26935 "2021-01-10T01:10:03Z")

</div>

please format code with \</\> button \* homework policy \* asking questions How to create TRIANGLE\_FAN?

---

## [Drawing a shader generated PGraphics onto a non OpenGL PGraphics object](https://discourse.processing.org/t/drawing-a-shader-generated-pgraphics-onto-a-non-opengl-pgraphics-object/26264)

<div class="topic-metadata">

**Author:** [@r.jaoui](https://discourse.processing.org/u/r.jaoui)\
**Replies:** 6\
**Last updated:** [January 9, 2021, 8:37pm UTC](https://discourse.processing.org/t/drawing-a-shader-generated-pgraphics-onto-a-non-opengl-pgraphics-object/26264 "2021-01-09T20:37:46Z")

</div>

Hello everyone ! I am currently developping quite a big project, and for simplicity I have chosen to use Processing as a graphical engine. I am coding with Eclipse Neon. The issue is that I have developped GLSL Fragmen…

---

## [Storing all incoming data and button not working](https://discourse.processing.org/t/storing-all-incoming-data-and-button-not-working/26398)

<div class="topic-metadata">

**Author:** [@saaqib.m](https://discourse.processing.org/u/saaqib.m)\
**Replies:** 8\
**Last updated:** [January 9, 2021, 5:34pm UTC](https://discourse.processing.org/t/storing-all-incoming-data-and-button-not-working/26398 "2021-01-09T17:34:10Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi, my code currently stores data whenever I press the button ‘save data in text’. It stores the data at that moment in time and that second. How…

---

## [Processing.py issues with saveFrame(): bug or a mistake on my end?](https://discourse.processing.org/t/processing-py-issues-with-saveframe-bug-or-a-mistake-on-my-end/26863)

<div class="topic-metadata">

**Author:** [@ginataka](https://discourse.processing.org/u/ginataka)\
**Replies:** 9\
**Last updated:** [January 9, 2021, 4:37pm UTC](https://discourse.processing.org/t/processing-py-issues-with-saveframe-bug-or-a-mistake-on-my-end/26863 "2021-01-09T16:37:02Z")

</div>

Hi all, I’ve been making some really simple, noobish programs and haven’t had any issues until writing one that uses the P2D renderer. I’ve been searching online and have found folks having similar issues, but I can’t s…

---

## [Cant video or image](https://discourse.processing.org/t/cant-video-or-image/26884)

<div class="topic-metadata">

**Author:** [@clay21](https://discourse.processing.org/u/clay21)\
**Replies:** 6\
**Last updated:** [January 9, 2021, 3:40pm UTC](https://discourse.processing.org/t/cant-video-or-image/26884 "2021-01-09T15:40:31Z")

</div>

Hello ım tryn to learn anroid mode but i cant add video or image to my sketch something wrong but i have no idea whats happening HERE IS MY CODE PImage img; void setup() { fullScreen(); noStroke(); fill(0); img=l…

---

## [Dijkstra Algorithm view (Node, Edges)](https://discourse.processing.org/t/dijkstra-algorithm-view-node-edges/26891)

<div class="topic-metadata">

**Author:** [@librakl](https://discourse.processing.org/u/librakl)\
**Replies:** 20\
**Last updated:** [January 9, 2021, 3:39pm UTC](https://discourse.processing.org/t/dijkstra-algorithm-view-node-edges/26891 "2021-01-09T15:39:04Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello, we have to implement the Dijkstra Algorithm. But at the beginning you have an empty field where you can click to create the nodes and ed…

---

## [LerpColor on Arc?](https://discourse.processing.org/t/lerpcolor-on-arc/26880)

<div class="topic-metadata">

**Author:** [@toninhorodrigues](https://discourse.processing.org/u/toninhorodrigues)\
**Replies:** 5\
**Last updated:** [January 9, 2021, 12:34pm UTC](https://discourse.processing.org/t/lerpcolor-on-arc/26880 "2021-01-09T12:34:15Z")

</div>

Hi there, I’m fairly new to Processing, and have been trying to make a single arc with a gradient style. I tried searching around, but have only found gradient codes for straight line objects, such as rectangle, the fu…

---

## [Sound glitch, without using sound](https://discourse.processing.org/t/sound-glitch-without-using-sound/26912)

<div class="topic-metadata">

**Author:** [@arismelachroinos](https://discourse.processing.org/u/arismelachroinos)\
**Replies:** 0\
**Last updated:** [January 9, 2021, 10:40am UTC](https://discourse.processing.org/t/sound-glitch-without-using-sound/26912 "2021-01-09T10:40:20Z")

</div>

Hi guys, something strange is happening sometimes when I launch a sketch with the p5 editor. I am pretty sure it has happened when launching the website manually (without using the editor). The thing is that this happen…

---

## [Getting shaked when using textAlign(CENTER, CENTER)](https://discourse.processing.org/t/getting-shaked-when-using-textalign-center-center/26835)

<div class="topic-metadata">

**Author:** [@yhlaskerimov](https://discourse.processing.org/u/yhlaskerimov)\
**Replies:** 6\
**Last updated:** [January 9, 2021, 7:13am UTC](https://discourse.processing.org/t/getting-shaked-when-using-textalign-center-center/26835 "2021-01-09T07:13:38Z")

</div>

Hi, everyone ! When I use sin() funtion to shrink my text’s size I am getting a shaky effect with textAlign(CENTER, CENTER). I have to use it with textAlign(CENTER, CENTER) but without shaky effect. Here is my code whi…

---

## [MIDI to TXT list](https://discourse.processing.org/t/midi-to-txt-list/26808)

<div class="topic-metadata">

**Author:** [@username1](https://discourse.processing.org/u/username1)\
**Replies:** 2\
**Last updated:** [January 8, 2021, 9:52pm UTC](https://discourse.processing.org/t/midi-to-txt-list/26808 "2021-01-08T21:52:13Z")

</div>

Hello everyone, could someone explain me, how exactly MIDI works or if you know how to convert midi file to text? My goal is to make a list of notes with time stamps, other things like velocity are optimal, but not nece…

---

## [\[SOLVED\] \*NOOB\* Fourier Series / Need help, transforming p5j code into processing (Java)](https://discourse.processing.org/t/solved-noob-fourier-series-need-help-transforming-p5j-code-into-processing-java/26899)

<div class="topic-metadata">

**Author:** [@arazym](https://discourse.processing.org/u/arazym)\
**Replies:** 2\
**Last updated:** [January 8, 2021, 9:12pm UTC](https://discourse.processing.org/t/solved-noob-fourier-series-need-help-transforming-p5j-code-into-processing-java/26899 "2021-01-08T21:12:08Z")

</div>

Hi, I am trying to transscript Daniel Shiffman’s Code for Fourier Series to be processing-readable. Fourier Series | The coding train I am beginner and managed to get this far until i got quite a bit lost; line 34 (…

---

## [P5.js Web Editor - Hindi Translation](https://discourse.processing.org/t/p5-js-web-editor-hindi-translation/26839)

<div class="topic-metadata">

**Author:** [@cassie](https://discourse.processing.org/u/cassie)\
**Replies:** 2\
**Last updated:** [January 8, 2021, 6:38pm UTC](https://discourse.processing.org/t/p5-js-web-editor-hindi-translation/26839 "2021-01-08T18:38:40Z")

</div>

Hello all! Recently a pull request was made on the p5.js Web Editor for a Hindi translation. If you speak Hindi, it would be really helpful if you could review and give feedback on the translation! You can comment on the…

---

## [Problem with playing online audio using minim](https://discourse.processing.org/t/problem-with-playing-online-audio-using-minim/26890)

<div class="topic-metadata">

**Author:** [@ylii](https://discourse.processing.org/u/ylii)\
**Replies:** 1\
**Last updated:** [January 8, 2021, 5:58pm UTC](https://discourse.processing.org/t/problem-with-playing-online-audio-using-minim/26890 "2021-01-08T17:58:19Z")

</div>

hello, I tried to loadsample with an URL using Minim, but the sound can’t be loaded. Anyone has an idea? Thanks in advance! minim = new Minim(this); sample = minim.loadFile(“http://www.soundcities.com/global/mp3s/aarh…

---

## [P5.js and P5js-Sound on Apache Cordova](https://discourse.processing.org/t/p5-js-and-p5js-sound-on-apache-cordova/26893)

<div class="topic-metadata">

**Author:** [@nxmusic](https://discourse.processing.org/u/nxmusic)\
**Replies:** 0\
**Last updated:** [January 8, 2021, 5:54pm UTC](https://discourse.processing.org/t/p5-js-and-p5js-sound-on-apache-cordova/26893 "2021-01-08T17:54:43Z")

</div>

Hi I have uploaded to github a very simple instructions to use p5 and p5.sound in Apache Cordova with Linux. I hope they are useful to someone! Thanks!

---

## [Simple multi-input tutorial for Processing beginners (ver 3.5.4)](https://discourse.processing.org/t/simple-multi-input-tutorial-for-processing-beginners-ver-3-5-4/26873)

<div class="topic-metadata">

**Author:** [@Anon0908](https://discourse.processing.org/u/Anon0908)\
**Replies:** 2\
**Last updated:** [January 8, 2021, 2:33pm UTC](https://discourse.processing.org/t/simple-multi-input-tutorial-for-processing-beginners-ver-3-5-4/26873 "2021-01-08T14:33:45Z")

</div>

Many beginners and some intermediate coders have run into conflicting issues with using multiple key inputs for their sketches. keyCode and key are single-value variables that track the last key pressed. As such, they ca…

---

## [Comparing two ArrayList of Objects to find differences](https://discourse.processing.org/t/comparing-two-arraylist-of-objects-to-find-differences/26860)

<div class="topic-metadata">

**Author:** [@fedpep](https://discourse.processing.org/u/fedpep)\
**Replies:** 6\
**Last updated:** [January 8, 2021, 2:14pm UTC](https://discourse.processing.org/t/comparing-two-arraylist-of-objects-to-find-differences/26860 "2021-01-08T14:14:44Z")

</div>

Hello! I am working with two ArrayList of objects with more than 6000 elements for each ArrayList. Most of these objects are the same but I need to find what are the differences between the two lists. Is there a quick w…

---

## [SaveData and starting .exe on boot raspberry pi](https://discourse.processing.org/t/savedata-and-starting-exe-on-boot-raspberry-pi/26887)

<div class="topic-metadata">

**Author:** [@boneman](https://discourse.processing.org/u/boneman)\
**Replies:** 0\
**Last updated:** [January 8, 2021, 2:13pm UTC](https://discourse.processing.org/t/savedata-and-starting-exe-on-boot-raspberry-pi/26887 "2021-01-08T14:13:39Z")

</div>

So I exported my project as an .exe and it automatically starts on boot perfectly, however the saveData portion of my code doesn’t save every hour like it should. Strangely enough though, if I start the program myself i…

---

## [How do you detect / stop someone from closing the sketch?](https://discourse.processing.org/t/how-do-you-detect-stop-someone-from-closing-the-sketch/26864)

<div class="topic-metadata">

**Author:** [@what42](https://discourse.processing.org/u/what42)\
**Replies:** 2\
**Last updated:** [January 7, 2021, 10:11pm UTC](https://discourse.processing.org/t/how-do-you-detect-stop-someone-from-closing-the-sketch/26864 "2021-01-07T22:11:35Z")

</div>

I want to have some code run before the sketch is closed, but I don’t know how to detect when the window itself has been closed by clicking its x. I’d also be okay with making the window borderless, but I can’t find a wa…

---

## [How to apply changes to a particular object of the class in Processing?](https://discourse.processing.org/t/how-to-apply-changes-to-a-particular-object-of-the-class-in-processing/26855)

<div class="topic-metadata">

**Author:** [@Elmpt](https://discourse.processing.org/u/Elmpt)\
**Replies:** 15\
**Last updated:** [January 7, 2021, 3:05pm UTC](https://discourse.processing.org/t/how-to-apply-changes-to-a-particular-object-of-the-class-in-processing/26855 "2021-01-07T15:05:15Z")

</div>

Hi! I am a little confused with the handling of objects. I have created class “Stone” and then I have created 3 objects Stone stone1, stone2, stone3 in the main scetch. What I need is to make a stone transparent when use…

---

## [Can someone help me please? (QUIZ)](https://discourse.processing.org/t/can-someone-help-me-please-quiz/26698)

<div class="topic-metadata">

**Author:** [@Hamedwow](https://discourse.processing.org/u/Hamedwow)\
**Replies:** 13\
**Last updated:** [January 7, 2021, 1:14pm UTC](https://discourse.processing.org/t/can-someone-help-me-please-quiz/26698 "2021-01-07T13:14:59Z")

</div>

Hi everyone , I have made 1 board game with pawn’s and i have to add MCQ’s in so that when pawn’s moves on one of the place’s like (PHP, PYTHON, JAVA) it has to show automatically the questions and answers one by one. …

---

## [PopupMenu items textSize](https://discourse.processing.org/t/popupmenu-items-textsize/26111)

<div class="topic-metadata">

**Author:** [@paturn](https://discourse.processing.org/u/paturn)\
**Replies:** 41\
**Last updated:** [January 7, 2021, 12:23pm UTC](https://discourse.processing.org/t/popupmenu-items-textsize/26111 "2021-01-07T12:23:28Z")

</div>

I am using the PopupMenu code authored by EmmanuelPil and would like to display 16-18 items in the PopupMenu list, but can only display 13 lines maximum without scrolling. I have tried changing menuanchor.textSize(12) bu…

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

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