# Processing

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

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

**Page:** 269

---

## [Detect audio of computer and send info to Arduino](https://discourse.processing.org/t/detect-audio-of-computer-and-send-info-to-arduino/14330)

<div class="topic-metadata">

**Author:** [@niconico](https://discourse.processing.org/u/niconico)\
**Replies:** 3\
**Last updated:** [October 8, 2019, 6:19am UTC](https://discourse.processing.org/t/detect-audio-of-computer-and-send-info-to-arduino/14330 "2019-10-08T06:19:00Z")

</div>

Hello, I´m new with processing, I work with arduino 8 years and now I need processing for a Project The project are very simple… I need detect the audio of the computer and when the computer have sound activate a rela…

---

## [Development efficiency with Processing platform](https://discourse.processing.org/t/development-efficiency-with-processing-platform/14231)

<div class="topic-metadata">

**Author:** [@liuzc188](https://discourse.processing.org/u/liuzc188)\
**Replies:** 3\
**Last updated:** [October 8, 2019, 4:06am UTC](https://discourse.processing.org/t/development-efficiency-with-processing-platform/14231 "2019-10-08T04:06:59Z")

</div>

Hi, good afternoon! my question is :slight\_smile: concerned about efficiency with processing. Already to know: I spend lots of time writing codes. I read so many points ( up to 5k) from .csv files . And Dijkstra A…

---

## [Avoiding randomness in my sketch](https://discourse.processing.org/t/avoiding-randomness-in-my-sketch/14287)

<div class="topic-metadata">

**Author:** [@JoseBri93](https://discourse.processing.org/u/JoseBri93)\
**Replies:** 4\
**Last updated:** [October 7, 2019, 8:31pm UTC](https://discourse.processing.org/t/avoiding-randomness-in-my-sketch/14287 "2019-10-07T20:31:39Z")

</div>

Hi!, i’m creating this sketch where bouncing balls go all over the display. It’s working fine however i want to know is there are other options to work instead of randomness to get diferrent organic ways for my objetcs t…

---

## [Firing g4p events](https://discourse.processing.org/t/firing-g4p-events/14496)

<div class="topic-metadata">

**Author:** [@jeppius](https://discourse.processing.org/u/jeppius)\
**Replies:** 2\
**Last updated:** [October 7, 2019, 5:37pm UTC](https://discourse.processing.org/t/firing-g4p-events/14496 "2019-10-07T17:37:03Z")

</div>

Hi there, I would like to fire a CLICKED and RELEASED g4p button event by pressing a certain key on the keyboard. That is, I would like the same visual feedback as if I had manually clicked the button with the mouse. W…

---

## [Not so random Render Glitch](https://discourse.processing.org/t/not-so-random-render-glitch/14448)

<div class="topic-metadata">

**Author:** [@Coppice](https://discourse.processing.org/u/Coppice)\
**Replies:** 5\
**Last updated:** [October 7, 2019, 4:33pm UTC](https://discourse.processing.org/t/not-so-random-render-glitch/14448 "2019-10-07T16:33:04Z")

</div>

I’ve been trying to recreate Flappy Bird using Processing within Java. Whenever I try to add spikes to it, it always will mess up with the sizes after the first 3 pairs of spikes (seems to be after spikeCount+1 pairs) an…

---

## [Blend Mode - Poster Recreation](https://discourse.processing.org/t/blend-mode-poster-recreation/14403)

<div class="topic-metadata">

**Author:** [@tylerowens](https://discourse.processing.org/u/tylerowens)\
**Replies:** 8\
**Last updated:** [October 7, 2019, 3:58pm UTC](https://discourse.processing.org/t/blend-mode-poster-recreation/14403 "2019-10-07T15:58:21Z")

</div>

Hello all, I have made a poster in adobe illustrator which I want to bring to life a little in processing. I want to be able to use the mouse to place circles onto the poster to sort of have a punching a hole through…

---

## [How to make appear image at random position](https://discourse.processing.org/t/how-to-make-appear-image-at-random-position/14372)

<div class="topic-metadata">

**Author:** [@Anael](https://discourse.processing.org/u/Anael)\
**Replies:** 4\
**Last updated:** [October 7, 2019, 12:06pm UTC](https://discourse.processing.org/t/how-to-make-appear-image-at-random-position/14372 "2019-10-07T12:06:55Z")

</div>

Hello, I’m a graphic design student. For a poster project, i must create an image made of several fake ads appearing randomly on the screen like pop-up. The idea was to load about 10 images and make them appear randomly …

---

## [Recording into PDF is stopped at specific frame count](https://discourse.processing.org/t/recording-into-pdf-is-stopped-at-specific-frame-count/14404)

<div class="topic-metadata">

**Author:** [@QTR](https://discourse.processing.org/u/QTR)\
**Replies:** 9\
**Last updated:** [October 7, 2019, 11:58am UTC](https://discourse.processing.org/t/recording-into-pdf-is-stopped-at-specific-frame-count/14404 "2019-10-07T11:58:44Z")

</div>

Hello all. I am trying to solove this problem almost 1.5 day… but not solved yet… If there is someone who has any knowledges, please share the solution. Problem Recording into PDF always stops at specific frame count…

---

## [Tangent of curvevertex](https://discourse.processing.org/t/tangent-of-curvevertex/13988)

<div class="topic-metadata">

**Author:** [@arcadeperfect](https://discourse.processing.org/u/arcadeperfect)\
**Replies:** 2\
**Last updated:** [October 7, 2019, 2:48am UTC](https://discourse.processing.org/t/tangent-of-curvevertex/13988 "2019-10-07T02:48:11Z")

</div>

Hello! Is there a way to get the normal or tangent of a vertex in a line drawn with curveVertex()? I have found curveTangent() and bezierTangent() but I don’t see a way to do it with a curveVertex shape. Thanks!

---

## [Rugged graph while plotting output of data](https://discourse.processing.org/t/rugged-graph-while-plotting-output-of-data/14426)

<div class="topic-metadata">

**Author:** [@Jufu](https://discourse.processing.org/u/Jufu)\
**Replies:** 8\
**Last updated:** [October 7, 2019, 1:18am UTC](https://discourse.processing.org/t/rugged-graph-while-plotting-output-of-data/14426 "2019-10-07T01:18:27Z")

</div>

Hi, I am currently struggling with a seldom behaviour. I want to plot the mouse position starting from the left side of the window. Ones it arrived on the right side, it should stay there: ArrayList\<Integer\> y = new Ar…

---

## [Video library fail on Win10](https://discourse.processing.org/t/video-library-fail-on-win10/14465)

<div class="topic-metadata">

**Author:** [@emedan](https://discourse.processing.org/u/emedan)\
**Replies:** 4\
**Last updated:** [October 6, 2019, 3:59pm UTC](https://discourse.processing.org/t/video-library-fail-on-win10/14465 "2019-10-06T15:59:27Z")

</div>

Hi With a fresh install of Processing 3 using defaults and following the example in the Video library, it does not work. How can that be? I don’t think my conditions are unique, so I expect it should work or be describ…

---

## [Adaptive background subtraction with motionless objects](https://discourse.processing.org/t/adaptive-background-subtraction-with-motionless-objects/14370)

<div class="topic-metadata">

**Author:** [@rojele](https://discourse.processing.org/u/rojele)\
**Replies:** 3\
**Last updated:** [October 6, 2019, 2:46pm UTC](https://discourse.processing.org/t/adaptive-background-subtraction-with-motionless-objects/14370 "2019-10-06T14:46:31Z")

</div>

Hi! I would like to get a background subtraction method for outdoor conditions, capable of gradually adjust itself to environment light variations but with the capacity of revealing a presence even that is not in motion.…

---

## [Mapping 3D noise in Processing](https://discourse.processing.org/t/mapping-3d-noise-in-processing/14460)

<div class="topic-metadata">

**Author:** [@Malvan](https://discourse.processing.org/u/Malvan)\
**Replies:** 3\
**Last updated:** [October 6, 2019, 2:11pm UTC](https://discourse.processing.org/t/mapping-3d-noise-in-processing/14460 "2019-10-06T14:11:10Z")

</div>

Hello there! Im considering myself to be very new to this programming language, so please go easy on me. I came across a pics/video on reddit not so long ago, which has attracted my attention. I’d like to make the same…

---

## [How to connect Google Spreadsheets to a sketch](https://discourse.processing.org/t/how-to-connect-google-spreadsheets-to-a-sketch/14459)

<div class="topic-metadata">

**Author:** [@Marce](https://discourse.processing.org/u/Marce)\
**Replies:** 0\
**Last updated:** [October 6, 2019, 10:00am UTC](https://discourse.processing.org/t/how-to-connect-google-spreadsheets-to-a-sketch/14459 "2019-10-06T10:00:53Z")

</div>

Hi there ! I’m new to the new processing forum so if I’m doing something wrong, please tell me ! I’m trying to connect a google spreadsheet to my processing sketch. I have tried using the Temboo library but it seems th…

---

## [Creating inscribed circle & polygon loop](https://discourse.processing.org/t/creating-inscribed-circle-polygon-loop/14379)

<div class="topic-metadata">

**Author:** [@fhop](https://discourse.processing.org/u/fhop)\
**Replies:** 4\
**Last updated:** [October 6, 2019, 8:33am UTC](https://discourse.processing.org/t/creating-inscribed-circle-polygon-loop/14379 "2019-10-06T08:33:11Z")

</div>

Hi I would like to create a loop with red circles and blue polygons but when I do my loop only the circles in the center are red the rest are blue. I know I need to put the ellipse & polygon together in a loop but have …

---

## [Identifying and smoothing out peaks in an array](https://discourse.processing.org/t/identifying-and-smoothing-out-peaks-in-an-array/14331)

<div class="topic-metadata">

**Author:** [@edward](https://discourse.processing.org/u/edward)\
**Replies:** 6\
**Last updated:** [October 6, 2019, 3:48am UTC](https://discourse.processing.org/t/identifying-and-smoothing-out-peaks-in-an-array/14331 "2019-10-06T03:48:24Z")

</div>

Good evening, Is there a simple way to detect and smooth local peak or peaks in a long array and create a new array with the new value/s, but keeping the same order as the original array? A simplified example of what …

---

## [Multiple Sine Waves](https://discourse.processing.org/t/multiple-sine-waves/14332)

<div class="topic-metadata">

**Author:** [@paz](https://discourse.processing.org/u/paz)\
**Replies:** 6\
**Last updated:** [October 5, 2019, 9:14pm UTC](https://discourse.processing.org/t/multiple-sine-waves/14332 "2019-10-05T21:14:13Z")

</div>

Hi, Im working a variation of the Sine Wave example for a class, and im curious as to how I would be able to make parallel sine waves (add more) AND/OR make these waves diagonal (from top left to right bottom for exampl…

---

## [keyPressed doesn't work](https://discourse.processing.org/t/keypressed-doesnt-work/14406)

<div class="topic-metadata">

**Author:** [@raminl](https://discourse.processing.org/u/raminl)\
**Replies:** 5\
**Last updated:** [October 4, 2019, 8:54pm UTC](https://discourse.processing.org/t/keypressed-doesnt-work/14406 "2019-10-04T20:54:21Z")

</div>

So I’m working on a display full of triangles. I want to use keyPressed to get random colors for each triangle after I press a key, but unfortunately it doesn’t work (not even when I put it in the void draw). Does anyone…

---

## [Animating image tiles from the top to the bottom](https://discourse.processing.org/t/animating-image-tiles-from-the-top-to-the-bottom/14375)

<div class="topic-metadata">

**Author:** [@dmcsocial](https://discourse.processing.org/u/dmcsocial)\
**Replies:** 3\
**Last updated:** [October 5, 2019, 6:25pm UTC](https://discourse.processing.org/t/animating-image-tiles-from-the-top-to-the-bottom/14375 "2019-10-05T18:25:04Z")

</div>

Hi all, I am new to Processing. I would like to implement an animation, in which an image is built from the bottom tile by tile. I have a 1920x1080 pixels input image and I divided it in tiles (20 tiles per row and 20 …

---

## [Animating a rectangle](https://discourse.processing.org/t/animating-a-rectangle/14428)

<div class="topic-metadata">

**Author:** [@publicClassYoda](https://discourse.processing.org/u/publicClassYoda)\
**Replies:** 2\
**Last updated:** [October 5, 2019, 10:30am UTC](https://discourse.processing.org/t/animating-a-rectangle/14428 "2019-10-05T10:30:36Z")

</div>

Hey everyone! I’m new to processing and learning how to play around with figures. Right now I’m trying to animate the movement of a rectangle. My idea is that the rectangle should move from current position to the clicke…

---

## [Designated 'zones' for bezier arguments](https://discourse.processing.org/t/designated-zones-for-bezier-arguments/14432)

<div class="topic-metadata">

**Author:** [@hahayes](https://discourse.processing.org/u/hahayes)\
**Replies:** 2\
**Last updated:** [October 5, 2019, 1:44am UTC](https://discourse.processing.org/t/designated-zones-for-bezier-arguments/14432 "2019-10-05T01:44:45Z")

</div>

I am trying to make a 3d project that has some bezier curves ‘spewing’ out of the center of the entire project. I want to restrict the arguments to their own ‘zones’, and by that I mean that I want to keep the arguments …

---

## [Problem with Coding Train 9.4](https://discourse.processing.org/t/problem-with-coding-train-9-4/14437)

<div class="topic-metadata">

**Author:** [@redisred](https://discourse.processing.org/u/redisred)\
**Replies:** 1\
**Last updated:** [October 5, 2019, 12:46am UTC](https://discourse.processing.org/t/problem-with-coding-train-9-4/14437 "2019-10-05T00:46:23Z")

</div>

I’m trying to implement Daniel’s example of the bubbles array and I can’t for the life of me figure out why it’s not working. I should be getting 3 ascending bubbles, but I’m only getting 1, which I suspect might be all …

---

## [Multiple Render Targets?](https://discourse.processing.org/t/multiple-render-targets/14433)

<div class="topic-metadata">

**Author:** [@rufsketch1](https://discourse.processing.org/u/rufsketch1)\
**Replies:** 0\
**Last updated:** [October 4, 2019, 11:43pm UTC](https://discourse.processing.org/t/multiple-render-targets/14433 "2019-10-04T23:43:48Z")

</div>

Hello all. I’m trying to implement something like the weight-blended order independent transparency technique described here (and if I’m lucky, here). However, the technique requires multiple render targets. In theory I…

---

## [Need random colors to cycle](https://discourse.processing.org/t/need-random-colors-to-cycle/14431)

<div class="topic-metadata">

**Author:** [@DonnieBrasco](https://discourse.processing.org/u/DonnieBrasco)\
**Replies:** 4\
**Last updated:** [October 4, 2019, 11:39pm UTC](https://discourse.processing.org/t/need-random-colors-to-cycle/14431 "2019-10-04T23:39:29Z")

</div>

Hello, I’m really new to this and having a hard time figure out how to make my colors cycle, or blink with random values if you will. They should change at a rate of 5 frames per second, which I think I’ve got right, bu…

---

## [Use loadimage() with base64-encoded PNG.](https://discourse.processing.org/t/use-loadimage-with-base64-encoded-png/5897)

<div class="topic-metadata">

**Author:** [@RecursiveCursive](https://discourse.processing.org/u/RecursiveCursive)\
**Replies:** 5\
**Last updated:** [October 4, 2019, 3:37pm UTC](https://discourse.processing.org/t/use-loadimage-with-base64-encoded-png/5897 "2019-10-04T15:37:50Z")

</div>

Hello everyone, I am trying to load an image from a base64-encoded string with loadImage like this: loadimage(“data:image/png;base64,iVBORw0KGgoA…”), but it is not working (I cut the base64 string short in this post for…

---

## [Could not run sketch. Target VM failed to initialize](https://discourse.processing.org/t/could-not-run-sketch-target-vm-failed-to-initialize/14166)

<div class="topic-metadata">

**Author:** [@VPadu](https://discourse.processing.org/u/VPadu)\
**Replies:** 3\
**Last updated:** [October 4, 2019, 12:00pm UTC](https://discourse.processing.org/t/could-not-run-sketch-target-vm-failed-to-initialize/14166 "2019-10-04T12:00:05Z")

</div>

So since the release of the new windows 10 update and the release of the new nvidia drivers I could not use processing anymore because of the error in the title with EVERY kind of sketch (even empty ones). I noticed tha…

---

## [Add a horizontal scroll bar for real time data plot](https://discourse.processing.org/t/add-a-horizontal-scroll-bar-for-real-time-data-plot/14385)

<div class="topic-metadata">

**Author:** [@KGS](https://discourse.processing.org/u/KGS)\
**Replies:** 3\
**Last updated:** [October 4, 2019, 10:15am UTC](https://discourse.processing.org/t/add-a-horizontal-scroll-bar-for-real-time-data-plot/14385 "2019-10-04T10:15:57Z")

</div>

I am plotting a real-time data plot, I need to scroll across the only x-axis to visualize previous data points from the current data. Furthermore, I need to restore back to the current position after scrolling. I have u…

---

## [Value NaN of a variable](https://discourse.processing.org/t/value-nan-of-a-variable/14220)

<div class="topic-metadata">

**Author:** [@Ignaki](https://discourse.processing.org/u/Ignaki)\
**Replies:** 7\
**Last updated:** [October 3, 2019, 3:34pm UTC](https://discourse.processing.org/t/value-nan-of-a-variable/14220 "2019-10-03T15:34:07Z")

</div>

What does it mean wnen the printed value of a variable is “NaN”?

---

## [Cannot find a class or type named “ParticleSystem”](https://discourse.processing.org/t/cannot-find-a-class-or-type-named-particlesystem/14394)

<div class="topic-metadata">

**Author:** [@Andrea](https://discourse.processing.org/u/Andrea)\
**Replies:** 3\
**Last updated:** [October 3, 2019, 3:10pm UTC](https://discourse.processing.org/t/cannot-find-a-class-or-type-named-particlesystem/14394 "2019-10-03T15:10:10Z")

</div>

Hi! I’m a beginner at programming and coding (actually, I know nothing but what I’ve seen in tutorials) so I’ve been following Daniel’s tutorials on Youtube. The thing is that I’m stuck into this particular tutorial, eve…

---

## [How to disable sleep in MacOS while program is running?](https://discourse.processing.org/t/how-to-disable-sleep-in-macos-while-program-is-running/14384)

<div class="topic-metadata">

**Author:** [@spy](https://discourse.processing.org/u/spy)\
**Replies:** 3\
**Last updated:** [October 3, 2019, 6:45am UTC](https://discourse.processing.org/t/how-to-disable-sleep-in-macos-while-program-is-running/14384 "2019-10-03T06:45:16Z")

</div>

I created a digital full screen Clock in Processing. I also created a executable file to run it directly via double click. My OS is MacOS High Sierra. When I run it, my laptop goes to sleep after some time. I want to dis…

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

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