# Latest

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

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

**Page:** 368

---

## [Is there a tutorial on Embedding processing code in JAVA in Eclipse?](https://discourse.processing.org/t/is-there-a-tutorial-on-embedding-processing-code-in-java-in-eclipse/19650)

<div class="topic-metadata">

**Author:** [@Samizen](https://discourse.processing.org/u/Samizen)\
**Replies:** 5\
**Last updated:** [April 11, 2020, 3:38am UTC](https://discourse.processing.org/t/is-there-a-tutorial-on-embedding-processing-code-in-java-in-eclipse/19650 "2020-04-11T03:38:10Z")

</div>

I followed the build path tutorials. The import processing.core.\* works fine but Java doesnot acknowledge color in hex form. Similar is the case with variables like height. Also many many functions are throwing unde…

---

## [How to refresh my simulation to its beginning?](https://discourse.processing.org/t/how-to-refresh-my-simulation-to-its-beginning/19604)

<div class="topic-metadata">

**Author:** [@Upchanges](https://discourse.processing.org/u/Upchanges)\
**Replies:** 6\
**Last updated:** [April 11, 2020, 1:09am UTC](https://discourse.processing.org/t/how-to-refresh-my-simulation-to-its-beginning/19604 "2020-04-11T01:09:12Z")

</div>

I created a coronavirus simulation and I wanted to refresh everything to the beginning each time I click the screen. I would greatly appreciate your help if you could help me. Thank you! My code: x= \[ \] y= \[ \] h= \[Fals…

---

## [How do you make a 3d bar clickable to display a message?](https://discourse.processing.org/t/how-do-you-make-a-3d-bar-clickable-to-display-a-message/19641)

<div class="topic-metadata">

**Author:** [@Stage1](https://discourse.processing.org/u/Stage1)\
**Replies:** 3\
**Last updated:** [April 10, 2020, 8:16pm UTC](https://discourse.processing.org/t/how-do-you-make-a-3d-bar-clickable-to-display-a-message/19641 "2020-04-10T20:16:54Z")

</div>

Hello, i have a 3D bar and i would like to make it clickable. I’ve created the 3d bar using pushmatrix() function and i would like to know how i can make it to display message once its clicked. Here’s an example code. b…

---

## [Storing java pop up on computer](https://discourse.processing.org/t/storing-java-pop-up-on-computer/19643)

<div class="topic-metadata">

**Author:** [@senior](https://discourse.processing.org/u/senior)\
**Replies:** 1\
**Last updated:** [April 10, 2020, 11:27pm UTC](https://discourse.processing.org/t/storing-java-pop-up-on-computer/19643 "2020-04-10T23:27:11Z")

</div>

I have a display popping up in java mode. What code would I use to save and store the java display on my computer. I know I can screen record but how how would I do it with processing. Thank you all and have a blessed da…

---

## [Serial issues with apc220 and Processing 3.5.4](https://discourse.processing.org/t/serial-issues-with-apc220-and-processing-3-5-4/19621)

<div class="topic-metadata">

**Author:** [@JG97400](https://discourse.processing.org/u/JG97400)\
**Replies:** 1\
**Last updated:** [April 10, 2020, 10:58pm UTC](https://discourse.processing.org/t/serial-issues-with-apc220-and-processing-3-5-4/19621 "2020-04-10T22:58:10Z")

</div>

Hello everybody !! I’am a new user of Processing software and I try to etablish a communication between my laptop and arduino board with apc 220 wireless module. In the following link someone use the Processing 1.5.1 : h…

---

## [Music vizualiser and player with ftt](https://discourse.processing.org/t/music-vizualiser-and-player-with-ftt/19050)

<div class="topic-metadata">

**Author:** [@Ysaelya](https://discourse.processing.org/u/Ysaelya)\
**Replies:** 19\
**Last updated:** [April 10, 2020, 10:29pm UTC](https://discourse.processing.org/t/music-vizualiser-and-player-with-ftt/19050 "2020-04-10T22:29:50Z")

</div>

Hello there ! So I have been given a code and the goal is to create a music player . I must add features such as play, pause, stop and volume buttons and also a basic bar with the music timer that fills in color, like …

---

## [Control P5 Buttons in P3D follows the 3D orientation of the sketch. How to make it fixed?](https://discourse.processing.org/t/control-p5-buttons-in-p3d-follows-the-3d-orientation-of-the-sketch-how-to-make-it-fixed/19618)

<div class="topic-metadata">

**Author:** [@Samizen](https://discourse.processing.org/u/Samizen)\
**Replies:** 2\
**Last updated:** [April 10, 2020, 7:37pm UTC](https://discourse.processing.org/t/control-p5-buttons-in-p3d-follows-the-3d-orientation-of-the-sketch-how-to-make-it-fixed/19618 "2020-04-10T19:37:41Z")

</div>

If I do the same for a normal sketch with nothing in it the button appears. But even if I write the same code for my sketch, the button does not appear. The result is following: The funny thing is if I click in appro…

---

## [Importing ControlP5 with IntelliJ IDEA Processing project](https://discourse.processing.org/t/importing-controlp5-with-intellij-idea-processing-project/19573)

<div class="topic-metadata">

**Author:** [@DPakulski](https://discourse.processing.org/u/DPakulski)\
**Replies:** 7\
**Last updated:** [April 10, 2020, 6:01pm UTC](https://discourse.processing.org/t/importing-controlp5-with-intellij-idea-processing-project/19573 "2020-04-10T18:01:00Z")

</div>

I am new to Processing, but really enjoying it. I am coding in Java (Intellij IDEA) using the PApplet ProcessingCore as a library. I am building an interactive model that will simulate and display switching events on a…

---

## [How can I check that the pixel has color?](https://discourse.processing.org/t/how-can-i-check-that-the-pixel-has-color/19633)

<div class="topic-metadata">

**Author:** [@Tauter](https://discourse.processing.org/u/Tauter)\
**Replies:** 2\
**Last updated:** [April 10, 2020, 4:31pm UTC](https://discourse.processing.org/t/how-can-i-check-that-the-pixel-has-color/19633 "2020-04-10T16:31:31Z")

</div>

I’m allowed to use only get(), background() methods and color data type. How can I check that the given pixel (x,y), is background colored(black) or not ? I can’t figure it out from the references.

---

## [How do you create 3D bars to be display on a 2D image?](https://discourse.processing.org/t/how-do-you-create-3d-bars-to-be-display-on-a-2d-image/19631)

<div class="topic-metadata">

**Author:** [@Stage1](https://discourse.processing.org/u/Stage1)\
**Replies:** 6\
**Last updated:** [April 10, 2020, 3:09pm UTC](https://discourse.processing.org/t/how-do-you-create-3d-bars-to-be-display-on-a-2d-image/19631 "2020-04-10T15:09:48Z")

</div>

Hi there. I would like to know how you can display 3D bars on a image using processing 3. For example, i have a 2D map and on that map i want to display the coordinates using the latitude and longitude of a certain cit…

---

## [PImage attractor for Particle system?](https://discourse.processing.org/t/pimage-attractor-for-particle-system/19628)

<div class="topic-metadata">

**Author:** [@Tickie](https://discourse.processing.org/u/Tickie)\
**Replies:** 1\
**Last updated:** [April 10, 2020, 1:53pm UTC](https://discourse.processing.org/t/pimage-attractor-for-particle-system/19628 "2020-04-10T13:53:26Z")

</div>

Hello, I’m trying to write this processing code where particles are either attracted to the mouse when it’s pressed or repelled when it’s released. I have PImage representing a basic arrow in b&w, with a keypressed funct…

---

## [Stuck with the tcs34725 color sensor with Arduino and processing](https://discourse.processing.org/t/stuck-with-the-tcs34725-color-sensor-with-arduino-and-processing/19580)

<div class="topic-metadata">

**Author:** [@Designer\_Girl](https://discourse.processing.org/u/Designer_Girl)\
**Replies:** 20\
**Last updated:** [April 10, 2020, 10:07am UTC](https://discourse.processing.org/t/stuck-with-the-tcs34725-color-sensor-with-arduino-and-processing/19580 "2020-04-10T10:07:33Z")

</div>

Hey Guys! I need help. I am doing school project with the tcs34725 color sensor and Arduino. I want to use the color rgb and temperature to visualize rain on my screen. I managed with Arduino to control the color of the…

---

## [The rectangle is moving down the screen! I want the rectangle to stop and start with the Space Bar](https://discourse.processing.org/t/the-rectangle-is-moving-down-the-screen-i-want-the-rectangle-to-stop-and-start-with-the-space-bar/19584)

<div class="topic-metadata">

**Author:** [@bellievr](https://discourse.processing.org/u/bellievr)\
**Replies:** 2\
**Last updated:** [April 10, 2020, 1:22pm UTC](https://discourse.processing.org/t/the-rectangle-is-moving-down-the-screen-i-want-the-rectangle-to-stop-and-start-with-the-space-bar/19584 "2020-04-10T13:22:14Z")

</div>

Please help me create this program I have done with the steps of moving rectangle up and down . Just confused with using spacebar for starting and stopping it.

---

## [Does the function draw() clear the screen?](https://discourse.processing.org/t/does-the-function-draw-clear-the-screen/19614)

<div class="topic-metadata">

**Author:** [@Tauter](https://discourse.processing.org/u/Tauter)\
**Replies:** 6\
**Last updated:** [April 10, 2020, 1:21pm UTC](https://discourse.processing.org/t/does-the-function-draw-clear-the-screen/19614 "2020-04-10T13:21:52Z")

</div>

My teacher said that the draw() method run at many times per second, and it always clear the screen. But it doesn’t seems like it. By his teachings this code should draw nothing as it is run only once. Than it will be e…

---

## [JavaFX Processing Sketch doesnt draw()](https://discourse.processing.org/t/javafx-processing-sketch-doesnt-draw/12797)

<div class="topic-metadata">

**Author:** [@poboyd](https://discourse.processing.org/u/poboyd)\
**Replies:** 1\
**Last updated:** [April 10, 2020, 1:15pm UTC](https://discourse.processing.org/t/javafx-processing-sketch-doesnt-draw/12797 "2020-04-10T13:15:30Z")

</div>

Hi, I am running a processing sketch by calling it from a JavaFX application… public class Main extends Application { public pro sketch; @Override public void init() throws Exception { sketch = new pro(); sketch.ru…

---

## [JavaFX and Processing 3 P3D](https://discourse.processing.org/t/javafx-and-processing-3-p3d/15744)

<div class="topic-metadata">

**Author:** [@OliverC](https://discourse.processing.org/u/OliverC)\
**Replies:** 6\
**Last updated:** [April 10, 2020, 1:10pm UTC](https://discourse.processing.org/t/javafx-and-processing-3-p3d/15744 "2020-04-10T13:10:51Z")

</div>

Hello all, I am working on a javafx project in which I want to use P3D to display several 3D objects. I succeeded to make the example given by micycle here running but it is 2D and uses FX2D. So I have two questions: …

---

## [I made a MINIM FFT based music visualizer with Processing](https://discourse.processing.org/t/i-made-a-minim-fft-based-music-visualizer-with-processing/6099)

<div class="topic-metadata">

**Author:** [@christophayes](https://discourse.processing.org/u/christophayes)\
**Replies:** 8\
**Last updated:** [April 10, 2020, 12:44pm UTC](https://discourse.processing.org/t/i-made-a-minim-fft-based-music-visualizer-with-processing/6099 "2020-04-10T12:44:31Z")

</div>

Hello everyone, I used Processing a lot back in 2010/2011 and i’m glad to see its grown and improved so much. Its a great tool. I first came across it after watching a music video someone had made using Processing. Here…

---

## [A hypnotic, music-reactive Techno visuals show designed for staring at at a party (Part 2)](https://discourse.processing.org/t/a-hypnotic-music-reactive-techno-visuals-show-designed-for-staring-at-at-a-party-part-2/4140)

<div class="topic-metadata">

**Author:** [@Shallowed](https://discourse.processing.org/u/Shallowed)\
**Replies:** 8\
**Last updated:** [April 10, 2020, 12:37pm UTC](https://discourse.processing.org/t/a-hypnotic-music-reactive-techno-visuals-show-designed-for-staring-at-at-a-party-part-2/4140 "2020-04-10T12:37:40Z")

</div>

Hi everyone, https://www.youtube.com/watch?v=j7a22PSjxfE&t=17m53s Just sharing my work here again. I made a post on the old Processing forum and it seemed to go down reasonably well. I’ve made some updates now and thou…

---

## [Show given number of significant numbers of float in text()](https://discourse.processing.org/t/show-given-number-of-significant-numbers-of-float-in-text/19603)

<div class="topic-metadata">

**Author:** [@juanjoc](https://discourse.processing.org/u/juanjoc)\
**Replies:** 2\
**Last updated:** [April 10, 2020, 8:40am UTC](https://discourse.processing.org/t/show-given-number-of-significant-numbers-of-float-in-text/19603 "2020-04-10T08:40:28Z")

</div>

Hi everyone. I want to show a float number in a text, but it show like 4 significant numbers. float number = 1; void setup() { background(0); size(100,100); } void draw() { fill(255); text(number,50,50); delay…

---

## [Obj texture framerate hit](https://discourse.processing.org/t/obj-texture-framerate-hit/19554)

<div class="topic-metadata">

**Author:** [@mala](https://discourse.processing.org/u/mala)\
**Replies:** 4\
**Last updated:** [April 10, 2020, 8:26am UTC](https://discourse.processing.org/t/obj-texture-framerate-hit/19554 "2020-04-10T08:26:27Z")

</div>

I’m finding that using a texture on an imported .obj is leading to a severe slow down in my sketch. The obj is one part of a PShape Group, it is loaded and added to the Group in setup(). It is then used by a Class whic…

---

## [Processing to make 2 array in one](https://discourse.processing.org/t/processing-to-make-2-array-in-one/19587)

<div class="topic-metadata">

**Author:** [@gurki](https://discourse.processing.org/u/gurki)\
**Replies:** 19\
**Last updated:** [April 9, 2020, 10:40pm UTC](https://discourse.processing.org/t/processing-to-make-2-array-in-one/19587 "2020-04-09T22:40:25Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Now I have 2 array int a = { 1, 2, 25 }; int b = { 9, 18 }; I want to make with two of them in one array with a for loop. Can someone sho…

---

## [Embedding Mp3 files hosted elsewhere in my p5 sketch](https://discourse.processing.org/t/embedding-mp3-files-hosted-elsewhere-in-my-p5-sketch/19567)

<div class="topic-metadata">

**Author:** [@isasasa](https://discourse.processing.org/u/isasasa)\
**Replies:** 1\
**Last updated:** [April 9, 2020, 2:50pm UTC](https://discourse.processing.org/t/embedding-mp3-files-hosted-elsewhere-in-my-p5-sketch/19567 "2020-04-09T14:50:06Z")

</div>

So basically I am trying to get a project running on Wordpress that had two sound files in it. I’ve loaded the whole project folder into my c-panel and tried using a short code to run the project but the audio didn’t see…

---

## [Smoke from Perlin noise](https://discourse.processing.org/t/smoke-from-perlin-noise/19462)

<div class="topic-metadata">

**Author:** [@segu](https://discourse.processing.org/u/segu)\
**Replies:** 9\
**Last updated:** [April 9, 2020, 1:38pm UTC](https://discourse.processing.org/t/smoke-from-perlin-noise/19462 "2020-04-09T13:38:15Z")

</div>

Hi everybody, I recently got mesmerized by this sketch found on openprocessing.org. I wanted to tip my toe into p5 so I decided to try to adapt the code and here is my shot: let x; let t = 0; let w = 255; let m = 0; l…

---

## [How to rotate an image continuously?](https://discourse.processing.org/t/how-to-rotate-an-image-continuously/19564)

<div class="topic-metadata">

**Author:** [@NKF](https://discourse.processing.org/u/NKF)\
**Replies:** 12\
**Last updated:** [April 9, 2020, 11:28am UTC](https://discourse.processing.org/t/how-to-rotate-an-image-continuously/19564 "2020-04-09T11:28:37Z")

</div>

I know how to rotate an image but I don’t know how to make it rotates continuously by itself Could someone teach me pls void setup() { size(500,500, P3D); background(255); } void draw() { translate(width/2, height…

---

## [How to spell your three names in three lines](https://discourse.processing.org/t/how-to-spell-your-three-names-in-three-lines/19574)

<div class="topic-metadata">

**Author:** [@karakara](https://discourse.processing.org/u/karakara)\
**Replies:** 2\
**Last updated:** [April 9, 2020, 10:55am UTC](https://discourse.processing.org/t/how-to-spell-your-three-names-in-three-lines/19574 "2020-04-09T10:55:42Z")

</div>

Help please! To write a program on the Processing screen of 1000/1000 sizes. Spell your three names in three lines of your choice. Each name should begin with a capital letter. Choose the right font and the right color f…

---

## [Looking for help to improve my code](https://discourse.processing.org/t/looking-for-help-to-improve-my-code/19362)

<div class="topic-metadata">

**Author:** [@vincentstrebelle](https://discourse.processing.org/u/vincentstrebelle)\
**Replies:** 6\
**Last updated:** [April 9, 2020, 10:27am UTC](https://discourse.processing.org/t/looking-for-help-to-improve-my-code/19362 "2020-04-09T10:27:31Z")

</div>

Hi everyone, i hope everything is allright for all of you. I’m looking for advices and/or help to improve a specific part of my code. So here’s my code so you can run it: first the main class: import java.util.Iterat…

---

## [Some questions about millis()](https://discourse.processing.org/t/some-questions-about-millis/19541)

<div class="topic-metadata">

**Author:** [@NKF](https://discourse.processing.org/u/NKF)\
**Replies:** 4\
**Last updated:** [April 9, 2020, 6:13am UTC](https://discourse.processing.org/t/some-questions-about-millis/19541 "2020-04-09T06:13:31Z")

</div>

I know millis() is the number of milliseconds since starting the program, but how can I reset millis() to 0 in order to re-counting the time?

---

## [\[Tutorial\] How to use Processing.py with PyCharm and intellisense](https://discourse.processing.org/t/tutorial-how-to-use-processing-py-with-pycharm-and-intellisense/19495)

<div class="topic-metadata">

**Author:** [@Abdulla060](https://discourse.processing.org/u/Abdulla060)\
**Replies:** 5\
**Last updated:** [April 9, 2020, 3:36am UTC](https://discourse.processing.org/t/tutorial-how-to-use-processing-py-with-pycharm-and-intellisense/19495 "2020-04-09T03:36:22Z")

</div>

Hello everyone. in the past few days, I’ve been kinda bored sitting at home all day. so I’ve decided to write a stub file for the Processing.py along with a full tutorial on how to make it work in PyCharm. the full tuto…

---

## [py.Processing with PyCharm?](https://discourse.processing.org/t/py-processing-with-pycharm/14236)

<div class="topic-metadata">

**Author:** [@nemecsek69](https://discourse.processing.org/u/nemecsek69)\
**Replies:** 7\
**Last updated:** [April 8, 2020, 10:43pm UTC](https://discourse.processing.org/t/py-processing-with-pycharm/14236 "2020-04-08T22:43:40Z")

</div>

Hi. I am using the Python mode, but would like MORE. Being a Pyhon developer I would like to use PyCharm as my IDE of choice (and possibly execute the code from there). Is this possible?

---

## [PCD @ Worldwide 2018](https://discourse.processing.org/t/pcd-worldwide-2018/1885)

<div class="topic-metadata">

**Author:** [@xinxin](https://discourse.processing.org/u/xinxin)\
**Replies:** 88\
**Last updated:** [April 8, 2020, 10:37pm UTC](https://discourse.processing.org/t/pcd-worldwide-2018/1885 "2020-04-08T22:37:51Z")

</div>

Hello PCD node organizers! Please introduce yourself - who are you? Where are you hosting a PCD and what ideas do you have for the event? Please feel free to pose questions, facilitate discussions, or share ideas with o…

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

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