# Latest

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

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

**Page:** 517

---

## [Processing closes immediately on opening](https://discourse.processing.org/t/processing-closes-immediately-on-opening/9019)

<div class="topic-metadata">

**Author:** [@kvega](https://discourse.processing.org/u/kvega)\
**Replies:** 1\
**Last updated:** [March 7, 2019, 7:07am UTC](https://discourse.processing.org/t/processing-closes-immediately-on-opening/9019 "2019-03-07T07:07:21Z")

</div>

The Processing IDE that has been working for years is now opening for a few seconds and then closing. I have downloaded both new Processing IDE and Java. This has no effect at all. Any ideas what else I can try. Also I’…

---

## [Help please my stuff is gone](https://discourse.processing.org/t/help-please-my-stuff-is-gone/9061)

<div class="topic-metadata">

**Author:** [@firelordhunter](https://discourse.processing.org/u/firelordhunter)\
**Replies:** 4\
**Last updated:** [March 7, 2019, 6:06am UTC](https://discourse.processing.org/t/help-please-my-stuff-is-gone/9061 "2019-03-07T06:06:18Z")

</div>

so i longed in and all of my stuff is gone i tried reloged and restarted my pc and its still not there please help ps i am new to all of this

---

## [Sprites using arrays](https://discourse.processing.org/t/sprites-using-arrays/8825)

<div class="topic-metadata">

**Author:** [@taryncollymore](https://discourse.processing.org/u/taryncollymore)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 9:26pm UTC](https://discourse.processing.org/t/sprites-using-arrays/8825 "2019-03-06T21:26:24Z")

</div>

I need help with using multiple images to create an animated sprite that moves as the mouse moves. My professor wants us to use arrays to accomplish this, but I’m not sure how to integrate multiple images into the code t…

---

## [Solving an exercise in Dan Shiffman "Learning Processing"](https://discourse.processing.org/t/solving-an-exercise-in-dan-shiffman-learning-processing/8817)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 4\
**Last updated:** [March 6, 2019, 8:51pm UTC](https://discourse.processing.org/t/solving-an-exercise-in-dan-shiffman-learning-processing/8817 "2019-03-06T20:51:55Z")

</div>

Trying to solve Exercise 5-8 (p.83) in D. Shiffman book “Learning Processing” Keep getting an error message: "unexpected token: void" Goal: circle starts moving in sketch once the mouse has been pressed. Here is my co…

---

## [Parallel line that follows the mouse with circle](https://discourse.processing.org/t/parallel-line-that-follows-the-mouse-with-circle/8909)

<div class="topic-metadata">

**Author:** [@JasJones](https://discourse.processing.org/u/JasJones)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 7:32pm UTC](https://discourse.processing.org/t/parallel-line-that-follows-the-mouse-with-circle/8909 "2019-03-06T19:32:42Z")

</div>

How can I fix the ellipse in the middle / left outside of the background-window? Here is my code until now: void setup(){ size(100,100); } void draw(){ background(200); line(mouseX,0,mouseX,100); ellipseMode(CO…

---

## [How can I implement objects with colliders?](https://discourse.processing.org/t/how-can-i-implement-objects-with-colliders/9033)

<div class="topic-metadata">

**Author:** [@mone](https://discourse.processing.org/u/mone)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 7:32pm UTC](https://discourse.processing.org/t/how-can-i-implement-objects-with-colliders/9033 "2019-03-06T19:32:23Z")

</div>

I have to do a program where the player moves an object with the keyboard and there are obstacles that collide with the player. I have the movement part and it works really well but I really dont know how to print object…

---

## [Processing won't launch, Mac](https://discourse.processing.org/t/processing-wont-launch-mac/8978)

<div class="topic-metadata">

**Author:** [@Tapestes](https://discourse.processing.org/u/Tapestes)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 7:29pm UTC](https://discourse.processing.org/t/processing-wont-launch-mac/8978 "2019-03-06T19:29:53Z")

</div>

I’m attempting to run processing 3.5.3 on MacOS 10.14.3. When I click on the processing icon, Processing appears in the mac menu bar for moment, and then disappears. The splash screen never comes up. These are the err…

---

## [Zombie game kill counter increments nonstop](https://discourse.processing.org/t/zombie-game-kill-counter-increments-nonstop/9032)

<div class="topic-metadata">

**Author:** [@ZAZ](https://discourse.processing.org/u/ZAZ)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 7:22pm UTC](https://discourse.processing.org/t/zombie-game-kill-counter-increments-nonstop/9032 "2019-03-06T19:22:55Z")

</div>

Okay so I have been working on this project for quite a while. Basically I made a shooting game. Zombies are rendered on the screen frame by frame. and when they are shot, an explosion is rendered (Technically the zombie…

---

## [Massive frameRate drop after restart](https://discourse.processing.org/t/massive-framerate-drop-after-restart/8828)

<div class="topic-metadata">

**Author:** [@wqt](https://discourse.processing.org/u/wqt)\
**Replies:** 6\
**Last updated:** [March 6, 2019, 6:08pm UTC](https://discourse.processing.org/t/massive-framerate-drop-after-restart/8828 "2019-03-06T18:08:30Z")

</div>

Hi, I do not know if this is really Processing-related, but I would appreciate any help. I restarted a borrowed Windows 7 computer and my sketches are much slower since. I could run Demos/Performance/DynamicParticlesRet…

---

## [Why I can't download processing-3.5.3-windows64?](https://discourse.processing.org/t/why-i-cant-download-processing-3-5-3-windows64/8896)

<div class="topic-metadata">

**Author:** [@Nora](https://discourse.processing.org/u/Nora)\
**Replies:** 2\
**Last updated:** [March 6, 2019, 5:07pm UTC](https://discourse.processing.org/t/why-i-cant-download-processing-3-5-3-windows64/8896 "2019-03-06T17:07:41Z")

</div>

Why I can’t download processing-3.5.3-windows64?:哭:

---

## [Particle System Performance](https://discourse.processing.org/t/particle-system-performance/8493)

<div class="topic-metadata">

**Author:** [@wqt](https://discourse.processing.org/u/wqt)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 3:16pm UTC](https://discourse.processing.org/t/particle-system-performance/8493 "2019-03-06T15:16:54Z")

</div>

Hello everyone! I am looking for advice on a project : I am simulating a few thousands of microorganisms (microalgae). I need to simulate the physics for each of them, applying three forces : fluid friction which limits…

---

## [Which version of Processing for an older version of Java?](https://discourse.processing.org/t/which-version-of-processing-for-an-older-version-of-java/8976)

<div class="topic-metadata">

**Author:** [@maathieu1](https://discourse.processing.org/u/maathieu1)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 2:09pm UTC](https://discourse.processing.org/t/which-version-of-processing-for-an-older-version-of-java/8976 "2019-03-06T14:09:45Z")

</div>

Hello everyone! This is a bit of a strange question - please bear with me. I have set my hands on an old Windows CE palmtop which happens to run JRE 1.5 (certain, and possibly JRE 1.6). I was wondering if I could deve…

---

## [Problems with loading pictures and keeping framerate at 60](https://discourse.processing.org/t/problems-with-loading-pictures-and-keeping-framerate-at-60/9008)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 2:05pm UTC](https://discourse.processing.org/t/problems-with-loading-pictures-and-keeping-framerate-at-60/9008 "2019-03-06T14:05:25Z")

</div>

Hi, i am trying to make a game, where it is necessary to load pictures, however my framerate drops every time I load a picture (For now i only load one picture at a time). It may be because the quality of the pictures is…

---

## [Trying to create a BCD clock](https://discourse.processing.org/t/trying-to-create-a-bcd-clock/8560)

<div class="topic-metadata">

**Author:** [@Banansplitt](https://discourse.processing.org/u/Banansplitt)\
**Replies:** 2\
**Last updated:** [March 6, 2019, 10:32am UTC](https://discourse.processing.org/t/trying-to-create-a-bcd-clock/8560 "2019-03-06T10:32:30Z")

</div>

I’m trying o create a BCD clock, but something seems very off. The value of s = second(); returns a negative value, and the clock isn’t displaying correctly. What am I doing wrong? int h; int m; int s; void setup(){ …

---

## [TemperatureTellerApp](https://discourse.processing.org/t/temperaturetellerapp/8937)

<div class="topic-metadata">

**Author:** [@ksaloni](https://discourse.processing.org/u/ksaloni)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 10:30am UTC](https://discourse.processing.org/t/temperaturetellerapp/8937 "2019-03-06T10:30:43Z")

</div>

This will tell the temperature of devices like mobile phones, laptops etc. when they get too hot so that user will shut them down.

---

## [Ellipse moving in rectangular shape](https://discourse.processing.org/t/ellipse-moving-in-rectangular-shape/8988)

<div class="topic-metadata">

**Author:** [@cathfrier](https://discourse.processing.org/u/cathfrier)\
**Replies:** 2\
**Last updated:** [March 6, 2019, 7:31am UTC](https://discourse.processing.org/t/ellipse-moving-in-rectangular-shape/8988 "2019-03-06T07:31:15Z")

</div>

Hi there! The solution is probably right in front of me, but I’m struggling with my code. I have an ellipse that are meant to move in a rectangular shape, from top right (x0, y0) \> bottom right (x1, y1) \> diagonal bott…

---

## [Strange behavior loading video files from data path](https://discourse.processing.org/t/strange-behavior-loading-video-files-from-data-path/8996)

<div class="topic-metadata">

**Author:** [@grumo](https://discourse.processing.org/u/grumo)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 2:35am UTC](https://discourse.processing.org/t/strange-behavior-loading-video-files-from-data-path/8996 "2019-03-06T02:35:59Z")

</div>

I’m making a script that mixes different videos on screen. The script works if I load the videos from the “data” path, but if i use subfolders like “data/something” I get an error (despite the files are loading correctly…

---

## [Files must be loaded inside setup() or after it has been called](https://discourse.processing.org/t/files-must-be-loaded-inside-setup-or-after-it-has-been-called/8751)

<div class="topic-metadata">

**Author:** [@Kyle](https://discourse.processing.org/u/Kyle)\
**Replies:** 7\
**Last updated:** [March 6, 2019, 12:31am UTC](https://discourse.processing.org/t/files-must-be-loaded-inside-setup-or-after-it-has-been-called/8751 "2019-03-06T00:31:58Z")

</div>

My code has many different object classes which all extend the main class. Each one has its own set of PImages (I have found that the only way to make them work is to loadImage them inside the class constructor, you can …

---

## [Newb- AI for 2d Games - player object to be recognized by physics engine](https://discourse.processing.org/t/newb-ai-for-2d-games-player-object-to-be-recognized-by-physics-engine/8821)

<div class="topic-metadata">

**Author:** [@seeblank](https://discourse.processing.org/u/seeblank)\
**Replies:** 7\
**Last updated:** [March 5, 2019, 7:44pm UTC](https://discourse.processing.org/t/newb-ai-for-2d-games-player-object-to-be-recognized-by-physics-engine/8821 "2019-03-05T19:44:11Z")

</div>

hello sketchers, I am a newb here, newb in programming. I have a project for one of my classes, and I am using Quarks AI for 2D Games to get a basic functionality. I am unsure how many people have used this library yet, …

---

## [Art Installation, Long Run Times](https://discourse.processing.org/t/art-installation-long-run-times/5101)

<div class="topic-metadata">

**Author:** [@Phospheros](https://discourse.processing.org/u/Phospheros)\
**Replies:** 7\
**Last updated:** [March 5, 2019, 6:43pm UTC](https://discourse.processing.org/t/art-installation-long-run-times/5101 "2019-03-05T18:43:22Z")

</div>

Hi All, I’m working on a project with an artist, and my contribution will be an interactive projection w/ Kinect. The sketch is in P5v3 (Java), and should be expected to run continuously for 8+ hrs. a day. The exhibitio…

---

## [What is this ~/Documents/Processing/libraries directory while installing Processing 3](https://discourse.processing.org/t/what-is-this-documents-processing-libraries-directory-while-installing-processing-3/8899)

<div class="topic-metadata">

**Author:** [@kkxxbdm](https://discourse.processing.org/u/kkxxbdm)\
**Replies:** 7\
**Last updated:** [March 5, 2019, 3:53pm UTC](https://discourse.processing.org/t/what-is-this-documents-processing-libraries-directory-while-installing-processing-3/8899 "2019-03-05T15:53:55Z")

</div>

I’m new to Processing. I was trying to get the code working based on the following link: I’m using Linux Ubuntu. The following are the steps to install Processing based on the above link. 1: Download Processing …

---

## [How am I supposed to open sketches downloaded from github?](https://discourse.processing.org/t/how-am-i-supposed-to-open-sketches-downloaded-from-github/8927)

<div class="topic-metadata">

**Author:** [@mono](https://discourse.processing.org/u/mono)\
**Replies:** 5\
**Last updated:** [March 5, 2019, 2:46pm UTC](https://discourse.processing.org/t/how-am-i-supposed-to-open-sketches-downloaded-from-github/8927 "2019-03-05T14:46:50Z")

</div>

Hey there. I was trying to download sketches that other people have put on github so I could take a look at the code and get some insight on how to structure my own sketches. The problem I’m having is the sketch never s…

---

## [I can't make the objects in an array track the mouse position while also moving towards a predefined spot on the canvas](https://discourse.processing.org/t/i-cant-make-the-objects-in-an-array-track-the-mouse-position-while-also-moving-towards-a-predefined-spot-on-the-canvas/8955)

<div class="topic-metadata">

**Author:** [@nielsKoel](https://discourse.processing.org/u/nielsKoel)\
**Replies:** 4\
**Last updated:** [March 5, 2019, 1:26pm UTC](https://discourse.processing.org/t/i-cant-make-the-objects-in-an-array-track-the-mouse-position-while-also-moving-towards-a-predefined-spot-on-the-canvas/8955 "2019-03-05T13:26:34Z")

</div>

Hi all, I’m trying to build a clock. The core idea is to have the actual time track the mouse behavior. As time passed, each past timestamp will get placed behind the current time, creating a visible trail of passed tim…

---

## [My code is "crashing" the editor. What is wrong?](https://discourse.processing.org/t/my-code-is-crashing-the-editor-what-is-wrong/8939)

<div class="topic-metadata">

**Author:** [@Lillbre](https://discourse.processing.org/u/Lillbre)\
**Replies:** 6\
**Last updated:** [March 5, 2019, 5:39am UTC](https://discourse.processing.org/t/my-code-is-crashing-the-editor-what-is-wrong/8939 "2019-03-05T05:39:23Z")

</div>

I made a code for a magnifier glass in p5.js. It works but the editor shuts down after a short time. Can someone please look at it and see what is wrong? The code in p5.js editor

---

## [Printing characters one by one?](https://discourse.processing.org/t/printing-characters-one-by-one/8952)

<div class="topic-metadata">

**Author:** [@JsRambles](https://discourse.processing.org/u/JsRambles)\
**Replies:** 2\
**Last updated:** [March 5, 2019, 2:59am UTC](https://discourse.processing.org/t/printing-characters-one-by-one/8952 "2019-03-05T02:59:19Z")

</div>

Hello, How can I print out string characters one by one? Kind of like how in some RPG games when an NPC is talking the text will print out slowing at a certain speed each letter one by one. However I’m not going left …

---

## [Help with button objects](https://discourse.processing.org/t/help-with-button-objects/8839)

<div class="topic-metadata">

**Author:** [@plux](https://discourse.processing.org/u/plux)\
**Replies:** 3\
**Last updated:** [March 5, 2019, 2:13am UTC](https://discourse.processing.org/t/help-with-button-objects/8839 "2019-03-05T02:13:45Z")

</div>

Hi, I have a class to define some buttons and I have my main application displaying a few of these (grouped in 2 separate arrays). Everything works fine except I’d like the “currently” active button to display a red line…

---

## [How do I optimize/make my script run better/let processing take more resources](https://discourse.processing.org/t/how-do-i-optimize-make-my-script-run-better-let-processing-take-more-resources/8948)

<div class="topic-metadata">

**Author:** [@F53](https://discourse.processing.org/u/F53)\
**Replies:** 2\
**Last updated:** [March 5, 2019, 12:56am UTC](https://discourse.processing.org/t/how-do-i-optimize-make-my-script-run-better-let-processing-take-more-resources/8948 "2019-03-05T00:56:56Z")

</div>

I recently coded a simple point cloud script but it starts to lag really bad when I go above 250 or so points. Is there any way to optimize my script / let processing take more resources? keep in mind I am new to Proce…

---

## [Mouse over in Control p5 scrollablelist](https://discourse.processing.org/t/mouse-over-in-control-p5-scrollablelist/8950)

<div class="topic-metadata">

**Author:** [@larry](https://discourse.processing.org/u/larry)\
**Replies:** 0\
**Last updated:** [March 4, 2019, 11:21pm UTC](https://discourse.processing.org/t/mouse-over-in-control-p5-scrollablelist/8950 "2019-03-04T23:21:45Z")

</div>

Hi, I’m trying to access label names using mouseover in a scrollable list, I have found the following but can’t get it to work - can anyone show me a working example of this? Thanks public class MyScrollableList extend…

---

## [Track relative motion of fingers : Leapmotion](https://discourse.processing.org/t/track-relative-motion-of-fingers-leapmotion/8718)

<div class="topic-metadata">

**Author:** [@piyushpohekar3003](https://discourse.processing.org/u/piyushpohekar3003)\
**Replies:** 5\
**Last updated:** [March 4, 2019, 5:08pm UTC](https://discourse.processing.org/t/track-relative-motion-of-fingers-leapmotion/8718 "2019-03-04T17:08:48Z")

</div>

Please refer the code available at the link above. I wanted to track finger-tips independently. But when I tried using ‘specific finger’ part of the code, i notices that the PVector values were changing even if I mov…

---

## [Rectangle moving along the z-axis](https://discourse.processing.org/t/rectangle-moving-along-the-z-axis/8736)

<div class="topic-metadata">

**Author:** [@Raoul](https://discourse.processing.org/u/Raoul)\
**Replies:** 6\
**Last updated:** [March 4, 2019, 3:55pm UTC](https://discourse.processing.org/t/rectangle-moving-along-the-z-axis/8736 "2019-03-04T15:55:28Z")

</div>

Hello, I am learning Processing reading the Daniel Shiffman book and I just started the Chapter “Trasformation and 3D”. The following code is the first example about using the z axis. I can not understand why once Z re…

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

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