# Processing

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

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

**Page:** 238

---

## [New Release 3.5.4 (17 January 2020) for Raspberry? When?](https://discourse.processing.org/t/new-release-3-5-4-17-january-2020-for-raspberry-when/17609)

<div class="topic-metadata">

**Author:** [@f42ter](https://discourse.processing.org/u/f42ter)\
**Replies:** 1\
**Last updated:** [February 12, 2020, 12:09am UTC](https://discourse.processing.org/t/new-release-3-5-4-17-january-2020-for-raspberry-when/17609 "2020-02-12T00:09:45Z")

</div>

Are there any plans to publish a version for arm - Raspberry PI?

---

## [Writing text to a document (with fonts and whatnot)](https://discourse.processing.org/t/writing-text-to-a-document-with-fonts-and-whatnot/17428)

<div class="topic-metadata">

**Author:** [@tbenton](https://discourse.processing.org/u/tbenton)\
**Replies:** 15\
**Last updated:** [February 12, 2020, 12:02am UTC](https://discourse.processing.org/t/writing-text-to-a-document-with-fonts-and-whatnot/17428 "2020-02-12T00:02:41Z")

</div>

Hello Everyone! First time, long time. I’ve written a short program that reads data from several text files and then compiles it into a new text file. But this output file will include several paragraphs of text that fo…

---

## [lerpColor not working on Processing but working on CodePen](https://discourse.processing.org/t/lerpcolor-not-working-on-processing-but-working-on-codepen/17729)

<div class="topic-metadata">

**Author:** [@Pandoma](https://discourse.processing.org/u/Pandoma)\
**Replies:** 4\
**Last updated:** [February 11, 2020, 11:49pm UTC](https://discourse.processing.org/t/lerpcolor-not-working-on-processing-but-working-on-codepen/17729 "2020-02-11T23:49:27Z")

</div>

I have tried the following code on Processing 3.5.3 and CodePen (https://codepen.io/KevinWorkman/pen/vXZmvB?editors=1000 - paste code within it.) Problem - Apparently the lerpColor does not work with Processing but work…

---

## [How to name a save?](https://discourse.processing.org/t/how-to-name-a-save/17753)

<div class="topic-metadata">

**Author:** [@MadMarines](https://discourse.processing.org/u/MadMarines)\
**Replies:** 4\
**Last updated:** [February 11, 2020, 10:02pm UTC](https://discourse.processing.org/t/how-to-name-a-save/17753 "2020-02-11T22:02:38Z")

</div>

Hi !, I’m a french student (excuse my english), and I have a problem… :sob: I make a game levels creator and I want to give a name at the save, I know how to save but I don’t know how a can give a name at them. I will …

---

## [Help with loadData() please. +](https://discourse.processing.org/t/help-with-loaddata-please/17749)

<div class="topic-metadata">

**Author:** [@wcneill](https://discourse.processing.org/u/wcneill)\
**Replies:** 1\
**Last updated:** [February 11, 2020, 8:51pm UTC](https://discourse.processing.org/t/help-with-loaddata-please/17749 "2020-02-11T20:51:40Z")

</div>

I’m following along on the Coursera/UCSD class on Java programming. I realize this may be an Unfolding issue, but it seems that Unfolding and Processing are inextricably linked, so here I am. I’m getting a null pointer …

---

## [Size() not working](https://discourse.processing.org/t/size-not-working/17660)

<div class="topic-metadata">

**Author:** [@aradeea](https://discourse.processing.org/u/aradeea)\
**Replies:** 3\
**Last updated:** [February 11, 2020, 3:41pm UTC](https://discourse.processing.org/t/size-not-working/17660 "2020-02-11T15:41:14Z")

</div>

Hi there, I’m having problems with size(), it doesn’t work in any sketch. I have even tried to put in on settings() but it doesn’t work either. I have tried Processing 3.5.3 and 3.5.4. void setup(){ size(100,100); } …

---

## [Open file in folder and subfolders](https://discourse.processing.org/t/open-file-in-folder-and-subfolders/17552)

<div class="topic-metadata">

**Author:** [@plux](https://discourse.processing.org/u/plux)\
**Replies:** 6\
**Last updated:** [February 11, 2020, 2:12pm UTC](https://discourse.processing.org/t/open-file-in-folder-and-subfolders/17552 "2020-02-11T14:12:19Z")

</div>

Hello, I had this code working at some point. However I’m not sure what I’ve changed and now it’s broken. The method should open every file in a folder and in each subfolders (recursively) to check which one has less l…

---

## [Visually show when 2 pshape lines cross - transparency?](https://discourse.processing.org/t/visually-show-when-2-pshape-lines-cross-transparency/17694)

<div class="topic-metadata">

**Author:** [@martinh](https://discourse.processing.org/u/martinh)\
**Replies:** 4\
**Last updated:** [February 11, 2020, 11:41am UTC](https://discourse.processing.org/t/visually-show-when-2-pshape-lines-cross-transparency/17694 "2020-02-11T11:41:01Z")

</div>

Hi, I’m simply drawing lines for a schematic program using PShapes, and I want some visual indication when lines cross. I’d like to do this by controlling the transparency of the PShape lines so that a crossing would sho…

---

## [Processing Project: falling circles](https://discourse.processing.org/t/processing-project-falling-circles/17712)

<div class="topic-metadata">

**Author:** [@kandrews](https://discourse.processing.org/u/kandrews)\
**Replies:** 1\
**Last updated:** [February 11, 2020, 10:12am UTC](https://discourse.processing.org/t/processing-project-falling-circles/17712 "2020-02-11T10:12:08Z")

</div>

so I’m working on code and I’ve created a falling circle code. right now the circle have random diameter, speed, color, and etc. I’m trying to make the circles interact for a project. every time the circles overlap they …

---

## [Making 3D walls visible](https://discourse.processing.org/t/making-3d-walls-visible/17708)

<div class="topic-metadata">

**Author:** [@Camalf](https://discourse.processing.org/u/Camalf)\
**Replies:** 3\
**Last updated:** [February 11, 2020, 9:34am UTC](https://discourse.processing.org/t/making-3d-walls-visible/17708 "2020-02-11T09:34:31Z")

</div>

I have a 3d box bouncing sim, with a camera around the mouse. anyways i want to make the walls different colors so u can tell its 3d, heres my code. float x; float y; int xa; int xb; int xdirection = 1; int ydirect…

---

## [Handle (and consume) mouse events in classes](https://discourse.processing.org/t/handle-and-consume-mouse-events-in-classes/17689)

<div class="topic-metadata">

**Author:** [@Alex\_Pr](https://discourse.processing.org/u/Alex_Pr)\
**Replies:** 3\
**Last updated:** [February 11, 2020, 1:30am UTC](https://discourse.processing.org/t/handle-and-consume-mouse-events-in-classes/17689 "2020-02-11T01:30:23Z")

</div>

Is there a way to handle (and consume) mouse events within classes, hierarchically, instead of having to call the handlers from, say, the mousePressed() method? Registering the class methods works for handling the event…

---

## [Cannot do if/else statement with Arduino PIR motion sensor](https://discourse.processing.org/t/cannot-do-if-else-statement-with-arduino-pir-motion-sensor/17679)

<div class="topic-metadata">

**Author:** [@arduinonoob](https://discourse.processing.org/u/arduinonoob)\
**Replies:** 3\
**Last updated:** [February 10, 2020, 11:15pm UTC](https://discourse.processing.org/t/cannot-do-if-else-statement-with-arduino-pir-motion-sensor/17679 "2020-02-10T23:15:02Z")

</div>

Project overview: I am connecting an Arduino to processing because I want to speed up/speed down a video through LOW/HIGH on the motion sensor. When the motion sensor detects movement, I need the speed of the video to sl…

---

## [Use javax.swing](https://discourse.processing.org/t/use-javax-swing/17669)

<div class="topic-metadata">

**Author:** [@creepercrack](https://discourse.processing.org/u/creepercrack)\
**Replies:** 2\
**Last updated:** [February 9, 2020, 6:45pm UTC](https://discourse.processing.org/t/use-javax-swing/17669 "2020-02-09T18:45:13Z")

</div>

Hi Just some questions regarding using swing: I want to make a sketch that uses javax.swing for the ui buttons and stuff: Does processing have a default JFrame tha I should use (the one I’m interested in)? I have to …

---

## [How to access the sub-arrays of an Array list?](https://discourse.processing.org/t/how-to-access-the-sub-arrays-of-an-array-list/17695)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 4\
**Last updated:** [February 10, 2020, 7:16pm UTC](https://discourse.processing.org/t/how-to-access-the-sub-arrays-of-an-array-list/17695 "2020-02-10T19:16:45Z")

</div>

Hi, Can someone kindly explain how to access the sub arrays of an ArrayList in Processing Java ? The example below throws a casting error when I try to get of the sub-arrays at a specific index. cannot convert from O…

---

## [Can't import AWS library](https://discourse.processing.org/t/cant-import-aws-library/17623)

<div class="topic-metadata">

**Author:** [@Hubbit200](https://discourse.processing.org/u/Hubbit200)\
**Replies:** 1\
**Last updated:** [February 10, 2020, 6:45pm UTC](https://discourse.processing.org/t/cant-import-aws-library/17623 "2020-02-10T18:45:21Z")

</div>

I’ve been trying to work this out for a few days, but I’m starting to give up… How do I import and use the Amazon AWS 2.0 SDK in Processing? I want to use Amazon DynamoDB to be able to have a few variables (highscores,…

---

## [How to change vertical stripes to angled stripes?](https://discourse.processing.org/t/how-to-change-vertical-stripes-to-angled-stripes/17690)

<div class="topic-metadata">

**Author:** [@ottenm](https://discourse.processing.org/u/ottenm)\
**Replies:** 2\
**Last updated:** [February 10, 2020, 4:52pm UTC](https://discourse.processing.org/t/how-to-change-vertical-stripes-to-angled-stripes/17690 "2020-02-10T16:52:17Z")

</div>

I have a sketch that divides the screen into a bunch of vertical stripes, with each stripe drawn in a distinct color. I have the colors stored in an ArrayList and I use lerpColor() to gradually fade each stripe into the…

---

## [Help with making vector array with specified coordinates](https://discourse.processing.org/t/help-with-making-vector-array-with-specified-coordinates/17671)

<div class="topic-metadata">

**Author:** [@Dangeroustuber](https://discourse.processing.org/u/Dangeroustuber)\
**Replies:** 3\
**Last updated:** [February 10, 2020, 2:31pm UTC](https://discourse.processing.org/t/help-with-making-vector-array-with-specified-coordinates/17671 "2020-02-10T14:31:44Z")

</div>

Hello. I would like help implementing this idea from C# code to processing private Point\[\] grads = new Point\[\] { new Point(0, 1), new Point(1, 1), new Point(1, 0), new Point(1, -1), new Point(0, -1), new Point…

---

## [2D Perlin noise function](https://discourse.processing.org/t/2d-perlin-noise-function/17602)

<div class="topic-metadata">

**Author:** [@Dangeroustuber](https://discourse.processing.org/u/Dangeroustuber)\
**Replies:** 3\
**Last updated:** [February 10, 2020, 2:09pm UTC](https://discourse.processing.org/t/2d-perlin-noise-function/17602 "2020-02-10T14:09:20Z")

</div>

I will keep this brief, im trying to implement my own perlin noise function. It does not work, why does it not work? How can i make it work? I also want to add the fact that i have been programming in proccessing for …

---

## [Help! making a game project](https://discourse.processing.org/t/help-making-a-game-project/17681)

<div class="topic-metadata">

**Author:** [@Thaunagamer](https://discourse.processing.org/u/Thaunagamer)\
**Replies:** 1\
**Last updated:** [February 10, 2020, 12:57pm UTC](https://discourse.processing.org/t/help-making-a-game-project/17681 "2020-02-10T12:57:34Z")

</div>

Back again. This portion is part of one of my levels where i have 5 levels with platforms the “player” (shape) is suppose to navigate through with out touching. on my previous level i was able to make to 2 levels with p…

---

## [Playing video with PIR motion sensor](https://discourse.processing.org/t/playing-video-with-pir-motion-sensor/8214)

<div class="topic-metadata">

**Author:** [@kud7](https://discourse.processing.org/u/kud7)\
**Replies:** 11\
**Last updated:** [February 10, 2020, 3:25am UTC](https://discourse.processing.org/t/playing-video-with-pir-motion-sensor/8214 "2020-02-10T03:25:18Z")

</div>

Processing sketch working great, which i can play video from hdd and PIR motion sensor detect my motion but actually i want to trigger video or Processing sketch from with PIR motion sensor. I also tested motion sensor w…

---

## [Kinect v1 \*\*I am trying to trigger sound files as my body moves\*\*](https://discourse.processing.org/t/kinect-v1-i-am-trying-to-trigger-sound-files-as-my-body-moves/17664)

<div class="topic-metadata">

**Author:** [@chi](https://discourse.processing.org/u/chi)\
**Replies:** 2\
**Last updated:** [February 9, 2020, 4:44pm UTC](https://discourse.processing.org/t/kinect-v1-i-am-trying-to-trigger-sound-files-as-my-body-moves/17664 "2020-02-09T16:44:00Z")

</div>

Hi! I am new to processing and the kinect, I am trying to play a sound files as my body moves - specifically joints (i.e right arm in x position triggers an audio file ) any links to tutorials or any help at all will be…

---

## [PIR motion sensor, Arduino, Processing, not working](https://discourse.processing.org/t/pir-motion-sensor-arduino-processing-not-working/17655)

<div class="topic-metadata">

**Author:** [@arduinonoob](https://discourse.processing.org/u/arduinonoob)\
**Replies:** 4\
**Last updated:** [February 9, 2020, 4:13pm UTC](https://discourse.processing.org/t/pir-motion-sensor-arduino-processing-not-working/17655 "2020-02-09T16:13:11Z")

</div>

I need help asap please Hello, I am trying to get a mp4 video to play in processing whenever motion is detected in Arduino and then I need it to pause when motion ends. I am a student and I have been trying for 10 hours…

---

## [Problem with mouseY: I can’t bring animation to work](https://discourse.processing.org/t/problem-with-mousey-i-can-t-bring-animation-to-work/17635)

<div class="topic-metadata">

**Author:** [@nausheen](https://discourse.processing.org/u/nausheen)\
**Replies:** 4\
**Last updated:** [February 8, 2020, 2:59pm UTC](https://discourse.processing.org/t/problem-with-mousey-i-can-t-bring-animation-to-work/17635 "2020-02-08T14:59:50Z")

</div>

I have used mouseY in my project but i cnt see any animation, there is no error on the console as well. Can someone please tell me the cases wherein mouseY is suppressed

---

## [How to save an image correctly?](https://discourse.processing.org/t/how-to-save-an-image-correctly/17638)

<div class="topic-metadata">

**Author:** [@maxrussell](https://discourse.processing.org/u/maxrussell)\
**Replies:** 4\
**Last updated:** [February 8, 2020, 1:44pm UTC](https://discourse.processing.org/t/how-to-save-an-image-correctly/17638 "2020-02-08T13:44:06Z")

</div>

How do I correctly save my image to a file? void setup() { size(312, 161); //size(624, 712); img1 = loadImage("spaceodyssey.jpg"); img2 = loadImage("spaceodyssey.jpg"); img1.filter(POSTERIZE, 7.5); img1.filt…

---

## [G4P Sliders dance in Class](https://discourse.processing.org/t/g4p-sliders-dance-in-class/17404)

<div class="topic-metadata">

**Author:** [@H\_Bacardi](https://discourse.processing.org/u/H_Bacardi)\
**Replies:** 12\
**Last updated:** [February 8, 2020, 10:16am UTC](https://discourse.processing.org/t/g4p-sliders-dance-in-class/17404 "2020-02-08T10:16:16Z")

</div>

Hello community :man\_technologist: I want to increase the slider movements in variable steps und schau/see also this increments. For example from start-position 0 to end-position 60, the slider should move in one steps:…

---

## [How do I set these circles up?](https://discourse.processing.org/t/how-do-i-set-these-circles-up/17567)

<div class="topic-metadata">

**Author:** [@ImConfused](https://discourse.processing.org/u/ImConfused)\
**Replies:** 10\
**Last updated:** [February 8, 2020, 9:25am UTC](https://discourse.processing.org/t/how-do-i-set-these-circles-up/17567 "2020-02-08T09:25:02Z")

</div>

I’m having a hard time figuring out how to change the colors and how to set up the circles.Help a example would help

---

## [Getting Raw Mouse Data](https://discourse.processing.org/t/getting-raw-mouse-data/17617)

<div class="topic-metadata">

**Author:** [@jim8000](https://discourse.processing.org/u/jim8000)\
**Replies:** 1\
**Last updated:** [February 7, 2020, 11:25pm UTC](https://discourse.processing.org/t/getting-raw-mouse-data/17617 "2020-02-07T23:25:48Z")

</div>

Hi, New to forum and to Processing. I am trying to get raw mouse data before Windows massages it. I am trying to keep track of rough position over a large 3 foot by 3 foot area. I have used this method to first update my…

---

## [Error message in Use of "Kinect V2 for Processing"](https://discourse.processing.org/t/error-message-in-use-of-kinect-v2-for-processing/11065)

<div class="topic-metadata">

**Author:** [@Sleaz](https://discourse.processing.org/u/Sleaz)\
**Replies:** 1\
**Last updated:** [February 7, 2020, 10:09pm UTC](https://discourse.processing.org/t/error-message-in-use-of-kinect-v2-for-processing/11065 "2020-02-07T22:09:48Z")

</div>

Hello, I try to run an example of a library “Kinect v2 for Processing” but when the program start, it can’t run properly. Did someone know how to make it works? Here is the message i got: java.lang.UnsatisfiedLinkError…

---

## [Help with PacMan](https://discourse.processing.org/t/help-with-pacman/17590)

<div class="topic-metadata">

**Author:** [@ImDaGr3en](https://discourse.processing.org/u/ImDaGr3en)\
**Replies:** 2\
**Last updated:** [February 7, 2020, 9:49pm UTC](https://discourse.processing.org/t/help-with-pacman/17590 "2020-02-07T21:49:56Z")

</div>

It’s me another time… Yap, I’m trying in making a PacMan-like mini-game, and as you know in this game 4 different AI is needed. All of them, anyways, are based on the Dijkstra path finding algorithm, that should help th…

---

## [How to do a true or false game?](https://discourse.processing.org/t/how-to-do-a-true-or-false-game/15963)

<div class="topic-metadata">

**Author:** [@Ladan](https://discourse.processing.org/u/Ladan)\
**Replies:** 36\
**Last updated:** [February 7, 2020, 8:38pm UTC](https://discourse.processing.org/t/how-to-do-a-true-or-false-game/15963 "2020-02-07T20:38:59Z")

</div>

Hello! I want to make a true or false game, with these questions: String Question1 = "Wir haben einen nicht gelisteten Helfer."; String Question2 = " Wir sind das erste Mal dabei."; String Question3 = "Unser …

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

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