# Latest

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

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

**Page:** 433

---

## [Error with this save function](https://discourse.processing.org/t/error-with-this-save-function/15026)

<div class="topic-metadata">

**Author:** [@ozman](https://discourse.processing.org/u/ozman)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 4:50pm UTC](https://discourse.processing.org/t/error-with-this-save-function/15026 "2019-10-29T16:50:38Z")

</div>

Hi! Im trying to have a save function that allows you to select the folder it goes into. void keyPressed() { if(key == 'r'){ { setup(); } if(key ==' ') { selectFolder("select a folder to process","folderS…

---

## [Need help - very beginner](https://discourse.processing.org/t/need-help-very-beginner/14964)

<div class="topic-metadata">

**Author:** [@actuallyagod](https://discourse.processing.org/u/actuallyagod)\
**Replies:** 14\
**Last updated:** [October 29, 2019, 3:52pm UTC](https://discourse.processing.org/t/need-help-very-beginner/14964 "2019-10-29T15:52:53Z")

</div>

I have gotten a little school project, should be rather easy but i am completely lost. hope to find some help here. I am supposed to make something like this: https://gyazo.com/d9f0a1921c3eea3fc2fe6c691838be37 On the …

---

## [Display 2 succesive images](https://discourse.processing.org/t/display-2-succesive-images/14966)

<div class="topic-metadata">

**Author:** [@Y4niS](https://discourse.processing.org/u/Y4niS)\
**Replies:** 21\
**Last updated:** [October 29, 2019, 12:05pm UTC](https://discourse.processing.org/t/display-2-succesive-images/14966 "2019-10-29T12:05:02Z")

</div>

Hi, I aim to display, using Processing, two successive images separated by a time interval. After trying many methods I still can’t get a decent result.:pleading\_face: Here is how I proceeded : int maxImages = 2; PIm…

---

## [Processing versions](https://discourse.processing.org/t/processing-versions/14998)

<div class="topic-metadata">

**Author:** [@clementinagrillo](https://discourse.processing.org/u/clementinagrillo)\
**Replies:** 6\
**Last updated:** [October 29, 2019, 11:27am UTC](https://discourse.processing.org/t/processing-versions/14998 "2019-10-29T11:27:48Z")

</div>

Hello, I´m looking for processing old versions, I have an old macbook pro and the last version of Processing is not running. Does anyone know if it is possible to get one of these old versions?

---

## [Putting a point to the nearest grid intersection](https://discourse.processing.org/t/putting-a-point-to-the-nearest-grid-intersection/14999)

<div class="topic-metadata">

**Author:** [@johnsmith17](https://discourse.processing.org/u/johnsmith17)\
**Replies:** 1\
**Last updated:** [October 29, 2019, 10:31am UTC](https://discourse.processing.org/t/putting-a-point-to-the-nearest-grid-intersection/14999 "2019-10-29T10:31:28Z")

</div>

Hi im trying to make a grid with 10 columns and 10 rows and when mouse pressed a circle is placed to the nearest grid intersection. any idea how i can do this using arrays and loops to compare the distance between each c…

---

## [\[OSX\] runSketch from P3D only works for P3D subsketches](https://discourse.processing.org/t/osx-runsketch-from-p3d-only-works-for-p3d-subsketches/14949)

<div class="topic-metadata">

**Author:** [@onimatrix](https://discourse.processing.org/u/onimatrix)\
**Replies:** 3\
**Last updated:** [October 29, 2019, 4:00am UTC](https://discourse.processing.org/t/osx-runsketch-from-p3d-only-works-for-p3d-subsketches/14949 "2019-10-29T04:00:45Z")

</div>

Main sketch uses P3D. Second sketch uses default renderer. App freezes if using runSketch to spawn the second sketch, no console output. This happens in Processing 3.4 and OSX Mojave (10.14.6) All other combinations …

---

## ["Jyni" with Python mode](https://discourse.processing.org/t/jyni-with-python-mode/14548)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 8\
**Last updated:** [October 28, 2019, 10:47pm UTC](https://discourse.processing.org/t/jyni-with-python-mode/14548 "2019-10-28T22:47:34Z")

</div>

Dear all, I have recently heard about Jyni (tries to enable Jython to use native CPython extensions) and would like to test it with Python mode. I have 2 questions: Do you think it is compatible with Processing ? (la…

---

## [Using PoseNet/Runway on Processing](https://discourse.processing.org/t/using-posenet-runway-on-processing/14979)

<div class="topic-metadata">

**Author:** [@natttyk](https://discourse.processing.org/u/natttyk)\
**Replies:** 2\
**Last updated:** [October 28, 2019, 9:27pm UTC](https://discourse.processing.org/t/using-posenet-runway-on-processing/14979 "2019-10-28T21:27:00Z")

</div>

Hello! Newbie here. I’m using the PoseNet Library for Runway on Processing (https://github.com/runwayml/processing/blob/master/posenet/posenet.pde). The current examples only map out the joints in ellipses, but I want t…

---

## [Changing images with input key](https://discourse.processing.org/t/changing-images-with-input-key/14988)

<div class="topic-metadata">

**Author:** [@Kitty](https://discourse.processing.org/u/Kitty)\
**Replies:** 1\
**Last updated:** [October 28, 2019, 8:29pm UTC](https://discourse.processing.org/t/changing-images-with-input-key/14988 "2019-10-28T20:29:34Z")

</div>

I’m working with this java code and I would like to know how to change a displayed image with an input key. For example, change my currently display from im\[0\] to im\[2\]

---

## [Multi touch improvement](https://discourse.processing.org/t/multi-touch-improvement/14982)

<div class="topic-metadata">

**Author:** [@PhoenixStormJr](https://discourse.processing.org/u/PhoenixStormJr)\
**Replies:** 2\
**Last updated:** [October 28, 2019, 6:07pm UTC](https://discourse.processing.org/t/multi-touch-improvement/14982 "2019-10-28T18:07:21Z")

</div>

Hi everyone. I’m not sure if y’all need multi touch for Android but this will do the trick. I made some improvements to Ak Eric’s code. This new code can track which finger you removed and finger# is only false if you re…

---

## [Instances of classes always updating](https://discourse.processing.org/t/instances-of-classes-always-updating/14985)

<div class="topic-metadata">

**Author:** [@WeinSim](https://discourse.processing.org/u/WeinSim)\
**Replies:** 7\
**Last updated:** [October 28, 2019, 5:38pm UTC](https://discourse.processing.org/t/instances-of-classes-always-updating/14985 "2019-10-28T17:38:30Z")

</div>

Alright, so usually, when you have two variables, e.g. int i1 and int 2, and then you set i1 equal to i2 and change i2, the value in i1 stays put. int i1 = 5; int i2 = i1; i1 = 3; println(i1); //would print 5 But now …

---

## [App crashes after onStop() with P2D -- please help!](https://discourse.processing.org/t/app-crashes-after-onstop-with-p2d-please-help/14971)

<div class="topic-metadata">

**Author:** [@hunterkiddo](https://discourse.processing.org/u/hunterkiddo)\
**Replies:** 4\
**Last updated:** [October 28, 2019, 5:22pm UTC](https://discourse.processing.org/t/app-crashes-after-onstop-with-p2d-please-help/14971 "2019-10-28T17:22:47Z")

</div>

Hi, I’m using P2D in my fullscreen() because the default renderer runs my app at around 20 fps, whereas P2D can render it in full 60+ fps. However, a bug now occurs. When I press the “Recents” button or the home button t…

---

## [Sending dmx output? (not enttec)](https://discourse.processing.org/t/sending-dmx-output-not-enttec/14984)

<div class="topic-metadata">

**Author:** [@bananana](https://discourse.processing.org/u/bananana)\
**Replies:** 0\
**Last updated:** [October 28, 2019, 4:07pm UTC](https://discourse.processing.org/t/sending-dmx-output-not-enttec/14984 "2019-10-28T16:07:56Z")

</div>

Anyone have suggestions for usb devices that can send DMX and work with Processing? I have an enttec usb pro which works well but looking for something cheaper that I can use. Thanks!

---

## [Storing drawing data in array for P5 drawing application?](https://discourse.processing.org/t/storing-drawing-data-in-array-for-p5-drawing-application/14951)

<div class="topic-metadata">

**Author:** [@jaymesdec](https://discourse.processing.org/u/jaymesdec)\
**Replies:** 3\
**Last updated:** [October 28, 2019, 3:01pm UTC](https://discourse.processing.org/t/storing-drawing-data-in-array-for-p5-drawing-application/14951 "2019-10-28T15:01:24Z")

</div>

Hi I am trying to help out a few of my students with a question that they have about drawing programs that they are building in P5. Start by drawing to the canvas using: line(mouseX, mouseY, pmouseX, pmouseY Then if t…

---

## [Poisson-disc Sampling](https://discourse.processing.org/t/poisson-disc-sampling/14869)

<div class="topic-metadata">

**Author:** [@TimoL](https://discourse.processing.org/u/TimoL)\
**Replies:** 8\
**Last updated:** [October 28, 2019, 1:28pm UTC](https://discourse.processing.org/t/poisson-disc-sampling/14869 "2019-10-28T13:28:12Z")

</div>

Hi there, I’ve been working from one of Daniel Shiffman’s coding challenges and have been trying to implement it from P5.js to Processing. Im almost there but I always get an Array Index Out Of Bounds error (line 68). …

---

## [Resizing Kinect depth image for use as 'reveal mask'](https://discourse.processing.org/t/resizing-kinect-depth-image-for-use-as-reveal-mask/14764)

<div class="topic-metadata">

**Author:** [@dbvm](https://discourse.processing.org/u/dbvm)\
**Replies:** 2\
**Last updated:** [October 28, 2019, 10:09am UTC](https://discourse.processing.org/t/resizing-kinect-depth-image-for-use-as-reveal-mask/14764 "2019-10-28T10:09:12Z")

</div>

Hello all I’ve been programming interactive apps using a Kinect v2 model 1520 using Processing 3.5.3. This app will be for a top-down projection that uses a persons blob to reveal an image below another. In effect, the …

---

## [Sync for Processing](https://discourse.processing.org/t/sync-for-processing/14969)

<div class="topic-metadata">

**Author:** [@mcintyre](https://discourse.processing.org/u/mcintyre)\
**Replies:** 0\
**Last updated:** [October 27, 2019, 6:11pm UTC](https://discourse.processing.org/t/sync-for-processing/14969 "2019-10-27T18:11:15Z")

</div>

Hey y’all, I’ve been tinkering with a Processing implementation of the Kuramoto model of coupled oscillators and think it’s working well enough to share. The library supports different coupling arrangements as described…

---

## [Using Processing in Secondary School Art and Design Classes](https://discourse.processing.org/t/using-processing-in-secondary-school-art-and-design-classes/14848)

<div class="topic-metadata">

**Author:** [@Jane](https://discourse.processing.org/u/Jane)\
**Replies:** 3\
**Last updated:** [October 27, 2019, 9:37pm UTC](https://discourse.processing.org/t/using-processing-in-secondary-school-art-and-design-classes/14848 "2019-10-27T21:37:38Z")

</div>

Does anyone use processing in art and design classes in school? Does anyone know of any #research in this area?

---

## [Teaching p5js - what to do about svg?](https://discourse.processing.org/t/teaching-p5js-what-to-do-about-svg/14830)

<div class="topic-metadata">

**Author:** [@grhabyt](https://discourse.processing.org/u/grhabyt)\
**Replies:** 3\
**Last updated:** [October 27, 2019, 9:28pm UTC](https://discourse.processing.org/t/teaching-p5js-what-to-do-about-svg/14830 "2019-10-27T21:28:24Z")

</div>

I teach p5js to undergraduates as part of a Screen-Based Interaction Design course. It’s great until we get to intermediate data visualization. Importing json and drawing circles is fine, but what everyone wants to do, e…

---

## [Updating global variables inside draw() function](https://discourse.processing.org/t/updating-global-variables-inside-draw-function/14945)

<div class="topic-metadata">

**Author:** [@Ale2200](https://discourse.processing.org/u/Ale2200)\
**Replies:** 5\
**Last updated:** [October 27, 2019, 4:17pm UTC](https://discourse.processing.org/t/updating-global-variables-inside-draw-function/14945 "2019-10-27T16:17:14Z")

</div>

I cannot update global variables in the Draw() function and I think that is because it would be problematic to deal with a variable that gets updated x times per second (I suppose?), sorry but I’m totally new to p5js. Ho…

---

## [Color pixel spread algorithms](https://discourse.processing.org/t/color-pixel-spread-algorithms/14947)

<div class="topic-metadata">

**Author:** [@rojele](https://discourse.processing.org/u/rojele)\
**Replies:** 8\
**Last updated:** [October 27, 2019, 2:50pm UTC](https://discourse.processing.org/t/color-pixel-spread-algorithms/14947 "2019-10-27T14:50:49Z")

</div>

Hi, everyone, I’m trying to find an efficient algorithm that would allow me to expand a color in a non-regular and more organic way than a growing ellipse. What I would like to achieve is like a color getting disolved …

---

## [Accessing data from color picker array](https://discourse.processing.org/t/accessing-data-from-color-picker-array/14960)

<div class="topic-metadata">

**Author:** [@MackMurphy](https://discourse.processing.org/u/MackMurphy)\
**Replies:** 2\
**Last updated:** [October 27, 2019, 2:08pm UTC](https://discourse.processing.org/t/accessing-data-from-color-picker-array/14960 "2019-10-27T14:08:14Z")

</div>

Hi, I’m using createColorPicker in p5.js and was wondering if there was any way to individually access the r, g, and b values from it, rather than using the entire color with colorPickerName.color(), and if there is, wha…

---

## [Pixelflow library in Android](https://discourse.processing.org/t/pixelflow-library-in-android/10715)

<div class="topic-metadata">

**Author:** [@mrtn](https://discourse.processing.org/u/mrtn)\
**Replies:** 3\
**Last updated:** [October 27, 2019, 2:35am UTC](https://discourse.processing.org/t/pixelflow-library-in-android/10715 "2019-10-27T02:35:21Z")

</div>

Can somebody use the library Pixelflow on android? I have a code that runs on Windows, but on Android, after the builiding, I have these errors:

---

## [Random video generated for every mouse click](https://discourse.processing.org/t/random-video-generated-for-every-mouse-click/14958)

<div class="topic-metadata">

**Author:** [@szb1](https://discourse.processing.org/u/szb1)\
**Replies:** 6\
**Last updated:** [October 27, 2019, 1:51am UTC](https://discourse.processing.org/t/random-video-generated-for-every-mouse-click/14958 "2019-10-27T01:51:12Z")

</div>

Hi, I am trying to get a random video to play from an array but a selected number only for when I press the left or right click. For this I created two seperate variables to generate a random number. Every time I click…

---

## [Noise Buffering](https://discourse.processing.org/t/noise-buffering/14640)

<div class="topic-metadata">

**Author:** [@LordCacops](https://discourse.processing.org/u/LordCacops)\
**Replies:** 5\
**Last updated:** [October 26, 2019, 7:51pm UTC](https://discourse.processing.org/t/noise-buffering/14640 "2019-10-26T19:51:54Z")

</div>

Hey there! I am in a necessity to know how to create a buffer of perlin noise so that I can access that same stable noise data in different scenarios, and across different runs of the same program. In another thread som…

---

## [Creating Snake Game](https://discourse.processing.org/t/creating-snake-game/14954)

<div class="topic-metadata">

**Author:** [@Ephilorex](https://discourse.processing.org/u/Ephilorex)\
**Replies:** 3\
**Last updated:** [October 26, 2019, 2:30pm UTC](https://discourse.processing.org/t/creating-snake-game/14954 "2019-10-26T14:30:51Z")

</div>

Hi everyone! I am a beginner in Processing and for my assignment I would like to create a snake game. Here are my steps: Draw background Create apple system; spawn one in on the grid when another is eaten Death system…

---

## [Raspberry pi camera](https://discourse.processing.org/t/raspberry-pi-camera/14929)

<div class="topic-metadata">

**Author:** [@Whahahahaha](https://discourse.processing.org/u/Whahahahaha)\
**Replies:** 6\
**Last updated:** [October 25, 2019, 3:55pm UTC](https://discourse.processing.org/t/raspberry-pi-camera/14929 "2019-10-25T15:55:14Z")

</div>

hi, I have a raspberry pi 3B+, with processing installed, but I seem to not be able to use my camera module with processing. I’m using the GLvideo library, and just opening the simplecapture example. As noted I did enab…

---

## [Added sound to a program and now it crashes chrome](https://discourse.processing.org/t/added-sound-to-a-program-and-now-it-crashes-chrome/14946)

<div class="topic-metadata">

**Author:** [@Mike](https://discourse.processing.org/u/Mike)\
**Replies:** 13\
**Last updated:** [October 26, 2019, 3:38am UTC](https://discourse.processing.org/t/added-sound-to-a-program-and-now-it-crashes-chrome/14946 "2019-10-26T03:38:54Z")

</div>

Hey, I am making a project for my son who loves trains. It is all working decent at this time but as soon as i added the sound to the project and im running one of the mouse presses with the sound on it crashes chrome. …

---

## [Converting my Processing code to p5.js (ArrayList + others!)](https://discourse.processing.org/t/converting-my-processing-code-to-p5-js-arraylist-others/14936)

<div class="topic-metadata">

**Author:** [@Rod1C](https://discourse.processing.org/u/Rod1C)\
**Replies:** 2\
**Last updated:** [October 26, 2019, 2:31am UTC](https://discourse.processing.org/t/converting-my-processing-code-to-p5-js-arraylist-others/14936 "2019-10-26T02:31:18Z")

</div>

Hello there, I’m new to Processing and p5.js and am trying without success to translate this code from Processing to p5. The main thing I’m having an issue with is the ArrayList at line 21 & 26, and also the functions …

---

## [Some works over the years](https://discourse.processing.org/t/some-works-over-the-years/14899)

<div class="topic-metadata">

**Author:** [@cameyo](https://discourse.processing.org/u/cameyo)\
**Replies:** 6\
**Last updated:** [October 25, 2019, 9:31pm UTC](https://discourse.processing.org/t/some-works-over-the-years/14899 "2019-10-25T21:31:42Z")

</div>

Here is some sketches written with processing: https://github.com/cameyo42/processing-works Have a nice day.

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

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