# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=359

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

**Page:** 360

---

## [Parsing Data in Processing thru Serial Port from Arduino + Pixy Cam](https://discourse.processing.org/t/parsing-data-in-processing-thru-serial-port-from-arduino-pixy-cam/4067)

<div class="topic-metadata">

**Author:** [@mck.sanderson](https://discourse.processing.org/u/mck.sanderson)\
**Replies:** 4\
**Last updated:** [October 12, 2018, 1:41pm UTC](https://discourse.processing.org/t/parsing-data-in-processing-thru-serial-port-from-arduino-pixy-cam/4067 "2018-10-12T13:41:49Z")

</div>

Hello! New here and haven’t been able to really find anything super helpful for what I specifically need. I’m a super beginner…n00b, really. My professor is helping me with this but we haven’t quite figured it out yet an…

---

## [MouseDragged and slowing it down across a network](https://discourse.processing.org/t/mousedragged-and-slowing-it-down-across-a-network/4351)

<div class="topic-metadata">

**Author:** [@bardiel13th](https://discourse.processing.org/u/bardiel13th)\
**Replies:** 2\
**Last updated:** [October 11, 2018, 1:25pm UTC](https://discourse.processing.org/t/mousedragged-and-slowing-it-down-across-a-network/4351 "2018-10-11T13:25:08Z")

</div>

Hi, so I’m working on a semi-emergency project where people can draw on a canvas across the internet and it is converted to Gcode for a drawing robot I built. The problem is, it seems to really get bogged down when I do…

---

## [How to get array.length after calculating greater(less) than?](https://discourse.processing.org/t/how-to-get-array-length-after-calculating-greater-less-than/4336)

<div class="topic-metadata">

**Author:** [@SolDrakibane](https://discourse.processing.org/u/SolDrakibane)\
**Replies:** 2\
**Last updated:** [October 11, 2018, 11:25am UTC](https://discourse.processing.org/t/how-to-get-array-length-after-calculating-greater-less-than/4336 "2018-10-11T11:25:51Z")

</div>

Alright, so i have numbers that i need to calculate in this code. And i need to calculate all the array numbers above 5.5 and set them into a .length so i can calculate the amount of sufficient scores. I also need to do …

---

## [Create Blinking Eyes](https://discourse.processing.org/t/create-blinking-eyes/4343)

<div class="topic-metadata">

**Author:** [@Mick](https://discourse.processing.org/u/Mick)\
**Replies:** 3\
**Last updated:** [October 11, 2018, 7:11am UTC](https://discourse.processing.org/t/create-blinking-eyes/4343 "2018-10-11T07:11:15Z")

</div>

Hello fellow programmers, I need some help with my code. I’m trying to create eyes in processing that can blink. I want to be able to control each individual eyelid (left eye upper and lower lid and right eye upper and …

---

## [Cant open a .json file](https://discourse.processing.org/t/cant-open-a-json-file/4333)

<div class="topic-metadata">

**Author:** [@eilamM](https://discourse.processing.org/u/eilamM)\
**Replies:** 1\
**Last updated:** [October 11, 2018, 6:47am UTC](https://discourse.processing.org/t/cant-open-a-json-file/4333 "2018-10-11T06:47:08Z")

</div>

Hi, so every time I try to open a .json file via Processing, it crashes, and telling me “I don’t know how to a sketch with the “json” file extension.”. I have both Java and p5.js Modes installed. I’m kinda new to the …

---

## [Moving objects assignment](https://discourse.processing.org/t/moving-objects-assignment/4346)

<div class="topic-metadata">

**Author:** [@guru\_tk](https://discourse.processing.org/u/guru_tk)\
**Replies:** 6\
**Last updated:** [October 11, 2018, 4:19am UTC](https://discourse.processing.org/t/moving-objects-assignment/4346 "2018-10-11T04:19:48Z")

</div>

this is the question https://photos.google.com/photo/AF1QipM2ICRz3oqmgr-gBQ7dQp5yBVqK1\_ag2hX2v0ap https://photos.google.com/photo/AF1QipOUSXFSEl3n3UNftSNsEon3xtcczVtXGArcZV6G Create a new program, with a size of 400…

---

## [Why cant I display the text of a string made with toString?](https://discourse.processing.org/t/why-cant-i-display-the-text-of-a-string-made-with-tostring/4306)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 2\
**Last updated:** [October 11, 2018, 1:57am UTC](https://discourse.processing.org/t/why-cant-i-display-the-text-of-a-string-made-with-tostring/4306 "2018-10-11T01:57:06Z")

</div>

got this from the AP-Sync library. building a string that will be sent to Ardu when enter is pressed. Works great, great library. However, I want to also display that string on the java, so I can see what I am typing. …

---

## [Tabulated Data won't load (null pointer exception error)](https://discourse.processing.org/t/tabulated-data-wont-load-null-pointer-exception-error/4315)

<div class="topic-metadata">

**Author:** [@Nicole\_C\_973](https://discourse.processing.org/u/Nicole_C_973)\
**Replies:** 6\
**Last updated:** [October 11, 2018, 1:30am UTC](https://discourse.processing.org/t/tabulated-data-wont-load-null-pointer-exception-error/4315 "2018-10-11T01:30:36Z")

</div>

Hi guys I’ve managed to create an animation that works (reading strings from tabulated data)! Woo hoo. Except… I’ve made a few small changes to my tabular data, have re-saved it as a tsv file again (same name as before…

---

## [How to make ball not go through walls?](https://discourse.processing.org/t/how-to-make-ball-not-go-through-walls/4203)

<div class="topic-metadata">

**Author:** [@ant](https://discourse.processing.org/u/ant)\
**Replies:** 37\
**Last updated:** [October 10, 2018, 5:49pm UTC](https://discourse.processing.org/t/how-to-make-ball-not-go-through-walls/4203 "2018-10-10T17:49:24Z")

</div>

I’m working on a maze game and ran into a problem. I’m not sure how to make the circle, not through the walls. I know you can probably do it with Boolean but I’m not really familiar with that. Is there a different way su…

---

## [Processing Coder Wanted for Project - Payed](https://discourse.processing.org/t/processing-coder-wanted-for-project-payed/4321)

<div class="topic-metadata">

**Author:** [@NIXIE](https://discourse.processing.org/u/NIXIE)\
**Replies:** 0\
**Last updated:** [October 10, 2018, 11:25am UTC](https://discourse.processing.org/t/processing-coder-wanted-for-project-payed/4321 "2018-10-10T11:25:22Z")

</div>

Hi all, Currently my project runs on a Arduino which is good but for several reasons a Raspberry PI fits better. The project is driving some serial IO to NIXIE tubes, LED’s and a GPS receiver to receive the time. I am…

---

## [Processing Installation problem](https://discourse.processing.org/t/processing-installation-problem/4314)

<div class="topic-metadata">

**Author:** [@printaday3d](https://discourse.processing.org/u/printaday3d)\
**Replies:** 0\
**Last updated:** [October 10, 2018, 5:48am UTC](https://discourse.processing.org/t/processing-installation-problem/4314 "2018-10-10T05:48:32Z")

</div>

Hello newbie here and having trouble from the start. Downloaded processing and unzipped it. Went to run the program and faced with an enexpected error. Anyone know how to resolve this? Thanks Andy

---

## [Processing Crashes when I try to open a file](https://discourse.processing.org/t/processing-crashes-when-i-try-to-open-a-file/4296)

<div class="topic-metadata">

**Author:** [@Tibsmith](https://discourse.processing.org/u/Tibsmith)\
**Replies:** 2\
**Last updated:** [October 10, 2018, 2:57am UTC](https://discourse.processing.org/t/processing-crashes-when-i-try-to-open-a-file/4296 "2018-10-10T02:57:01Z")

</div>

As the title says, processing crashes immediatley when I try to open a sketch and returns a Null.Pointer.Exception error and will not respond. I am using Linux Solus and have been using this program fine until one day th…

---

## ["^" operator What does it mean?](https://discourse.processing.org/t/operator-what-does-it-mean/4290)

<div class="topic-metadata">

**Author:** [@Aquakitty](https://discourse.processing.org/u/Aquakitty)\
**Replies:** 3\
**Last updated:** [October 9, 2018, 10:44pm UTC](https://discourse.processing.org/t/operator-what-does-it-mean/4290 "2018-10-09T22:44:42Z")

</div>

Hi, I’m pretty new to processing and I came across something like this: buttonClicked ^= true; inside a mousePressed() function. What does this “^” do/mean? I did try searching and Googling but I think this character …

---

## [Trying to Pull Images from Twitter](https://discourse.processing.org/t/trying-to-pull-images-from-twitter/4287)

<div class="topic-metadata">

**Author:** [@AYS](https://discourse.processing.org/u/AYS)\
**Replies:** 0\
**Last updated:** [October 9, 2018, 6:02pm UTC](https://discourse.processing.org/t/trying-to-pull-images-from-twitter/4287 "2018-10-09T18:02:29Z")

</div>

Hello there, I am quite new to this so please bear with me. I am trying to use a keyword search to pull images from twitter using twitter4j. I want it to show the images positioned randomly on the screen in a loop. Thi…

---

## [Video loop question](https://discourse.processing.org/t/video-loop-question/4263)

<div class="topic-metadata">

**Author:** [@FerrariLuigi](https://discourse.processing.org/u/FerrariLuigi)\
**Replies:** 5\
**Last updated:** [October 9, 2018, 7:36pm UTC](https://discourse.processing.org/t/video-loop-question/4263 "2018-10-09T19:36:05Z")

</div>

Dear all, How to count the loop number of a playing video ? I want to repeat the video for 3 times. How to stop it ? thank you very much for your help and cooperation, regards.

---

## [Understanding the return](https://discourse.processing.org/t/understanding-the-return/4274)

<div class="topic-metadata">

**Author:** [@losferatos](https://discourse.processing.org/u/losferatos)\
**Replies:** 1\
**Last updated:** [October 9, 2018, 1:22pm UTC](https://discourse.processing.org/t/understanding-the-return/4274 "2018-10-09T13:22:24Z")

</div>

Hi guys! I’m just playing around processing to learn and understand it. But I stumbled upon a really basic problem: Where does the return function return to? After the function has done their job it should return the …

---

## [Latest Processing for Windows Reporting Virus](https://discourse.processing.org/t/latest-processing-for-windows-reporting-virus/4251)

<div class="topic-metadata">

**Author:** [@pacolux](https://discourse.processing.org/u/pacolux)\
**Replies:** 2\
**Last updated:** [October 9, 2018, 8:59am UTC](https://discourse.processing.org/t/latest-processing-for-windows-reporting-virus/4251 "2018-10-09T08:59:09Z")

</div>

Hi, Hate that this is my first post but when attempting to download the latest Windows version of Processing it is getting stopped by Windows Defender for… “TrojanDownloader:JS/Jasobfus.B!ml” I am unsure if this is a …

---

## [Spherical Harmonics](https://discourse.processing.org/t/spherical-harmonics/4266)

<div class="topic-metadata">

**Author:** [@zepadovani](https://discourse.processing.org/u/zepadovani)\
**Replies:** 1\
**Last updated:** [October 9, 2018, 5:21am UTC](https://discourse.processing.org/t/spherical-harmonics/4266 "2018-10-09T05:21:21Z")

</div>

Hello, I would like to illustrate Ambisonics principles to my students and thought that would be nice to visualize spherical harmonics in 3d dynamically… Has anyone tried this? Any codes/tips? Thanks!

---

## [Circle will become larger when mouse moves on it (loop question)](https://discourse.processing.org/t/circle-will-become-larger-when-mouse-moves-on-it-loop-question/4231)

<div class="topic-metadata">

**Author:** [@xhqecho](https://discourse.processing.org/u/xhqecho)\
**Replies:** 6\
**Last updated:** [October 9, 2018, 1:31am UTC](https://discourse.processing.org/t/circle-will-become-larger-when-mouse-moves-on-it-loop-question/4231 "2018-10-09T01:31:08Z")

</div>

Hello, I want to create a project, when the mouse move on the circle, the circle will become larger. I can do it when it’s only one circle, but when I add a loop in it, it cannot work. int x=-45; int a; void setup() {…

---

## [Multiple Values from Processing to Arduino through Serial Port](https://discourse.processing.org/t/multiple-values-from-processing-to-arduino-through-serial-port/4152)

<div class="topic-metadata">

**Author:** [@Cai](https://discourse.processing.org/u/Cai)\
**Replies:** 2\
**Last updated:** [October 8, 2018, 11:04pm UTC](https://discourse.processing.org/t/multiple-values-from-processing-to-arduino-through-serial-port/4152 "2018-10-08T23:04:41Z")

</div>

I have managed to send one value from processing to arduino. (which maps mouseX and lights the respective LED on an LED strip of Neopixels) I went through a lot of forums and tried to send Mouse Position(2 values ) from …

---

## [Scrollablelist set Item selected from code](https://discourse.processing.org/t/scrollablelist-set-item-selected-from-code/2617)

<div class="topic-metadata">

**Author:** [@Dennis](https://discourse.processing.org/u/Dennis)\
**Replies:** 9\
**Last updated:** [October 8, 2018, 2:06pm UTC](https://discourse.processing.org/t/scrollablelist-set-item-selected-from-code/2617 "2018-10-08T14:06:54Z")

</div>

Hello everyone! i’m a new on processing forum. I make a Scrolablelist from ControlP5 library and I would like to change via code the selected item: import controlP5.\*; import java.util.\*; ControlP5 cp5; void setup() …

---

## [Using inheritance with ArrayList](https://discourse.processing.org/t/using-inheritance-with-arraylist/4246)

<div class="topic-metadata">

**Author:** [@Sarah](https://discourse.processing.org/u/Sarah)\
**Replies:** 3\
**Last updated:** [October 8, 2018, 1:37pm UTC](https://discourse.processing.org/t/using-inheritance-with-arraylist/4246 "2018-10-08T13:37:30Z")

</div>

Hi, I’ve been using inheritance for some of my classes, but I’ve run into some troubles when trying to do the same things with ArrayList's. If I have 2 classes class ObjectType1 { }, class ObjectType2 extends ObjectTy…

---

## [Adding pop-up messages and pictures](https://discourse.processing.org/t/adding-pop-up-messages-and-pictures/4234)

<div class="topic-metadata">

**Author:** [@srishtiverma](https://discourse.processing.org/u/srishtiverma)\
**Replies:** 5\
**Last updated:** [October 8, 2018, 9:59am UTC](https://discourse.processing.org/t/adding-pop-up-messages-and-pictures/4234 "2018-10-08T09:59:10Z")

</div>

This one’s on a time crunch for a class, so I’d really appreciate help fast. Issue is, I’m a beginner trying to execute an idea overly ambitious for me, but now I really need to complete it for class. I’d appreciate any …

---

## [Update Matrix row and column number in real time (ControlP5)](https://discourse.processing.org/t/update-matrix-row-and-column-number-in-real-time-controlp5/4232)

<div class="topic-metadata">

**Author:** [@anon57009815](https://discourse.processing.org/u/anon57009815)\
**Replies:** 3\
**Last updated:** [October 8, 2018, 8:56am UTC](https://discourse.processing.org/t/update-matrix-row-and-column-number-in-real-time-controlp5/4232 "2018-10-08T08:56:57Z")

</div>

CONTROLP5 Is there a way to update (change) row number and column number of a matrix in real time? Resources -\> ControlP5 -\> Controllers -\> ControlP5Matrix

---

## [Rectangle Follow (Using Mouse)](https://discourse.processing.org/t/rectangle-follow-using-mouse/4238)

<div class="topic-metadata">

**Author:** [@Daniel\_Tex](https://discourse.processing.org/u/Daniel_Tex)\
**Replies:** 1\
**Last updated:** [October 8, 2018, 8:12am UTC](https://discourse.processing.org/t/rectangle-follow-using-mouse/4238 "2018-10-08T08:12:27Z")

</div>

How would I make the rectangle look at the mouse but unable to move (Ex. such as the online browser game “diep.io”) thanks!

---

## [\[Updated\] Help output algorithms for complex numbers in Pascal Triangle](https://discourse.processing.org/t/updated-help-output-algorithms-for-complex-numbers-in-pascal-triangle/4074)

<div class="topic-metadata">

**Author:** [@ProsExplorer](https://discourse.processing.org/u/ProsExplorer)\
**Replies:** 5\
**Last updated:** [October 8, 2018, 12:55am UTC](https://discourse.processing.org/t/updated-help-output-algorithms-for-complex-numbers-in-pascal-triangle/4074 "2018-10-08T00:55:16Z")

</div>

I got this code example online for a Non-recursive version of Pascal’s Triangle and made modifications to it so that it limits the triangle size to an input n, prints the last line based on the int n=1+ 16 \[where +16 = t…

---

## [Spirals that get smaller for school project](https://discourse.processing.org/t/spirals-that-get-smaller-for-school-project/4199)

<div class="topic-metadata">

**Author:** [@DesperateOak48](https://discourse.processing.org/u/DesperateOak48)\
**Replies:** 7\
**Last updated:** [October 7, 2018, 5:46pm UTC](https://discourse.processing.org/t/spirals-that-get-smaller-for-school-project/4199 "2018-10-07T17:46:52Z")

</div>

I’m in a class, and the current assignment is to create a complex pattern. I want to make spirals that start in the middle and extend outward, getting smaller as they go out. I’ve looked around the class to no avail. I f…

---

## [Spiral with connecting lines between adjacent points](https://discourse.processing.org/t/spiral-with-connecting-lines-between-adjacent-points/4170)

<div class="topic-metadata">

**Author:** [@oscie24](https://discourse.processing.org/u/oscie24)\
**Replies:** 17\
**Last updated:** [October 7, 2018, 5:37pm UTC](https://discourse.processing.org/t/spiral-with-connecting-lines-between-adjacent-points/4170 "2018-10-07T17:37:47Z")

</div>

Hi, I’m a newbie on here. I was wondering if I could get some help, please. I’ve been set a task of drawing a spiral made up from squares with lines connecting adjacent points and stuck on how to approach it. Heres wha…

---

## [Cant save as PDE](https://discourse.processing.org/t/cant-save-as-pde/4205)

<div class="topic-metadata">

**Author:** [@BigZi](https://discourse.processing.org/u/BigZi)\
**Replies:** 4\
**Last updated:** [October 7, 2018, 4:08pm UTC](https://discourse.processing.org/t/cant-save-as-pde/4205 "2018-10-07T16:08:12Z")

</div>

i am required to submit this project as a pde file but my codes only saves as the name i gave it. I do not see the pde at the end. Can someone please help me out.

---

## [Put a void statement into a PGraphics layer](https://discourse.processing.org/t/put-a-void-statement-into-a-pgraphics-layer/4057)

<div class="topic-metadata">

**Author:** [@Lore](https://discourse.processing.org/u/Lore)\
**Replies:** 10\
**Last updated:** [October 7, 2018, 3:18pm UTC](https://discourse.processing.org/t/put-a-void-statement-into-a-pgraphics-layer/4057 "2018-10-07T15:18:01Z")

</div>

Hello, Is there anyway to put a void statement into a PGraphics layer? I mean something like this. circles.beginDraw(); circles.noStroke() circles.fill(col); circles.myArc(mouseX, mouseY); circles.e…

[Previous page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=358)

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=360)
