# Latest

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

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

**Page:** 441

---

## [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…

---

## [Instance mode creating two canvas](https://discourse.processing.org/t/instance-mode-creating-two-canvas/14121)

<div class="topic-metadata">

**Author:** [@marlus](https://discourse.processing.org/u/marlus)\
**Replies:** 8\
**Last updated:** [October 7, 2019, 8:37am UTC](https://discourse.processing.org/t/instance-mode-creating-two-canvas/14121 "2019-10-07T08:37:09Z")

</div>

Hello there, I’m trying to use p5js instance mode, but I don’t know why, invoking new p5(sketch) create two canvases… const p5 = require('p5') global.p5 = p5 const sketch = () =\> { setup = () =\> { …

---

## [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…

---

## [Tag several answer's as solution](https://discourse.processing.org/t/tag-several-answers-as-solution/14259)

<div class="topic-metadata">

**Author:** [@Teljemo](https://discourse.processing.org/u/Teljemo)\
**Replies:** 4\
**Last updated:** [October 6, 2019, 9:22am UTC](https://discourse.processing.org/t/tag-several-answers-as-solution/14259 "2019-10-06T09:22:35Z")

</div>

I just got 2 answer’s to a problem that both are solutions for my problem. They are similar but not identical, both works and both could probably be helpful for others in the future in different ways.:smile: I believe i…

---

## [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 …

---

## [Improving data structures and algorithms skills through creative coding](https://discourse.processing.org/t/improving-data-structures-and-algorithms-skills-through-creative-coding/14324)

<div class="topic-metadata">

**Author:** [@Jithin](https://discourse.processing.org/u/Jithin)\
**Replies:** 6\
**Last updated:** [October 5, 2019, 4:54pm UTC](https://discourse.processing.org/t/improving-data-structures-and-algorithms-skills-through-creative-coding/14324 "2019-10-05T16:54:14Z")

</div>

Hello guys I really wish to brush up my algorithms and data structures skills in a pretty deep level. But more than using competitive coding websites, I wish to create interesting creative coding projects to excel in th…

---

## [Why there exists a kinda blinking at some current?](https://discourse.processing.org/t/why-there-exists-a-kinda-blinking-at-some-current/14420)

<div class="topic-metadata">

**Author:** [@codemonic](https://discourse.processing.org/u/codemonic)\
**Replies:** 9\
**Last updated:** [October 5, 2019, 11:11am UTC](https://discourse.processing.org/t/why-there-exists-a-kinda-blinking-at-some-current/14420 "2019-10-05T11:11:06Z")

</div>

Hey, every 1, I just wanna make a copy of what’s this site displays in android browswer after entering, but the imitation is not as exact as I expect. At some time, the frame elements, for ballons objects, they blink, wh…

---

## [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…

---

## [Limit Methods to only when compiled to android](https://discourse.processing.org/t/limit-methods-to-only-when-compiled-to-android/14408)

<div class="topic-metadata">

**Author:** [@F53](https://discourse.processing.org/u/F53)\
**Replies:** 2\
**Last updated:** [October 4, 2019, 12:41pm UTC](https://discourse.processing.org/t/limit-methods-to-only-when-compiled-to-android/14408 "2019-10-04T12:41:58Z")

</div>

I am making a game for both android and pc, and have to import stuff exclusive for android. I want to be able to do something like this, so in the case of me compiling for a non-android version, it wont give compile err…

---

## [How to target android sdk version 28 in order to put an app on the play store?](https://discourse.processing.org/t/how-to-target-android-sdk-version-28-in-order-to-put-an-app-on-the-play-store/13348)

<div class="topic-metadata">

**Author:** [@Godeta](https://discourse.processing.org/u/Godeta)\
**Replies:** 13\
**Last updated:** [October 4, 2019, 12:29pm UTC](https://discourse.processing.org/t/how-to-target-android-sdk-version-28-in-order-to-put-an-app-on-the-play-store/13348 "2019-10-04T12:29:58Z")

</div>

Hello everyone ^^, I tried all day searching everywhere why can’t I put my android app on the play store. This is my first time trying to do so and the program is working perfectly fine on my phone but when I try to put …

---

## [Planets with shadows](https://discourse.processing.org/t/planets-with-shadows/14309)

<div class="topic-metadata">

**Author:** [@Dohanr](https://discourse.processing.org/u/Dohanr)\
**Replies:** 3\
**Last updated:** [October 4, 2019, 12:16pm UTC](https://discourse.processing.org/t/planets-with-shadows/14309 "2019-10-04T12:16:01Z")

</div>

hope someone can help me with this. I’m using the p5.js lib in webGL. I have a sphere as earth rotating around x,y,z coordinates (0,0,0 - where the sun would be) then a I have another smaller sphere rotating around earth…

---

## [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…

---

## [Audio Issue: Safari and iOS](https://discourse.processing.org/t/audio-issue-safari-and-ios/7485)

<div class="topic-metadata">

**Author:** [@djw](https://discourse.processing.org/u/djw)\
**Replies:** 2\
**Last updated:** [October 4, 2019, 1:45am UTC](https://discourse.processing.org/t/audio-issue-safari-and-ios/7485 "2019-10-04T01:45:28Z")

</div>

I’ve just been working on a simple p5.js script and thought it was working well as in Chrome things are fine: now.danieljwilson.com However I just get Loading... when I try to view it on Safari or on Chrome on my iPad. …

---

## [CC Fest LA - Oct 27 - Crossroads School](https://discourse.processing.org/t/cc-fest-la-oct-27-crossroads-school/14409)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 0\
**Last updated:** [October 4, 2019, 12:18am UTC](https://discourse.processing.org/t/cc-fest-la-oct-27-crossroads-school/14409 "2019-10-04T00:18:23Z")

</div>

Hi folks, I am excited to share that we are hosting CC Fest LA on October 27, Saturday, at Crossroads School in Santa Monica. CC Fest is a free and inclusion celebration of creative coding for students and teachers. Thi…

---

## [Saving and Loading .txt files (ANDROID)](https://discourse.processing.org/t/saving-and-loading-txt-files-android/14247)

<div class="topic-metadata">

**Author:** [@F53](https://discourse.processing.org/u/F53)\
**Replies:** 10\
**Last updated:** [October 3, 2019, 10:00pm UTC](https://discourse.processing.org/t/saving-and-loading-txt-files-android/14247 "2019-10-03T22:00:59Z")

</div>

TL;DR saving text files with "data/ex" paths gives an error that apparently can be solved with FileInputStream, but that class does not work/exist in processing 3.5.3. I am using text files for saving an individual top …

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

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