# Latest

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

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

**Page:** 254

---

## [Save spot in grid](https://discourse.processing.org/t/save-spot-in-grid/27882)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 1\
**Last updated:** [February 17, 2021, 12:47pm UTC](https://discourse.processing.org/t/save-spot-in-grid/27882 "2021-02-17T12:47:42Z")

</div>

Hi, I am trying to make a pathfinding system, and the pathfinding part is done however I don’t know how to change the start or end point. Down below is some of my code. Would be nice if i could get some inspiration how t…

---

## [Need help with code](https://discourse.processing.org/t/need-help-with-code/27845)

<div class="topic-metadata">

**Author:** [@zvodca](https://discourse.processing.org/u/zvodca)\
**Replies:** 2\
**Last updated:** [February 17, 2021, 4:18am UTC](https://discourse.processing.org/t/need-help-with-code/27845 "2021-02-17T04:18:22Z")

</div>

need help to make the ellipse go reverse and start all over again. want the ellipse to go back and forth on the same route. so far i have managed to move it forward. here is the code i already have; int x = 30; int y…

---

## [Processing to Arduino](https://discourse.processing.org/t/processing-to-arduino/27871)

<div class="topic-metadata">

**Author:** [@saaqib.m](https://discourse.processing.org/u/saaqib.m)\
**Replies:** 4\
**Last updated:** [February 16, 2021, 10:20pm UTC](https://discourse.processing.org/t/processing-to-arduino/27871 "2021-02-16T22:20:31Z")

</div>

Hi, I have an Arduino to Processing connection. I wanted to know if Processing could take in value that in that Arduino code are only read and not printed? So if the Arduino code contained just analogRead() for example …

---

## [blendMode and transparency](https://discourse.processing.org/t/blendmode-and-transparency/27781)

<div class="topic-metadata">

**Author:** [@jensschroder](https://discourse.processing.org/u/jensschroder)\
**Replies:** 6\
**Last updated:** [February 16, 2021, 9:23pm UTC](https://discourse.processing.org/t/blendmode-and-transparency/27781 "2021-02-16T21:23:43Z")

</div>

Hi, First, thank you to all and everyone involved with Processing. I only recently discovered Processing and I instantly found it to be super inspirational. I hope someone can help me with some guidance in relation to …

---

## [Big Sur and new Macs](https://discourse.processing.org/t/big-sur-and-new-macs/25374)

<div class="topic-metadata">

**Author:** [@mgg](https://discourse.processing.org/u/mgg)\
**Replies:** 7\
**Last updated:** [February 16, 2021, 5:54pm UTC](https://discourse.processing.org/t/big-sur-and-new-macs/25374 "2021-02-16T17:54:46Z")

</div>

Hi all, Wondering if anyone willing to share initial experiences with Processing on the new Mac hardware and “Big Sur” OS11 (OSX 11? OSXI?) … For context, we have a number of semi-permanent and permanent installation…

---

## [Where is the directory to save your .csv data?](https://discourse.processing.org/t/where-is-the-directory-to-save-your-csv-data/27846)

<div class="topic-metadata">

**Author:** [@ghost1](https://discourse.processing.org/u/ghost1)\
**Replies:** 2\
**Last updated:** [February 16, 2021, 2:23pm UTC](https://discourse.processing.org/t/where-is-the-directory-to-save-your-csv-data/27846 "2021-02-16T14:23:27Z")

</div>

where is the directory to save your .csv data?

---

## [Physics simulator](https://discourse.processing.org/t/physics-simulator/27707)

<div class="topic-metadata">

**Author:** [@vestergaard12](https://discourse.processing.org/u/vestergaard12)\
**Replies:** 8\
**Last updated:** [February 16, 2021, 2:21pm UTC](https://discourse.processing.org/t/physics-simulator/27707 "2021-02-16T14:21:40Z")

</div>

Hello Processing Foundation. I have started on a new processing project which is to code this projectile motion simulator: https://ophysics.com/k8.html This simulator shows the path of a ball when thrown at a specific…

---

## [Drawing with out library](https://discourse.processing.org/t/drawing-with-out-library/27842)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 1\
**Last updated:** [February 16, 2021, 2:16pm UTC](https://discourse.processing.org/t/drawing-with-out-library/27842 "2021-02-16T14:16:45Z")

</div>

nice draw with out any library int state = 0; int statu = 0; float rectX = 354; float rectY = 60; float rectYY = 50; void setup() { size (450, 350); } void draw() { strokeWeight(1); smooth(2); fill (0); n…

---

## [Bug with createRadio(): it doesn't create separate radios](https://discourse.processing.org/t/bug-with-createradio-it-doesnt-create-separate-radios/27856)

<div class="topic-metadata">

**Author:** [@benjaminmarkus](https://discourse.processing.org/u/benjaminmarkus)\
**Replies:** 2\
**Last updated:** [February 16, 2021, 11:55am UTC](https://discourse.processing.org/t/bug-with-createradio-it-doesnt-create-separate-radios/27856 "2021-02-16T11:55:46Z")

</div>

I want to include three separate set of radio buttons in my code and for that I am using createRadio() three separate times, such as: radio1 = createRadio(), radio2 = createRadio(), radio3= createRadio(). But there seem…

---

## [Can someone help me with this? (special graph)](https://discourse.processing.org/t/can-someone-help-me-with-this-special-graph/27838)

<div class="topic-metadata">

**Author:** [@cocopuffs](https://discourse.processing.org/u/cocopuffs)\
**Replies:** 5\
**Last updated:** [February 16, 2021, 7:46am UTC](https://discourse.processing.org/t/can-someone-help-me-with-this-special-graph/27838 "2021-02-16T07:46:33Z")

</div>

So I basically have to create the exact sketch/animation as depicted in the gif. I attached a gif of exactly how it needs to look and animate (you may need to refresh page in a few minutes because I think the gif stops …

---

## [Some adjustments needed (MODIFICATION)](https://discourse.processing.org/t/some-adjustments-needed-modification/27829)

<div class="topic-metadata">

**Author:** [@Apollo](https://discourse.processing.org/u/Apollo)\
**Replies:** 2\
**Last updated:** [February 16, 2021, 2:13am UTC](https://discourse.processing.org/t/some-adjustments-needed-modification/27829 "2021-02-16T02:13:04Z")

</div>

Hello! I don’t know if you already saw this tutorial but check it for your reference (link:Objects / Processing.org) In the tutorial, you created the car object in two instances, each at a different speed of driving. N…

---

## [Processing Q-Learning](https://discourse.processing.org/t/processing-q-learning/27855)

<div class="topic-metadata">

**Author:** [@ctremblay](https://discourse.processing.org/u/ctremblay)\
**Replies:** 0\
**Last updated:** [February 16, 2021, 12:47am UTC](https://discourse.processing.org/t/processing-q-learning/27855 "2021-02-16T00:47:21Z")

</div>

I’m trying to make an enemy with q-learning, but my enemy seems to just run into the wall after a few minutes. He just runs into the wall & runs into the wall. Can someone check my code to see if I’m doing it correct I t…

---

## [Processing Sound Library Errors](https://discourse.processing.org/t/processing-sound-library-errors/27810)

<div class="topic-metadata">

**Author:** [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Replies:** 4\
**Last updated:** [February 15, 2021, 11:34pm UTC](https://discourse.processing.org/t/processing-sound-library-errors/27810 "2021-02-15T23:34:59Z")

</div>

Hello everyone, I was encountering some errors when using the processing sound library. The files load and play fine, but sometimes they just don’t play at all, and this happens usually 2-5 minutes after the program star…

---

## [Basic search box query results](https://discourse.processing.org/t/basic-search-box-query-results/27851)

<div class="topic-metadata">

**Author:** [@ghost1](https://discourse.processing.org/u/ghost1)\
**Replies:** 4\
**Last updated:** [February 15, 2021, 10:26pm UTC](https://discourse.processing.org/t/basic-search-box-query-results/27851 "2021-02-15T22:26:21Z")

</div>

Where can I find code to create a simple search box, and it queries, and returns the results below the search box?

---

## [p5.FFT with cordova](https://discourse.processing.org/t/p5-fft-with-cordova/27836)

<div class="topic-metadata">

**Author:** [@sarthak\_g](https://discourse.processing.org/u/sarthak_g)\
**Replies:** 1\
**Last updated:** [February 15, 2021, 7:53pm UTC](https://discourse.processing.org/t/p5-fft-with-cordova/27836 "2021-02-15T19:53:46Z")

</div>

p5.AudioIn() does not work when build app using cordova. Therefore, I’ve used cordova plugin to receive microphone audioContext. Now, I want to connect above context as input to p5.fft to visualize waveform. How can I a…

---

## [Help needed on which tutorials and examples I need to look at to create something like this](https://discourse.processing.org/t/help-needed-on-which-tutorials-and-examples-i-need-to-look-at-to-create-something-like-this/27841)

<div class="topic-metadata">

**Author:** [@ghost1](https://discourse.processing.org/u/ghost1)\
**Replies:** 15\
**Last updated:** [February 15, 2021, 5:48pm UTC](https://discourse.processing.org/t/help-needed-on-which-tutorials-and-examples-i-need-to-look-at-to-create-something-like-this/27841 "2021-02-15T17:48:47Z")

</div>

Can someone please advise me in the direction of which tutorial and examples I need to read in order to produce something like this… https://scimaps.org/mapdetail/visualizing\_bible\_cr\_125

---

## [Create a programm you can open files with](https://discourse.processing.org/t/create-a-programm-you-can-open-files-with/27837)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 1\
**Last updated:** [February 15, 2021, 2:53pm UTC](https://discourse.processing.org/t/create-a-programm-you-can-open-files-with/27837 "2021-02-15T14:53:00Z")

</div>

I have created a programm to process a self-made type of file. Is it possible to rewrite a programm and convert it into a application to open the file. Edit: To clarify I want to wirte a programm that you can select whe…

---

## [How do I load images with loadImage() and webpack?](https://discourse.processing.org/t/how-do-i-load-images-with-loadimage-and-webpack/25363)

<div class="topic-metadata">

**Author:** [@sdnorris](https://discourse.processing.org/u/sdnorris)\
**Replies:** 2\
**Last updated:** [February 15, 2021, 12:34pm UTC](https://discourse.processing.org/t/how-do-i-load-images-with-loadimage-and-webpack/25363 "2021-02-15T12:34:58Z")

</div>

Hello, I am using p5 in instance mode with an Express server in Node.js. I am importing the p5.js library via npm and webpack rather than with an inline script tag on an html document. This has been working fine, but I…

---

## [Make use of camera in device and live stream](https://discourse.processing.org/t/make-use-of-camera-in-device-and-live-stream/27834)

<div class="topic-metadata">

**Author:** [@bandhavya](https://discourse.processing.org/u/bandhavya)\
**Replies:** 0\
**Last updated:** [February 15, 2021, 9:33am UTC](https://discourse.processing.org/t/make-use-of-camera-in-device-and-live-stream/27834 "2021-02-15T09:33:15Z")

</div>

I want to live stream a video captured from mobile using p5.js. This is possible? any ideas how to implement? I checked the sample tutorials which opens the front webcam and it can be displayed on canvas. But incase i w…

---

## [Problems with print() function](https://discourse.processing.org/t/problems-with-print-function/27824)

<div class="topic-metadata">

**Author:** [@sirin](https://discourse.processing.org/u/sirin)\
**Replies:** 7\
**Last updated:** [February 15, 2021, 1:50am UTC](https://discourse.processing.org/t/problems-with-print-function/27824 "2021-02-15T01:50:53Z")

</div>

I am new to p5.js and I encountered a problem with a simple code: var a=10; var b; function setup() { createCanvas(400, 400); //some expressions using variables go here } function draw() { background(220); //…

---

## [How to mark warning/syntax errors in "Processing Language" Extension for VS Code?](https://discourse.processing.org/t/how-to-mark-warning-syntax-errors-in-processing-language-extension-for-vs-code/27772)

<div class="topic-metadata">

**Author:** [@PedroGJ27](https://discourse.processing.org/u/PedroGJ27)\
**Replies:** 2\
**Last updated:** [February 15, 2021, 1:44am UTC](https://discourse.processing.org/t/how-to-mark-warning-syntax-errors-in-processing-language-extension-for-vs-code/27772 "2021-02-15T01:44:12Z")

</div>

Hi, I’m using “Processing Language” extension for Visual Studio Code in Windows, and I already did every step necessary in order to execute successfully a .pde file (which you can find on https://github.com/TobiahZ/proce…

---

## [Serialization with pickle or otherwise (how to make PImage serializable?)](https://discourse.processing.org/t/serialization-with-pickle-or-otherwise-how-to-make-pimage-serializable/27823)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 0\
**Last updated:** [February 14, 2021, 7:31pm UTC](https://discourse.processing.org/t/serialization-with-pickle-or-otherwise-how-to-make-pimage-serializable/27823 "2021-02-14T19:31:34Z")

</div>

I usually use Python’s pickle module for serialization. But it doesn’t work with Processing objects from PImage, or PVector. There is this other Java strategy that has the same problem. from java import io def saveObje…

---

## [Loading files gradually causes program to stutter/lag](https://discourse.processing.org/t/loading-files-gradually-causes-program-to-stutter-lag/27812)

<div class="topic-metadata">

**Author:** [@CosmicCrowMC](https://discourse.processing.org/u/CosmicCrowMC)\
**Replies:** 4\
**Last updated:** [February 14, 2021, 6:07pm UTC](https://discourse.processing.org/t/loading-files-gradually-causes-program-to-stutter-lag/27812 "2021-02-14T18:07:50Z")

</div>

I’ve made a game with Processing (in fact, it’s been released on Steam! Search “Enter The Backrooms” if you’re interested!) and some of my players have run into an error: if you reload the game over and over, the game wi…

---

## [How to break up list of hex values?](https://discourse.processing.org/t/how-to-break-up-list-of-hex-values/27814)

<div class="topic-metadata">

**Author:** [@tea\_tree](https://discourse.processing.org/u/tea_tree)\
**Replies:** 7\
**Last updated:** [February 14, 2021, 6:05pm UTC](https://discourse.processing.org/t/how-to-break-up-list-of-hex-values/27814 "2021-02-14T18:05:36Z")

</div>

I’d like to break up a string of color values and then return it (so I can then use it in my stroke function). However, when I run the following, my code will not render. color colorDeterminer(int class) { color c = …

---

## [Help with noise to animate](https://discourse.processing.org/t/help-with-noise-to-animate/27801)

<div class="topic-metadata">

**Author:** [@Laygos](https://discourse.processing.org/u/Laygos)\
**Replies:** 2\
**Last updated:** [February 14, 2021, 4:34pm UTC](https://discourse.processing.org/t/help-with-noise-to-animate/27801 "2021-02-14T16:34:16Z")

</div>

Using Processing 3 in Python mode, I’m unable to get my ellipse to animate. \</ Xoff = 0 def setup(): size(800,900) def draw(): global Xoff background(0) x = map(noise(Xoff),0,1,0,width) ellipse(x,200,50,50) x +=…

---

## [Npm ci showing error](https://discourse.processing.org/t/npm-ci-showing-error/27735)

<div class="topic-metadata">

**Author:** [@sagar-joshi](https://discourse.processing.org/u/sagar-joshi)\
**Replies:** 16\
**Last updated:** [February 14, 2021, 3:46pm UTC](https://discourse.processing.org/t/npm-ci-showing-error/27735 "2021-02-14T15:46:22Z")

</div>

I was trying to set up p5.js locally but npm ci is failing. It says: error path /home/sagar/Desktop/processing/p5.js/node\_modules/puppeteer error command failed error command sh -c node install.js I have attached th…

---

## [HELP! p5.js Rect - Rect Collions other!](https://discourse.processing.org/t/help-p5-js-rect-rect-collions-other/27771)

<div class="topic-metadata">

**Author:** [@Zwaan69](https://discourse.processing.org/u/Zwaan69)\
**Replies:** 1\
**Last updated:** [February 14, 2021, 3:01pm UTC](https://discourse.processing.org/t/help-p5-js-rect-rect-collions-other/27771 "2021-02-14T15:01:19Z")

</div>

Hi, I have 2 questions that I love to have for making my own fun games like the helicopter. see picture… Small rectangle to right bosting with large rectangle, but small rect does not stand through, how? stuck just …

---

## [How do you add text that wraps a circle?](https://discourse.processing.org/t/how-do-you-add-text-that-wraps-a-circle/27789)

<div class="topic-metadata">

**Author:** [@Potato3218](https://discourse.processing.org/u/Potato3218)\
**Replies:** 4\
**Last updated:** [February 14, 2021, 2:04pm UTC](https://discourse.processing.org/t/how-do-you-add-text-that-wraps-a-circle/27789 "2021-02-14T14:04:50Z")

</div>

I have made a code something like this: createCanvas(800, 800); } function draw() { background("lightblue"); noStroke(); fill("green") ellipse(width/2,height/2,0.8\*width); fill("white") ellipse(width/2,he…

---

## [My for loop does not work, why?](https://discourse.processing.org/t/my-for-loop-does-not-work-why/27819)

<div class="topic-metadata">

**Author:** [@CloudyToast](https://discourse.processing.org/u/CloudyToast)\
**Replies:** 2\
**Last updated:** [February 14, 2021, 2:04pm UTC](https://discourse.processing.org/t/my-for-loop-does-not-work-why/27819 "2021-02-14T14:04:42Z")

</div>

So i have made this for loop for my game but i does not work, and i have no idea why. for (boolean Blue=true ;Blue=false;) { image(BackGround,0,0); BlueY--; image(BlueCar,282,BlueY); println("Blue For"); if(Bl…

---

## [Someone help me putting an image in the sketch files](https://discourse.processing.org/t/someone-help-me-putting-an-image-in-the-sketch-files/27807)

<div class="topic-metadata">

**Author:** [@Pie](https://discourse.processing.org/u/Pie)\
**Replies:** 2\
**Last updated:** [February 14, 2021, 11:25am UTC](https://discourse.processing.org/t/someone-help-me-putting-an-image-in-the-sketch-files/27807 "2021-02-14T11:25:50Z")

</div>

i tried to create an image and load it but it didn’t work, someone explain to me how i can put an image and load it in my project?

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

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