# Latest

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

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

**Page:** 307

---

## [Holding the same angle](https://discourse.processing.org/t/holding-the-same-angle/23919)

<div class="topic-metadata">

**Author:** [@koenterheegde57](https://discourse.processing.org/u/koenterheegde57)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 4:00pm UTC](https://discourse.processing.org/t/holding-the-same-angle/23919 "2020-09-17T16:00:31Z")

</div>

Hi guys, A few days ago i posted a question about a bubbleshooter game i wanted to make. I’ve now managed to make the bullet move towards my mouse position, but the angle keeps changing if i move the mouse. I want the a…

---

## [Playing sounds without library](https://discourse.processing.org/t/playing-sounds-without-library/23914)

<div class="topic-metadata">

**Author:** [@theomine11](https://discourse.processing.org/u/theomine11)\
**Replies:** 7\
**Last updated:** [September 17, 2020, 2:11pm UTC](https://discourse.processing.org/t/playing-sounds-without-library/23914 "2020-09-17T14:11:28Z")

</div>

Hi, I’m on a project on Processing and Processing for Android doesn’t work so I paste the code in APDE and the libraries doesn’t work in APDE so I search a solution for having sound in Processing (and APDE) without libra…

---

## [How to wrap with circular motion](https://discourse.processing.org/t/how-to-wrap-with-circular-motion/23906)

<div class="topic-metadata">

**Author:** [@lkalotihos](https://discourse.processing.org/u/lkalotihos)\
**Replies:** 3\
**Last updated:** [September 17, 2020, 1:34pm UTC](https://discourse.processing.org/t/how-to-wrap-with-circular-motion/23906 "2020-09-17T13:34:31Z")

</div>

Hi there, I’m trying to get this circular motion to bound off the border of my container (wrap I think) how would I go about that? Thanks, Lena float x; float y; float x1; float y1; float x2; float y2; //float = deci…

---

## [Error opening SVG with PShape](https://discourse.processing.org/t/error-opening-svg-with-pshape/23902)

<div class="topic-metadata">

**Author:** [@Zabot](https://discourse.processing.org/u/Zabot)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 11:30am UTC](https://discourse.processing.org/t/error-opening-svg-with-pshape/23902 "2020-09-17T11:30:44Z")

</div>

Hello, I’m getting started with PShape with SVG exported from Illustrator, but i keep always receiving the following error message: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at processing.…

---

## [Delay occurs in real time plotting using threads](https://discourse.processing.org/t/delay-occurs-in-real-time-plotting-using-threads/23885)

<div class="topic-metadata">

**Author:** [@KGS](https://discourse.processing.org/u/KGS)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 7:54am UTC](https://discourse.processing.org/t/delay-occurs-in-real-time-plotting-using-threads/23885 "2020-09-17T07:54:39Z")

</div>

I’m using 7 serial ports with 7 sensors required to be plotted in rela time without any delays. I have used separate thread functions to plot the data. However, after 5 minutes of plotting I have observed there is a dela…

---

## [Processing closes before fully launching. (help me read --l4j-debug)](https://discourse.processing.org/t/processing-closes-before-fully-launching-help-me-read-l4j-debug/23786)

<div class="topic-metadata">

**Author:** [@AndersLind99](https://discourse.processing.org/u/AndersLind99)\
**Replies:** 4\
**Last updated:** [September 17, 2020, 7:21am UTC](https://discourse.processing.org/t/processing-closes-before-fully-launching-help-me-read-l4j-debug/23786 "2020-09-17T07:21:21Z")

</div>

Hello I’m trying to install processing on my desktop but for some reason the program won’t open, i’ve tried the different solutions posted on the troubleshooting site and other posts. but the problem remains. I tried to …

---

## [Load processing.py as a module in vanilla python project?](https://discourse.processing.org/t/load-processing-py-as-a-module-in-vanilla-python-project/23901)

<div class="topic-metadata">

**Author:** [@pxlmnkeee](https://discourse.processing.org/u/pxlmnkeee)\
**Replies:** 2\
**Last updated:** [September 17, 2020, 4:14am UTC](https://discourse.processing.org/t/load-processing-py-as-a-module-in-vanilla-python-project/23901 "2020-09-17T04:14:06Z")

</div>

I’m sure this is a silly question to ask, but I’m curious if you can load Processing as a module in Python? I love the power and abstraction that Processing provides, but I’m not a huge fan of the PDE. I’d like to use mo…

---

## [Different Rendering Output when Processing is used with IntelliJ, please help](https://discourse.processing.org/t/different-rendering-output-when-processing-is-used-with-intellij-please-help/21362)

<div class="topic-metadata">

**Author:** [@Bufofa](https://discourse.processing.org/u/Bufofa)\
**Replies:** 3\
**Last updated:** [September 17, 2020, 3:08am UTC](https://discourse.processing.org/t/different-rendering-output-when-processing-is-used-with-intellij-please-help/21362 "2020-09-17T03:08:50Z")

</div>

Hello I want to use Processing on IntelliJ, so I did the basic setup to keep things working but every time I try to render something, the border of the shapes look jagged. What is interesting is that if I run the same …

---

## [Wanting to load images/sprites onto tiles from a txt file 0=grass, 1=track, 2=start finish](https://discourse.processing.org/t/wanting-to-load-images-sprites-onto-tiles-from-a-txt-file-0-grass-1-track-2-start-finish/23909)

<div class="topic-metadata">

**Author:** [@ChipperActual](https://discourse.processing.org/u/ChipperActual)\
**Replies:** 0\
**Last updated:** [September 17, 2020, 1:22am UTC](https://discourse.processing.org/t/wanting-to-load-images-sprites-onto-tiles-from-a-txt-file-0-grass-1-track-2-start-finish/23909 "2020-09-17T01:22:16Z")

</div>

Hey All I am wanting to load images/sprites onto tiles from a txt file 0=grass, 1=track, 2=start finish, i have managed to read from the text file (shown in preview) Stuck on how to draw the tiles/images/sprites to the…

---

## [Where can I get a proper p5.dom.js](https://discourse.processing.org/t/where-can-i-get-a-proper-p5-dom-js/23752)

<div class="topic-metadata">

**Author:** [@ats3788](https://discourse.processing.org/u/ats3788)\
**Replies:** 1\
**Last updated:** [September 16, 2020, 3:40pm UTC](https://discourse.processing.org/t/where-can-i-get-a-proper-p5-dom-js/23752 "2020-09-16T15:40:10Z")

</div>

Hi Where can I get a proper p5.dom.js That all thx

---

## [Masters thesis with processing or about a large project with processing](https://discourse.processing.org/t/masters-thesis-with-processing-or-about-a-large-project-with-processing/22906)

<div class="topic-metadata">

**Author:** [@SomeOne](https://discourse.processing.org/u/SomeOne)\
**Replies:** 6\
**Last updated:** [September 16, 2020, 12:06pm UTC](https://discourse.processing.org/t/masters-thesis-with-processing-or-about-a-large-project-with-processing/22906 "2020-09-16T12:06:18Z")

</div>

I’ve just finished my masters thesis for artificial intelligence. Coding was mostly processing java, some data wrangling with python and awk. Charts were made python and spreadsheet. I actually wanted to write about doi…

---

## [Bubble popping animation](https://discourse.processing.org/t/bubble-popping-animation/15341)

<div class="topic-metadata">

**Author:** [@Teljemo](https://discourse.processing.org/u/Teljemo)\
**Replies:** 33\
**Last updated:** [September 16, 2020, 9:16am UTC](https://discourse.processing.org/t/bubble-popping-animation/15341 "2020-09-16T09:16:32Z")

</div>

Hi Me and my son are following Daniel Shiffman’s learn processing guide on YT. We are on creating objects and are want to make a bubble. This bubble is wobbling and rising but we also want it to pop when clicked on. …

---

## [\[ANDROID\] Is there a way to make a'QR CODE' reader?](https://discourse.processing.org/t/android-is-there-a-way-to-make-aqr-code-reader/23870)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [September 16, 2020, 12:54am UTC](https://discourse.processing.org/t/android-is-there-a-way-to-make-aqr-code-reader/23870 "2020-09-16T00:54:44Z")

</div>

Is there a way to make a’QR CODE’ reader? Through the above library, you can generate and analyze QR codes in’JAVA MODE’. However, when you set’ANDROID MODE’, No processing due to’BufferedImage’. Is there any good …

---

## [If this forum has a moderator I need your help](https://discourse.processing.org/t/if-this-forum-has-a-moderator-i-need-your-help/23637)

<div class="topic-metadata">

**Author:** [@CND](https://discourse.processing.org/u/CND)\
**Replies:** 2\
**Last updated:** [September 3, 2020, 4:23pm UTC](https://discourse.processing.org/t/if-this-forum-has-a-moderator-i-need-your-help/23637 "2020-09-03T16:23:33Z")

</div>

I need to file a grievance regarding one of your higher-up members.

---

## [Need help with the keyPressed () function](https://discourse.processing.org/t/need-help-with-the-keypressed-function/23863)

<div class="topic-metadata">

**Author:** [@The\_Rogue12](https://discourse.processing.org/u/The_Rogue12)\
**Replies:** 4\
**Last updated:** [September 15, 2020, 6:22pm UTC](https://discourse.processing.org/t/need-help-with-the-keypressed-function/23863 "2020-09-15T18:22:05Z")

</div>

So I am trying to write code that changes a variable when I press a certain key. The problem is, the keyPressed() function isn’t detecting any key presses. What am I doing wrong? My code: var x, y; var shape; function …

---

## [How do I use the encryption (secure) random method?](https://discourse.processing.org/t/how-do-i-use-the-encryption-secure-random-method/23728)

<div class="topic-metadata">

**Author:** [@AntiViral\_Builder](https://discourse.processing.org/u/AntiViral_Builder)\
**Replies:** 1\
**Last updated:** [September 15, 2020, 6:17pm UTC](https://discourse.processing.org/t/how-do-i-use-the-encryption-secure-random-method/23728 "2020-09-15T18:17:01Z")

</div>

So I would just like to know how to generate arrays with a size and number range.

---

## [Separate objects in an ArrayList](https://discourse.processing.org/t/separate-objects-in-an-arraylist/23823)

<div class="topic-metadata">

**Author:** [@yanze03](https://discourse.processing.org/u/yanze03)\
**Replies:** 16\
**Last updated:** [September 15, 2020, 4:41pm UTC](https://discourse.processing.org/t/separate-objects-in-an-arraylist/23823 "2020-09-15T16:41:47Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello fellow processing members, I am working on a project where Iam trying to make a program using an ArrayList. The goal is to have a square…

---

## [Problem with mouseClicked Function](https://discourse.processing.org/t/problem-with-mouseclicked-function/23852)

<div class="topic-metadata">

**Author:** [@lkalotihos](https://discourse.processing.org/u/lkalotihos)\
**Replies:** 2\
**Last updated:** [September 15, 2020, 4:31pm UTC](https://discourse.processing.org/t/problem-with-mouseclicked-function/23852 "2020-09-15T16:31:14Z")

</div>

Hi there, I’m trying to get the ellipses that make up the “interactive eyes” change to a random color when mouse is pressed. I tried fill(random(255), random(255), random(255)); but it doesn’t seem to be working. Wh…

---

## [3D camera rotation](https://discourse.processing.org/t/3d-camera-rotation/23742)

<div class="topic-metadata">

**Author:** [@Kport1](https://discourse.processing.org/u/Kport1)\
**Replies:** 14\
**Last updated:** [September 15, 2020, 6:12am UTC](https://discourse.processing.org/t/3d-camera-rotation/23742 "2020-09-15T06:12:11Z")

</div>

Hello! im trying to create a 3D camera that rotates when mouse is dragged. I created something that works, but the movement feels very strange. Here’s my code: Planet p = new Planet(new PVector(width / 2, height / 2, …

---

## [Seriously and p5serial](https://discourse.processing.org/t/seriously-and-p5serial/23853)

<div class="topic-metadata">

**Author:** [@paolopastorino](https://discourse.processing.org/u/paolopastorino)\
**Replies:** 0\
**Last updated:** [September 14, 2020, 3:59pm UTC](https://discourse.processing.org/t/seriously-and-p5serial/23853 "2020-09-14T15:59:26Z")

</div>

Hi to everyone, I am new here and i have not much experience in coding. I have a problem whit seriously.js library: i’ve copied the sketch from D. Shiffman tutorial about the library and then i’ve tried to change some …

---

## [High resolution print using p5 vs. Processing](https://discourse.processing.org/t/high-resolution-print-using-p5-vs-processing/23782)

<div class="topic-metadata">

**Author:** [@gjs](https://discourse.processing.org/u/gjs)\
**Replies:** 2\
**Last updated:** [September 15, 2020, 12:45am UTC](https://discourse.processing.org/t/high-resolution-print-using-p5-vs-processing/23782 "2020-09-15T00:45:25Z")

</div>

Casey Reas wrote a wonderful tutorial on printing \[https://processing.org/tutorials/print/\] that detailed instructions on how to export high-resolution files in Processing. I would like to do the same with my p5-generat…

---

## [Translate causing error](https://discourse.processing.org/t/translate-causing-error/23833)

<div class="topic-metadata">

**Author:** [@SamuelCobb](https://discourse.processing.org/u/SamuelCobb)\
**Replies:** 7\
**Last updated:** [September 14, 2020, 11:52pm UTC](https://discourse.processing.org/t/translate-causing-error/23833 "2020-09-14T23:52:12Z")

</div>

hey guys, I have a very short piece of code which I am trying to write, but it seems that the translate function is causing some sort of error. anyone know why? function setup() { cnv = createCanvas(400, 400, WEBGL); …

---

## [Java.lang.RuntimeException Error in Processing](https://discourse.processing.org/t/java-lang-runtimeexception-error-in-processing/23860)

<div class="topic-metadata">

**Author:** [@cottonchipper](https://discourse.processing.org/u/cottonchipper)\
**Replies:** 1\
**Last updated:** [September 14, 2020, 8:42pm UTC](https://discourse.processing.org/t/java-lang-runtimeexception-error-in-processing/23860 "2020-09-14T20:42:34Z")

</div>

I’m very new to learning Processing on my own and would like to work with a sketch I found that mimics the old Solari train station timetable displays. I found the sketch here: https://github.com/lukecyca/Solari The ske…

---

## [Android processing text input and convert in string](https://discourse.processing.org/t/android-processing-text-input-and-convert-in-string/23741)

<div class="topic-metadata">

**Author:** [@Purr](https://discourse.processing.org/u/Purr)\
**Replies:** 1\
**Last updated:** [September 14, 2020, 8:37pm UTC](https://discourse.processing.org/t/android-processing-text-input-and-convert-in-string/23741 "2020-09-14T20:37:07Z")

</div>

Hi there, I was working on an app in java and I want now to convert on android app. The problem is I was using g4p controls and I know that this lib is not working on android. I really need this value cause with this …

---

## [Variable Font / JavaScript / Generative Type](https://discourse.processing.org/t/variable-font-javascript-generative-type/20510)

<div class="topic-metadata">

**Author:** [@DaniT3K](https://discourse.processing.org/u/DaniT3K)\
**Replies:** 5\
**Last updated:** [September 14, 2020, 5:06pm UTC](https://discourse.processing.org/t/variable-font-javascript-generative-type/20510 "2020-09-14T17:06:07Z")

</div>

Hello guys, im Daniel, a graphic designer from Portugal ending my master degree about manipulation of variable fonts to produce kinetic typography experiments. Im creating this topic because my main ideia is to create a…

---

## [Variable Fonts on p5.js](https://discourse.processing.org/t/variable-fonts-on-p5-js/19775)

<div class="topic-metadata">

**Author:** [@DaniT3K](https://discourse.processing.org/u/DaniT3K)\
**Replies:** 3\
**Last updated:** [September 14, 2020, 4:51pm UTC](https://discourse.processing.org/t/variable-fonts-on-p5-js/19775 "2020-09-14T16:51:15Z")

</div>

Hello guys, I’m Daniel a graphic designer from Portugal ending my master degree! For my thesis im working with variable fonts. Does anyone knows or have a sketch on how to implement variable fonts on p5.js? Im strugglin…

---

## [P5.js loadStrings() error: Fetch API cannot load file](https://discourse.processing.org/t/p5-js-loadstrings-error-fetch-api-cannot-load-file/23842)

<div class="topic-metadata">

**Author:** [@Tsloa](https://discourse.processing.org/u/Tsloa)\
**Replies:** 9\
**Last updated:** [September 14, 2020, 2:13pm UTC](https://discourse.processing.org/t/p5-js-loadstrings-error-fetch-api-cannot-load-file/23842 "2020-09-14T14:13:49Z")

</div>

I am trying to use LoadStrings() in a p5.js and in the console, I get the error “p5.js:60518 Fetch API cannot load file:\[FILENAME\].txt. URL scheme must be “http” or “https” for CORS request.” I googled it and people sai…

---

## [Why is an ellipse in the wrong spot?](https://discourse.processing.org/t/why-is-an-ellipse-in-the-wrong-spot/23843)

<div class="topic-metadata">

**Author:** [@alejo\_rgb](https://discourse.processing.org/u/alejo_rgb)\
**Replies:** 5\
**Last updated:** [September 14, 2020, 1:24pm UTC](https://discourse.processing.org/t/why-is-an-ellipse-in-the-wrong-spot/23843 "2020-09-14T13:24:56Z")

</div>

Hi Why my code is drawing an ellipse in the top left corner? Circulo\[\] circ = new Circulo\[49\]; void setup() { size(800, 800); for (int i = 0; i \< 48; i++) { circ\[i\] = new Circulo(); } } void draw() { bac…

---

## [Streaming from Processing to a Web Page](https://discourse.processing.org/t/streaming-from-processing-to-a-web-page/23800)

<div class="topic-metadata">

**Author:** [@oduibhdiorma](https://discourse.processing.org/u/oduibhdiorma)\
**Replies:** 2\
**Last updated:** [September 14, 2020, 1:13pm UTC](https://discourse.processing.org/t/streaming-from-processing-to-a-web-page/23800 "2020-09-14T13:13:49Z")

</div>

Has anyone had success streaming from a Processing sketch on a desktop to a website, preferably via NodeJS? Thanks!

---

## [G4P 4.3.3 preview new controls - comments welcome](https://discourse.processing.org/t/g4p-4-3-3-preview-new-controls-comments-welcome/18450)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 8\
**Last updated:** [September 14, 2020, 11:44am UTC](https://discourse.processing.org/t/g4p-4-3-3-preview-new-controls-comments-welcome/18450 "2020-09-14T11:44:49Z")

</div>

The next version of G4P will include 2 new controls based on ideas from this discussion. The controls are the GContolPalette (API) (source code) (video) GSpinner (API) (source code) the GTextField control has also be…

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

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