# Latest

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

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

**Page:** 533

---

## [John Whitney Arabesque](https://discourse.processing.org/t/john-whitney-arabesque/7781)

<div class="topic-metadata">

**Author:** [@mchangxe](https://discourse.processing.org/u/mchangxe)\
**Replies:** 1\
**Last updated:** [January 24, 2019, 9:29am UTC](https://discourse.processing.org/t/john-whitney-arabesque/7781 "2019-01-24T09:29:48Z")

</div>

has anyone else tried to recreate the first animation in john whitney’s film “arabesque” (https://www.youtube.com/watch?v=sQrq7S0dP54&frags=pl%2Cwn)? im stuck on getting the second motion (from 1:21 to roughly 1:26) any …

---

## [【text\_to\_path】two lines cannot reveal along the path](https://discourse.processing.org/t/text-to-path-two-lines-cannot-reveal-along-the-path/7154)

<div class="topic-metadata">

**Author:** [@shang](https://discourse.processing.org/u/shang)\
**Replies:** 2\
**Last updated:** [January 24, 2019, 9:02am UTC](https://discourse.processing.org/t/text-to-path-two-lines-cannot-reveal-along-the-path/7154 "2019-01-24T09:02:30Z")

</div>

hi guys, i stuck in the situation that the tow text-line cannot reveal along the path. Following is the code … import tracer.\*; import tracer.paths.\*; //style int fgColor = #FFFFFF; //foreground color int bgColor = #DC…

---

## [Draw images (not movie)](https://discourse.processing.org/t/draw-images-not-movie/7740)

<div class="topic-metadata">

**Author:** [@Renaud](https://discourse.processing.org/u/Renaud)\
**Replies:** 3\
**Last updated:** [January 24, 2019, 8:49am UTC](https://discourse.processing.org/t/draw-images-not-movie/7740 "2019-01-24T08:49:23Z")

</div>

Hi everyone, Very easy question I guess… I am new to Processing and am trying the example codes proposed on Processing.org. I have tried the recursive tree which I find very nice. To make it a bit funnier I wanted to …

---

## [Output in Text file or spreadsheet possible with Processing?](https://discourse.processing.org/t/output-in-text-file-or-spreadsheet-possible-with-processing/7249)

<div class="topic-metadata">

**Author:** [@Astrid](https://discourse.processing.org/u/Astrid)\
**Replies:** 9\
**Last updated:** [January 24, 2019, 7:47am UTC](https://discourse.processing.org/t/output-in-text-file-or-spreadsheet-possible-with-processing/7249 "2019-01-24T07:47:23Z")

</div>

Hello dear Processing-Community! I am completely new to Processing as well as relatively new to programming in general. Someone suggested to use Processing for a task I wanted to achieve but now other people are telling…

---

## [Trimming Audio File Using P5.js](https://discourse.processing.org/t/trimming-audio-file-using-p5-js/7731)

<div class="topic-metadata">

**Author:** [@ahmedali](https://discourse.processing.org/u/ahmedali)\
**Replies:** 3\
**Last updated:** [January 24, 2019, 5:50am UTC](https://discourse.processing.org/t/trimming-audio-file-using-p5-js/7731 "2019-01-24T05:50:46Z")

</div>

Hi I have a question that can I trim the audio file that I recorded using p5.js?. I had to trim the first 3 seconds of my recorded file.May you help me.I will be very thankful to all of you after this act of kindness, Th…

---

## [Loading on PImage on top of another](https://discourse.processing.org/t/loading-on-pimage-on-top-of-another/7752)

<div class="topic-metadata">

**Author:** [@Cres](https://discourse.processing.org/u/Cres)\
**Replies:** 5\
**Last updated:** [January 24, 2019, 1:35am UTC](https://discourse.processing.org/t/loading-on-pimage-on-top-of-another/7752 "2019-01-24T01:35:26Z")

</div>

Hello I’m trying to load several images into a single PImage object but I’m having issues with transparancy. Rendering the images directly onto the screen goes flawlessly but I’m trying to “buffer” all the layers that m…

---

## [Using eye tracking / gaze data in creative coding with p5js](https://discourse.processing.org/t/using-eye-tracking-gaze-data-in-creative-coding-with-p5js/7143)

<div class="topic-metadata">

**Author:** [@haschdl](https://discourse.processing.org/u/haschdl)\
**Replies:** 0\
**Last updated:** [January 3, 2019, 9:27pm UTC](https://discourse.processing.org/t/using-eye-tracking-gaze-data-in-creative-coding-with-p5js/7143 "2019-01-03T21:27:18Z")

</div>

Hello! I created a service to expose eye-tracking data from Tobii to Javascript via web sockets. The animation below is a p5.js sketch connected to the service, and using the gaze position as the focal point of the anima…

---

## [Have code inside if else statement run continuosly](https://discourse.processing.org/t/have-code-inside-if-else-statement-run-continuosly/7765)

<div class="topic-metadata">

**Author:** [@tiedbranches](https://discourse.processing.org/u/tiedbranches)\
**Replies:** 6\
**Last updated:** [January 23, 2019, 5:45pm UTC](https://discourse.processing.org/t/have-code-inside-if-else-statement-run-continuosly/7765 "2019-01-23T17:45:51Z")

</div>

Hi, I’m trying to have different bits of code inside draw() run continuously but be activated by different key presses. The problem is that what is inside the if else statement only runs while I am pressing the key. Wh…

---

## [Better networking documentation?](https://discourse.processing.org/t/better-networking-documentation/7436)

<div class="topic-metadata">

**Author:** [@Bluu](https://discourse.processing.org/u/Bluu)\
**Replies:** 6\
**Last updated:** [January 23, 2019, 4:28pm UTC](https://discourse.processing.org/t/better-networking-documentation/7436 "2019-01-23T16:28:45Z")

</div>

I was looking at the processing.org documentation for networking, but it seemed to be just walls of useless text rather than a practical list of processing network commands. Is there a better resource for this?

---

## [Getting a sketch to load between two images on a web page](https://discourse.processing.org/t/getting-a-sketch-to-load-between-two-images-on-a-web-page/7734)

<div class="topic-metadata">

**Author:** [@akathewb](https://discourse.processing.org/u/akathewb)\
**Replies:** 2\
**Last updated:** [January 23, 2019, 2:53am UTC](https://discourse.processing.org/t/getting-a-sketch-to-load-between-two-images-on-a-web-page/7734 "2019-01-23T02:53:40Z")

</div>

I’d like the script with the sketch.js to load between the two images, but it keeps loading at the end of the two images. Just learning HTML so any help would be great! Thanks! Web page: http://www.abunchoffailures.com…

---

## [Ben Fry's PCD Opening Remarks](https://discourse.processing.org/t/ben-frys-pcd-opening-remarks/7753)

<div class="topic-metadata">

**Author:** [@Kevin](https://discourse.processing.org/u/Kevin)\
**Replies:** 0\
**Last updated:** [January 23, 2019, 2:11am UTC](https://discourse.processing.org/t/ben-frys-pcd-opening-remarks/7753 "2019-01-23T02:11:08Z")

</div>

Check out Ben Fry’s opening remarks for Processing Community Day: Every paragraph in this is beautiful and sums up why I love Processing better than I could explain myself. I definitely recommend reading if you have …

---

## [Points appearing "transparent"](https://discourse.processing.org/t/points-appearing-transparent/7729)

<div class="topic-metadata">

**Author:** [@Sarah](https://discourse.processing.org/u/Sarah)\
**Replies:** 3\
**Last updated:** [January 22, 2019, 10:28pm UTC](https://discourse.processing.org/t/points-appearing-transparent/7729 "2019-01-22T22:28:55Z")

</div>

When I’ve tried drawing points using a for loop to cover the screen it doesn’t appear to be completely solid: size(255, 255); noStroke(); fill(255, 0, 0); ellipse(100, 100, 100, 100); for (int i = 0; i \< 255; i++) { …

---

## [Immersive mode broken?](https://discourse.processing.org/t/immersive-mode-broken/7694)

<div class="topic-metadata">

**Author:** [@shedMusic](https://discourse.processing.org/u/shedMusic)\
**Replies:** 7\
**Last updated:** [January 22, 2019, 9:27pm UTC](https://discourse.processing.org/t/immersive-mode-broken/7694 "2019-01-22T21:27:02Z")

</div>

Hi Just upgrade my phone from 7.1 to 8.1 and seem to have lost immersive mode … bottom menu bar is permanently visible, I recall that immersive was set to be default behaviour for Android mode a year or so ago … or may…

---

## [Eclipse exporting as jar (not runnable jar)](https://discourse.processing.org/t/eclipse-exporting-as-jar-not-runnable-jar/7710)

<div class="topic-metadata">

**Author:** [@Mastermori](https://discourse.processing.org/u/Mastermori)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 7:45pm UTC](https://discourse.processing.org/t/eclipse-exporting-as-jar-not-runnable-jar/7710 "2019-01-22T19:45:03Z")

</div>

This is my first post so please ignore if I should be a bit inapt handling this ^^ So I am currently having a problem exporting a project I did with processing in eclipse. I imported the core.jar and set up everything …

---

## [How to press space key to toggle doubling the size of the rectangle?](https://discourse.processing.org/t/how-to-press-space-key-to-toggle-doubling-the-size-of-the-rectangle/7746)

<div class="topic-metadata">

**Author:** [@dxh188](https://discourse.processing.org/u/dxh188)\
**Replies:** 1\
**Last updated:** [January 22, 2019, 6:38pm UTC](https://discourse.processing.org/t/how-to-press-space-key-to-toggle-doubling-the-size-of-the-rectangle/7746 "2019-01-22T18:38:23Z")

</div>

float x = 400, y=100; int a=20,b=10; void setup() { size(800, 200); } void draw() { rect(x-10, y-5, a, b); } void keyPressed() { int k=' '; if (keyCode == RIGHT) …

---

## [Rounding float number](https://discourse.processing.org/t/rounding-float-number/7091)

<div class="topic-metadata">

**Author:** [@lodolfo](https://discourse.processing.org/u/lodolfo)\
**Replies:** 18\
**Last updated:** [January 22, 2019, 6:34pm UTC](https://discourse.processing.org/t/rounding-float-number/7091 "2019-01-22T18:34:19Z")

</div>

Hi, I’m a new person with Processing and Java language also. So I’m sorry if my question is stupid and it bothers you. I’m trying to calculate float numbers then print out the result. My code as below: float x, y ; fl…

---

## [Trash Granny - micro\_RPG\_style\_game - P5js P5Play](https://discourse.processing.org/t/trash-granny-micro-rpg-style-game-p5js-p5play/7419)

<div class="topic-metadata">

**Author:** [@codnpix](https://discourse.processing.org/u/codnpix)\
**Replies:** 5\
**Last updated:** [January 22, 2019, 6:20pm UTC](https://discourse.processing.org/t/trash-granny-micro-rpg-style-game-p5js-p5play/7419 "2019-01-22T18:20:20Z")

</div>

Hi there ! I share with you a little creation made at school : “Help this little grandma taking her garbage bag to the local trash can and fighting the many threats on her way !” http://51.75.126.56/trash-granny/index…

---

## [Weird behaviour with loadPixels() and updatePixels()](https://discourse.processing.org/t/weird-behaviour-with-loadpixels-and-updatepixels/7741)

<div class="topic-metadata">

**Author:** [@Kazuya\_Yoshimisu](https://discourse.processing.org/u/Kazuya_Yoshimisu)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 4:20pm UTC](https://discourse.processing.org/t/weird-behaviour-with-loadpixels-and-updatepixels/7741 "2019-01-22T16:20:03Z")

</div>

Hi everyone, I got this very short sample of code where for each pixel of my canvas I draw a shade of grey: function setup() { createCanvas(200,200) background(0) loadPixels() for(var y = 0; y \< height; y++) fo…

---

## [Reading swipe direction(left,up,down,right)](https://discourse.processing.org/t/reading-swipe-direction-left-up-down-right/7742)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 1\
**Last updated:** [January 22, 2019, 4:13pm UTC](https://discourse.processing.org/t/reading-swipe-direction-left-up-down-right/7742 "2019-01-22T16:13:58Z")

</div>

is there something similar to key (or keyCode) for Android?

---

## [Dungeon exploration game bug: no output](https://discourse.processing.org/t/dungeon-exploration-game-bug-no-output/7655)

<div class="topic-metadata">

**Author:** [@kwunlokalex](https://discourse.processing.org/u/kwunlokalex)\
**Replies:** 8\
**Last updated:** [January 22, 2019, 3:25pm UTC](https://discourse.processing.org/t/dungeon-exploration-game-bug-no-output/7655 "2019-01-22T15:25:20Z")

</div>

hi, i create a dungeon exploration game for my project, it is not done yet but i encounter some weird bug. There is not output (form print statement or the animation). I used python mode in here. Please provide help and …

---

## [license for package android SDK build-tools 26.0.2 not accepted"](https://discourse.processing.org/t/license-for-package-android-sdk-build-tools-26-0-2-not-accepted/7706)

<div class="topic-metadata">

**Author:** [@didier](https://discourse.processing.org/u/didier)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 9:04am UTC](https://discourse.processing.org/t/license-for-package-android-sdk-build-tools-26-0-2-not-accepted/7706 "2019-01-22T09:04:42Z")

</div>

Hello, I just installed version 3.5. After connecting my mobile phone (USB), I ran a program with Android mode. I got the message: “license for package android SDK build-tools 26.0.2 not accepted” and “build failed”. M…

---

## [Using Clear in CP5 to begin again. (I am very new)](https://discourse.processing.org/t/using-clear-in-cp5-to-begin-again-i-am-very-new/7724)

<div class="topic-metadata">

**Author:** [@angelman](https://discourse.processing.org/u/angelman)\
**Replies:** 3\
**Last updated:** [January 22, 2019, 8:16am UTC](https://discourse.processing.org/t/using-clear-in-cp5-to-begin-again-i-am-very-new/7724 "2019-01-22T08:16:25Z")

</div>

This is my sketch. The idea is to take a 6 digit number entry and display as a color bar the colors according to the numbers. I have 2 queries. Why is there a white bar at the beginning, and how to clear the display and…

---

## [Using open() in processing 2](https://discourse.processing.org/t/using-open-in-processing-2/7606)

<div class="topic-metadata">

**Author:** [@jeffmarc](https://discourse.processing.org/u/jeffmarc)\
**Replies:** 4\
**Last updated:** [January 22, 2019, 6:19am UTC](https://discourse.processing.org/t/using-open-in-processing-2/7606 "2019-01-22T06:19:13Z")

</div>

I know launch is the new open in 3.0+ but I use open to run .exe 's and everything works fine. I want to rename a file using open and the cmd .exe i tried: open(“rename c:\\path\\file.fil file.bak”) and nothing hap…

---

## [Parallax 3D effect](https://discourse.processing.org/t/parallax-3d-effect/7235)

<div class="topic-metadata">

**Author:** [@bryan](https://discourse.processing.org/u/bryan)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 5:56am UTC](https://discourse.processing.org/t/parallax-3d-effect/7235 "2019-01-22T05:56:20Z")

</div>

Hi everyone, i want to recreate the parallax effect as shown in https://www.youtube.com/watch?v=Jd3-eiid-Uw. but instead of using the wii control i’m gonna use the kinect for head tracking including his depth in the spac…

---

## [Find object center point coordinate with webcam](https://discourse.processing.org/t/find-object-center-point-coordinate-with-webcam/7722)

<div class="topic-metadata">

**Author:** [@yoshvale](https://discourse.processing.org/u/yoshvale)\
**Replies:** 1\
**Last updated:** [January 22, 2019, 5:30am UTC](https://discourse.processing.org/t/find-object-center-point-coordinate-with-webcam/7722 "2019-01-22T05:30:41Z")

</div>

Can processing capture an object and find the center point of the object (center point coordinate) In this case the object is QR Code, i want to move camera (which attached to robot arm) closer to object that i placed i…

---

## [Trying to make a google dinosaur game rip-off?](https://discourse.processing.org/t/trying-to-make-a-google-dinosaur-game-rip-off/5554)

<div class="topic-metadata">

**Author:** [@CyanNi](https://discourse.processing.org/u/CyanNi)\
**Replies:** 7\
**Last updated:** [January 22, 2019, 4:18am UTC](https://discourse.processing.org/t/trying-to-make-a-google-dinosaur-game-rip-off/5554 "2019-01-22T04:18:24Z")

</div>

Well, flappy bun?? The problem I have is that the image instead of going up and down—it stretches… Here’s the code! float bunHeight = 2; float speed = 1; PImage bun; void setup() { size(500,500); bun = loadImage(…

---

## [Issue with loadJSON](https://discourse.processing.org/t/issue-with-loadjson/7682)

<div class="topic-metadata">

**Author:** [@aliser](https://discourse.processing.org/u/aliser)\
**Replies:** 3\
**Last updated:** [January 21, 2019, 7:21am UTC](https://discourse.processing.org/t/issue-with-loadjson/7682 "2019-01-21T07:21:20Z")

</div>

How to use it for example with wikipedia api? On the request loadJSON("https://en.wikipedia.org/w/api.php?action=opensearch&search=unicorn, gotData, 'jsonp') I get a response in the form Uncaught (in promise) TypeErro…

---

## [Using Quaternions to rotate(3D)](https://discourse.processing.org/t/using-quaternions-to-rotate-3d/7624)

<div class="topic-metadata">

**Author:** [@aryakeyvan](https://discourse.processing.org/u/aryakeyvan)\
**Replies:** 6\
**Last updated:** [January 22, 2019, 1:24am UTC](https://discourse.processing.org/t/using-quaternions-to-rotate-3d/7624 "2019-01-22T01:24:21Z")

</div>

In my project I have used a complimentary filter to generate yaw, roll, and pitch angles. I used the rotateX, rotateY, and rotateZ functions to rotate a box in 3d. I ran into problems like gimbal lock when using this m…

---

## [Need help with collision detection of arrays](https://discourse.processing.org/t/need-help-with-collision-detection-of-arrays/7717)

<div class="topic-metadata">

**Author:** [@squirrel1969](https://discourse.processing.org/u/squirrel1969)\
**Replies:** 3\
**Last updated:** [January 22, 2019, 1:11am UTC](https://discourse.processing.org/t/need-help-with-collision-detection-of-arrays/7717 "2019-01-22T01:11:59Z")

</div>

Hello! I am trying to have a game where you shoot falling balls with a laser. I used an array to make the balls fall, so when I shoot one of the multiple balls they all reset. How do I make it so that you have to shoot …

---

## [\[imageLoad()\] disapear when i change size()](https://discourse.processing.org/t/imageload-disapear-when-i-change-size/7702)

<div class="topic-metadata">

**Author:** [@bMan](https://discourse.processing.org/u/bMan)\
**Replies:** 4\
**Last updated:** [January 22, 2019, 12:41am UTC](https://discourse.processing.org/t/imageload-disapear-when-i-change-size/7702 "2019-01-22T00:41:42Z")

</div>

Hi, guys! I’m super new here. I need some help :slight\_smile: I added a image with resolution for example 600x400, and set the size(600,400). Its perfectly works However, When i change size to another value for examp…

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

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