# Latest

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

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

**Page:** 248

---

## [Having trouble hiding Controllers](https://discourse.processing.org/t/having-trouble-hiding-controllers/28282)

<div class="topic-metadata">

**Author:** [@Bluebottle](https://discourse.processing.org/u/Bluebottle)\
**Replies:** 4\
**Last updated:** [March 7, 2021, 10:27pm UTC](https://discourse.processing.org/t/having-trouble-hiding-controllers/28282 "2021-03-07T22:27:41Z")

</div>

I’ve been trying to have different knobs and buttons available depending on the tab pressed in the button bar at the top. Unfortunately, I haven’t been able to get this knob to hide using the button bar and am unsure as …

---

## [Variable for Arduino Timer](https://discourse.processing.org/t/variable-for-arduino-timer/28066)

<div class="topic-metadata">

**Author:** [@saaqib.m](https://discourse.processing.org/u/saaqib.m)\
**Replies:** 4\
**Last updated:** [March 7, 2021, 9:56pm UTC](https://discourse.processing.org/t/variable-for-arduino-timer/28066 "2021-03-07T21:56:55Z")

</div>

Hi, I have been trying to set the timer constant of OCR1A to the variable TImer\_count so that when I change Sfreq it automatically updates Timer\_count and hence OCR1A. Does anyone know how to and what kind of variable I …

---

## [I need help for a code please](https://discourse.processing.org/t/i-need-help-for-a-code-please/28314)

<div class="topic-metadata">

**Author:** [@KIRA](https://discourse.processing.org/u/KIRA)\
**Replies:** 2\
**Last updated:** [March 7, 2021, 8:32pm UTC](https://discourse.processing.org/t/i-need-help-for-a-code-please/28314 "2021-03-07T20:32:59Z")

</div>

Hello i have to do a game on processing, This game is an aim trainer with circles and when we click on them, other spawn… The game must have 3 levels of difficulty and a point counter. If the circles can have differen…

---

## [Having trouble undoing a camera() transformation](https://discourse.processing.org/t/having-trouble-undoing-a-camera-transformation/28293)

<div class="topic-metadata">

**Author:** [@Sethran](https://discourse.processing.org/u/Sethran)\
**Replies:** 5\
**Last updated:** [March 7, 2021, 7:08pm UTC](https://discourse.processing.org/t/having-trouble-undoing-a-camera-transformation/28293 "2021-03-07T19:08:27Z")

</div>

hi, I’ve tried searching for a solution online but I wasn’t able to find one I could understand. I’m kinda new to coding in general. This is what I’ve got so far; //make varuables PVector offset = new PVector(width/…

---

## [Processing stopped opening](https://discourse.processing.org/t/processing-stopped-opening/28197)

<div class="topic-metadata">

**Author:** [@humbertoscorza](https://discourse.processing.org/u/humbertoscorza)\
**Replies:** 6\
**Last updated:** [March 7, 2021, 6:56pm UTC](https://discourse.processing.org/t/processing-stopped-opening/28197 "2021-03-07T18:56:49Z")

</div>

Hi I downloaded processing 3.5.4 las week and everything was fine , it opened correctly and work properly. Today i tried opening it again and tha logo/splash screen apear for around 5-10 seconds and then closes. It d…

---

## [P5.js onCanvasCreated?](https://discourse.processing.org/t/p5-js-oncanvascreated/28316)

<div class="topic-metadata">

**Author:** [@yy23432](https://discourse.processing.org/u/yy23432)\
**Replies:** 1\
**Last updated:** [March 7, 2021, 5:59pm UTC](https://discourse.processing.org/t/p5-js-oncanvascreated/28316 "2021-03-07T17:59:26Z")

</div>

Hi, I’m trying to use p5.js as a GUI part. Trying to do like… function createP5GUI() { let f = function(p) { p.setup = function() { let c = p.createCanvas(500, 50); } } return new p5(f); } and use it in DOM …

---

## [Processing suggestion: make parseX(...) functions for all loadX(...) functions](https://discourse.processing.org/t/processing-suggestion-make-parsex-functions-for-all-loadx-functions/28310)

<div class="topic-metadata">

**Author:** [@Kitulous](https://discourse.processing.org/u/Kitulous)\
**Replies:** 2\
**Last updated:** [March 7, 2021, 11:25am UTC](https://discourse.processing.org/t/processing-suggestion-make-parsex-functions-for-all-loadx-functions/28310 "2021-03-07T11:25:52Z")

</div>

So I have had this problem: Load custom font in Processing Android Core (made not in PDE) - Processing for Android - Processing Foundation Im not asking for solving it now as I guess I have to resort to a workaround. E…

---

## [Load custom font in Processing Android Core (made not in PDE)](https://discourse.processing.org/t/load-custom-font-in-processing-android-core-made-not-in-pde/28300)

<div class="topic-metadata">

**Author:** [@Kitulous](https://discourse.processing.org/u/Kitulous)\
**Replies:** 1\
**Last updated:** [March 7, 2021, 7:06am UTC](https://discourse.processing.org/t/load-custom-font-in-processing-android-core-made-not-in-pde/28300 "2021-03-07T07:06:59Z")

</div>

Hi everyone. I’m having troubles with understanding how to bundle a TTF/OTF font with my Processing app. To clarify, I do not make the app in PDE/APDE, because I find it to be very simple and I miss my refactoring tools…

---

## [Error when playing SoundFile](https://discourse.processing.org/t/error-when-playing-soundfile/23011)

<div class="topic-metadata">

**Author:** [@dansumption](https://discourse.processing.org/u/dansumption)\
**Replies:** 13\
**Last updated:** [March 6, 2021, 1:53pm UTC](https://discourse.processing.org/t/error-when-playing-soundfile/23011 "2021-03-06T13:53:38Z")

</div>

I have a p5js application which loads and plays a sound file. It was worked fine for a very long time, but suddenly it’s started throwing errors when I try to play the file. I’ve stripped the code down to its basics, as…

---

## [Problem with drawing a Pythagoras Tree using L-system](https://discourse.processing.org/t/problem-with-drawing-a-pythagoras-tree-using-l-system/28270)

<div class="topic-metadata">

**Author:** [@Esther](https://discourse.processing.org/u/Esther)\
**Replies:** 3\
**Last updated:** [March 6, 2021, 10:53am UTC](https://discourse.processing.org/t/problem-with-drawing-a-pythagoras-tree-using-l-system/28270 "2021-03-06T10:53:42Z")

</div>

Hi, I am drawing a Pythagoras Tree using L-system and 2 production rules. I managed to use the first rule called “F-rule” to draw the right handside of the tree. I tried using the second rule “H-rule” to draw the left ha…

---

## [Save Value in ArrayList controlP5/Processing/Intellij](https://discourse.processing.org/t/save-value-in-arraylist-controlp5-processing-intellij/28264)

<div class="topic-metadata">

**Author:** [@deerfox](https://discourse.processing.org/u/deerfox)\
**Replies:** 1\
**Last updated:** [March 6, 2021, 10:18am UTC](https://discourse.processing.org/t/save-value-in-arraylist-controlp5-processing-intellij/28264 "2021-03-06T10:18:16Z")

</div>

Hey Everybody, Nooby here :slight\_smile: I’m doing my first GUI and I don’t know how to save the Values in an ArrayList by pressing the Buttons this is my Code so far: import processing.core.PApplet; import controlP5…

---

## [Browserify to require NPM Modules](https://discourse.processing.org/t/browserify-to-require-npm-modules/28242)

<div class="topic-metadata">

**Author:** [@diogorsergio](https://discourse.processing.org/u/diogorsergio)\
**Replies:** 4\
**Last updated:** [March 6, 2021, 12:46am UTC](https://discourse.processing.org/t/browserify-to-require-npm-modules/28242 "2021-03-06T00:46:23Z")

</div>

Hi, I’ve been playing around p5.js and manage to get the sketches running and rendering on the browser with VS code + Live Server. I wanted to take advantage of NPM modules with the require, but if I use browserify and…

---

## [Upload a python file to OpenProcessing](https://discourse.processing.org/t/upload-a-python-file-to-openprocessing/28262)

<div class="topic-metadata">

**Author:** [@Aro](https://discourse.processing.org/u/Aro)\
**Replies:** 3\
**Last updated:** [March 5, 2021, 11:36pm UTC](https://discourse.processing.org/t/upload-a-python-file-to-openprocessing/28262 "2021-03-05T23:36:40Z")

</div>

Hello, I am wondering if there is any way to upload a python file to OpenProcessing ? It seems that only P5js and Pjs can be used. However I’ve seen someone manage to make it work here. He uses a function called runPyCod…

---

## [Start stop read encoder](https://discourse.processing.org/t/start-stop-read-encoder/28218)

<div class="topic-metadata">

**Author:** [@r0x15](https://discourse.processing.org/u/r0x15)\
**Replies:** 10\
**Last updated:** [March 5, 2021, 11:52pm UTC](https://discourse.processing.org/t/start-stop-read-encoder/28218 "2021-03-05T23:52:55Z")

</div>

Any one explane me howto start and stop read encoder from arduino ? I read encoder position but i need start and stop from button or proximity Who help me please Tankyou PS. when start begin from 0 position.

---

## [Help with the game: pong](https://discourse.processing.org/t/help-with-the-game-pong/28267)

<div class="topic-metadata">

**Author:** [@Rogo](https://discourse.processing.org/u/Rogo)\
**Replies:** 6\
**Last updated:** [March 5, 2021, 7:34pm UTC](https://discourse.processing.org/t/help-with-the-game-pong/28267 "2021-03-05T19:34:22Z")

</div>

Good evening, I’m pretty far with the game, but I can’t get the ball through … can someone help me? Here the Code: int spieler = 1; int ball = 1; float r = 7; float spieler\_x; float spieler\_y; float ball\_x; float ball\_…

---

## [Selectable Noise Implementation in Ruby Processing](https://discourse.processing.org/t/selectable-noise-implementation-in-ruby-processing/28288)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 0\
**Last updated:** [March 5, 2021, 8:04pm UTC](https://discourse.processing.org/t/selectable-noise-implementation-in-ruby-processing/28288 "2021-03-05T20:04:57Z")

</div>

@CodeMasterX, @jb4x @cfloutier @hamoid AFAIK the “Perlin Noise” in processing is a value noise which bears no resemblance to the original Perlin noise, which is a gradient noise that uses a table of permutations. Ken Per…

---

## [Easycam and gui](https://discourse.processing.org/t/easycam-and-gui/28060)

<div class="topic-metadata">

**Author:** [@Madse20](https://discourse.processing.org/u/Madse20)\
**Replies:** 4\
**Last updated:** [March 5, 2021, 7:45pm UTC](https://discourse.processing.org/t/easycam-and-gui/28060 "2021-03-05T19:45:03Z")

</div>

I am trying to go a bit deeper into coding and would like to have easycam and a gui working together at the same time. I used easycam and P5gui, but thea seem to block each other. I would like to have the functionality …

---

## [My attempt at (pseudo) Perlin Noise](https://discourse.processing.org/t/my-attempt-at-pseudo-perlin-noise/28287)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 0\
**Last updated:** [March 5, 2021, 6:30pm UTC](https://discourse.processing.org/t/my-attempt-at-pseudo-perlin-noise/28287 "2021-03-05T18:30:27Z")

</div>

This is not layered, the original creates a random wave with maxHeight 128, second gets added on top of it with maxHeight 64, third with 32,… essentially initialMaxHeight\*pow(0.5,n) however this one works by creating…

---

## [Pan and zoom large panorama image](https://discourse.processing.org/t/pan-and-zoom-large-panorama-image/28076)

<div class="topic-metadata">

**Author:** [@petemanzel](https://discourse.processing.org/u/petemanzel)\
**Replies:** 9\
**Last updated:** [March 5, 2021, 9:20am UTC](https://discourse.processing.org/t/pan-and-zoom-large-panorama-image/28076 "2021-03-05T09:20:59Z")

</div>

Hi, i have an panorama-image with the size of 2048x179121px. I would like to pan through the image using a rotary encoder and zoom in using a touchscreen. The encoder/arduino part is working fine but if i try to load th…

---

## [How to extract values from custom class?](https://discourse.processing.org/t/how-to-extract-values-from-custom-class/28268)

<div class="topic-metadata">

**Author:** [@tea\_tree](https://discourse.processing.org/u/tea_tree)\
**Replies:** 3\
**Last updated:** [March 5, 2021, 9:50am UTC](https://discourse.processing.org/t/how-to-extract-values-from-custom-class/28268 "2021-03-05T09:50:44Z")

</div>

I have a class with some variables like so class Foo { // Instance Variables String myString; int myNums1; int myNums2; // Constructor Declaration of Class Flow(String myString, int myNums){ this.myStri…

---

## [Steering a Shape along a pathway](https://discourse.processing.org/t/steering-a-shape-along-a-pathway/17787)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 19\
**Last updated:** [March 5, 2021, 8:26am UTC](https://discourse.processing.org/t/steering-a-shape-along-a-pathway/17787 "2021-03-05T08:26:22Z")

</div>

Hello all, I want to steer a shape along a pathway. Let’s say a spaceship that first goes along x axis and when at a certain point stops and rotates slowly around its axis and then starts in another direction. Like a f…

---

## [ChildPApplet and closing when not disposed](https://discourse.processing.org/t/childpapplet-and-closing-when-not-disposed/28277)

<div class="topic-metadata">

**Author:** [@MiguelSanches](https://discourse.processing.org/u/MiguelSanches)\
**Replies:** 0\
**Last updated:** [March 5, 2021, 8:54am UTC](https://discourse.processing.org/t/childpapplet-and-closing-when-not-disposed/28277 "2021-03-05T08:54:15Z")

</div>

Hi all, I am trying to do a simple user interface on processing and I am running into a problem when closing a PApplet. The main window is able to create/reopen and close the second window without problems and disposes…

---

## [Implementation of IntelliSense code completion in p5.js-web-editor](https://discourse.processing.org/t/implementation-of-intellisense-code-completion-in-p5-js-web-editor/27505)

<div class="topic-metadata">

**Author:** [@rt1301](https://discourse.processing.org/u/rt1301)\
**Replies:** 2\
**Last updated:** [March 5, 2021, 6:47am UTC](https://discourse.processing.org/t/implementation-of-intellisense-code-completion-in-p5-js-web-editor/27505 "2021-03-05T06:47:42Z")

</div>

Hello everyone, First of all thank you all the creators of p5.js for creating such an amazing project. I have recently started learning p5.js and while using the p5.js-web-editor, I didn’t found any code completion feat…

---

## [Problem with P3D on Mac OS 11.2.1](https://discourse.processing.org/t/problem-with-p3d-on-mac-os-11-2-1/28248)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 9\
**Last updated:** [March 5, 2021, 6:18am UTC](https://discourse.processing.org/t/problem-with-p3d-on-mac-os-11-2-1/28248 "2021-03-05T06:18:22Z")

</div>

If I run this: void setup() { size(100, 100, P3D); } I get an error: 0 AppKit 0x00007fff22e8147f -\[NSWindow(NSWindow\_Theme) \_postWindowNeedsToResetDragMarginsUnlessPostingDisabled\] +…

---

## [How to get the position of the point directly in front of the camera？](https://discourse.processing.org/t/how-to-get-the-position-of-the-point-directly-in-front-of-the-camera/28042)

<div class="topic-metadata">

**Author:** [@AbleYudada](https://discourse.processing.org/u/AbleYudada)\
**Replies:** 5\
**Last updated:** [March 5, 2021, 4:44am UTC](https://discourse.processing.org/t/how-to-get-the-position-of-the-point-directly-in-front-of-the-camera/28042 "2021-03-05T04:44:08Z")

</div>

Hello everyone! I want to put a box in front of a mobile camera, but no matter how I try, I can’t get it

---

## [Changing Icon of Exported Executable](https://discourse.processing.org/t/changing-icon-of-exported-executable/28271)

<div class="topic-metadata">

**Author:** [@s31](https://discourse.processing.org/u/s31)\
**Replies:** 0\
**Last updated:** [March 5, 2021, 12:25am UTC](https://discourse.processing.org/t/changing-icon-of-exported-executable/28271 "2021-03-05T00:25:06Z")

</div>

After you export a sketch to an .exe file, how would you go about changing the default processing icon to a custom one?

---

## [How to store random coordinates?](https://discourse.processing.org/t/how-to-store-random-coordinates/28235)

<div class="topic-metadata">

**Author:** [@tea\_tree](https://discourse.processing.org/u/tea_tree)\
**Replies:** 15\
**Last updated:** [March 4, 2021, 8:09pm UTC](https://discourse.processing.org/t/how-to-store-random-coordinates/28235 "2021-03-04T20:09:25Z")

</div>

I would like to arrange some spheres randomly in space. To do that I run the following: import peasy.\*; PeasyCam cam; void setup(){ size(1300, 1300, P3D); cam = new PeasyCam(this, 200); randomSeed(0); float…

---

## [Grab mouse using OpenGL](https://discourse.processing.org/t/grab-mouse-using-opengl/28259)

<div class="topic-metadata">

**Author:** [@yeppii](https://discourse.processing.org/u/yeppii)\
**Replies:** 11\
**Last updated:** [March 4, 2021, 5:29pm UTC](https://discourse.processing.org/t/grab-mouse-using-opengl/28259 "2021-03-04T17:29:49Z")

</div>

I am making a game and I want to grab the mouse using OpenGL. How could I do this?

---

## [Structural diagrams for processing code](https://discourse.processing.org/t/structural-diagrams-for-processing-code/28253)

<div class="topic-metadata">

**Author:** [@kalle](https://discourse.processing.org/u/kalle)\
**Replies:** 0\
**Last updated:** [March 4, 2021, 11:12am UTC](https://discourse.processing.org/t/structural-diagrams-for-processing-code/28253 "2021-03-04T11:12:40Z")

</div>

Processing is now an interesting alternative to other programming languages at many universities in courses. As far as algorithms are concerned different graphical representations are used: UML, flow charts, structure …

---

## [Connot find an Android SDK](https://discourse.processing.org/t/connot-find-an-android-sdk/28247)

<div class="topic-metadata">

**Author:** [@Rogo](https://discourse.processing.org/u/Rogo)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 11:38am UTC](https://discourse.processing.org/t/connot-find-an-android-sdk/28247 "2021-03-04T11:38:06Z")

</div>

How can i fix that?

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

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