# Latest

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

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

**Page:** 611

---

## [Read I2C data from Arduino slave](https://discourse.processing.org/t/read-i2c-data-from-arduino-slave/436)

<div class="topic-metadata">

**Author:** [@Embring](https://discourse.processing.org/u/Embring)\
**Replies:** 7\
**Last updated:** [July 1, 2018, 7:58pm UTC](https://discourse.processing.org/t/read-i2c-data-from-arduino-slave/436 "2018-07-01T19:58:56Z")

</div>

I am new to Raspberry PI, more used to the Arduino and have done a little coding in Processing, and really like the concept of Processing. It’s a great combination, Processing and Arduino. Needed the Power and Speed of P…

---

## [How to layer sound in processing](https://discourse.processing.org/t/how-to-layer-sound-in-processing/1409)

<div class="topic-metadata">

**Author:** [@Cida\_Lehmann](https://discourse.processing.org/u/Cida_Lehmann)\
**Replies:** 2\
**Last updated:** [July 1, 2018, 6:00pm UTC](https://discourse.processing.org/t/how-to-layer-sound-in-processing/1409 "2018-07-01T18:00:00Z")

</div>

Hi guys, I’m very new here and a very beginner in Processing. A quick question: Is it possible to layer sounds in Processing. Example: I’m running a sketch with a looping soundscape and I would like a timer to randoml…

---

## [Rotation and Translation not performing as intended](https://discourse.processing.org/t/rotation-and-translation-not-performing-as-intended/1401)

<div class="topic-metadata">

**Author:** [@ScottR](https://discourse.processing.org/u/ScottR)\
**Replies:** 2\
**Last updated:** [July 1, 2018, 9:51am UTC](https://discourse.processing.org/t/rotation-and-translation-not-performing-as-intended/1401 "2018-07-01T09:51:09Z")

</div>

Hi, I have a processing.py script that includes the simulation of some projectiles. I am trying to make an arrow rotate to follow its path as it flies, but I cannot seem to get the rotate and translate functions to only …

---

## [Frame grabbing from youtube video source](https://discourse.processing.org/t/frame-grabbing-from-youtube-video-source/1394)

<div class="topic-metadata">

**Author:** [@blakec](https://discourse.processing.org/u/blakec)\
**Replies:** 1\
**Last updated:** [July 1, 2018, 4:04am UTC](https://discourse.processing.org/t/frame-grabbing-from-youtube-video-source/1394 "2018-07-01T04:04:06Z")

</div>

Hi there, Is there a way to use a Youtube streaming video in p5.js? I’d like to grab the video frame by frame, do a bit of processing on each frame and draw them on screen. Many thanks, Blake

---

## [How to pass node script into processing](https://discourse.processing.org/t/how-to-pass-node-script-into-processing/1272)

<div class="topic-metadata">

**Author:** [@sujithsa007](https://discourse.processing.org/u/sujithsa007)\
**Replies:** 3\
**Last updated:** [July 1, 2018, 1:23am UTC](https://discourse.processing.org/t/how-to-pass-node-script-into-processing/1272 "2018-07-01T01:23:37Z")

</div>

I have a node script which sends a value to Samsung Artik Cloud. Also have an Arduino project which send data through the serial port into processing, which I am able to store as an int variable. Question is how can I …

---

## [How to check pixels color](https://discourse.processing.org/t/how-to-check-pixels-color/1316)

<div class="topic-metadata">

**Author:** [@albertohilal](https://discourse.processing.org/u/albertohilal)\
**Replies:** 2\
**Last updated:** [June 30, 2018, 6:45pm UTC](https://discourse.processing.org/t/how-to-check-pixels-color/1316 "2018-06-30T18:45:02Z")

</div>

How to check pixels colors if the rectangle it only has white return “Incompleto !!” has white and yellow return “Incompleto !!” only has yellow return “Amarillos!!” color a = color(255,255,0); color b = color(255,2…

---

## [Databending images through processing](https://discourse.processing.org/t/databending-images-through-processing/1364)

<div class="topic-metadata">

**Author:** [@komats](https://discourse.processing.org/u/komats)\
**Replies:** 2\
**Last updated:** [June 30, 2018, 4:41pm UTC](https://discourse.processing.org/t/databending-images-through-processing/1364 "2018-06-30T16:41:25Z")

</div>

I wonder if there are some scripts for glitching images. Are there some examples that actually work. I tried from this webpage https://steemit.com/art/@granturismo89/how-to-make-amazing-glitch-art-with-processing-and-asd…

---

## [Ellipse from foci](https://discourse.processing.org/t/ellipse-from-foci/1386)

<div class="topic-metadata">

**Author:** [@codingking03](https://discourse.processing.org/u/codingking03)\
**Replies:** 2\
**Last updated:** [June 30, 2018, 4:33pm UTC](https://discourse.processing.org/t/ellipse-from-foci/1386 "2018-06-30T16:33:36Z")

</div>

Is there any way to draw an ellipse from its foci? in the processing/p5.js library?

---

## [HashMap nodejs p5js](https://discourse.processing.org/t/hashmap-nodejs-p5js/1381)

<div class="topic-metadata">

**Author:** [@lmccandless](https://discourse.processing.org/u/lmccandless)\
**Replies:** 1\
**Last updated:** [June 30, 2018, 2:11pm UTC](https://discourse.processing.org/t/hashmap-nodejs-p5js/1381 "2018-06-30T14:11:47Z")

</div>

I’m coming from processing to p5js and looking for HashMap functionality. I’m using node.js and did npm install hashmap in my test sketch, doing var hm = new HashMap(); inside setup() prevents my sketch from working. N…

---

## [Is processing.org down?](https://discourse.processing.org/t/is-processing-org-down/1375)

<div class="topic-metadata">

**Author:** [@Sarrio](https://discourse.processing.org/u/Sarrio)\
**Replies:** 2\
**Last updated:** [June 30, 2018, 9:40am UTC](https://discourse.processing.org/t/is-processing-org-down/1375 "2018-06-30T09:40:12Z")

</div>

In trying to connect to processing.org Chrome says “This site can’t be reached, processing.org took too long to respond”. Why today the processing website can’t be reached? Is the website down for you for you as well? …

---

## [Question regarding beginShape() and endShape()](https://discourse.processing.org/t/question-regarding-beginshape-and-endshape/1374)

<div class="topic-metadata">

**Author:** [@Doodle\_Noodle](https://discourse.processing.org/u/Doodle_Noodle)\
**Replies:** 2\
**Last updated:** [June 30, 2018, 12:22am UTC](https://discourse.processing.org/t/question-regarding-beginshape-and-endshape/1374 "2018-06-30T00:22:01Z")

</div>

So, this is kind of strange to ask, but I’m relatively new to programming in general, and I was curious how it would be possible to translate a shape created using the beginShape() and endShape() functions. I’m working o…

---

## [Show Webcam Stream](https://discourse.processing.org/t/show-webcam-stream/1337)

<div class="topic-metadata">

**Author:** [@oligor77](https://discourse.processing.org/u/oligor77)\
**Replies:** 6\
**Last updated:** [June 29, 2018, 11:39pm UTC](https://discourse.processing.org/t/show-webcam-stream/1337 "2018-06-29T23:39:41Z")

</div>

Hi there, is there any way to display a webcam stream? The Video Element in the example shows only a way to display video files. Thanks a lot for a hint.

---

## [Hello P5 Video Volunteers Wanted!](https://discourse.processing.org/t/hello-p5-video-volunteers-wanted/1369)

<div class="topic-metadata">

**Author:** [@elginskye](https://discourse.processing.org/u/elginskye)\
**Replies:** 0\
**Last updated:** [June 29, 2018, 6:38pm UTC](https://discourse.processing.org/t/hello-p5-video-volunteers-wanted/1369 "2018-06-29T18:38:14Z")

</div>

Hello P5 Community! We are looking for a handful of volunteers for our new hello p5 trailer. Taking part is easy - you just have to video record yourself saying a few lines from a script using your phone camera/webcam.…

---

## [Stuck working with classes not updating](https://discourse.processing.org/t/stuck-working-with-classes-not-updating/1359)

<div class="topic-metadata">

**Author:** [@wontner](https://discourse.processing.org/u/wontner)\
**Replies:** 3\
**Last updated:** [June 29, 2018, 12:26pm UTC](https://discourse.processing.org/t/stuck-working-with-classes-not-updating/1359 "2018-06-29T12:26:43Z")

</div>

Hello, I’m stuck, I’m trying to create a class with ellipse that will go from one place to another, with the help of sinus and cosinus curves. but when I wrote the class and the method and then call it in draw. it doesn’…

---

## [Program is very slow after export from MAC to Window](https://discourse.processing.org/t/program-is-very-slow-after-export-from-mac-to-window/1331)

<div class="topic-metadata">

**Author:** [@Mmminh](https://discourse.processing.org/u/Mmminh)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 5:30am UTC](https://discourse.processing.org/t/program-is-very-slow-after-export-from-mac-to-window/1331 "2018-06-29T05:30:41Z")

</div>

when I run my program on MAC it’s work very well but when I export it to Window, It’s run very slow Is there some thing to do with RAM?? please help thanks

---

## [Match 3 remove from arraylist](https://discourse.processing.org/t/match-3-remove-from-arraylist/1167)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 8\
**Last updated:** [June 28, 2018, 6:35pm UTC](https://discourse.processing.org/t/match-3-remove-from-arraylist/1167 "2018-06-28T18:35:29Z")

</div>

I’m trying to create a match 3 & made a check function that works & tell me when there are 3 in a row. I tried giving each one a float but when I go to remove the letters assign to each i that met nothing happened. Can a…

---

## [Can i use p5.js on my website?](https://discourse.processing.org/t/can-i-use-p5-js-on-my-website/1344)

<div class="topic-metadata">

**Author:** [@matosustak](https://discourse.processing.org/u/matosustak)\
**Replies:** 2\
**Last updated:** [June 28, 2018, 6:27pm UTC](https://discourse.processing.org/t/can-i-use-p5-js-on-my-website/1344 "2018-06-28T18:27:37Z")

</div>

Hello, I have a website where I want to use p5.js but the website has ads on it, and if yes please how I need to correctly credit it? Thanks for every reply.

---

## [Detecting Serial Port's ID in processing?](https://discourse.processing.org/t/detecting-serial-ports-id-in-processing/1342)

<div class="topic-metadata">

**Author:** [@liudr](https://discourse.processing.org/u/liudr)\
**Replies:** 1\
**Last updated:** [June 28, 2018, 5:13pm UTC](https://discourse.processing.org/t/detecting-serial-ports-id-in-processing/1342 "2018-06-28T17:13:12Z")

</div>

I am new here, for the 3rd time. My prior experience with Processing \<1.0 was great and I remember using serial port with it. I am wondering whether it is feasible to detect serial port’s unique ID from within Processing…

---

## [G4P dropList changing roundcorners of scrollbar](https://discourse.processing.org/t/g4p-droplist-changing-roundcorners-of-scrollbar/1277)

<div class="topic-metadata">

**Author:** [@Sonia](https://discourse.processing.org/u/Sonia)\
**Replies:** 3\
**Last updated:** [June 28, 2018, 3:38pm UTC](https://discourse.processing.org/t/g4p-droplist-changing-roundcorners-of-scrollbar/1277 "2018-06-28T15:38:55Z")

</div>

Hi, I’m trying to change roundcorners and the border color of the scrollbar into a dropList. Is there a way to do that ? I’ve tryed to put g4p\_controls.GButton.useRoundCorners(false), but it has no action on the scr…

---

## [How to 'deform' a text generated with theGeomerative library?](https://discourse.processing.org/t/how-to-deform-a-text-generated-with-thegeomerative-library/1147)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 24\
**Last updated:** [June 28, 2018, 10:29am UTC](https://discourse.processing.org/t/how-to-deform-a-text-generated-with-thegeomerative-library/1147 "2018-06-28T10:29:31Z")

</div>

Hello, I try(and manage) to ‘deform’ a text generated thanks to the Geomerative library, but once the text transformed it immediately gets back to its original form?! I’d like to keep this transformation but don’t know …

---

## [Start sketch with hidden window](https://discourse.processing.org/t/start-sketch-with-hidden-window/1263)

<div class="topic-metadata">

**Author:** [@cuI6QV0SphbBeN9E](https://discourse.processing.org/u/cuI6QV0SphbBeN9E)\
**Replies:** 5\
**Last updated:** [June 28, 2018, 2:52am UTC](https://discourse.processing.org/t/start-sketch-with-hidden-window/1263 "2018-06-28T02:52:24Z")

</div>

void setup() { surface.setVisible(false); } If we run the above code, the window itself gets hidden but with a sudden flicker — we can see it get created and then hidden. Is it possible to start with a truly hidden wi…

---

## [Out of memory problem](https://discourse.processing.org/t/out-of-memory-problem/1300)

<div class="topic-metadata">

**Author:** [@Mmminh](https://discourse.processing.org/u/Mmminh)\
**Replies:** 9\
**Last updated:** [June 28, 2018, 1:53am UTC](https://discourse.processing.org/t/out-of-memory-problem/1300 "2018-06-28T01:53:54Z")

</div>

when I run the program for 20 minute it will get slower and then stop and say it out of memory I think problem is at code below if (port.available()\>0){ String val=port.readString(); String list=split(val,‘,’); pre…

---

## [how to Make sound wave change color according to sound frequency from mic input ](https://discourse.processing.org/t/how-to-make-sound-wave-change-color-according-to-sound-frequency-from-mic-input/385)

<div class="topic-metadata">

**Author:** [@harmony](https://discourse.processing.org/u/harmony)\
**Replies:** 3\
**Last updated:** [June 28, 2018, 1:41am UTC](https://discourse.processing.org/t/how-to-make-sound-wave-change-color-according-to-sound-frequency-from-mic-input/385 "2018-06-28T01:41:13Z")

</div>

hello, i have a Mic input from minim library, i want to know the value of the sound frequency and make the sound wave change color according to sound input. i know about fft but all the examples I’ve seen had uploaded …

---

## [Problem with heading()](https://discourse.processing.org/t/problem-with-heading/1317)

<div class="topic-metadata">

**Author:** [@simon](https://discourse.processing.org/u/simon)\
**Replies:** 3\
**Last updated:** [June 28, 2018, 12:44am UTC](https://discourse.processing.org/t/problem-with-heading/1317 "2018-06-28T00:44:32Z")

</div>

Hi guys, I’m trying to write a code based on steering behaviors. And I’m having problems with a vehicle particle, when it starts to going close of the target it begins move strangely. I think something is wrong with the …

---

## [How to instantiate class from with class.forName()](https://discourse.processing.org/t/how-to-instantiate-class-from-with-class-forname/957)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 2\
**Last updated:** [June 27, 2018, 9:47pm UTC](https://discourse.processing.org/t/how-to-instantiate-class-from-with-class-forname/957 "2018-06-27T21:47:35Z")

</div>

I try to instantiate class from a class name but I fail. My first state it’s find a good class, I manage this part but after I find no possibility to instantiate from the class name. I need to do that because all my meth…

---

## [PShape::attrib() and PShape::setAttrib() dont work proprely](https://discourse.processing.org/t/pshape-attrib-and-pshape-setattrib-dont-work-proprely/845)

<div class="topic-metadata">

**Author:** [@Stephcraft](https://discourse.processing.org/u/Stephcraft)\
**Replies:** 5\
**Last updated:** [June 27, 2018, 9:37pm UTC](https://discourse.processing.org/t/pshape-attrib-and-pshape-setattrib-dont-work-proprely/845 "2018-06-27T21:37:12Z")

</div>

the attrib() and setAttrib() do not work proprely in all scenarios The only way it works is when using attrib() in a not GROUP PShape. Here is a working Exemple : // // Working Exemple // PShape shape; PShader shade…

---

## [Help with rotation stuff](https://discourse.processing.org/t/help-with-rotation-stuff/1173)

<div class="topic-metadata">

**Author:** [@CrispyCabot](https://discourse.processing.org/u/CrispyCabot)\
**Replies:** 6\
**Last updated:** [June 27, 2018, 7:31pm UTC](https://discourse.processing.org/t/help-with-rotation-stuff/1173 "2018-06-27T19:31:25Z")

</div>

I’ve been working on this a while and I just can’t figure it out. Bare bones, I am trying to detect if a point is inside a rotated rectangle. The starting values that I have is: Rotation amount in degrees Center point …

---

## [dataPath("") only works in "data" folder](https://discourse.processing.org/t/datapath-only-works-in-data-folder/1310)

<div class="topic-metadata">

**Author:** [@grumo](https://discourse.processing.org/u/grumo)\
**Replies:** 5\
**Last updated:** [June 27, 2018, 6:13pm UTC](https://discourse.processing.org/t/datapath-only-works-in-data-folder/1310 "2018-06-27T18:13:14Z")

</div>

I use this script for reading and filtering files by extension in a folder. The thing is that it only works when reading “/data” if I do “/data/something” or “/something” it won’t work. Is driving me crazy. I’m working i…

---

## [How draw a tiled image in p5.js?](https://discourse.processing.org/t/how-draw-a-tiled-image-in-p5-js/1255)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 4\
**Last updated:** [June 27, 2018, 4:50pm UTC](https://discourse.processing.org/t/how-draw-a-tiled-image-in-p5-js/1255 "2018-06-27T16:50:10Z")

</div>

Hi! I have a simple question… How i draw a cyclic y axis image on canvas?

---

## [Using args\[\] for opening files](https://discourse.processing.org/t/using-args-for-opening-files/942)

<div class="topic-metadata">

**Author:** [@madscientist](https://discourse.processing.org/u/madscientist)\
**Replies:** 14\
**Last updated:** [June 27, 2018, 12:34am UTC](https://discourse.processing.org/t/using-args-for-opening-files/942 "2018-06-27T00:34:00Z")

</div>

I am working on a program that I want to be able to open files with by double-clicking on the file and choosing “open with…” - name of exported sketch. I know the program can open the files because it opens them just fi…

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

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