# Latest

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

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

**Page:** 210

---

## [How can I rename, annotate name or save to sub-directory images in a folder following classification?](https://discourse.processing.org/t/how-can-i-rename-annotate-name-or-save-to-sub-directory-images-in-a-folder-following-classification/31100)

<div class="topic-metadata">

**Author:** [@Tegan](https://discourse.processing.org/u/Tegan)\
**Replies:** 2\
**Last updated:** [July 7, 2021, 9:38am UTC](https://discourse.processing.org/t/how-can-i-rename-annotate-name-or-save-to-sub-directory-images-in-a-folder-following-classification/31100 "2021-07-07T09:38:37Z")

</div>

I am running a basic image classification model (trained on the teachable machine) but now want to be able to annotate the file names or move them to a sub directory based on the classification. I would prefer not to cop…

---

## [Rotating the sprite using mouse](https://discourse.processing.org/t/rotating-the-sprite-using-mouse/30997)

<div class="topic-metadata">

**Author:** [@millionish](https://discourse.processing.org/u/millionish)\
**Replies:** 16\
**Last updated:** [July 6, 2021, 11:18pm UTC](https://discourse.processing.org/t/rotating-the-sprite-using-mouse/30997 "2021-07-06T23:18:39Z")

</div>

Hello! I want my sprite’s front to rotate in the direction of the mouse pointer. But it isn’t doing so properly (as you can see in the pic). The pointer is behind the car, but I want it to be in front of the car. I’ve tr…

---

## [Several elements interactivity](https://discourse.processing.org/t/several-elements-interactivity/31081)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 4\
**Last updated:** [July 6, 2021, 9:44pm UTC](https://discourse.processing.org/t/several-elements-interactivity/31081 "2021-07-06T21:44:17Z")

</div>

Hi there! I have learned how to move an element with mouseX and mouseY, in this case, a red dot. Now I want to stop red dote and move another blue dot with my finger. ¿How could I do it? Thanks! void setup() { size(10…

---

## [Creating a grid with objects that store their index number (X and Y)](https://discourse.processing.org/t/creating-a-grid-with-objects-that-store-their-index-number-x-and-y/31094)

<div class="topic-metadata">

**Author:** [@rkdnson](https://discourse.processing.org/u/rkdnson)\
**Replies:** 4\
**Last updated:** [July 6, 2021, 8:55pm UTC](https://discourse.processing.org/t/creating-a-grid-with-objects-that-store-their-index-number-x-and-y/31094 "2021-07-06T20:55:01Z")

</div>

Hello everyone, coming back after a long hiatus of not coding and my mind is a bit stumped. I am revisiting an old project so my brain keeps going back to my previous solutions even though I know that wasn’t the best way…

---

## [Generative Design Library](https://discourse.processing.org/t/generative-design-library/31073)

<div class="topic-metadata">

**Author:** [@Kingjuleyann](https://discourse.processing.org/u/Kingjuleyann)\
**Replies:** 7\
**Last updated:** [July 6, 2021, 8:44pm UTC](https://discourse.processing.org/t/generative-design-library/31073 "2021-07-06T20:44:09Z")

</div>

hello, I have been searching for a way to outline my text in the program I’m making and found a topic recomending the use of the “Generative Design” library. I’ve looked at the reference and on the internet but I don’t f…

---

## [1:1 Check-in with educators](https://discourse.processing.org/t/1-1-check-in-with-educators/31093)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 0\
**Last updated:** [July 6, 2021, 5:05pm UTC](https://discourse.processing.org/t/1-1-check-in-with-educators/31093 "2021-07-06T17:05:09Z")

</div>

Hi educators, want to check-in virtually about creative coding in the classroom? Would love to hear what you need and how we can help. You can book a 20 minute meeting with me via this calendar \[Calendly - Saber Khan\]

---

## [Fragment shader vertColor question](https://discourse.processing.org/t/fragment-shader-vertcolor-question/31076)

<div class="topic-metadata">

**Author:** [@zmitchell](https://discourse.processing.org/u/zmitchell)\
**Replies:** 1\
**Last updated:** [July 6, 2021, 11:45am UTC](https://discourse.processing.org/t/fragment-shader-vertcolor-question/31076 "2021-07-06T11:45:02Z")

</div>

I’m reading the PShader reference and I have a question about code listing 4.2: Vertex shader: uniform mat4 transform; attribute vec4 position; attribute vec4 color; varying vec4 vertColor; void main() { gl\_Positi…

---

## [Is NFC possibile on Processing for Android?](https://discourse.processing.org/t/is-nfc-possibile-on-processing-for-android/31068)

<div class="topic-metadata">

**Author:** [@Z4buz4](https://discourse.processing.org/u/Z4buz4)\
**Replies:** 5\
**Last updated:** [July 6, 2021, 11:09am UTC](https://discourse.processing.org/t/is-nfc-possibile-on-processing-for-android/31068 "2021-07-06T11:09:36Z")

</div>

Good evening, is there a (hopefully simple) way to use NFC on Processing for Android? I was reading from the tutorials that for sensors other than the accelerometer, is suggested to use the Ketai library but i’ve also f…

---

## [Timer without delay()](https://discourse.processing.org/t/timer-without-delay/31080)

<div class="topic-metadata">

**Author:** [@millionish](https://discourse.processing.org/u/millionish)\
**Replies:** 1\
**Last updated:** [July 6, 2021, 3:11am UTC](https://discourse.processing.org/t/timer-without-delay/31080 "2021-07-06T03:11:45Z")

</div>

I have written a code for a stopwatch (when button pressed, it starts), but I have used delay(). Is there a way to perform it without delay()? lcd.setCursor(0, 1); if (buttonValue1 == LOW) { startTime = millis(); …

---

## [Unexpected spikes in noise values?](https://discourse.processing.org/t/unexpected-spikes-in-noise-values/30801)

<div class="topic-metadata">

**Author:** [@zmitchell](https://discourse.processing.org/u/zmitchell)\
**Replies:** 7\
**Last updated:** [July 5, 2021, 8:24pm UTC](https://discourse.processing.org/t/unexpected-spikes-in-noise-values/30801 "2021-07-05T20:24:38Z")

</div>

I’m trying to create a circle/ellipse/loop whose radius varies with the built-in noise function. I’m using Quil, a set of Clojure bindings to the Processing framework, so I’ll paste my code below and explain it since I s…

---

## [Cursor() issue in processing.py (python mode)](https://discourse.processing.org/t/cursor-issue-in-processing-py-python-mode/31062)

<div class="topic-metadata">

**Author:** [@JSGauthier](https://discourse.processing.org/u/JSGauthier)\
**Replies:** 6\
**Last updated:** [July 5, 2021, 6:09pm UTC](https://discourse.processing.org/t/cursor-issue-in-processing-py-python-mode/31062 "2021-07-05T18:09:57Z")

</div>

I have been encountering a recurring issue in Python mode (processing 3.5.4). If I add cursor(HAND) to my sketch, regardless of which definition I place it under (either setup() or draw(), even in setting() ), The curso…

---

## [Straight line pattern with random position](https://discourse.processing.org/t/straight-line-pattern-with-random-position/31075)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 1\
**Last updated:** [July 5, 2021, 6:06pm UTC](https://discourse.processing.org/t/straight-line-pattern-with-random-position/31075 "2021-07-05T18:06:02Z")

</div>

Hi there! I have made this straight line pattern that you can see in my code, looking a tutorial. Now I want to change the position of the pattern and make it random, it would be very difficult? float x=100; void …

---

## [Help code \_ Climate Clock - Countdown events](https://discourse.processing.org/t/help-code-climate-clock-countdown-events/31070)

<div class="topic-metadata">

**Author:** [@HVK370](https://discourse.processing.org/u/HVK370)\
**Replies:** 1\
**Last updated:** [July 5, 2021, 4:32pm UTC](https://discourse.processing.org/t/help-code-climate-clock-countdown-events/31070 "2021-07-05T16:32:13Z")

</div>

Hello p5js community! This is my first code, sorry for that. the result should be YRS: Y Day: DDD hh: mm: ss such as https://climateclock.world I wrote this code but the days calculation doesn’t work. can you help me…

---

## [How to draw linear (input) data points around circular shape](https://discourse.processing.org/t/how-to-draw-linear-input-data-points-around-circular-shape/31015)

<div class="topic-metadata">

**Author:** [@domha91](https://discourse.processing.org/u/domha91)\
**Replies:** 4\
**Last updated:** [July 5, 2021, 3:09pm UTC](https://discourse.processing.org/t/how-to-draw-linear-input-data-points-around-circular-shape/31015 "2021-07-05T15:09:15Z")

</div>

Sorry if the title is a little too abstract but this is a hard concept for me to put into words. The code is not too difficult but my main issue is the maths. It is based on receving OSC messages from TidalCycles, liveco…

---

## [Rotating using potentiometer issue](https://discourse.processing.org/t/rotating-using-potentiometer-issue/31064)

<div class="topic-metadata">

**Author:** [@millionish](https://discourse.processing.org/u/millionish)\
**Replies:** 6\
**Last updated:** [July 5, 2021, 12:30pm UTC](https://discourse.processing.org/t/rotating-using-potentiometer-issue/31064 "2021-07-05T12:30:38Z")

</div>

I could actually implement the rotation of the car using arduino’s potentiometer (like a steering). But the issue is when I rotate the car with potentiometer, it doesn’t drive in that direction, but instead drives in mou…

---

## [How can I use a variable to represent an array's length in the class?](https://discourse.processing.org/t/how-can-i-use-a-variable-to-represent-an-arrays-length-in-the-class/31060)

<div class="topic-metadata">

**Author:** [@karenChip](https://discourse.processing.org/u/karenChip)\
**Replies:** 2\
**Last updated:** [July 5, 2021, 6:20am UTC](https://discourse.processing.org/t/how-can-i-use-a-variable-to-represent-an-arrays-length-in-the-class/31060 "2021-07-05T06:20:05Z")

</div>

Hello guys, I’m trying to write an object with arrays in it. but i want to make the length of the array as a variable so i can manipulate in the parameters. so i set the array length as n in this code. Snake snake1; v…

---

## [Networking made "easy": Network Objects library](https://discourse.processing.org/t/networking-made-easy-network-objects-library/31059)

<div class="topic-metadata">

**Author:** [@Shwaa](https://discourse.processing.org/u/Shwaa)\
**Replies:** 0\
**Last updated:** [July 4, 2021, 11:27pm UTC](https://discourse.processing.org/t/networking-made-easy-network-objects-library/31059 "2021-07-04T23:27:39Z")

</div>

Hello, After working with processing’s built-in network library for some time, I noticed that there were certain aspects of the library that made managing Clients and sending Objects over the network unintuitive, cumber…

---

## [Four rectangle buttons](https://discourse.processing.org/t/four-rectangle-buttons/31047)

<div class="topic-metadata">

**Author:** [@PARINAZ129](https://discourse.processing.org/u/PARINAZ129)\
**Replies:** 5\
**Last updated:** [July 4, 2021, 8:38pm UTC](https://discourse.processing.org/t/four-rectangle-buttons/31047 "2021-07-04T20:38:03Z")

</div>

Hello I wanted to make 4buttons that show individual color. however, when I click on each of them all buttons are turned on together. I know my problem is with the draw event but I don’t know what should I do. may I ki…

---

## [Problem PGraphics and export of images/video](https://discourse.processing.org/t/problem-pgraphics-and-export-of-images-video/31050)

<div class="topic-metadata">

**Author:** [@MyNameIsHere](https://discourse.processing.org/u/MyNameIsHere)\
**Replies:** 1\
**Last updated:** [July 4, 2021, 9:28pm UTC](https://discourse.processing.org/t/problem-pgraphics-and-export-of-images-video/31050 "2021-07-04T21:28:19Z")

</div>

I’m stuck and now turn to the forum because I can’t seem to find a solution online that works with that specific sketch and I assume as a beginner I’m not seeing something obvious or basic here. I was playing with a ske…

---

## [Creating Save Functionality for Embedded Objects](https://discourse.processing.org/t/creating-save-functionality-for-embedded-objects/31027)

<div class="topic-metadata">

**Author:** [@dtools22](https://discourse.processing.org/u/dtools22)\
**Replies:** 7\
**Last updated:** [July 4, 2021, 6:17pm UTC](https://discourse.processing.org/t/creating-save-functionality-for-embedded-objects/31027 "2021-07-04T18:17:19Z")

</div>

Hello All, I am working on a “Save” function for my current program. After doing a little research it seems the method is to have any meaningful data from the program save to some external source like a text document o…

---

## [Overlaping clickable buttons](https://discourse.processing.org/t/overlaping-clickable-buttons/31044)

<div class="topic-metadata">

**Author:** [@Kingjuleyann](https://discourse.processing.org/u/Kingjuleyann)\
**Replies:** 4\
**Last updated:** [July 4, 2021, 5:49pm UTC](https://discourse.processing.org/t/overlaping-clickable-buttons/31044 "2021-07-04T17:49:25Z")

</div>

hello world, I am currently making a game using processing but a have a bug I can’t solve: I have made a main menu that includes a clickable button leading to a submenu for single player game modes. when I click on the m…

---

## [Help in creating a Graph Illustration](https://discourse.processing.org/t/help-in-creating-a-graph-illustration/31011)

<div class="topic-metadata">

**Author:** [@clermagic224](https://discourse.processing.org/u/clermagic224)\
**Replies:** 3\
**Last updated:** [July 4, 2021, 5:26pm UTC](https://discourse.processing.org/t/help-in-creating-a-graph-illustration/31011 "2021-07-04T17:26:57Z")

</div>

Hello p5js community! I’m trying to use p5js to build a network map and was wondering whether it is possible to build something like this? What I’ve in mind is using an object instance to represent each ball. And sto…

---

## [Every time I go to recent tabs WebView gets reloaded!](https://discourse.processing.org/t/every-time-i-go-to-recent-tabs-webview-gets-reloaded/30983)

<div class="topic-metadata">

**Author:** [@Syed\_Daanish](https://discourse.processing.org/u/Syed_Daanish)\
**Replies:** 5\
**Last updated:** [July 4, 2021, 2:17pm UTC](https://discourse.processing.org/t/every-time-i-go-to-recent-tabs-webview-gets-reloaded/30983 "2021-07-04T14:17:29Z")

</div>

I don’t know why but every time I go to recent tabs in my phone and come back the WebView gets reloaded same happens if I go from landscape to portrait or portrait to landscape mode

---

## [P5.js unit testing with Jest](https://discourse.processing.org/t/p5-js-unit-testing-with-jest/2638)

<div class="topic-metadata">

**Author:** [@kabatwa](https://discourse.processing.org/u/kabatwa)\
**Replies:** 6\
**Last updated:** [July 4, 2021, 11:48am UTC](https://discourse.processing.org/t/p5-js-unit-testing-with-jest/2638 "2021-07-04T11:48:04Z")

</div>

Hello, I’m trying to get Jest setup with p5.js. I’ve managed to get it all working with npm and able to run some basic unit tests however I’m having an issue when Jest hits a piece of p5 code. I have a sketch.js file w…

---

## [Not sure why rotation isn't giving certain values](https://discourse.processing.org/t/not-sure-why-rotation-isnt-giving-certain-values/31035)

<div class="topic-metadata">

**Author:** [@LuckyDots](https://discourse.processing.org/u/LuckyDots)\
**Replies:** 3\
**Last updated:** [July 4, 2021, 10:04am UTC](https://discourse.processing.org/t/not-sure-why-rotation-isnt-giving-certain-values/31035 "2021-07-04T10:04:11Z")

</div>

Okay so I’ve followed a tutorial on youtube for creating kaleidoscope type images which is from the following link https://www.youtube.com/watch?v=R3C2giDfmO8 the video is done in p5.js so im not surprised it hasn’t wor…

---

## [Movie Maker is not showing](https://discourse.processing.org/t/movie-maker-is-not-showing/31001)

<div class="topic-metadata">

**Author:** [@AKS](https://discourse.processing.org/u/AKS)\
**Replies:** 11\
**Last updated:** [July 4, 2021, 11:08am UTC](https://discourse.processing.org/t/movie-maker-is-not-showing/31001 "2021-07-04T11:08:29Z")

</div>

I’ve installed processing 3.5.4. In the tools tab, movie maker is not showing… Am I missing something… How do i get the movie maker option…?

---

## [How can I make 90 degree intersections/angles more arched?](https://discourse.processing.org/t/how-can-i-make-90-degree-intersections-angles-more-arched/31010)

<div class="topic-metadata">

**Author:** [@alt](https://discourse.processing.org/u/alt)\
**Replies:** 12\
**Last updated:** [July 2, 2021, 2:59pm UTC](https://discourse.processing.org/t/how-can-i-make-90-degree-intersections-angles-more-arched/31010 "2021-07-02T14:59:22Z")

</div>

Something like this I mean: unknown.png (discordapp.com) How angles look in my code right now: unknown.png (discordapp.com) I know there’s the arc() function, but I’m not sure if that’s what I’m looking for. My code…

---

## [Use potentiometer to rotate car](https://discourse.processing.org/t/use-potentiometer-to-rotate-car/31029)

<div class="topic-metadata">

**Author:** [@millionish](https://discourse.processing.org/u/millionish)\
**Replies:** 1\
**Last updated:** [July 3, 2021, 10:58pm UTC](https://discourse.processing.org/t/use-potentiometer-to-rotate-car/31029 "2021-07-03T22:58:12Z")

</div>

Hi, I’m clueless as to how to use potentiometer knob to change an object’s (eg. car) directions / angles. How do I proceed to implement the code in both processing as well as arduino?

---

## [I'd like to share my Mandelbrot Explorer](https://discourse.processing.org/t/id-like-to-share-my-mandelbrot-explorer/31026)

<div class="topic-metadata">

**Author:** [@NeilTheSeal](https://discourse.processing.org/u/NeilTheSeal)\
**Replies:** 1\
**Last updated:** [July 3, 2021, 5:03pm UTC](https://discourse.processing.org/t/id-like-to-share-my-mandelbrot-explorer/31026 "2021-07-03T17:03:31Z")

</div>

I am really proud of this sketch that I made. I was inspired by the Mandelbrot set video by Dan Schiffmann. Anyways, here it is. Let me know your thoughts :slight\_smile: Mandelbrot Sketch

---

## [Can you extract the seed from randomly generated perlin noise?](https://discourse.processing.org/t/can-you-extract-the-seed-from-randomly-generated-perlin-noise/31023)

<div class="topic-metadata">

**Author:** [@TonyG](https://discourse.processing.org/u/TonyG)\
**Replies:** 4\
**Last updated:** [July 3, 2021, 11:21am UTC](https://discourse.processing.org/t/can-you-extract-the-seed-from-randomly-generated-perlin-noise/31023 "2021-07-03T11:21:59Z")

</div>

Can you get the seed from a randomly generated perlin noise graph?

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

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