# Latest

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

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

**Page:** 427

---

## [Error with Serial Communication using the call response method](https://discourse.processing.org/t/error-with-serial-communication-using-the-call-response-method/15432)

<div class="topic-metadata">

**Author:** [@SaltyApe](https://discourse.processing.org/u/SaltyApe)\
**Replies:** 1\
**Last updated:** [November 13, 2019, 2:29am UTC](https://discourse.processing.org/t/error-with-serial-communication-using-the-call-response-method/15432 "2019-11-13T02:29:47Z")

</div>

Hello! I am a newbie in Arduino and Processing and I am having some issues with receiving data using serial call response. Processing outputs Error Disabling SerialEvent() for COM6 null and does not print the data i send…

---

## [Scale of image in a group affects gravity when a collider is applied](https://discourse.processing.org/t/scale-of-image-in-a-group-affects-gravity-when-a-collider-is-applied/15192)

<div class="topic-metadata">

**Author:** [@DavidJonesADA](https://discourse.processing.org/u/DavidJonesADA)\
**Replies:** 1\
**Last updated:** [November 12, 2019, 10:39pm UTC](https://discourse.processing.org/t/scale-of-image-in-a-group-affects-gravity-when-a-collider-is-applied/15192 "2019-11-12T22:39:58Z")

</div>

Greetings Processing forum, I am trying to make a simple game to dodge moving sprites in a group using the p5.js and the p5.play libraries. However, I have come upon an issue where now I want to detect if there is a col…

---

## [Help with Intersecting Functions of Game Elements](https://discourse.processing.org/t/help-with-intersecting-functions-of-game-elements/15345)

<div class="topic-metadata">

**Author:** [@las6525](https://discourse.processing.org/u/las6525)\
**Replies:** 5\
**Last updated:** [November 10, 2019, 11:20am UTC](https://discourse.processing.org/t/help-with-intersecting-functions-of-game-elements/15345 "2019-11-10T11:20:52Z")

</div>

Hi All, I am playing around with building an incredibly simple two-person competitive game. Here’s the concept: One player uses the mouse, EI the ‘spaceship’ that shoots a ‘light beam’ when the mouse is clicked. The ot…

---

## [How to make an advanced Score in Processing?](https://discourse.processing.org/t/how-to-make-an-advanced-score-in-processing/15436)

<div class="topic-metadata">

**Author:** [@Leyonad](https://discourse.processing.org/u/Leyonad)\
**Replies:** 3\
**Last updated:** [November 12, 2019, 10:09pm UTC](https://discourse.processing.org/t/how-to-make-an-advanced-score-in-processing/15436 "2019-11-12T22:09:40Z")

</div>

Hello, I’m developing a game in processing. It’s about hitting a ball with a bat so that the ball is thrown back. If you hit the ball, you get a point or the score increases by 1. I want to add a shop to the main menu,…

---

## [Bouncing Throwable Ball](https://discourse.processing.org/t/bouncing-throwable-ball/15429)

<div class="topic-metadata">

**Author:** [@riverhawc](https://discourse.processing.org/u/riverhawc)\
**Replies:** 3\
**Last updated:** [November 12, 2019, 8:25pm UTC](https://discourse.processing.org/t/bouncing-throwable-ball/15429 "2019-11-12T20:25:09Z")

</div>

Hi all. I’ve made the basic bouncing ball, but I’m trying to make it so that it maintains the velocity of the cursor. is there something I did wrong? PVector location; PVector velocity; PVector gravity; int sz = 100; …

---

## [Getting 2D Array of Objects to Randomly Scale](https://discourse.processing.org/t/getting-2d-array-of-objects-to-randomly-scale/15390)

<div class="topic-metadata">

**Author:** [@Lane](https://discourse.processing.org/u/Lane)\
**Replies:** 8\
**Last updated:** [November 12, 2019, 7:53pm UTC](https://discourse.processing.org/t/getting-2d-array-of-objects-to-randomly-scale/15390 "2019-11-12T19:53:34Z")

</div>

Hello! I’m trying to make my background of stars randomly scale. I used a 2D array of class Star to display what I have right now. I’m very new to processing so explaining this to me in basic terms would be very much app…

---

## [How to detect path progression direction](https://discourse.processing.org/t/how-to-detect-path-progression-direction/15404)

<div class="topic-metadata">

**Author:** [@jeykech](https://discourse.processing.org/u/jeykech)\
**Replies:** 8\
**Last updated:** [November 12, 2019, 7:36pm UTC](https://discourse.processing.org/t/how-to-detect-path-progression-direction/15404 "2019-11-12T19:36:43Z")

</div>

hi guys, let’s say I have different paths from a vector file, and I want them to be all the vertices evolving in clockwise direction how there are now how I want them to be what I have done so far is: I have alr…

---

## [Does Processing have something equivalent to a "cloud variable"?](https://discourse.processing.org/t/does-processing-have-something-equivalent-to-a-cloud-variable/15385)

<div class="topic-metadata">

**Author:** [@Devon123](https://discourse.processing.org/u/Devon123)\
**Replies:** 4\
**Last updated:** [November 12, 2019, 6:13pm UTC](https://discourse.processing.org/t/does-processing-have-something-equivalent-to-a-cloud-variable/15385 "2019-11-12T18:13:36Z")

</div>

In Scratch, a cloud variable is a variable that is stored in the cloud. So if someone on one computer changes it, anyone using that scetch on a different computer will see the variable change. Is there a way to do this i…

---

## [Image files loading issue](https://discourse.processing.org/t/image-files-loading-issue/15410)

<div class="topic-metadata">

**Author:** [@byxx](https://discourse.processing.org/u/byxx)\
**Replies:** 9\
**Last updated:** [November 12, 2019, 3:32pm UTC](https://discourse.processing.org/t/image-files-loading-issue/15410 "2019-11-12T15:32:45Z")

</div>

Dear Community, wheras the p5 online editor runs the code of the sketch.js perfectly, I cant run it in my browser after downloading it.(Saying: loading…) Where is the problem? You see the containing files in the pic, …

---

## [Touchscreen Question](https://discourse.processing.org/t/touchscreen-question/15405)

<div class="topic-metadata">

**Author:** [@Ladan](https://discourse.processing.org/u/Ladan)\
**Replies:** 10\
**Last updated:** [November 12, 2019, 3:11pm UTC](https://discourse.processing.org/t/touchscreen-question/15405 "2019-11-12T15:11:57Z")

</div>

I haave written a programm, in which you can click buttons, and a text will appear. Now, I have to know, if MousePressed() works on a touchscreen monitor, that means you dont click the mouse, but you tap the screen. @kl…

---

## [Android Color Picker](https://discourse.processing.org/t/android-color-picker/15413)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 4\
**Last updated:** [November 12, 2019, 11:12am UTC](https://discourse.processing.org/t/android-color-picker/15413 "2019-11-12T11:12:00Z")

</div>

This is a simple Color Picker function build by customizing an Alert Dialog box, because it has the advantage of automatic adaptation to different resolutions and densities. Using color convertion between HSB and RGB, I…

---

## [Can I upload an image to the web?](https://discourse.processing.org/t/can-i-upload-an-image-to-the-web/15222)

<div class="topic-metadata">

**Author:** [@PhoenixStormJr](https://discourse.processing.org/u/PhoenixStormJr)\
**Replies:** 10\
**Last updated:** [November 12, 2019, 10:18am UTC](https://discourse.processing.org/t/can-i-upload-an-image-to-the-web/15222 "2019-11-12T10:18:33Z")

</div>

Ok this isn’t a question about the code itself. In processing examples there’s one where they download an image from the internet and display it. My question is “is there a website that I can upload an image and use it’s…

---

## [Which library? for simple GUI programming, need to use it with Arduino](https://discourse.processing.org/t/which-library-for-simple-gui-programming-need-to-use-it-with-arduino/15299)

<div class="topic-metadata">

**Author:** [@jk2019](https://discourse.processing.org/u/jk2019)\
**Replies:** 6\
**Last updated:** [November 12, 2019, 6:42am UTC](https://discourse.processing.org/t/which-library-for-simple-gui-programming-need-to-use-it-with-arduino/15299 "2019-11-12T06:42:03Z")

</div>

Hi, Could someone please inform which library should I use? Need - want to create a simple GUI for the data captured from Arduino. Want to reflect changes in the data, and may also display data. Former alone is also en…

---

## [Accessing class methods](https://discourse.processing.org/t/accessing-class-methods/15415)

<div class="topic-metadata">

**Author:** [@Zyxon](https://discourse.processing.org/u/Zyxon)\
**Replies:** 5\
**Last updated:** [November 12, 2019, 4:38am UTC](https://discourse.processing.org/t/accessing-class-methods/15415 "2019-11-12T04:38:27Z")

</div>

Hi, I’m new to javascript so I’m not familiar with classes in javascript (I’m from Java). I declared a class like so: class Obj { constructor(name, distance, description, colour, size) { //constructor } draw() { …

---

## [How do I dictate where my link is located in the canvas?](https://discourse.processing.org/t/how-do-i-dictate-where-my-link-is-located-in-the-canvas/15352)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 9\
**Last updated:** [November 12, 2019, 12:48am UTC](https://discourse.processing.org/t/how-do-i-dictate-where-my-link-is-located-in-the-canvas/15352 "2019-11-12T00:48:27Z")

</div>

Hi all, I would like to have a clickable link in my canvas. However the help page for createA doesn’t let you know how to draw it at, say, (200, 400) on the canvas. How do I do this? I tried translate, but it doesn’t wo…

---

## [Array and ArrayList performances for an expanding number of items (not a question)](https://discourse.processing.org/t/array-and-arraylist-performances-for-an-expanding-number-of-items-not-a-question/15347)

<div class="topic-metadata">

**Author:** [@Jean-no](https://discourse.processing.org/u/Jean-no)\
**Replies:** 3\
**Last updated:** [November 11, 2019, 11:49pm UTC](https://discourse.processing.org/t/array-and-arraylist-performances-for-an-expanding-number-of-items-not-a-question/15347 "2019-11-11T23:49:14Z")

</div>

At last I decided to take the time to write some code to test wether ArrayList of regular arrays are the fastest for stuff like particles (my own objects, with an expanding array size). My test code is not very interest…

---

## [Processing to Arduino Serial Library Example](https://discourse.processing.org/t/processing-to-arduino-serial-library-example/11143)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 5\
**Last updated:** [November 11, 2019, 11:44pm UTC](https://discourse.processing.org/t/processing-to-arduino-serial-library-example/11143 "2019-11-11T23:44:32Z")

</div>

The SimpleWrite example in the Processing examples was not working on PCs I had available to me. The Arduino resets when establishing a serial connection. I added a delay(1000) to allow the Arduino to reset after se…

---

## [Problem with Bezier Curves when exporting SVG from illustrator,](https://discourse.processing.org/t/problem-with-bezier-curves-when-exporting-svg-from-illustrator/15232)

<div class="topic-metadata">

**Author:** [@jeykech](https://discourse.processing.org/u/jeykech)\
**Replies:** 4\
**Last updated:** [November 6, 2019, 3:19pm UTC](https://discourse.processing.org/t/problem-with-bezier-curves-when-exporting-svg-from-illustrator/15232 "2019-11-06T15:19:16Z")

</div>

hi all, I came across this little problem: when exporting a bezier curve as svg from illustrator and then importing it to processing, the control points are considered as vertices, does anyone know how to access anchor …

---

## [How to load images using an arrayList?](https://discourse.processing.org/t/how-to-load-images-using-an-arraylist/15263)

<div class="topic-metadata">

**Author:** [@B\_s](https://discourse.processing.org/u/B_s)\
**Replies:** 6\
**Last updated:** [November 8, 2019, 10:41pm UTC](https://discourse.processing.org/t/how-to-load-images-using-an-arraylist/15263 "2019-11-08T22:41:32Z")

</div>

Hello, Complete newbie to processing so any help is appreciated and apologies for my lack of language knowledge. I am trying to make a grid of 9 images that, when keyPressed, randomises the order of the images. I have …

---

## [Glowy ellipses using javaFX bloom \[MULTIPLE QUESTIONS\]](https://discourse.processing.org/t/glowy-ellipses-using-javafx-bloom-multiple-questions/15156)

<div class="topic-metadata">

**Author:** [@FilDomInteractive](https://discourse.processing.org/u/FilDomInteractive)\
**Replies:** 27\
**Last updated:** [November 11, 2019, 9:38pm UTC](https://discourse.processing.org/t/glowy-ellipses-using-javafx-bloom-multiple-questions/15156 "2019-11-11T21:38:36Z")

</div>

Multiple questions \> How to make glowy ellipses using javaFX bloom? How to make ellipse motion effect that it fades in to the ellipse? Thank you EDIT : And how to import javafx bloom library?

---

## [A JSONArray text must start with '\[' Error](https://discourse.processing.org/t/a-jsonarray-text-must-start-with-error/15389)

<div class="topic-metadata">

**Author:** [@KeirMeDear](https://discourse.processing.org/u/KeirMeDear)\
**Replies:** 2\
**Last updated:** [November 11, 2019, 9:25pm UTC](https://discourse.processing.org/t/a-jsonarray-text-must-start-with-error/15389 "2019-11-11T21:25:50Z")

</div>

Hey, So I’m trying to get to grips using JSON with processing and I’m having a couple of problems. Currently I’ve created a piece of code which uses the Runescape API to loop through a list of known in game item id’s (…

---

## [Interacting with GitHub in Processing](https://discourse.processing.org/t/interacting-with-github-in-processing/15309)

<div class="topic-metadata">

**Author:** [@metype](https://discourse.processing.org/u/metype)\
**Replies:** 1\
**Last updated:** [November 11, 2019, 8:29pm UTC](https://discourse.processing.org/t/interacting-with-github-in-processing/15309 "2019-11-11T20:29:06Z")

</div>

I am making a project that I occasionally want to push and pull from a GitHub repository, this is cause I have a level editor, and I want it to be possible for people to upload their levels so others in other places can …

---

## [Key and mouse pressed with boolean](https://discourse.processing.org/t/key-and-mouse-pressed-with-boolean/15274)

<div class="topic-metadata">

**Author:** [@vincentstrebelle](https://discourse.processing.org/u/vincentstrebelle)\
**Replies:** 13\
**Last updated:** [November 11, 2019, 8:30pm UTC](https://discourse.processing.org/t/key-and-mouse-pressed-with-boolean/15274 "2019-11-11T20:30:51Z")

</div>

Hi, i wonder if it’s possible to use a boolean with the code proposed by @tutantontut import processing.event.MouseEvent; boolean\[\] mouses = new boolean\[2\]; boolean pressLeft = true; boolean pressRight = true; boolean …

---

## [Background(image) not working](https://discourse.processing.org/t/background-image-not-working/14305)

<div class="topic-metadata">

**Author:** [@Ladan](https://discourse.processing.org/u/Ladan)\
**Replies:** 73\
**Last updated:** [November 11, 2019, 7:58pm UTC](https://discourse.processing.org/t/background-image-not-working/14305 "2019-11-11T19:58:25Z")

</div>

I have written this code: void Setup(){ size(1920, 1080); PImage img; img = loadImage("desktop-wallpaper-9.jpg"); background(img); } and it just opens this window:

---

## [How do I move an object upwards?](https://discourse.processing.org/t/how-do-i-move-an-object-upwards/15288)

<div class="topic-metadata">

**Author:** [@ImConfused](https://discourse.processing.org/u/ImConfused)\
**Replies:** 3\
**Last updated:** [November 11, 2019, 7:48pm UTC](https://discourse.processing.org/t/how-do-i-move-an-object-upwards/15288 "2019-11-11T19:48:15Z")

</div>

I need help I’m doing this project and I don’t know how to move the object upwards.

---

## [Live datafeed in Processing](https://discourse.processing.org/t/live-datafeed-in-processing/15251)

<div class="topic-metadata">

**Author:** [@rs1002](https://discourse.processing.org/u/rs1002)\
**Replies:** 5\
**Last updated:** [November 11, 2019, 7:44pm UTC](https://discourse.processing.org/t/live-datafeed-in-processing/15251 "2019-11-11T19:44:47Z")

</div>

Please help to understand if i can connect to a live data feed in the processing. I want to know if its possible to work on live streaming of data thorugh this software?

---

## [Trouble setting up p5 in Visual Studio Code](https://discourse.processing.org/t/trouble-setting-up-p5-in-visual-studio-code/1324)

<div class="topic-metadata">

**Author:** [@GiaFil7](https://discourse.processing.org/u/GiaFil7)\
**Replies:** 7\
**Last updated:** [November 11, 2019, 7:18pm UTC](https://discourse.processing.org/t/trouble-setting-up-p5-in-visual-studio-code/1324 "2019-11-11T19:18:40Z")

</div>

So I am new to HTML and Javscript, and I 'm trying to setup p5.js in VSC. I’ve installed the p5 snippets extension and my index.html file looks like this: \<html\> \<head\> \<title\>p5 Test\</title\> \<script src="https:…

---

## [CDN for 0.10.2?](https://discourse.processing.org/t/cdn-for-0-10-2/14804)

<div class="topic-metadata">

**Author:** [@donbraffitt](https://discourse.processing.org/u/donbraffitt)\
**Replies:** 3\
**Last updated:** [November 11, 2019, 6:42pm UTC](https://discourse.processing.org/t/cdn-for-0-10-2/14804 "2019-11-11T18:42:13Z")

</div>

Will there be a CDN release of 0.10.2? On the downloads page: https://p5js.org/download/ the latest CDN is still 0.9.0. Don Braffitt

---

## [How to pick specific parts of a Shape3D shape (processing)](https://discourse.processing.org/t/how-to-pick-specific-parts-of-a-shape3d-shape-processing/15240)

<div class="topic-metadata">

**Author:** [@20dshepard](https://discourse.processing.org/u/20dshepard)\
**Replies:** 3\
**Last updated:** [November 11, 2019, 5:10pm UTC](https://discourse.processing.org/t/how-to-pick-specific-parts-of-a-shape3d-shape-processing/15240 "2019-11-11T17:10:09Z")

</div>

I am attempting to make a voxel-ish world builder, and I need to be able to stack the different blocks. How can I pick the separate sides of the block with the shapes3d library. Whenever I pick the shape, it renders it a…

---

## [Turning 2D map into a 3D first person view](https://discourse.processing.org/t/turning-2d-map-into-a-3d-first-person-view/15396)

<div class="topic-metadata">

**Author:** [@graysonh](https://discourse.processing.org/u/graysonh)\
**Replies:** 4\
**Last updated:** [November 11, 2019, 4:42pm UTC](https://discourse.processing.org/t/turning-2d-map-into-a-3d-first-person-view/15396 "2019-11-11T16:42:54Z")

</div>

I have spinodal decomposition code to create “maps” like in the image below and I would like to turn it into a 3D walk-around game like Daniel Shiffman’s example with ray casting, but I don’t know how ray casting could b…

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

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