# Latest

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

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

**Page:** 406

---

## [Turning randomly placed buttons off and on via boolean switch](https://discourse.processing.org/t/turning-randomly-placed-buttons-off-and-on-via-boolean-switch/16917)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 3\
**Last updated:** [January 6, 2020, 11:03pm UTC](https://discourse.processing.org/t/turning-randomly-placed-buttons-off-and-on-via-boolean-switch/16917 "2020-01-06T23:03:14Z")

</div>

I think this is a question about program flow and how to enable user interaction. Currently working on a problem in Shiffman book. I want to create multiple buttons (currently 2 buttons in this version) via object cla…

---

## [Disappearing/ appearing items when I click a button](https://discourse.processing.org/t/disappearing-appearing-items-when-i-click-a-button/16866)

<div class="topic-metadata">

**Author:** [@Csperedakos11](https://discourse.processing.org/u/Csperedakos11)\
**Replies:** 3\
**Last updated:** [January 4, 2020, 8:55pm UTC](https://discourse.processing.org/t/disappearing-appearing-items-when-i-click-a-button/16866 "2020-01-04T20:55:00Z")

</div>

Hi all, I’m pretty new at p5 so I’m sure my problem is fairly easy to solve, but I’ve been trying to figure it out for some time and have not been able to successfully. My Project Basically, I am trying to create a bun…

---

## [Generative Video made with Processing and other FLOSS](https://discourse.processing.org/t/generative-video-made-with-processing-and-other-floss/16913)

<div class="topic-metadata">

**Author:** [@Freid](https://discourse.processing.org/u/Freid)\
**Replies:** 0\
**Last updated:** [January 6, 2020, 7:55pm UTC](https://discourse.processing.org/t/generative-video-made-with-processing-and-other-floss/16913 "2020-01-06T19:55:43Z")

</div>

Hi there. I’ve made a little experimental piece with some lovely FOSS. “First second try” Maybe some of you will like it :slight\_smile: 01\_First second try by Cambouis Quantique Almost Live coded clip…

---

## [How to use keras with processing.py](https://discourse.processing.org/t/how-to-use-keras-with-processing-py/16912)

<div class="topic-metadata">

**Author:** [@arpitjp](https://discourse.processing.org/u/arpitjp)\
**Replies:** 5\
**Last updated:** [January 6, 2020, 8:52pm UTC](https://discourse.processing.org/t/how-to-use-keras-with-processing-py/16912 "2020-01-06T20:52:51Z")

</div>

how to use keras with processing.py

---

## [Terminology: function, method and event?](https://discourse.processing.org/t/terminology-function-method-and-event/16855)

<div class="topic-metadata">

**Author:** [@Teljemo](https://discourse.processing.org/u/Teljemo)\
**Replies:** 6\
**Last updated:** [January 6, 2020, 8:44pm UTC](https://discourse.processing.org/t/terminology-function-method-and-event/16855 "2020-01-06T20:44:33Z")

</div>

Hi I’m confused and the more I google the more confused I get, so I better ask here :slight\_smile: As me and my son study Processing im now trying to document our progress and I don’t know If i’m suppose to write that …

---

## [How to draw a curve using its equation?](https://discourse.processing.org/t/how-to-draw-a-curve-using-its-equation/16870)

<div class="topic-metadata">

**Author:** [@Anelim](https://discourse.processing.org/u/Anelim)\
**Replies:** 6\
**Last updated:** [January 6, 2020, 8:18pm UTC](https://discourse.processing.org/t/how-to-draw-a-curve-using-its-equation/16870 "2020-01-06T20:18:22Z")

</div>

Hi. I am new in using Processing and, also, new asking something here :slightly\_smiling\_face: I hope that will get some help here and solve my problem. There is an equation of elliptic curve that I would like to draw …

---

## [Light emitting outwards from a sphere](https://discourse.processing.org/t/light-emitting-outwards-from-a-sphere/16904)

<div class="topic-metadata">

**Author:** [@olsxn](https://discourse.processing.org/u/olsxn)\
**Replies:** 2\
**Last updated:** [January 6, 2020, 7:54pm UTC](https://discourse.processing.org/t/light-emitting-outwards-from-a-sphere/16904 "2020-01-06T19:54:55Z")

</div>

I have created a small representation of the solar system and, at the moment, I have an ambient light and directional light in the scene. However, I would like to have the light emitting from the “Sun” outwards in all d…

---

## [Sound and text error in Processing](https://discourse.processing.org/t/sound-and-text-error-in-processing/16860)

<div class="topic-metadata">

**Author:** [@e.p](https://discourse.processing.org/u/e.p)\
**Replies:** 5\
**Last updated:** [January 6, 2020, 7:21pm UTC](https://discourse.processing.org/t/sound-and-text-error-in-processing/16860 "2020-01-06T19:21:40Z")

</div>

Hello everyone :smiley: I have a problem with this drummachine. I can not add another row of sound that is from my disktop and not from Minim. The 4. row just plays the previous soundpiece? What can I do to change it? …

---

## [How to make 3D out of this assignment?](https://discourse.processing.org/t/how-to-make-3d-out-of-this-assignment/16885)

<div class="topic-metadata">

**Author:** [@nuhic](https://discourse.processing.org/u/nuhic)\
**Replies:** 4\
**Last updated:** [January 6, 2020, 5:44pm UTC](https://discourse.processing.org/t/how-to-make-3d-out-of-this-assignment/16885 "2020-01-06T17:44:46Z")

</div>

Hi, I am new to this, so maybe I am not supposed to send it like this… I would be very grateful if someone could help me to make a 3D out of this project that I have, I am stuck. When you start it, you’ll see what happe…

---

## [Update needed on GSoC 2020](https://discourse.processing.org/t/update-needed-on-gsoc-2020/16692)

<div class="topic-metadata">

**Author:** [@night\_coder](https://discourse.processing.org/u/night_coder)\
**Replies:** 1\
**Last updated:** [January 6, 2020, 4:07pm UTC](https://discourse.processing.org/t/update-needed-on-gsoc-2020/16692 "2020-01-06T16:07:37Z")

</div>

Hello, I need a confirmation that will processing foundation be taking part in the GSoC 2020?

---

## [Change cursor() in instance mode](https://discourse.processing.org/t/change-cursor-in-instance-mode/16894)

<div class="topic-metadata">

**Author:** [@lnp](https://discourse.processing.org/u/lnp)\
**Replies:** 2\
**Last updated:** [January 6, 2020, 3:40pm UTC](https://discourse.processing.org/t/change-cursor-in-instance-mode/16894 "2020-01-06T15:40:41Z")

</div>

Happy new year yo! Absolutely no problem with changing the cursor in global mode but unfortunately I can’t get it to in instance mode - or even any kind of error in the console. The sketch canvas is part of a site and I…

---

## [Add an Array to an ArrayList](https://discourse.processing.org/t/add-an-array-to-an-arraylist/16884)

<div class="topic-metadata">

**Author:** [@Psteely](https://discourse.processing.org/u/Psteely)\
**Replies:** 2\
**Last updated:** [January 5, 2020, 10:51pm UTC](https://discourse.processing.org/t/add-an-array-to-an-arraylist/16884 "2020-01-05T22:51:20Z")

</div>

I’ve created a REALLY simple code snippet to show what I’m trying to do. I need to add an array that I have defined into an ArrayList. I need an ArrayList as I don’t know how many arrays I will end up with. This will Obv…

---

## [Grid-based Particle Movement „Formula“ works incorrectly](https://discourse.processing.org/t/grid-based-particle-movement-formula-works-incorrectly/16794)

<div class="topic-metadata">

**Author:** [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Replies:** 11\
**Last updated:** [January 5, 2020, 10:19pm UTC](https://discourse.processing.org/t/grid-based-particle-movement-formula-works-incorrectly/16794 "2020-01-05T22:19:21Z")

</div>

I‘ve been having a bit of trouble with this for a while and finally found a solution (more or less). What i‘m trying to achieve is basically something like a Grid-based Wave Simulation (only that waves would propagate i…

---

## [ReferenceError: loadModel is not defined](https://discourse.processing.org/t/referenceerror-loadmodel-is-not-defined/16877)

<div class="topic-metadata">

**Author:** [@micheal](https://discourse.processing.org/u/micheal)\
**Replies:** 11\
**Last updated:** [January 5, 2020, 5:51pm UTC](https://discourse.processing.org/t/referenceerror-loadmodel-is-not-defined/16877 "2020-01-05T17:51:37Z")

</div>

Hi there I’m a new user of p5js and loving learning what’s possible! Can I get some advice please about the loadModel function? I’m getting the error in console.log: “ReferenceError: loadModel is not defined” I can’…

---

## [Sound triggered by buttons](https://discourse.processing.org/t/sound-triggered-by-buttons/16831)

<div class="topic-metadata">

**Author:** [@marianne91](https://discourse.processing.org/u/marianne91)\
**Replies:** 7\
**Last updated:** [January 5, 2020, 1:38pm UTC](https://discourse.processing.org/t/sound-triggered-by-buttons/16831 "2020-01-05T13:38:14Z")

</div>

Hi there, Does anyone have an idea of how to trigger sounds with buttons on processing? I have found a tutorial for this for p5.js but can’t make it translate to processing… Ultimately want to use buttons to trigger vi…

---

## [Feedback on expandible digit display](https://discourse.processing.org/t/feedback-on-expandible-digit-display/16838)

<div class="topic-metadata">

**Author:** [@SWijnen](https://discourse.processing.org/u/SWijnen)\
**Replies:** 7\
**Last updated:** [January 5, 2020, 4:44am UTC](https://discourse.processing.org/t/feedback-on-expandible-digit-display/16838 "2020-01-05T04:44:32Z")

</div>

Hello everyone, I made an expandable digit display and I am wondering what you think of it. (As you can maybe see) I am new to coding and made this myself. I did not copy anything from the internet. Does anyone has any …

---

## [My program keeps crashing; STRING (file) to INT](https://discourse.processing.org/t/my-program-keeps-crashing-string-file-to-int/16872)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 2\
**Last updated:** [January 5, 2020, 3:53am UTC](https://discourse.processing.org/t/my-program-keeps-crashing-string-file-to-int/16872 "2020-01-05T03:53:10Z")

</div>

the first segment of code is the issue, without it, it works fine. I have tried int(string), Intiger.valueOf and Intiger.ParseInt. If you have any ideas pls tell me. (btw i saw no issue with the file, if you want i can l…

---

## [keyPressed is behaving very oddly](https://discourse.processing.org/t/keypressed-is-behaving-very-oddly/16865)

<div class="topic-metadata">

**Author:** [@Psteely](https://discourse.processing.org/u/Psteely)\
**Replies:** 3\
**Last updated:** [January 4, 2020, 9:00pm UTC](https://discourse.processing.org/t/keypressed-is-behaving-very-oddly/16865 "2020-01-04T21:00:00Z")

</div>

This is going to be something dumb but… I have a code snipet showing my issue. int currentRow; void setup() { } void draw() { } void keyPressed() { currentRow = key; println(key); println(currentRow); } If I r…

---

## [Save command in void?](https://discourse.processing.org/t/save-command-in-void/16863)

<div class="topic-metadata">

**Author:** [@Optyfen\_met\_Eenden](https://discourse.processing.org/u/Optyfen_met_Eenden)\
**Replies:** 4\
**Last updated:** [January 4, 2020, 7:03pm UTC](https://discourse.processing.org/t/save-command-in-void/16863 "2020-01-04T19:03:50Z")

</div>

Hi! I’m new to Processing and also to this forum. I got some trouble with the void command; I couldn’t use a save(""); in a void. See an example below, when I execute it, it will say “ArrayIndexOutOfBoundsException: Coo…

---

## [Sound Library Issue](https://discourse.processing.org/t/sound-library-issue/16647)

<div class="topic-metadata">

**Author:** [@markcosmic](https://discourse.processing.org/u/markcosmic)\
**Replies:** 7\
**Last updated:** [January 4, 2020, 6:14pm UTC](https://discourse.processing.org/t/sound-library-issue/16647 "2020-01-04T18:14:09Z")

</div>

I’m having a Sound Library Issue in Processing for Android. Running a sketch in the emulator or on a device (moto 4, Galaxy Tab A (8", 2019); sound play back works good, but when I exit() the sketch then restart it there…

---

## [Triggering video clips with buttons](https://discourse.processing.org/t/triggering-video-clips-with-buttons/16836)

<div class="topic-metadata">

**Author:** [@marianne91](https://discourse.processing.org/u/marianne91)\
**Replies:** 3\
**Last updated:** [January 4, 2020, 5:48pm UTC](https://discourse.processing.org/t/triggering-video-clips-with-buttons/16836 "2020-01-04T17:48:08Z")

</div>

Hi there, Am working on a project in which I would like to trigger the playing of video clips via buttons. I’m able to trigger sound samples via buttons but haven’t been able to with video. Any ideas?

---

## [Sketch does not always have focus on start up](https://discourse.processing.org/t/sketch-does-not-always-have-focus-on-start-up/16834)

<div class="topic-metadata">

**Author:** [@rhole](https://discourse.processing.org/u/rhole)\
**Replies:** 6\
**Last updated:** [January 4, 2020, 3:57pm UTC](https://discourse.processing.org/t/sketch-does-not-always-have-focus-on-start-up/16834 "2020-01-04T15:57:18Z")

</div>

I have a sketch which frequently does not gain focus at start-up. I was able to solve this: boolean \_focusConfirmed= false; void draw(){ // ensure focus comes to this sketch on start-up if (millis() \< 20000 && !\_focu…

---

## [APDE crashes on running sketch using Ketai Bluetooth example](https://discourse.processing.org/t/apde-crashes-on-running-sketch-using-ketai-bluetooth-example/16129)

<div class="topic-metadata">

**Author:** [@bigboss97](https://discourse.processing.org/u/bigboss97)\
**Replies:** 15\
**Last updated:** [January 4, 2020, 11:59am UTC](https://discourse.processing.org/t/apde-crashes-on-running-sketch-using-ketai-bluetooth-example/16129 "2020-01-04T11:59:42Z")

</div>

In Preview mode, clicked on the Play button. Then a lot of text scrolling through console. The screen flashed once and a popup showed: “APDE Sketch Preview has stopped” In App mode, clicked on the Play button. Then a l…

---

## [Creating a moving snake on a predefined grid](https://discourse.processing.org/t/creating-a-moving-snake-on-a-predefined-grid/16854)

<div class="topic-metadata">

**Author:** [@Reynaert98](https://discourse.processing.org/u/Reynaert98)\
**Replies:** 2\
**Last updated:** [January 4, 2020, 11:30am UTC](https://discourse.processing.org/t/creating-a-moving-snake-on-a-predefined-grid/16854 "2020-01-04T11:30:04Z")

</div>

I’m working on a game on which a snake/ centipede can move on a grid by mouseclicking on grid spaces next to it. Its body consists of 10 pieces which all follow the previous locations of its head. My question is, where d…

---

## [Processing + egpu (OSX)](https://discourse.processing.org/t/processing-egpu-osx/16733)

<div class="topic-metadata">

**Author:** [@Garz](https://discourse.processing.org/u/Garz)\
**Replies:** 7\
**Last updated:** [January 4, 2020, 11:17am UTC](https://discourse.processing.org/t/processing-egpu-osx/16733 "2020-01-04T11:17:35Z")

</div>

Hi! This is my first post. I´m very exited to learn Processing to make visuals. I have a 2018 MacMini and a Razor CoreX with an Vega 64 as an eGpu. I tried the particles example and the performance is very low. Also i ge…

---

## [General guidance on idiomatic code for beginners](https://discourse.processing.org/t/general-guidance-on-idiomatic-code-for-beginners/16776)

<div class="topic-metadata">

**Author:** [@musiciantriescoding](https://discourse.processing.org/u/musiciantriescoding)\
**Replies:** 3\
**Last updated:** [January 2, 2020, 12:40am UTC](https://discourse.processing.org/t/general-guidance-on-idiomatic-code-for-beginners/16776 "2020-01-02T00:40:53Z")

</div>

Hello everyone! I have a question regarding the code of a sketch, but it’s not a specific question, so I did not post it at the coding category. I finished a sketch recently and it looks like this: The code is here: h…

---

## [Move the 2d camera has the player move](https://discourse.processing.org/t/move-the-2d-camera-has-the-player-move/16851)

<div class="topic-metadata">

**Author:** [@Westergard](https://discourse.processing.org/u/Westergard)\
**Replies:** 1\
**Last updated:** [January 4, 2020, 8:22am UTC](https://discourse.processing.org/t/move-the-2d-camera-has-the-player-move/16851 "2020-01-04T08:22:55Z")

</div>

Hello, I am doing a “Mario game” and I want my 2d view to automatically move around to follow the player has he move. Please help me! Thanks! :grin:

---

## [Regarding opencv](https://discourse.processing.org/t/regarding-opencv/14256)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 2\
**Last updated:** [January 4, 2020, 7:34am UTC](https://discourse.processing.org/t/regarding-opencv/14256 "2020-01-04T07:34:24Z")

</div>

Can somebody suggest me a good place where the various objects documented in opencv are discussed with certain clarity Thanks

---

## [Video Library Release 6 (version 2.0-beta4)](https://discourse.processing.org/t/video-library-release-6-version-2-0-beta4/16784)

<div class="topic-metadata">

**Author:** [@f42ter](https://discourse.processing.org/u/f42ter)\
**Replies:** 2\
**Last updated:** [January 4, 2020, 7:27am UTC](https://discourse.processing.org/t/video-library-release-6-version-2-0-beta4/16784 "2020-01-04T07:27:40Z")

</div>

Is udpsrc supported by Video Library Release 6 (version 2.0-beta4) or any plans to support this as a source.

---

## [Where can I find rules for different cellular automata?](https://discourse.processing.org/t/where-can-i-find-rules-for-different-cellular-automata/16827)

<div class="topic-metadata">

**Author:** [@Ruchi](https://discourse.processing.org/u/Ruchi)\
**Replies:** 3\
**Last updated:** [January 4, 2020, 5:23am UTC](https://discourse.processing.org/t/where-can-i-find-rules-for-different-cellular-automata/16827 "2020-01-04T05:23:26Z")

</div>

https://www.conwaylife.com/wiki/List\_of\_Life-like\_cellular\_automata This site mentions list of various cellular automata. But no description further of the rules. Any reference as to where I can find the rules?

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

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