# Latest

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

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

**Page:** 425

---

## [Void draw() again?](https://discourse.processing.org/t/void-draw-again/15610)

<div class="topic-metadata">

**Author:** [@vanoevelenstef](https://discourse.processing.org/u/vanoevelenstef)\
**Replies:** 4\
**Last updated:** [November 18, 2019, 3:36pm UTC](https://discourse.processing.org/t/void-draw-again/15610 "2019-11-18T15:36:31Z")

</div>

Hey, I’ve created a composition in void draw and when I pressed ‘r’ I would like that void draw() goes again so that I can have some random examples before I save it. But can’t figure out how to run void draw() again. So…

---

## [QuadraticPoint?](https://discourse.processing.org/t/quadraticpoint/15604)

<div class="topic-metadata">

**Author:** [@Darkar25](https://discourse.processing.org/u/Darkar25)\
**Replies:** 5\
**Last updated:** [November 18, 2019, 2:47pm UTC](https://discourse.processing.org/t/quadraticpoint/15604 "2019-11-18T14:47:39Z")

</div>

We have beizerPoint and curvePoint…but we dont have quadraticPoint…why?..and there is any way to make this function?thx

---

## [Incremental name for image save](https://discourse.processing.org/t/incremental-name-for-image-save/15599)

<div class="topic-metadata">

**Author:** [@nicolas](https://discourse.processing.org/u/nicolas)\
**Replies:** 6\
**Last updated:** [November 18, 2019, 12:04pm UTC](https://discourse.processing.org/t/incremental-name-for-image-save/15599 "2019-11-18T12:04:57Z")

</div>

Hello, I would like to know how to name images so that each image is numbered in the order of recording. Names numbered incrementally. I use this code: save("image01.png"); And i want names like: image01, image02, im…

---

## [Plotting Lissajous Figures](https://discourse.processing.org/t/plotting-lissajous-figures/15567)

<div class="topic-metadata">

**Author:** [@pandl](https://discourse.processing.org/u/pandl)\
**Replies:** 5\
**Last updated:** [November 18, 2019, 11:41am UTC](https://discourse.processing.org/t/plotting-lissajous-figures/15567 "2019-11-18T11:41:51Z")

</div>

Thank you for reading this. I’ve spent most of the day on this and although the code basically works the result is pretty rough. Can anyone suggest how I might smooth out the resulting curve? float a = 0.0; float inc =…

---

## [Interacting Objects (P3)](https://discourse.processing.org/t/interacting-objects-p3/15600)

<div class="topic-metadata">

**Author:** [@JigKSaw](https://discourse.processing.org/u/JigKSaw)\
**Replies:** 4\
**Last updated:** [November 18, 2019, 11:18am UTC](https://discourse.processing.org/t/interacting-objects-p3/15600 "2019-11-18T11:18:30Z")

</div>

Hi everyone. I am trying to build up a little game: a labyrinth in which two images move (both make the same move with the same input keyCode). I did make the labyrinth, uploaded the images and created the “joypad”. Now…

---

## [Colouring pixels](https://discourse.processing.org/t/colouring-pixels/15551)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 25\
**Last updated:** [November 18, 2019, 8:15am UTC](https://discourse.processing.org/t/colouring-pixels/15551 "2019-11-18T08:15:50Z")

</div>

I want to colour the pixels of a 255 px x 255 px square so the x axis (left to right) shows red from 0 to 255 and the y axis (top to bottom) shows green from 0 to 255. This is only the first step of an ambitious proje…

---

## [Reloading a JSON in p5](https://discourse.processing.org/t/reloading-a-json-in-p5/15520)

<div class="topic-metadata">

**Author:** [@sdsu2020](https://discourse.processing.org/u/sdsu2020)\
**Replies:** 2\
**Last updated:** [November 18, 2019, 6:41am UTC](https://discourse.processing.org/t/reloading-a-json-in-p5/15520 "2019-11-18T06:41:11Z")

</div>

Hello. I’m currently working with geocoding API with Mapquest. I have this code written in setup right now. function setup(){ canvas = createCanvas(840,840); myMap = mappa.tileMap(options); myMap.overlay(canvas)…

---

## [Binding mouseDragged to function](https://discourse.processing.org/t/binding-mousedragged-to-function/15516)

<div class="topic-metadata">

**Author:** [@BSiemens](https://discourse.processing.org/u/BSiemens)\
**Replies:** 8\
**Last updated:** [November 18, 2019, 1:18am UTC](https://discourse.processing.org/t/binding-mousedragged-to-function/15516 "2019-11-18T01:18:42Z")

</div>

I’m binding mouse events to functions and they all work fine apart from: cnv.mouseDragged(mDragged); Anyone have any idea why?

---

## [Control a shape using a game pad](https://discourse.processing.org/t/control-a-shape-using-a-game-pad/15453)

<div class="topic-metadata">

**Author:** [@DaviesSteve](https://discourse.processing.org/u/DaviesSteve)\
**Replies:** 7\
**Last updated:** [November 17, 2019, 11:17pm UTC](https://discourse.processing.org/t/control-a-shape-using-a-game-pad/15453 "2019-11-17T23:17:53Z")

</div>

Hello, I am very new to processing, and would like to try a project. Where on earth would I start to learn how to create something like this: (Credit: https://www.schultzschultz.com/free-works.html) I have a USB gam…

---

## [Processing Sound library, multiple plays, some annoying playing, noises, bad quality](https://discourse.processing.org/t/processing-sound-library-multiple-plays-some-annoying-playing-noises-bad-quality/15589)

<div class="topic-metadata">

**Author:** [@GeorgeJava](https://discourse.processing.org/u/GeorgeJava)\
**Replies:** 1\
**Last updated:** [November 17, 2019, 10:09pm UTC](https://discourse.processing.org/t/processing-sound-library-multiple-plays-some-annoying-playing-noises-bad-quality/15589 "2019-11-17T22:09:15Z")

</div>

Hello, i try to make some shooter game, and when i was clicking the mouse, the sound gets lags and some noisy, can you help me ? Try it yourself, why it is doing that ? I try to stop afrer if(!audio.isPlaying()) … end it…

---

## [Changing webcam-pixels to "nearest" color from color palette array](https://discourse.processing.org/t/changing-webcam-pixels-to-nearest-color-from-color-palette-array/14811)

<div class="topic-metadata">

**Author:** [@AndreasRef](https://discourse.processing.org/u/AndreasRef)\
**Replies:** 29\
**Last updated:** [November 17, 2019, 9:09pm UTC](https://discourse.processing.org/t/changing-webcam-pixels-to-nearest-color-from-color-palette-array/14811 "2019-11-17T21:09:56Z")

</div>

Hi Using my webcam and a predefined color palette array I want to change each pixels from the webcam into the closest matching color from the color palette array. I am having trouble finding an efficient and stable way…

---

## [Reading and writing variable or arrays in text format for later use](https://discourse.processing.org/t/reading-and-writing-variable-or-arrays-in-text-format-for-later-use/15561)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 7\
**Last updated:** [November 17, 2019, 6:43pm UTC](https://discourse.processing.org/t/reading-and-writing-variable-or-arrays-in-text-format-for-later-use/15561 "2019-11-17T18:43:02Z")

</div>

As the title suggests, whats the best method for doing this?

---

## [Triggering response from 3 Solenoids between Processing and Arduino](https://discourse.processing.org/t/triggering-response-from-3-solenoids-between-processing-and-arduino/15592)

<div class="topic-metadata">

**Author:** [@rebekah\_tkd](https://discourse.processing.org/u/rebekah_tkd)\
**Replies:** 6\
**Last updated:** [November 17, 2019, 6:23pm UTC](https://discourse.processing.org/t/triggering-response-from-3-solenoids-between-processing-and-arduino/15592 "2019-11-17T18:23:26Z")

</div>

hey guys, I am currently having problems trying to use Processing to tell arduino when to turn solenoids on and off. I am new to this so been struggling to find some help. I created a float array which contains data and …

---

## [Adding collisions and a scoreboard](https://discourse.processing.org/t/adding-collisions-and-a-scoreboard/15584)

<div class="topic-metadata">

**Author:** [@snyke123](https://discourse.processing.org/u/snyke123)\
**Replies:** 1\
**Last updated:** [November 17, 2019, 6:12pm UTC](https://discourse.processing.org/t/adding-collisions-and-a-scoreboard/15584 "2019-11-17T18:12:51Z")

</div>

Hey for a school project I am making a little game where you control a spaceship with your mouse and you have to go between the walls. If you hit one of the walls you fail. (It is like a flappy bird game) But the proble…

---

## [Problem installing a library (Chroma)](https://discourse.processing.org/t/problem-installing-a-library-chroma/15469)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 10\
**Last updated:** [November 17, 2019, 5:39pm UTC](https://discourse.processing.org/t/problem-installing-a-library-chroma/15469 "2019-11-17T17:39:16Z")

</div>

Can someone with more experience of contributed libraries please look at https://github.com/neilpanchal/Chroma I cannot install this library in Processing. I have tried to download and manually install into ~/Documents/…

---

## [How to make a track attachment visualization?](https://discourse.processing.org/t/how-to-make-a-track-attachment-visualization/15425)

<div class="topic-metadata">

**Author:** [@Garry](https://discourse.processing.org/u/Garry)\
**Replies:** 5\
**Last updated:** [November 17, 2019, 5:33pm UTC](https://discourse.processing.org/t/how-to-make-a-track-attachment-visualization/15425 "2019-11-17T17:33:03Z")

</div>

i have 2 codes 1) import processing.dxf.\*; import ddf.minim.analysis.\*; import ddf.minim.\*; FFT fftLin; FFT fftLog; Waveform audio3D; Minim minim; AudioInput microphone; boolean record; PFont font; float camzoom;…

---

## [Running code very slow](https://discourse.processing.org/t/running-code-very-slow/15588)

<div class="topic-metadata">

**Author:** [@KapowFreshProcessing](https://discourse.processing.org/u/KapowFreshProcessing)\
**Replies:** 2\
**Last updated:** [November 17, 2019, 5:14pm UTC](https://discourse.processing.org/t/running-code-very-slow/15588 "2019-11-17T17:14:25Z")

</div>

Hiya! My code was running perfectly fine but now all of a sudden it is struggling to even display the contents that I have coded. Can i get dome help with this please? I am using windows 10 the 64 bit version Thanks

---

## [Help with creating axis & naming it](https://discourse.processing.org/t/help-with-creating-axis-naming-it/15554)

<div class="topic-metadata">

**Author:** [@madf](https://discourse.processing.org/u/madf)\
**Replies:** 4\
**Last updated:** [November 17, 2019, 4:50pm UTC](https://discourse.processing.org/t/help-with-creating-axis-naming-it/15554 "2019-11-17T16:50:13Z")

</div>

I am about to cry, I am so confused and lost. I’ve looked all over the processing.org resources but maybe my question is just too simple for it. I can’t figure out how to create and name an axis or how to create the litt…

---

## [Get rid of distortion](https://discourse.processing.org/t/get-rid-of-distortion/15564)

<div class="topic-metadata">

**Author:** [@bkaramah](https://discourse.processing.org/u/bkaramah)\
**Replies:** 1\
**Last updated:** [November 17, 2019, 5:30am UTC](https://discourse.processing.org/t/get-rid-of-distortion/15564 "2019-11-17T05:30:26Z")

</div>

Hello, i want to project a picture onto a cylinder. However this is distorted during the projection. At the sides, it is strongly consumed, because of the uneven surface. How can I solve the problem?

---

## [Access Arduino Uno from OTG](https://discourse.processing.org/t/access-arduino-uno-from-otg/15546)

<div class="topic-metadata">

**Author:** [@Hjkl](https://discourse.processing.org/u/Hjkl)\
**Replies:** 2\
**Last updated:** [November 17, 2019, 2:53pm UTC](https://discourse.processing.org/t/access-arduino-uno-from-otg/15546 "2019-11-17T14:53:43Z")

</div>

Hi, I want to receive ultrasonic sensor data and display it in android by OTG. Can anyone give the code please? Thanks in advance

---

## [Spectrum analyzer graphic problem](https://discourse.processing.org/t/spectrum-analyzer-graphic-problem/15576)

<div class="topic-metadata">

**Author:** [@ercank](https://discourse.processing.org/u/ercank)\
**Replies:** 1\
**Last updated:** [November 17, 2019, 2:46pm UTC](https://discourse.processing.org/t/spectrum-analyzer-graphic-problem/15576 "2019-11-17T14:46:16Z")

</div>

Hi, I’m new to coding. I’m sorry to keep you busy with something simple. I paste and run a sample code on the P5.JS online ditor (sound spectrum analyzer). I download “empty-example” with the library from the site and r…

---

## [Audio minim RAM overfill, when creating and deleting sounds](https://discourse.processing.org/t/audio-minim-ram-overfill-when-creating-and-deleting-sounds/15510)

<div class="topic-metadata">

**Author:** [@GeorgeJava](https://discourse.processing.org/u/GeorgeJava)\
**Replies:** 5\
**Last updated:** [November 17, 2019, 1:57pm UTC](https://discourse.processing.org/t/audio-minim-ram-overfill-when-creating-and-deleting-sounds/15510 "2019-11-17T13:57:10Z")

</div>

Hello there, I creating a sound engine for my 2D game, where i want to change pan and gain in each sound, so i create class, that have minim AudioSample, that loads specific sound, but when i want to delete this, it can…

---

## [P5 Sound Issues](https://discourse.processing.org/t/p5-sound-issues/15573)

<div class="topic-metadata">

**Author:** [@seanzshow](https://discourse.processing.org/u/seanzshow)\
**Replies:** 4\
**Last updated:** [November 17, 2019, 1:13pm UTC](https://discourse.processing.org/t/p5-sound-issues/15573 "2019-11-17T13:13:40Z")

</div>

Hi can anyone tell me where I am going wrong here? It appears that the p5 sound library is not being read - hence it doesn’t understand things like loop. However it is linked to in the HTML as a default and Ive not chang…

---

## [Errors importing to openprocessing](https://discourse.processing.org/t/errors-importing-to-openprocessing/15569)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 5\
**Last updated:** [November 17, 2019, 12:49pm UTC](https://discourse.processing.org/t/errors-importing-to-openprocessing/15569 "2019-11-17T12:49:02Z")

</div>

So I’ve ran into an issue porting code from pde to open processing, at first i realised that i was assigning variable was functions which for some reason is acceptable for boolean values in the pde environment, ie Boole…

---

## [The difference of p5.js and Processing](https://discourse.processing.org/t/the-difference-of-p5-js-and-processing/15566)

<div class="topic-metadata">

**Author:** [@O-O](https://discourse.processing.org/u/O-O)\
**Replies:** 1\
**Last updated:** [November 17, 2019, 7:17am UTC](https://discourse.processing.org/t/the-difference-of-p5-js-and-processing/15566 "2019-11-17T07:17:21Z")

</div>

Does anyone know in detail the grammatical differences between p5 .js and processing? I want to know about it.:sweat\_smile:

---

## [Can't find a solution to this error](https://discourse.processing.org/t/cant-find-a-solution-to-this-error/15536)

<div class="topic-metadata">

**Author:** [@jithin1](https://discourse.processing.org/u/jithin1)\
**Replies:** 2\
**Last updated:** [November 17, 2019, 5:18am UTC](https://discourse.processing.org/t/cant-find-a-solution-to-this-error/15536 "2019-11-17T05:18:59Z")

</div>

Can someone help me in solving this error… java.lang.RuntimeException: mouseEvent() already added for this instance of interfascia.IFButton at processing.core.PApplet.die(PApplet.java:3735) at processing.core.PApplet…

---

## [How to get image to change direction when it touches a wall](https://discourse.processing.org/t/how-to-get-image-to-change-direction-when-it-touches-a-wall/15528)

<div class="topic-metadata">

**Author:** [@Banana132](https://discourse.processing.org/u/Banana132)\
**Replies:** 15\
**Last updated:** [November 16, 2019, 8:10pm UTC](https://discourse.processing.org/t/how-to-get-image-to-change-direction-when-it-touches-a-wall/15528 "2019-11-16T20:10:13Z")

</div>

Hi there, im quite new to processing and programming in general, im trying to get a different image when it hits a wall but also that it changes its image to the direction it is going after it has hit a wall. I have go…

---

## [Processing.org Java Syntax](https://discourse.processing.org/t/processing-org-java-syntax/15324)

<div class="topic-metadata">

**Author:** [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Replies:** 12\
**Last updated:** [November 7, 2019, 11:32pm UTC](https://discourse.processing.org/t/processing-org-java-syntax/15324 "2019-11-07T23:32:46Z")

</div>

I‘ve been intending to do this for a while now, but never got very far… Anyway, what this will hopefully become is a compact description of Processings Java syntax. There are many ways to find the correct syntax for sp…

---

## [Stream GLvideo camera failed rpi 3 A+](https://discourse.processing.org/t/stream-glvideo-camera-failed-rpi-3-a/15512)

<div class="topic-metadata">

**Author:** [@fuzzy\_wobble](https://discourse.processing.org/u/fuzzy_wobble)\
**Replies:** 7\
**Last updated:** [November 16, 2019, 2:59pm UTC](https://discourse.processing.org/t/stream-glvideo-camera-failed-rpi-3-a/15512 "2019-11-16T14:59:18Z")

</div>

Hello, having some difficulties with Processing on rpi : ( Firstly, tried downloading the Raspberry Pi Image and it would not even boot so had to add Processing manually. Got Processing running, but when I try to stre…

---

## [Out of memory error (Sound problem?)](https://discourse.processing.org/t/out-of-memory-error-sound-problem/9009)

<div class="topic-metadata">

**Author:** [@Banansplitt](https://discourse.processing.org/u/Banansplitt)\
**Replies:** 14\
**Last updated:** [November 16, 2019, 1:57pm UTC](https://discourse.processing.org/t/out-of-memory-error-sound-problem/9009 "2019-11-16T13:57:17Z")

</div>

I think its playing sound that creates the problem, here is the error: at com.jsyn.data.FloatSample.allocate (Unknown Source) at com.jsyn.data.FloatSample.\<init\> (Unknown Source) at com.jsyn.data.FloatSample.\<init\>…

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

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