# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=450

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

**Page:** 451

---

## [Trouble with the bouncing ball example from the NoC book](https://discourse.processing.org/t/trouble-with-the-bouncing-ball-example-from-the-noc-book/13705)

<div class="topic-metadata">

**Author:** [@cyml](https://discourse.processing.org/u/cyml)\
**Replies:** 8\
**Last updated:** [August 31, 2019, 9:50am UTC](https://discourse.processing.org/t/trouble-with-the-bouncing-ball-example-from-the-noc-book/13705 "2019-08-31T09:50:30Z")

</div>

on my first embark of the first example in The Nature of Code, Processing is telling me Missing right parenthesis “)” and I compared my code to Daniel’s sample code… and I couldn’t figure out why. Can someone help me…

---

## [Learning curve in Generative Art](https://discourse.processing.org/t/learning-curve-in-generative-art/13612)

<div class="topic-metadata">

**Author:** [@Marinus](https://discourse.processing.org/u/Marinus)\
**Replies:** 12\
**Last updated:** [August 31, 2019, 9:10am UTC](https://discourse.processing.org/t/learning-curve-in-generative-art/13612 "2019-08-31T09:10:26Z")

</div>

Hi all, first post here. A little background info: One week ago I started to learn how to code in Processing. I’m not familiar with creating code, only with altering work of others. I’ve worked in python, java, javascri…

---

## [About apk performance?](https://discourse.processing.org/t/about-apk-performance/13052)

<div class="topic-metadata">

**Author:** [@luxregina](https://discourse.processing.org/u/luxregina)\
**Replies:** 3\
**Last updated:** [August 31, 2019, 6:00am UTC](https://discourse.processing.org/t/about-apk-performance/13052 "2019-08-31T06:00:11Z")

</div>

Hello! I’ve just starting playing with the Android for processing library: I’m quite excited about these new capabilities. However, I have a few questions about performance. I’ve done 2 tries: Playing a simple anima…

---

## [Size() cannot be used here issue. Please Help!](https://discourse.processing.org/t/size-cannot-be-used-here-issue-please-help/13696)

<div class="topic-metadata">

**Author:** [@Kaiskana](https://discourse.processing.org/u/Kaiskana)\
**Replies:** 5\
**Last updated:** [August 31, 2019, 4:53am UTC](https://discourse.processing.org/t/size-cannot-be-used-here-issue-please-help/13696 "2019-08-31T04:53:15Z")

</div>

Hello, I am currently trying to make some artwork for my media class. My professor is having us make the size with a width 1280px, and a height 720px. When starting to write the code that I would be using, I got an error…

---

## [Memory error when trying to load many image files](https://discourse.processing.org/t/memory-error-when-trying-to-load-many-image-files/12634)

<div class="topic-metadata">

**Author:** [@NoName](https://discourse.processing.org/u/NoName)\
**Replies:** 14\
**Last updated:** [August 31, 2019, 4:37am UTC](https://discourse.processing.org/t/memory-error-when-trying-to-load-many-image-files/12634 "2019-08-31T04:37:29Z")

</div>

I ask for help and forgiveness if the question is stupid. But I ran into a problem. I am from Ukraine and my English is bad, so I am writing through a translator, do not hit for errors, please) The essence of the prob…

---

## [Noise edge detection](https://discourse.processing.org/t/noise-edge-detection/13367)

<div class="topic-metadata">

**Author:** [@TimoL](https://discourse.processing.org/u/TimoL)\
**Replies:** 4\
**Last updated:** [August 30, 2019, 6:09pm UTC](https://discourse.processing.org/t/noise-edge-detection/13367 "2019-08-30T18:09:12Z")

</div>

Hi all! Im struggling to put into words what I need help with. Im not sure how best to use noise to effect a grid of shapes. I’ve included my code which should help clarify… Basically I have a grid of rectangles and …

---

## [Upgrade Processing from 3.3.7 to 3.5.3, Andriod Build Failed](https://discourse.processing.org/t/upgrade-processing-from-3-3-7-to-3-5-3-andriod-build-failed/13126)

<div class="topic-metadata">

**Author:** [@ForrestErickson](https://discourse.processing.org/u/ForrestErickson)\
**Replies:** 5\
**Last updated:** [August 30, 2019, 11:50am UTC](https://discourse.processing.org/t/upgrade-processing-from-3-3-7-to-3-5-3-andriod-build-failed/13126 "2019-08-30T11:50:42Z")

</div>

I had developed a few simple examples for Andorid with Processing 3.3.7. Today I upgraded my Processing to 3.5.3. and again tried to build the simple sketch void setup() { fullScreen(); noStroke(); fill(0); } vo…

---

## [How to change the canvas size of kinect?](https://discourse.processing.org/t/how-to-change-the-canvas-size-of-kinect/13701)

<div class="topic-metadata">

**Author:** [@AbleYudada](https://discourse.processing.org/u/AbleYudada)\
**Replies:** 1\
**Last updated:** [August 30, 2019, 10:08am UTC](https://discourse.processing.org/t/how-to-change-the-canvas-size-of-kinect/13701 "2019-08-30T10:08:16Z")

</div>

I am playing with the Kinect and when I enlarge the size of the canvas, the Kinect window stays the same size and does not expand to match the size of the canvas. How can I enlarge it?

---

## [Special characters problems in APDE](https://discourse.processing.org/t/special-characters-problems-in-apde/13433)

<div class="topic-metadata">

**Author:** [@Eeyorelife](https://discourse.processing.org/u/Eeyorelife)\
**Replies:** 1\
**Last updated:** [August 30, 2019, 7:05am UTC](https://discourse.processing.org/t/special-characters-problems-in-apde/13433 "2019-08-30T07:05:00Z")

</div>

I’m using the APDE and are having problems with a sketch where I’m taking input from the virtual keyboard and displaying it in a text field. It works great usually, until I try to press some special characters. Like “æ” …

---

## [\[Solved\] Drawing lots of circles](https://discourse.processing.org/t/solved-drawing-lots-of-circles/13697)

<div class="topic-metadata">

**Author:** [@nicnut](https://discourse.processing.org/u/nicnut)\
**Replies:** 3\
**Last updated:** [August 30, 2019, 6:56am UTC](https://discourse.processing.org/t/solved-drawing-lots-of-circles/13697 "2019-08-30T06:56:05Z")

</div>

Hi, I am new to Processing and still have lots to learn and there is a ton I don’t understand. I watched the Youtube Coding Train video on For Loops and While Loops. In the video he uses a while loop to draw lot’s of l…

---

## [Using lambda form with hype processing](https://discourse.processing.org/t/using-lambda-form-with-hype-processing/13687)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 3\
**Last updated:** [August 30, 2019, 6:29am UTC](https://discourse.processing.org/t/using-lambda-form-with-hype-processing/13687 "2019-08-30T06:29:52Z")

</div>

Sam Pottingers development version of processing supports lambda syntax in processing ide. import hype.\*; HDrawablePool pool; void setup() { size(640, 640); H.init(this); H.background(#242424); pool = new HDr…

---

## [Need help finding whats causing a NullPointerException](https://discourse.processing.org/t/need-help-finding-whats-causing-a-nullpointerexception/13694)

<div class="topic-metadata">

**Author:** [@Kasdriu](https://discourse.processing.org/u/Kasdriu)\
**Replies:** 1\
**Last updated:** [August 29, 2019, 10:23pm UTC](https://discourse.processing.org/t/need-help-finding-whats-causing-a-nullpointerexception/13694 "2019-08-29T22:23:24Z")

</div>

Hi, Ive been trying to send a string value from Arduino to Processing but I keep getting a NullPointerException when it gets to this line if (val.equals("hola")) { //file.play(); println("Funciona"); } I kn…

---

## [Multiple "activities" from PDE](https://discourse.processing.org/t/multiple-activities-from-pde/6328)

<div class="topic-metadata">

**Author:** [@derekkinsman](https://discourse.processing.org/u/derekkinsman)\
**Replies:** 3\
**Last updated:** [August 29, 2019, 10:50pm UTC](https://discourse.processing.org/t/multiple-activities-from-pde/6328 "2019-08-29T22:50:21Z")

</div>

I suspect I already know the answer to this (that being “no, use android studio”), but was just wondering if the PDE can handle multiple activities. Basically I have three or four different screens (data isn’t being sen…

---

## [Processing-java error](https://discourse.processing.org/t/processing-java-error/1786)

<div class="topic-metadata">

**Author:** [@cameyo](https://discourse.processing.org/u/cameyo)\
**Replies:** 11\
**Last updated:** [August 29, 2019, 8:05pm UTC](https://discourse.processing.org/t/processing-java-error/1786 "2019-08-29T20:05:24Z")

</div>

I got the following error when running this processing-java command: processing-java --sketch="C://PDE3/max/button" --output="C://PDE3/max/button/output" --force --run Exception in thread “main” java.lang.NoClassDefFo…

---

## [Fast particle system](https://discourse.processing.org/t/fast-particle-system/13693)

<div class="topic-metadata">

**Author:** [@jb4x](https://discourse.processing.org/u/jb4x)\
**Replies:** 2\
**Last updated:** [August 29, 2019, 6:40pm UTC](https://discourse.processing.org/t/fast-particle-system/13693 "2019-08-29T18:40:11Z")

</div>

Hello everyone, I have a project in mind that involved a simple particle system moving in a force field on a Raspberry PI 3+. The particle class would be really simple. It would just consist of applying the relevant fo…

---

## [Change maxPolygonVertices in Box2D?](https://discourse.processing.org/t/change-maxpolygonvertices-in-box2d/13383)

<div class="topic-metadata">

**Author:** [@jeffthompson](https://discourse.processing.org/u/jeffthompson)\
**Replies:** 3\
**Last updated:** [August 29, 2019, 6:37pm UTC](https://discourse.processing.org/t/change-maxpolygonvertices-in-box2d/13383 "2019-08-29T18:37:55Z")

</div>

I’m working on a project that uses Daniel Shiffman’s Box2D library to arrange a bunch of objects and have run into an issue. It seems that a polygon with more than 8 vertices throws an error, but I’d really like to chang…

---

## [Mapping degrees excluding 360.0](https://discourse.processing.org/t/mapping-degrees-excluding-360-0/13691)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 2\
**Last updated:** [August 29, 2019, 6:29pm UTC](https://discourse.processing.org/t/mapping-degrees-excluding-360-0/13691 "2019-08-29T18:29:22Z")

</div>

I’ve been working on a control that behaves like an encoder wheel that is turned with the mouse and outputs the current angle of rotation. I’m having trouble figuring out how to get it to output 0 through 360 but forcin…

---

## [Perlin noise problem with higher numbers](https://discourse.processing.org/t/perlin-noise-problem-with-higher-numbers/13672)

<div class="topic-metadata">

**Author:** [@GeorgeJava](https://discourse.processing.org/u/GeorgeJava)\
**Replies:** 9\
**Last updated:** [August 29, 2019, 4:35pm UTC](https://discourse.processing.org/t/perlin-noise-problem-with-higher-numbers/13672 "2019-08-29T16:35:14Z")

</div>

Hello i try to increase one of pos of 2D perlin noise generator and its going wrong. Its draws lines not “clouds” as before with lower number… Is the some MAXIMUM number of perlin noise posX and posY ? Here is the cod…

---

## [Catching a specific string position from a txt file](https://discourse.processing.org/t/catching-a-specific-string-position-from-a-txt-file/13685)

<div class="topic-metadata">

**Author:** [@GuilhermeVolker](https://discourse.processing.org/u/GuilhermeVolker)\
**Replies:** 5\
**Last updated:** [August 29, 2019, 3:04pm UTC](https://discourse.processing.org/t/catching-a-specific-string-position-from-a-txt-file/13685 "2019-08-29T15:04:36Z")

</div>

Hi I’am loading a .txt file, it has a lot of data, each line has 16 values and i need to read separetly each colum and store in a variable. Here is what i have try’d let year; let data; function preload(){ data = lo…

---

## [Natural Movement with Noise](https://discourse.processing.org/t/natural-movement-with-noise/13684)

<div class="topic-metadata">

**Author:** [@vchinner](https://discourse.processing.org/u/vchinner)\
**Replies:** 1\
**Last updated:** [August 29, 2019, 1:43pm UTC](https://discourse.processing.org/t/natural-movement-with-noise/13684 "2019-08-29T13:43:02Z")

</div>

Im creating a an object that randomly moves in a natural way using noise like this (works as intended): thisRabbit.x = \_world.width \* (noise(thisRabbit.t)); thisRabbit.y = \_world.height \* (noise(thisRabbit.t+5))…

---

## [Processing didn't show display window](https://discourse.processing.org/t/processing-didnt-show-display-window/13682)

<div class="topic-metadata">

**Author:** [@Im\_ygy](https://discourse.processing.org/u/Im_ygy)\
**Replies:** 2\
**Last updated:** [August 29, 2019, 12:26pm UTC](https://discourse.processing.org/t/processing-didnt-show-display-window/13682 "2019-08-29T12:26:51Z")

</div>

Well, I’ve been working on a Windows system and it didn’t show the display window, and running ellipse(50,50,80,80) didn’t show a window either, and I’m willing to know why. I’m following the steps here: https://processi…

---

## [Hide all bezier curves except the one on mouse hover](https://discourse.processing.org/t/hide-all-bezier-curves-except-the-one-on-mouse-hover/13618)

<div class="topic-metadata">

**Author:** [@VMK](https://discourse.processing.org/u/VMK)\
**Replies:** 26\
**Last updated:** [August 29, 2019, 12:08pm UTC](https://discourse.processing.org/t/hide-all-bezier-curves-except-the-one-on-mouse-hover/13618 "2019-08-29T12:08:24Z")

</div>

Greetings! I have four bezier curves (pasted code for two below as MCVE), and would like to be able to show only one if the mouse is hovered over the respective one. I tried finding how to assign a class to the curve,…

---

## [Autoformat error on objects](https://discourse.processing.org/t/autoformat-error-on-objects/13317)

<div class="topic-metadata">

**Author:** [@tobebot](https://discourse.processing.org/u/tobebot)\
**Replies:** 6\
**Last updated:** [August 29, 2019, 9:54am UTC](https://discourse.processing.org/t/autoformat-error-on-objects/13317 "2019-08-29T09:54:48Z")

</div>

Hi, my problem is using Processing IDE in Ubuntu, when I try to auto-format with ctrl+t, the objects are formatted they take a wrong format…

---

## [CNN not working](https://discourse.processing.org/t/cnn-not-working/10190)

<div class="topic-metadata">

**Author:** [@Odermonicon](https://discourse.processing.org/u/Odermonicon)\
**Replies:** 3\
**Last updated:** [August 29, 2019, 9:23am UTC](https://discourse.processing.org/t/cnn-not-working/10190 "2019-08-29T09:23:50Z")

</div>

Literally no idea why it doesn’t work plz help CodePImage ini; PImage reo; String\[\] log = {}; int\[\]\[\] con = { {-1,0,1}, {-1,0,1}, {-1,0,1} }; int cropsize = 10; void setup() { ini = loadImage("img.png"); …

---

## [Randomizing shot](https://discourse.processing.org/t/randomizing-shot/13679)

<div class="topic-metadata">

**Author:** [@Not\_River](https://discourse.processing.org/u/Not_River)\
**Replies:** 1\
**Last updated:** [August 29, 2019, 8:49am UTC](https://discourse.processing.org/t/randomizing-shot/13679 "2019-08-29T08:49:25Z")

</div>

I’m trying to design an enemy that shoots multiple shots in random directions, I have an Idea of what I want to do, but I don’t know where to put it. What I want to do is make the xSpeed of the shot randomize between 0 a…

---

## [Trim primitive shapes](https://discourse.processing.org/t/trim-primitive-shapes/13131)

<div class="topic-metadata">

**Author:** [@TimoL](https://discourse.processing.org/u/TimoL)\
**Replies:** 20\
**Last updated:** [August 29, 2019, 8:25am UTC](https://discourse.processing.org/t/trim-primitive-shapes/13131 "2019-08-29T08:25:10Z")

</div>

Hi there, need a little help figuring this one out… Ive had a search but havent found any topics that I think would help mw… Basically Im trying to mask some lines ive generated with a rectangle. I’ve seen a few post…

---

## [HE\_Mesh GUI update](https://discourse.processing.org/t/he-mesh-gui-update/180)

<div class="topic-metadata">

**Author:** [@struct](https://discourse.processing.org/u/struct)\
**Replies:** 8\
**Last updated:** [August 29, 2019, 7:14am UTC](https://discourse.processing.org/t/he-mesh-gui-update/180 "2019-08-29T07:14:51Z")

</div>

Just letting you know that I have resurrected the hemeshgui project to run on the latest versions of Processing, HE\_Mesh, and controlP5. I’ll try and actively maintain it, so if you have any feature requests/bug reports …

---

## [Justifying Text in PDF](https://discourse.processing.org/t/justifying-text-in-pdf/13564)

<div class="topic-metadata">

**Author:** [@grumo](https://discourse.processing.org/u/grumo)\
**Replies:** 4\
**Last updated:** [August 29, 2019, 5:09am UTC](https://discourse.processing.org/t/justifying-text-in-pdf/13564 "2019-08-29T05:09:03Z")

</div>

Ok. I fixed the code and I could run it. The script justifies the text in the box on screen BUT when I try to use it in the PDF mode it won’t work. If you run it you’ll see a justify-aligned box of text (finally!) but th…

---

## [Nothing gets sent to Arduino from Processing](https://discourse.processing.org/t/nothing-gets-sent-to-arduino-from-processing/13654)

<div class="topic-metadata">

**Author:** [@BeastCoder](https://discourse.processing.org/u/BeastCoder)\
**Replies:** 2\
**Last updated:** [August 29, 2019, 2:45am UTC](https://discourse.processing.org/t/nothing-gets-sent-to-arduino-from-processing/13654 "2019-08-29T02:45:59Z")

</div>

I have a problem where I kwow that my bluetooth module (HC-05) is connected to a processing sketch, but nothing ever gets sent from the processing sketch,why? No error messages but the info never gets sent over because …

---

## [GLVideo not working on Pi 4 running Processing 3.5.3](https://discourse.processing.org/t/glvideo-not-working-on-pi-4-running-processing-3-5-3/13661)

<div class="topic-metadata">

**Author:** [@ukc10014](https://discourse.processing.org/u/ukc10014)\
**Replies:** 3\
**Last updated:** [August 29, 2019, 12:40am UTC](https://discourse.processing.org/t/glvideo-not-working-on-pi-4-running-processing-3-5-3/13661 "2019-08-29T00:40:33Z")

</div>

Sorry if this has been asked, but I can’t find anything recent. I am trying to get @gohai contributed library GLVideo (downloaded from github) working on Processing 3.5.3 running on Raspberry Pi 4 running Debian 10.0. …

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=449)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=451)
