# Latest

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

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

**Page:** 490

---

## [Write and read to Serial port at the same time](https://discourse.processing.org/t/write-and-read-to-serial-port-at-the-same-time/11056)

<div class="topic-metadata">

**Author:** [@anikolenko](https://discourse.processing.org/u/anikolenko)\
**Replies:** 6\
**Last updated:** [May 9, 2019, 10:05am UTC](https://discourse.processing.org/t/write-and-read-to-serial-port-at-the-same-time/11056 "2019-05-09T10:05:53Z")

</div>

Hi guys, I’m trying to understand how the Serial port works. Can anyone answer me why the following code does not work? import processing.serial.\*; Serial port; void setup() { port = new Serial(this, "COM1", 9600);…

---

## [Moving a molecule up and down](https://discourse.processing.org/t/moving-a-molecule-up-and-down/11013)

<div class="topic-metadata">

**Author:** [@CsabaAlbert](https://discourse.processing.org/u/CsabaAlbert)\
**Replies:** 12\
**Last updated:** [May 9, 2019, 9:18am UTC](https://discourse.processing.org/t/moving-a-molecule-up-and-down/11013 "2019-05-09T09:18:51Z")

</div>

I have this water molecule and I wan to move it up and down whit the arow keys. Can someone help me? THX!! Here is the code! import peasy.\*; PeasyCam cam; Atom oxigen; Atom hidrogen1; void setup(){ size(600,600,P3D); …

---

## [Quiz with multiples choice - Beginner level](https://discourse.processing.org/t/quiz-with-multiples-choice-beginner-level/10258)

<div class="topic-metadata">

**Author:** [@EverybodyEthan](https://discourse.processing.org/u/EverybodyEthan)\
**Replies:** 26\
**Last updated:** [May 9, 2019, 8:14am UTC](https://discourse.processing.org/t/quiz-with-multiples-choice-beginner-level/10258 "2019-05-09T08:14:46Z")

</div>

Hi buddies ! :smiley: I’m looking about how to make a quiz, I have started few test with a part of success. However I’d like to make a quiz with multiples choices. So I’d like to give him ( the user ) three choices i…

---

## [Creating a lot of variables](https://discourse.processing.org/t/creating-a-lot-of-variables/11052)

<div class="topic-metadata">

**Author:** [@crab](https://discourse.processing.org/u/crab)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 8:13am UTC](https://discourse.processing.org/t/creating-a-lot-of-variables/11052 "2019-05-09T08:13:38Z")

</div>

Hi, I need to create a lot of variables with the same name, but with different numbers after the name, like that(obviously doesn’t work): void setup(){ for(int i = 10;i\>=0;i--){ int "var" + char(i); } } What c…

---

## [How to put data in a table after extraxting it from a JSON file on the runtime in p5.js](https://discourse.processing.org/t/how-to-put-data-in-a-table-after-extraxting-it-from-a-json-file-on-the-runtime-in-p5-js/11054)

<div class="topic-metadata">

**Author:** [@Procoder](https://discourse.processing.org/u/Procoder)\
**Replies:** 1\
**Last updated:** [May 9, 2019, 8:05am UTC](https://discourse.processing.org/t/how-to-put-data-in-a-table-after-extraxting-it-from-a-json-file-on-the-runtime-in-p5-js/11054 "2019-05-09T08:05:41Z")

</div>

If i have a DOM table element how can I insert data in it dynamically during the runtime as its extracted from a JSON file

---

## [How to make an apk from a processing sketch using command line](https://discourse.processing.org/t/how-to-make-an-apk-from-a-processing-sketch-using-command-line/9199)

<div class="topic-metadata">

**Author:** [@theinfo](https://discourse.processing.org/u/theinfo)\
**Replies:** 7\
**Last updated:** [May 9, 2019, 7:36am UTC](https://discourse.processing.org/t/how-to-make-an-apk-from-a-processing-sketch-using-command-line/9199 "2019-05-09T07:36:01Z")

</div>

How to make an apk from a processing sketch using command line

---

## [Translating sketch from P5 to Java](https://discourse.processing.org/t/translating-sketch-from-p5-to-java/10052)

<div class="topic-metadata">

**Author:** [@PixelMx](https://discourse.processing.org/u/PixelMx)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 4:32am UTC](https://discourse.processing.org/t/translating-sketch-from-p5-to-java/10052 "2019-05-09T04:32:17Z")

</div>

I was beginning to start programming with Processing (Java) but now I see most sketches created in P5. I like Java better because it allows me to export frames to png files and create animations from there. I’m not fam…

---

## [Retrieving the current rotation of a custom PShape](https://discourse.processing.org/t/retrieving-the-current-rotation-of-a-custom-pshape/11042)

<div class="topic-metadata">

**Author:** [@F53](https://discourse.processing.org/u/F53)\
**Replies:** 4\
**Last updated:** [May 9, 2019, 2:08am UTC](https://discourse.processing.org/t/retrieving-the-current-rotation-of-a-custom-pshape/11042 "2019-05-09T02:08:24Z")

</div>

I am teaching myself to code through coding games, I am currently working on asteroids. The player is rendered as a custom PShape, and is rotated with ship.rotate(RotVel); RotVel is a float that is modified by the A an…

---

## [Pushing To Array adds an ID to the object?](https://discourse.processing.org/t/pushing-to-array-adds-an-id-to-the-object/11037)

<div class="topic-metadata">

**Author:** [@peachman](https://discourse.processing.org/u/peachman)\
**Replies:** 3\
**Last updated:** [May 8, 2019, 9:41pm UTC](https://discourse.processing.org/t/pushing-to-array-adds-an-id-to-the-object/11037 "2019-05-08T21:41:38Z")

</div>

HI, Confusing one here, really not sure whats happening. As you can see below, i am only creating a from entry and a to entry in the object. var edgesToLoad = \[\]; for (var j = 0; j \< dataArr.length; j++) { edge …

---

## [Can one user library use another?](https://discourse.processing.org/t/can-one-user-library-use-another/10949)

<div class="topic-metadata">

**Author:** [@jtk](https://discourse.processing.org/u/jtk)\
**Replies:** 9\
**Last updated:** [May 8, 2019, 8:55pm UTC](https://discourse.processing.org/t/can-one-user-library-use-another/10949 "2019-05-08T20:55:49Z")

</div>

I am developing a library “muse” that uses the “oscP5” library. If I put my jar file in ~/Documents/Processing/libraries/muse/library/muse.jar, I am able to see the library in Processing. However, the dependent library…

---

## [My code doesn't work](https://discourse.processing.org/t/my-code-doesnt-work/10891)

<div class="topic-metadata">

**Author:** [@emilyabcde](https://discourse.processing.org/u/emilyabcde)\
**Replies:** 3\
**Last updated:** [May 8, 2019, 7:27pm UTC](https://discourse.processing.org/t/my-code-doesnt-work/10891 "2019-05-08T19:27:56Z")

</div>

Hello to anyone who is reading this… I’m using p5js in my class and I’m having some trouble with a flappy bird game I’m trying to remix. Me and my teacher figured out that it was because the game was set to “rectMode(CE…

---

## [Could not run the sketch](https://discourse.processing.org/t/could-not-run-the-sketch/11040)

<div class="topic-metadata">

**Author:** [@DerekCresswell](https://discourse.processing.org/u/DerekCresswell)\
**Replies:** 3\
**Last updated:** [May 8, 2019, 6:51pm UTC](https://discourse.processing.org/t/could-not-run-the-sketch/11040 "2019-05-08T18:51:02Z")

</div>

Could not run the sketch. Usage: PApplet \[options\] \[sketch args\] See the Javadoc for PApplet for an explanation. Could not run the sketch (Target VM failed to initialize). For more information, read revisions.txt an…

---

## [POPUP show 14.05.2019 - Computational Art @ Goldsmiths, University of London](https://discourse.processing.org/t/popup-show-14-05-2019-computational-art-goldsmiths-university-of-london/11045)

<div class="topic-metadata">

**Author:** [@lobodelmar](https://discourse.processing.org/u/lobodelmar)\
**Replies:** 0\
**Last updated:** [May 8, 2019, 5:17pm UTC](https://discourse.processing.org/t/popup-show-14-05-2019-computational-art-goldsmiths-university-of-london/11045 "2019-05-08T17:17:46Z")

</div>

Hi everyone, Dropping a quick post to let you know about the popup exhibition showing work-in-progress of the MA/MFA Computational Arts students at Goldsmiths. It’s a really special evening and it promises to be quite f…

---

## [Bubble shooting game](https://discourse.processing.org/t/bubble-shooting-game/10919)

<div class="topic-metadata">

**Author:** [@yoyo18](https://discourse.processing.org/u/yoyo18)\
**Replies:** 27\
**Last updated:** [May 8, 2019, 5:00pm UTC](https://discourse.processing.org/t/bubble-shooting-game/10919 "2019-05-08T17:00:16Z")

</div>

hello i start to make code for a game the rules was in 3lines we shoot bubles blue or red and when they meet they dead i need help for the meet code(a friend try to do something in my code as you can see and to do a ran…

---

## [Adding array to array list](https://discourse.processing.org/t/adding-array-to-array-list/11006)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 8\
**Last updated:** [May 8, 2019, 3:52pm UTC](https://discourse.processing.org/t/adding-array-to-array-list/11006 "2019-05-08T15:52:35Z")

</div>

So Im new to processing and I’m trying to port p5 code. This is the original p5 code this.init = function(){ var theta = 360/sides; for (var i=0;i\<sides;i++){ var thetab = theta \* i; …

---

## [Windowless interfaces in Processing?](https://discourse.processing.org/t/windowless-interfaces-in-processing/10947)

<div class="topic-metadata">

**Author:** [@cthorne](https://discourse.processing.org/u/cthorne)\
**Replies:** 2\
**Last updated:** [May 8, 2019, 3:20pm UTC](https://discourse.processing.org/t/windowless-interfaces-in-processing/10947 "2019-05-08T15:20:27Z")

</div>

Greetings. I need to develop some cross platform, windowless user interfaces and I’m trying to decide what language to develop them in. (by windowless I mean with no window frame and a transparent background) My questio…

---

## [Marker position on screen](https://discourse.processing.org/t/marker-position-on-screen/10871)

<div class="topic-metadata">

**Author:** [@sandermoonen](https://discourse.processing.org/u/sandermoonen)\
**Replies:** 3\
**Last updated:** [May 8, 2019, 2:44pm UTC](https://discourse.processing.org/t/marker-position-on-screen/10871 "2019-05-08T14:44:51Z")

</div>

Hi there! I’m working on a project for my studies and am in need to find a way to detect the position of a certain marker (QR/Aruco/whatever) in the field of my webcam. It doesn’t need to be super specific, but I basical…

---

## [Text motion blur effect](https://discourse.processing.org/t/text-motion-blur-effect/10804)

<div class="topic-metadata">

**Author:** [@smekis](https://discourse.processing.org/u/smekis)\
**Replies:** 13\
**Last updated:** [May 8, 2019, 1:39pm UTC](https://discourse.processing.org/t/text-motion-blur-effect/10804 "2019-05-08T13:39:38Z")

</div>

Hello We are two design students who are currently working extensively with typography in motion. Right now we have developed a font that we will present on a website that we are about to put together. Our vision is to …

---

## [How to make an interactive cloth (wall) simulation](https://discourse.processing.org/t/how-to-make-an-interactive-cloth-wall-simulation/10957)

<div class="topic-metadata">

**Author:** [@yasoob](https://discourse.processing.org/u/yasoob)\
**Replies:** 4\
**Last updated:** [May 8, 2019, 1:20pm UTC](https://discourse.processing.org/t/how-to-make-an-interactive-cloth-wall-simulation/10957 "2019-05-08T13:20:58Z")

</div>

Hi everyone! I am just starting out with interactive art. I have seen a couple of projects made using processing and openframeworks which have an interactive cloth (wall) projected on a screen which the users can interac…

---

## [Saving a variable](https://discourse.processing.org/t/saving-a-variable/11025)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 3\
**Last updated:** [May 8, 2019, 12:55pm UTC](https://discourse.processing.org/t/saving-a-variable/11025 "2019-05-08T12:55:58Z")

</div>

Hi i want to save a variable inside draw without it changes its value. How do I do that?

---

## [Libre Graphics Meeting, May 29 to June 2 in Saarbruecken, Germany](https://discourse.processing.org/t/libre-graphics-meeting-may-29-to-june-2-in-saarbruecken-germany/11028)

<div class="topic-metadata">

**Author:** [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Replies:** 0\
**Last updated:** [May 8, 2019, 11:43am UTC](https://discourse.processing.org/t/libre-graphics-meeting-may-29-to-june-2-in-saarbruecken-germany/11028 "2019-05-08T11:43:51Z")

</div>

The Libre Graphics Meeting will be taking place in Saarbruecken, Germany from May 29th - https://libregraphicsmeeting.org/2019/ I wanted to make sure people are aware it’s happening, and wondered if other members of the…

---

## [Assign a variable from draw function to setup function](https://discourse.processing.org/t/assign-a-variable-from-draw-function-to-setup-function/11022)

<div class="topic-metadata">

**Author:** [@l3ehfar](https://discourse.processing.org/u/l3ehfar)\
**Replies:** 2\
**Last updated:** [May 8, 2019, 8:53am UTC](https://discourse.processing.org/t/assign-a-variable-from-draw-function-to-setup-function/11022 "2019-05-08T08:53:04Z")

</div>

I just wanted to assign mouseX value to one of my parameters value in setup function. how should I assign something that needs to run continuously in setup function? morphDo(){ for (let a = startA; a \< 360; a += spa…

---

## [Interaction + Processing question?](https://discourse.processing.org/t/interaction-processing-question/10852)

<div class="topic-metadata">

**Author:** [@crescent13](https://discourse.processing.org/u/crescent13)\
**Replies:** 4\
**Last updated:** [May 8, 2019, 6:29am UTC](https://discourse.processing.org/t/interaction-processing-question/10852 "2019-05-08T06:29:06Z")

</div>

Hi! I’m new to processing and I’m working on a Kinect project. I’m trying to make my interactions with mouseX & Y first, so that I can then translate it over to the Kinect part. I want to make my fish swim away from the…

---

## [Problem with serial.clear() in handshake procedure](https://discourse.processing.org/t/problem-with-serial-clear-in-handshake-procedure/11005)

<div class="topic-metadata">

**Author:** [@wheezardth](https://discourse.processing.org/u/wheezardth)\
**Replies:** 1\
**Last updated:** [May 8, 2019, 1:44am UTC](https://discourse.processing.org/t/problem-with-serial-clear-in-handshake-procedure/11005 "2019-05-08T01:44:10Z")

</div>

Hi everybody! I recently made a front end for a few maintenance functions embedded in my Teensy (Adruino) project and I attempted to implement a Serial port autodetection by making a simple serial handshake procedure. …

---

## [Can't get my object to move around axis](https://discourse.processing.org/t/cant-get-my-object-to-move-around-axis/10990)

<div class="topic-metadata">

**Author:** [@Shemozzles](https://discourse.processing.org/u/Shemozzles)\
**Replies:** 11\
**Last updated:** [May 8, 2019, 1:06am UTC](https://discourse.processing.org/t/cant-get-my-object-to-move-around-axis/10990 "2019-05-08T01:06:12Z")

</div>

Hey guys, I have this piece of code where I am trying to move a spaceship around the 0 axis. It also moves up and down. However, the further I move it up, the greater the turning circle is. I have tried various methods …

---

## [Processing serial.available issue](https://discourse.processing.org/t/processing-serial-available-issue/10930)

<div class="topic-metadata">

**Author:** [@Acrus](https://discourse.processing.org/u/Acrus)\
**Replies:** 5\
**Last updated:** [May 7, 2019, 11:20pm UTC](https://discourse.processing.org/t/processing-serial-available-issue/10930 "2019-05-07T23:20:27Z")

</div>

Hi to everyone, First of all, I’m developing a simple program in processing that receives data via serial, from an arduino connected to a sensor. Once the data arrives in processing, is uploaded to a MySQL database. Bu…

---

## [Help with a coding Problem for Computer Science(partially filled Arrays)](https://discourse.processing.org/t/help-with-a-coding-problem-for-computer-science-partially-filled-arrays/11018)

<div class="topic-metadata">

**Author:** [@s21ebutler](https://discourse.processing.org/u/s21ebutler)\
**Replies:** 1\
**Last updated:** [May 7, 2019, 10:56pm UTC](https://discourse.processing.org/t/help-with-a-coding-problem-for-computer-science-partially-filled-arrays/11018 "2019-05-07T22:56:03Z")

</div>

Can somebody do the following problem for me because I am completely stuck right now? I just started programming this year. 1)Write a program that creates an ellipse every time you click the mouse, at the mouse’s locati…

---

## [Working with html/css and p5.js](https://discourse.processing.org/t/working-with-html-css-and-p5-js/10970)

<div class="topic-metadata">

**Author:** [@Indieminor](https://discourse.processing.org/u/Indieminor)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 10:24pm UTC](https://discourse.processing.org/t/working-with-html-css-and-p5-js/10970 "2019-05-07T22:24:13Z")

</div>

Hey all, So I’ve built my first app with p5.js, yippeee! It’s a simple music visualizer that I plan on building more on later. For now though, I would love to have instructions on my site that tell the user what to do. M…

---

## [Cannot Create Classes](https://discourse.processing.org/t/cannot-create-classes/8756)

<div class="topic-metadata">

**Author:** [@Martin](https://discourse.processing.org/u/Martin)\
**Replies:** 17\
**Last updated:** [May 7, 2019, 9:16pm UTC](https://discourse.processing.org/t/cannot-create-classes/8756 "2019-05-07T21:16:57Z")

</div>

Good morning, people! Recently, I’ve been wresting with one small issue and honestly, it’s really starting to frustrate me. Perhaps it’s a small issue and I’m just going to look stupid, but at this rate, I might as well …

---

## [Why my letters don't keep their shapes?!](https://discourse.processing.org/t/why-my-letters-dont-keep-their-shapes/10245)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 21\
**Last updated:** [May 7, 2019, 8:19pm UTC](https://discourse.processing.org/t/why-my-letters-dont-keep-their-shapes/10245 "2019-05-07T20:19:14Z")

</div>

Hello, I managed to deform some letters and to scale them reacting to a sound file using Geomerative and minim libraries, but how can I keep the letters deformed?! Why once the sound position is 100px away the points g…

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

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