# Latest

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

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

**Page:** 344

---

## [Microphone input threshold p5.js](https://discourse.processing.org/t/microphone-input-threshold-p5-js/21096)

<div class="topic-metadata">

**Author:** [@rose1](https://discourse.processing.org/u/rose1)\
**Replies:** 8\
**Last updated:** [May 28, 2020, 11:54am UTC](https://discourse.processing.org/t/microphone-input-threshold-p5-js/21096 "2020-05-28T11:54:51Z")

</div>

Hi! How can I put a threshold on microphone input signal and modify the oscillator’s amplitude (with this new range)? I use “p5.Oscillator” to make sound and “p5.AudioIn()” to catch the microphone signal. This example d…

---

## [A (kind of) cellular automata, based on environment](https://discourse.processing.org/t/a-kind-of-cellular-automata-based-on-environment/21367)

<div class="topic-metadata">

**Author:** [@alexfreeman](https://discourse.processing.org/u/alexfreeman)\
**Replies:** 0\
**Last updated:** [May 28, 2020, 11:24am UTC](https://discourse.processing.org/t/a-kind-of-cellular-automata-based-on-environment/21367 "2020-05-28T11:24:34Z")

</div>

A cellular automata based on environment rather than population. Cells have a set chance of moving in each direction, life, “mutation” and other parameters. The idea is that perhaps when the enviroment becomes more com…

---

## [Engine that uses js Processing](https://discourse.processing.org/t/engine-that-uses-js-processing/21102)

<div class="topic-metadata">

**Author:** [@WolfRaj](https://discourse.processing.org/u/WolfRaj)\
**Replies:** 7\
**Last updated:** [May 28, 2020, 11:02am UTC](https://discourse.processing.org/t/engine-that-uses-js-processing/21102 "2020-05-28T11:02:50Z")

</div>

Can someone help me find or tell me some engine that uses js Processing?

---

## [Loops and object movement](https://discourse.processing.org/t/loops-and-object-movement/20384)

<div class="topic-metadata">

**Author:** [@s6277](https://discourse.processing.org/u/s6277)\
**Replies:** 6\
**Last updated:** [May 28, 2020, 10:12am UTC](https://discourse.processing.org/t/loops-and-object-movement/20384 "2020-05-28T10:12:18Z")

</div>

Hey, i’m very confused as to why my rectangle is not moving, I’ve tried everything and i still don’t get it. So i have created four rectangles going in a linear line one under each other, using the for loop. I want to be…

---

## [Change PC volume with processing](https://discourse.processing.org/t/change-pc-volume-with-processing/21343)

<div class="topic-metadata">

**Author:** [@Arnau](https://discourse.processing.org/u/Arnau)\
**Replies:** 2\
**Last updated:** [May 28, 2020, 8:10am UTC](https://discourse.processing.org/t/change-pc-volume-with-processing/21343 "2020-05-28T08:10:45Z")

</div>

I am in a project but there is a thing that I don’t know how to do. I need to change PC master volume. Is that possible? Please I need help!

---

## [About GUI Builder in Processing](https://discourse.processing.org/t/about-gui-builder-in-processing/20699)

<div class="topic-metadata">

**Author:** [@wwave](https://discourse.processing.org/u/wwave)\
**Replies:** 16\
**Last updated:** [May 28, 2020, 7:46am UTC](https://discourse.processing.org/t/about-gui-builder-in-processing/20699 "2020-05-28T07:46:38Z")

</div>

Hi everyone: I have some problems in using GUI Builder in Processing, could someone can help me solve them? Thank you. I have downlad the G4PTool V4.4.1.zip and put it in Procssing/tools folder, and I restart Procssing…

---

## [Use random() in static method](https://discourse.processing.org/t/use-random-in-static-method/21358)

<div class="topic-metadata">

**Author:** [@FallingSloth](https://discourse.processing.org/u/FallingSloth)\
**Replies:** 1\
**Last updated:** [May 28, 2020, 3:06am UTC](https://discourse.processing.org/t/use-random-in-static-method/21358 "2020-05-28T03:06:19Z")

</div>

I have a static method where I would like to use the random function, however, I get the error Cannot make a static reference to the non-static method random(float) from the type PApplet I’ve tried to google for the …

---

## [Sending real-time data via TCP](https://discourse.processing.org/t/sending-real-time-data-via-tcp/21242)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 15\
**Last updated:** [May 28, 2020, 12:30am UTC](https://discourse.processing.org/t/sending-real-time-data-via-tcp/21242 "2020-05-28T00:30:15Z")

</div>

Dear fellow Python users, I would need your help in figuring out how to send a continuous stream of data from an external environment to Processing via TCP. TCP is important because I need the data to remain intact and …

---

## [Ubuntu Studio 19.10 / Having problem with video library](https://discourse.processing.org/t/ubuntu-studio-19-10-having-problem-with-video-library/21345)

<div class="topic-metadata">

**Author:** [@pundes](https://discourse.processing.org/u/pundes)\
**Replies:** 1\
**Last updated:** [May 27, 2020, 11:20pm UTC](https://discourse.processing.org/t/ubuntu-studio-19-10-having-problem-with-video-library/21345 "2020-05-27T23:20:29Z")

</div>

I have installed processing-3.5.4 when ever I am trying to use the video library it is showing an error message: a library used by this sketch is not installed properly. UnsatisfiedLinkError: Error looking up function…

---

## [Shape Drawing Guidance - how to draw symmetric filled curves?](https://discourse.processing.org/t/shape-drawing-guidance-how-to-draw-symmetric-filled-curves/21352)

<div class="topic-metadata">

**Author:** [@rkk16](https://discourse.processing.org/u/rkk16)\
**Replies:** 1\
**Last updated:** [May 27, 2020, 11:09pm UTC](https://discourse.processing.org/t/shape-drawing-guidance-how-to-draw-symmetric-filled-curves/21352 "2020-05-27T23:09:55Z")

</div>

Hey guys, I’ve used a curve vertex tool to draw these eye lids on top of a sphere but they turn out pretty asymmetric since usually you need to define points on either side as ‘training’/‘direction’ points to get symme…

---

## [A surprising glitch(?) in Processing Java](https://discourse.processing.org/t/a-surprising-glitch-in-processing-java/21204)

<div class="topic-metadata">

**Author:** [@SomeOne](https://discourse.processing.org/u/SomeOne)\
**Replies:** 7\
**Last updated:** [May 27, 2020, 7:49pm UTC](https://discourse.processing.org/t/a-surprising-glitch-in-processing-java/21204 "2020-05-27T19:49:40Z")

</div>

Good morning all, So I had a simple idea. Make a ball rotate the center of canvas draw a rect over canvas with lots of opacity, so that image fades a bit every time copy a slightly smaller part of canvas and stretch i…

---

## [Sharing code to help the community](https://discourse.processing.org/t/sharing-code-to-help-the-community/21282)

<div class="topic-metadata">

**Author:** [@Baz](https://discourse.processing.org/u/Baz)\
**Replies:** 5\
**Last updated:** [May 27, 2020, 7:16pm UTC](https://discourse.processing.org/t/sharing-code-to-help-the-community/21282 "2020-05-27T19:16:29Z")

</div>

I use processing on a regular basis to implement simple things that I think are cool. Recently, it came to my mind that people may want to see some of the things I do, or use it instead of having to make it themselves. …

---

## [P3D - Sphere translation without deforming?](https://discourse.processing.org/t/p3d-sphere-translation-without-deforming/21349)

<div class="topic-metadata">

**Author:** [@rkk16](https://discourse.processing.org/u/rkk16)\
**Replies:** 5\
**Last updated:** [May 27, 2020, 6:54pm UTC](https://discourse.processing.org/t/p3d-sphere-translation-without-deforming/21349 "2020-05-27T18:54:56Z")

</div>

Hi! Thanks for all the help so far, this platform has been extremely supportive. I’m creating a 3D sphere but everytime i translate it, it also seems to rotate/deform, why is this the case? Is there an easy fix or do I n…

---

## [(Noob question) why doesn't this line of code work?](https://discourse.processing.org/t/noob-question-why-doesnt-this-line-of-code-work/21284)

<div class="topic-metadata">

**Author:** [@BennyHacker](https://discourse.processing.org/u/BennyHacker)\
**Replies:** 15\
**Last updated:** [May 27, 2020, 5:46pm UTC](https://discourse.processing.org/t/noob-question-why-doesnt-this-line-of-code-work/21284 "2020-05-27T17:46:18Z")

</div>

Consider the ArrayList(PVector) “p”. Now let’s say I’m trying to set a vector in that list p.get(i)=p.get(i+1).copy(); When I write this it says “left hand of assignment must be variable”. How do I get around this? E…

---

## [Displaying from an array](https://discourse.processing.org/t/displaying-from-an-array/21251)

<div class="topic-metadata">

**Author:** [@katjs](https://discourse.processing.org/u/katjs)\
**Replies:** 7\
**Last updated:** [May 27, 2020, 4:52pm UTC](https://discourse.processing.org/t/displaying-from-an-array/21251 "2020-05-27T16:52:48Z")

</div>

Hello guys, so I’m trying to make this counter sort of thing where a function takes in an input and then it shows it back in reverse like a countdown. But I’m unable to get it working properly as the numbers tend to just…

---

## [Admob with Processing](https://discourse.processing.org/t/admob-with-processing/21348)

<div class="topic-metadata">

**Author:** [@Mesalcode](https://discourse.processing.org/u/Mesalcode)\
**Replies:** 1\
**Last updated:** [May 27, 2020, 3:49pm UTC](https://discourse.processing.org/t/admob-with-processing/21348 "2020-05-27T15:49:13Z")

</div>

I already looked at every single post regarding AdMob in this and the old forum. Nothing worked for me. Can anyone give a updated guide on how to setup AdMob with Processing?

---

## [Add Google Play Services to Processing](https://discourse.processing.org/t/add-google-play-services-to-processing/21147)

<div class="topic-metadata">

**Author:** [@Tagedik](https://discourse.processing.org/u/Tagedik)\
**Replies:** 7\
**Last updated:** [May 27, 2020, 3:46pm UTC](https://discourse.processing.org/t/add-google-play-services-to-processing/21147 "2020-05-27T15:46:18Z")

</div>

I’m trying to add Google Play Services to my project so I can implement Admob and Play Games. I’ve followed this tutorial https://developers.google.com/android/guides/setup and added com.google.android.gms:play-services…

---

## [Video + text tracks via .vtt file](https://discourse.processing.org/t/video-text-tracks-via-vtt-file/21324)

<div class="topic-metadata">

**Author:** [@stephanschulz](https://discourse.processing.org/u/stephanschulz)\
**Replies:** 2\
**Last updated:** [May 27, 2020, 1:44pm UTC](https://discourse.processing.org/t/video-text-tracks-via-vtt-file/21324 "2020-05-27T13:44:02Z")

</div>

I am using createVideo to load in a new video file. At the same time I would like to generate a text track and attach it to the video, so when it plays back I can see the text for each time cue and read the cue data via…

---

## [Message Queue with oscP5 not treating messages as objects](https://discourse.processing.org/t/message-queue-with-oscp5-not-treating-messages-as-objects/21328)

<div class="topic-metadata">

**Author:** [@Merk](https://discourse.processing.org/u/Merk)\
**Replies:** 2\
**Last updated:** [May 27, 2020, 1:40pm UTC](https://discourse.processing.org/t/message-queue-with-oscp5-not-treating-messages-as-objects/21328 "2020-05-27T13:40:22Z")

</div>

Hi, Long story, but I’m trying to implement a queue handler for incoming OSC messages, as I’m getting concurrency issues. There was a really helpful example from feb 2016 on the archived forum where user GoToLoop provi…

---

## [Sketch without Gui - Terminal/Console only](https://discourse.processing.org/t/sketch-without-gui-terminal-console-only/21336)

<div class="topic-metadata">

**Author:** [@MoonMoon](https://discourse.processing.org/u/MoonMoon)\
**Replies:** 3\
**Last updated:** [May 27, 2020, 1:24pm UTC](https://discourse.processing.org/t/sketch-without-gui-terminal-console-only/21336 "2020-05-27T13:24:16Z")

</div>

Hi! Is there a way to start a sketch without opening a canvas window? I want to create a program running in terminal/console only (Linux - Raspbian). In this case for a RaspberryPi in headless mode (without X). Thank…

---

## [Python help? Export OSC data to Processing](https://discourse.processing.org/t/python-help-export-osc-data-to-processing/21326)

<div class="topic-metadata">

**Author:** [@rkk16](https://discourse.processing.org/u/rkk16)\
**Replies:** 3\
**Last updated:** [May 27, 2020, 1:20pm UTC](https://discourse.processing.org/t/python-help-export-osc-data-to-processing/21326 "2020-05-27T13:20:37Z")

</div>

Hey I’m relatively new to all of this, especially Python. But I essentially need some data from a Python program. The full code is in this github repo: https://github.com/omar178/Emotion-recognition#p1. But essentially …

---

## [Server and project networking](https://discourse.processing.org/t/server-and-project-networking/21218)

<div class="topic-metadata">

**Author:** [@code\_X](https://discourse.processing.org/u/code_X)\
**Replies:** 4\
**Last updated:** [May 27, 2020, 10:48am UTC](https://discourse.processing.org/t/server-and-project-networking/21218 "2020-05-27T10:48:42Z")

</div>

Hello all, i am using processing for android and for IOS, i want to creat a server project(Android) and a device project(IOS), and want to connect the IOS project to the Android project, is this doable? I know it works f…

---

## [Problem with bouncing numbers](https://discourse.processing.org/t/problem-with-bouncing-numbers/21098)

<div class="topic-metadata">

**Author:** [@kukukoks](https://discourse.processing.org/u/kukukoks)\
**Replies:** 4\
**Last updated:** [May 27, 2020, 10:41am UTC](https://discourse.processing.org/t/problem-with-bouncing-numbers/21098 "2020-05-27T10:41:56Z")

</div>

Hi need help with this. I have 6 png and all of them load to program and they count from 0 to 5. What to do after that count down from 5 to 0, i mean 0,1,2,3,4,5,4,3,2,1,0 PImage\[\] zdjecia=new PImage\[6\]; int i=0; void …

---

## [Rettangoli colori](https://discourse.processing.org/t/rettangoli-colori/21308)

<div class="topic-metadata">

**Author:** [@marika20](https://discourse.processing.org/u/marika20)\
**Replies:** 1\
**Last updated:** [May 26, 2020, 4:40pm UTC](https://discourse.processing.org/t/rettangoli-colori/21308 "2020-05-26T16:40:48Z")

</div>

Sto cercando di capire come mai non riesco ad inserire i miei valori float iniziali all’interno dei mie rect(). int PuntoZero = 0; float x = 300; float y1 = 300; float y2 = 500; int w = 600; int h = 600; float latoGiall…

---

## [🐢 Turtle Graphics](https://discourse.processing.org/t/turtle-graphics/21333)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [May 27, 2020, 12:45am UTC](https://discourse.processing.org/t/turtle-graphics/21333 "2020-05-27T00:45:58Z")

</div>

codeguppy.com (an environment based on p5.js) added support for :turtle: Turtle Graphics. There are several examples of what can be done with this new library. There is even an example that shows how to implement Turtle…

---

## [Start Application: loading page](https://discourse.processing.org/t/start-application-loading-page/21114)

<div class="topic-metadata">

**Author:** [@eduzal](https://discourse.processing.org/u/eduzal)\
**Replies:** 4\
**Last updated:** [May 27, 2020, 12:08am UTC](https://discourse.processing.org/t/start-application-loading-page/21114 "2020-05-27T00:08:13Z")

</div>

Hi. I’m trying to make my Corona Viz application public. A public beta. It takes a while to load, big tables(getting bigger every day) and a lot of parsing. I want to do a loading page, with a console, to give feedback…

---

## [Where do you showcase your work?](https://discourse.processing.org/t/where-do-you-showcase-your-work/21103)

<div class="topic-metadata">

**Author:** [@enniofranco](https://discourse.processing.org/u/enniofranco)\
**Replies:** 6\
**Last updated:** [May 26, 2020, 1:52pm UTC](https://discourse.processing.org/t/where-do-you-showcase-your-work/21103 "2020-05-26T13:52:08Z")

</div>

Hi everyone, I want to start sharing samples of my work and I don’t know which platform I should pick. I am reaching out to the community to ask for your advice. I would greatly appreciate if you could share the follo…

---

## [Simple python class wont render Invoking \<bound method Sketch.on\_timer of Sketch\> (p5py)](https://discourse.processing.org/t/simple-python-class-wont-render-invoking-bound-method-sketch-on-timer-of-sketch-p5py/20959)

<div class="topic-metadata">

**Author:** [@renec112](https://discourse.processing.org/u/renec112)\
**Replies:** 9\
**Last updated:** [May 26, 2020, 1:35pm UTC](https://discourse.processing.org/t/simple-python-class-wont-render-invoking-bound-method-sketch-on-timer-of-sketch-p5py/20959 "2020-05-26T13:35:50Z")

</div>

I’m trying to make a simple class. class class\_circle: def \_\_init\_\_(self, r): self.r = r def show(self): fill(255) circle(0,0,self.r) c = class\_circle(100) def setup(): size(1280…

---

## [Help with double spherical pendulum animation](https://discourse.processing.org/t/help-with-double-spherical-pendulum-animation/21229)

<div class="topic-metadata">

**Author:** [@SamuelCobb](https://discourse.processing.org/u/SamuelCobb)\
**Replies:** 9\
**Last updated:** [May 26, 2020, 12:19pm UTC](https://discourse.processing.org/t/help-with-double-spherical-pendulum-animation/21229 "2020-05-26T12:19:09Z")

</div>

Hey guys, I’m kinda new to processing and I’m struggling on a project that I’m working on. My project (as already stated in the title) is programming and animating a double spherical pendulum. I used Mathematica to sol…

---

## [Explanation for the algorithm behind this generative art piece](https://discourse.processing.org/t/explanation-for-the-algorithm-behind-this-generative-art-piece/21108)

<div class="topic-metadata">

**Author:** [@the0ne](https://discourse.processing.org/u/the0ne)\
**Replies:** 6\
**Last updated:** [May 26, 2020, 9:11am UTC](https://discourse.processing.org/t/explanation-for-the-algorithm-behind-this-generative-art-piece/21108 "2020-05-26T09:11:13Z")

</div>

I recently came across this beautiful generative art piece, ’Trunk’ by Kjetil Golid (source code). I went through the code and understand what’s being done, yet I’m unable to grasp why the algorithm works the way it doe…

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

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