# Latest

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

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

**Page:** 224

---

## [React p5: So how do you pass a value generated in p5 back to a React component?](https://discourse.processing.org/t/react-p5-so-how-do-you-pass-a-value-generated-in-p5-back-to-a-react-component/24978)

<div class="topic-metadata">

**Author:** [@venn](https://discourse.processing.org/u/venn)\
**Replies:** 6\
**Last updated:** [May 13, 2021, 1:45pm UTC](https://discourse.processing.org/t/react-p5-so-how-do-you-pass-a-value-generated-in-p5-back-to-a-react-component/24978 "2021-05-13T13:45:02Z")

</div>

Hi there, so I’m using https://github.com/and-who/react-p5-wrapper I’m wondering if there’s a way to pass a value from the p5 Sketch file back into React? For example. I want to keep track of the label value generated…

---

## [Mink Shear Sketch in JRubyArt](https://discourse.processing.org/t/mink-shear-sketch-in-jrubyart/30067)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 1\
**Last updated:** [May 13, 2021, 12:38pm UTC](https://discourse.processing.org/t/mink-shear-sketch-in-jrubyart/30067 "2021-05-13T12:38:07Z")

</div>

I’ve managed to translate another @micycle Processing Geometry Suite example to JRubyArt, it might be interesting to some how I manage handle the java exception:- # The letter class %w\[PGS\_Morphology PGS\_Transformation…

---

## [Looking for some quick (paid) help on an art project](https://discourse.processing.org/t/looking-for-some-quick-paid-help-on-an-art-project/26327)

<div class="topic-metadata">

**Author:** [@thisdesignedthat](https://discourse.processing.org/u/thisdesignedthat)\
**Replies:** 5\
**Last updated:** [May 13, 2021, 11:18am UTC](https://discourse.processing.org/t/looking-for-some-quick-paid-help-on-an-art-project/26327 "2021-05-13T11:18:00Z")

</div>

I have a sketch and would like to export frames with a transparent background, thats really about it. I’d love to find someone who can help on small projects in the future too as I learn more about processing but for no…

---

## [G4P ToggleButton (change state)](https://discourse.processing.org/t/g4p-togglebutton-change-state/30063)

<div class="topic-metadata">

**Author:** [@Liu.Exit](https://discourse.processing.org/u/Liu.Exit)\
**Replies:** 3\
**Last updated:** [May 13, 2021, 9:34am UTC](https://discourse.processing.org/t/g4p-togglebutton-change-state/30063 "2021-05-13T09:34:16Z")

</div>

Hello, is it possible to change the state of “G4P ToggleButton” other than with the mouse? (For example by receiving information from the serial port.) Thank you

---

## [Error when splice() is called](https://discourse.processing.org/t/error-when-splice-is-called/30079)

<div class="topic-metadata">

**Author:** [@Boutrup98](https://discourse.processing.org/u/Boutrup98)\
**Replies:** 3\
**Last updated:** [May 13, 2021, 9:21am UTC](https://discourse.processing.org/t/error-when-splice-is-called/30079 "2021-05-13T09:21:42Z")

</div>

Hello everybody! We have a problem with the splice() syntax. Our program works by generating a lot of bubbles, and the bubbles then start to consume each other and will then grow bigger. The problem occurs randomly an…

---

## [Video loops in p5 web editor but error/not playing in VSC](https://discourse.processing.org/t/video-loops-in-p5-web-editor-but-error-not-playing-in-vsc/30028)

<div class="topic-metadata">

**Author:** [@monkey](https://discourse.processing.org/u/monkey)\
**Replies:** 5\
**Last updated:** [May 13, 2021, 3:39am UTC](https://discourse.processing.org/t/video-loops-in-p5-web-editor-but-error-not-playing-in-vsc/30028 "2021-05-13T03:39:41Z")

</div>

My p5 sketches made in web editor work perfectly. I now attempted to move them to VSC but there are issues with the video playback (either it remains frozen, or doest play back at all.) The error that I get is: Uncaug…

---

## [Implement friction and gravity in a simple Spring](https://discourse.processing.org/t/implement-friction-and-gravity-in-a-simple-spring/30070)

<div class="topic-metadata">

**Author:** [@ikermorales](https://discourse.processing.org/u/ikermorales)\
**Replies:** 1\
**Last updated:** [May 12, 2021, 9:00pm UTC](https://discourse.processing.org/t/implement-friction-and-gravity-in-a-simple-spring/30070 "2021-05-12T21:00:45Z")

</div>

Hello, Im trying to make a Spring in Proccesing, I need to add “friction” and “gravity” to my Spring to finish the project but I dont figure it out how. I have managed to get here, I have created a basic Spring, but I d…

---

## [TicTacToe Game Support](https://discourse.processing.org/t/tictactoe-game-support/30050)

<div class="topic-metadata">

**Author:** [@Syntax64](https://discourse.processing.org/u/Syntax64)\
**Replies:** 6\
**Last updated:** [May 12, 2021, 3:54pm UTC](https://discourse.processing.org/t/tictactoe-game-support/30050 "2021-05-12T15:54:22Z")

</div>

What am I missing? Right Click works, but not Left Click. Most, if not all the code should be correct. Am i messing up a loop somewhere? I tried debugging but to no avail char\[\]\[\] mat; boolean xturn; void setup(){ siz…

---

## [Calculating pmouseX and pmouseY (Kinect)](https://discourse.processing.org/t/calculating-pmousex-and-pmousey-kinect/30051)

<div class="topic-metadata">

**Author:** [@l3ehfar](https://discourse.processing.org/u/l3ehfar)\
**Replies:** 5\
**Last updated:** [May 12, 2021, 9:39am UTC](https://discourse.processing.org/t/calculating-pmousex-and-pmousey-kinect/30051 "2021-05-12T09:39:35Z")

</div>

Hey, I’ve got a visual which interacts with the mouseX, mouseY and pmouseX, pmouseY. I wanna change it into interacting with the Kinect body track, however my problem is that I have no idea about changing the pmouse valu…

---

## [Data type for ArrayList get() function (class, OOP)](https://discourse.processing.org/t/data-type-for-arraylist-get-function-class-oop/30049)

<div class="topic-metadata">

**Author:** [@MBMNGT](https://discourse.processing.org/u/MBMNGT)\
**Replies:** 5\
**Last updated:** [May 12, 2021, 9:31am UTC](https://discourse.processing.org/t/data-type-for-arraylist-get-function-class-oop/30049 "2021-05-12T09:31:31Z")

</div>

Hi For Array List functions, I would like to know the type of data returned by the Particle part = particles.get(0) function ? after some try, ;;; it’s not float or int or string … so, what is ? Thank in advance Eric …

---

## [Spatial partitioning class Quad tree](https://discourse.processing.org/t/spatial-partitioning-class-quad-tree/30058)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 3\
**Last updated:** [May 12, 2021, 1:55am UTC](https://discourse.processing.org/t/spatial-partitioning-class-quad-tree/30058 "2021-05-12T01:55:07Z")

</div>

Currently working on adding functionality to the lib. Here is another class will be adding the QuadTree class. I currently have a quadGrid but trees are more efficient. This is the original code. this is the new pro…

---

## [Frame stepping with GStreamer StepEvent](https://discourse.processing.org/t/frame-stepping-with-gstreamer-stepevent/29993)

<div class="topic-metadata">

**Author:** [@ermaciu](https://discourse.processing.org/u/ermaciu)\
**Replies:** 8\
**Last updated:** [May 11, 2021, 10:39pm UTC](https://discourse.processing.org/t/frame-stepping-with-gstreamer-stepevent/29993 "2021-05-11T22:39:48Z")

</div>

Hey everyone. I’m trying to use Processing for analyzing movement manually in videos. Unfortunately the video library doesn’t appear to have frame-stepping functionality built in, and the suggested example of calculatin…

---

## [Shiffman's Fourier Series](https://discourse.processing.org/t/shiffmans-fourier-series/29962)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 2\
**Last updated:** [May 11, 2021, 10:28pm UTC](https://discourse.processing.org/t/shiffmans-fourier-series/29962 "2021-05-11T22:28:43Z")

</div>

I’m going through the mess of sketches I have and found an interesting one I got from the coding train. I modified it by adding a slider to increase the number of circles it uses. When the number of circles gets big, t…

---

## [How to make array ip address UDP message when receiving colour arrays from Processing on Arduino](https://discourse.processing.org/t/how-to-make-array-ip-address-udp-message-when-receiving-colour-arrays-from-processing-on-arduino/29843)

<div class="topic-metadata">

**Author:** [@eunbiline98](https://discourse.processing.org/u/eunbiline98)\
**Replies:** 4\
**Last updated:** [May 11, 2021, 9:46pm UTC](https://discourse.processing.org/t/how-to-make-array-ip-address-udp-message-when-receiving-colour-arrays-from-processing-on-arduino/29843 "2021-05-11T21:46:15Z")

</div>

I have successfully sent colour array to esp32,but i have a problem if run program processing sometimes like quitting program and notification “WARNING: no real random source present! Could not run the sketch (Target VM…

---

## [Directional halo on 2D graphic](https://discourse.processing.org/t/directional-halo-on-2d-graphic/29832)

<div class="topic-metadata">

**Author:** [@afkqs](https://discourse.processing.org/u/afkqs)\
**Replies:** 8\
**Last updated:** [May 11, 2021, 9:02pm UTC](https://discourse.processing.org/t/directional-halo-on-2d-graphic/29832 "2021-05-11T21:02:32Z")

</div>

Hi there, This is a pretty open question but I wanted to ask the community for some insights. How would you proceed to create directional halo on a 2D graphic, whether a shape or an image? An example of the effect I’m…

---

## [How to make flag?](https://discourse.processing.org/t/how-to-make-flag/30055)

<div class="topic-metadata">

**Author:** [@savaxn](https://discourse.processing.org/u/savaxn)\
**Replies:** 1\
**Last updated:** [May 11, 2021, 7:46pm UTC](https://discourse.processing.org/t/how-to-make-flag/30055 "2021-05-11T19:46:03Z")

</div>

please format code with \</\> button \* homework policy \* asking questions The flag should move once every few seconds to the right and then to the left

---

## [Will Processing Foundation Fellowship 2021 accept team submissions this year?](https://discourse.processing.org/t/will-processing-foundation-fellowship-2021-accept-team-submissions-this-year/28606)

<div class="topic-metadata">

**Author:** [@clinckzone](https://discourse.processing.org/u/clinckzone)\
**Replies:** 6\
**Last updated:** [May 11, 2021, 6:14pm UTC](https://discourse.processing.org/t/will-processing-foundation-fellowship-2021-accept-team-submissions-this-year/28606 "2021-05-11T18:14:45Z")

</div>

Hello, I am Divyanshu Tiwari from India. I wanted to apply for Processing Foundation Fellowship this year but was confused about whether a team submission will be accepted this year or not. Can someone elaborate on this?…

---

## [When i run processing video library it tells me not installed properly](https://discourse.processing.org/t/when-i-run-processing-video-library-it-tells-me-not-installed-properly/30014)

<div class="topic-metadata">

**Author:** [@zang](https://discourse.processing.org/u/zang)\
**Replies:** 3\
**Last updated:** [May 11, 2021, 3:30pm UTC](https://discourse.processing.org/t/when-i-run-processing-video-library-it-tells-me-not-installed-properly/30014 "2021-05-11T15:30:56Z")

</div>

i download it from the contribution manager in processing. it still has error

---

## [Coding Questions - Sound and Video](https://discourse.processing.org/t/coding-questions-sound-and-video/30041)

<div class="topic-metadata">

**Author:** [@kaiitj](https://discourse.processing.org/u/kaiitj)\
**Replies:** 1\
**Last updated:** [May 11, 2021, 2:33pm UTC](https://discourse.processing.org/t/coding-questions-sound-and-video/30041 "2021-05-11T14:33:08Z")

</div>

I’m still very new to coding but I’m currently working with a 3D model that is motorized and reacts to sound, and I’m trying to figure out the best way to translate that digitally. I’ve done a code that “reveals” an imag…

---

## [Processing and Keith Peters' "Foundation Actionscript 3.0 Animation: Making Things Move!"](https://discourse.processing.org/t/processing-and-keith-peters-foundation-actionscript-3-0-animation-making-things-move/29787)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 12\
**Last updated:** [May 8, 2021, 5:27pm UTC](https://discourse.processing.org/t/processing-and-keith-peters-foundation-actionscript-3-0-animation-making-things-move/29787 "2021-05-08T17:27:16Z")

</div>

Hi I am reading the book by Keith Peters Foundation Actionscript 3.0 Animation: Making Things Move! (which is indirectly referenced at https://processing.org/examples/bouncy) It seems to me that all its codes could b…

---

## [File save limitations](https://discourse.processing.org/t/file-save-limitations/30034)

<div class="topic-metadata">

**Author:** [@geo3geo](https://discourse.processing.org/u/geo3geo)\
**Replies:** 4\
**Last updated:** [May 11, 2021, 1:34pm UTC](https://discourse.processing.org/t/file-save-limitations/30034 "2021-05-11T13:34:37Z")

</div>

I know that for security reasons there are limitations on writing files but wonder if there any way round this. My objective is to read a file, add a line to it and then save it, with the same name. I’m using saveTable…

---

## [How to save login](https://discourse.processing.org/t/how-to-save-login/30033)

<div class="topic-metadata">

**Author:** [@jessie\_lorentzen1](https://discourse.processing.org/u/jessie_lorentzen1)\
**Replies:** 1\
**Last updated:** [May 11, 2021, 8:10am UTC](https://discourse.processing.org/t/how-to-save-login/30033 "2021-05-11T08:10:57Z")

</div>

Hi guys. I’m coding an app at the moment, but i’m having trouble makeing it save the sign up data in the program. Any tips or exampels to what i might do?

---

## [Processing's eventual switch from Java as primary language, over to Python?](https://discourse.processing.org/t/processings-eventual-switch-from-java-as-primary-language-over-to-python/23688)

<div class="topic-metadata">

**Author:** [@pablohotsauce](https://discourse.processing.org/u/pablohotsauce)\
**Replies:** 19\
**Last updated:** [May 11, 2021, 3:09am UTC](https://discourse.processing.org/t/processings-eventual-switch-from-java-as-primary-language-over-to-python/23688 "2021-05-11T03:09:00Z")

</div>

I remember reading something recently by one of the Processing higher-ups, saying that eventually Processing would most likely leave Java behind and switch over to Python as its primary language. Presumably this would me…

---

## [Questions about AI (theoretical)](https://discourse.processing.org/t/questions-about-ai-theoretical/28142)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 13\
**Last updated:** [May 11, 2021, 1:46am UTC](https://discourse.processing.org/t/questions-about-ai-theoretical/28142 "2021-05-11T01:46:24Z")

</div>

Just some questions about AI, which I don’t know where to ask. Will probably use it in the future. Is machine learning just a “framework” which you can put into a random situation and it would learn? what actual types …

---

## [When will Processing Foundation Fellowship start?](https://discourse.processing.org/t/when-will-processing-foundation-fellowship-start/27634)

<div class="topic-metadata">

**Author:** [@heatherStamilton](https://discourse.processing.org/u/heatherStamilton)\
**Replies:** 4\
**Last updated:** [May 11, 2021, 1:30am UTC](https://discourse.processing.org/t/when-will-processing-foundation-fellowship-start/27634 "2021-05-11T01:30:51Z")

</div>

Hey, it was told that Fellowship will start open in Spring. Is there any tentative date decided for it?

---

## [Markers for Interactive Maps](https://discourse.processing.org/t/markers-for-interactive-maps/30024)

<div class="topic-metadata">

**Author:** [@javagar](https://discourse.processing.org/u/javagar)\
**Replies:** 0\
**Last updated:** [May 11, 2021, 12:50am UTC](https://discourse.processing.org/t/markers-for-interactive-maps/30024 "2021-05-11T00:50:46Z")

</div>

The following p5.js code produces markers for use on interactive maps, such as Leaflet maps: let start\_number = 1; // \>= 1 let end\_number = 16; // \<= 999 let number = start\_number; function setup() { createCanvas(29,…

---

## [Sketch to video efficiently with ffmpeg](https://discourse.processing.org/t/sketch-to-video-efficiently-with-ffmpeg/25522)

<div class="topic-metadata">

**Author:** [@JuanIrache](https://discourse.processing.org/u/JuanIrache)\
**Replies:** 8\
**Last updated:** [May 11, 2021, 12:23am UTC](https://discourse.processing.org/t/sketch-to-video-efficiently-with-ffmpeg/25522 "2021-05-11T00:23:40Z")

</div>

Hi all, I’ve got a project where I am drawing a sketch and saving the frames as a video using ffmpeg. My project is an ElectronJS desktop app, so I have access to both the browser and the operating system. The problem I…

---

## [How to access photos if importing Processing into eclipse?](https://discourse.processing.org/t/how-to-access-photos-if-importing-processing-into-eclipse/29995)

<div class="topic-metadata">

**Author:** [@Magic](https://discourse.processing.org/u/Magic)\
**Replies:** 3\
**Last updated:** [May 10, 2021, 11:59pm UTC](https://discourse.processing.org/t/how-to-access-photos-if-importing-processing-into-eclipse/29995 "2021-05-10T23:59:09Z")

</div>

Hello, I am currently working on a photomosaic project. It’s the same one that The Coding Train did a video on. I just tried to port it into eclipse, and am adding some extra functions. How does one make it to where ecli…

---

## [Random horizontal or vertical character movement](https://discourse.processing.org/t/random-horizontal-or-vertical-character-movement/30002)

<div class="topic-metadata">

**Author:** [@oussama10](https://discourse.processing.org/u/oussama10)\
**Replies:** 5\
**Last updated:** [May 10, 2021, 11:17pm UTC](https://discourse.processing.org/t/random-horizontal-or-vertical-character-movement/30002 "2021-05-10T23:17:05Z")

</div>

I am creating a bomberman game and I arrived to adding the enemies but I dont know how to do it. An enemy moves linearly, from top to bottom or from left to right, until it meets a barrier; he then reverses his directio…

---

## [Golomb Sequence](https://discourse.processing.org/t/golomb-sequence/30022)

<div class="topic-metadata">

**Author:** [@javagar](https://discourse.processing.org/u/javagar)\
**Replies:** 0\
**Last updated:** [May 10, 2021, 11:04pm UTC](https://discourse.processing.org/t/golomb-sequence/30022 "2021-05-10T23:04:55Z")

</div>

The Golomb sequence is a self-describing sequence of integers, beginning with 1, wherein each nth term in the sequence specifies the total number of times that n shall occur in the sequence. The first 28 terms of the seq…

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

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