# Latest

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

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

**Page:** 287

---

## [DIY made Voice Interaction Weather Station on Raspberry Pi](https://discourse.processing.org/t/diy-made-voice-interaction-weather-station-on-raspberry-pi/25362)

<div class="topic-metadata">

**Author:** [@Makerhe](https://discourse.processing.org/u/Makerhe)\
**Replies:** 1\
**Last updated:** [November 14, 2020, 8:46am UTC](https://discourse.processing.org/t/diy-made-voice-interaction-weather-station-on-raspberry-pi/25362 "2020-11-14T08:46:08Z")

</div>

Here is a DIY made Voice Interaction Weather Station on Raspberry Pi, it using the Voice Interaction hat for raspberry pi, with onboard speaker and mic, I would be happy to hear your suggestions:) Check my detail video …

---

## [I need help with my code(scale problem)](https://discourse.processing.org/t/i-need-help-with-my-code-scale-problem/25388)

<div class="topic-metadata">

**Author:** [@Fungineer1](https://discourse.processing.org/u/Fungineer1)\
**Replies:** 1\
**Last updated:** [November 14, 2020, 8:06am UTC](https://discourse.processing.org/t/i-need-help-with-my-code-scale-problem/25388 "2020-11-14T08:06:04Z")

</div>

please format code with \</\> button \* homework policy \* asking questions So I was working on my code, which is to draw three bees, and each time they bounce on to wall or hive, they would bounce back(aka change their …

---

## [Processing.js with java and html things](https://discourse.processing.org/t/processing-js-with-java-and-html-things/25409)

<div class="topic-metadata">

**Author:** [@candydope](https://discourse.processing.org/u/candydope)\
**Replies:** 1\
**Last updated:** [November 14, 2020, 7:05am UTC](https://discourse.processing.org/t/processing-js-with-java-and-html-things/25409 "2020-11-14T07:05:31Z")

</div>

referencing this page, (https://forum.processing.org/two/discussion/6179/why-does-not-it-run-clipboard) I made a project which can create short text(string) and copy the text to clipboard. I’m trying to post this sketch…

---

## [.JAVA source file operating in processing](https://discourse.processing.org/t/java-source-file-operating-in-processing/25402)

<div class="topic-metadata">

**Author:** [@Tomabi](https://discourse.processing.org/u/Tomabi)\
**Replies:** 2\
**Last updated:** [November 13, 2020, 11:17pm UTC](https://discourse.processing.org/t/java-source-file-operating-in-processing/25402 "2020-11-13T23:17:40Z")

</div>

Hello everyone, I am a newbie Processing… I wanna open a source file made by processing and that is based on JAVA. Link: https://bitbucket.org/hues/fast-fluid-dynamics/src/master/ I’ve tried to operate this code, but…

---

## [JOB: Hiring ITP/IMA teachers for NYU Shanghai Spring 2021 – ITP Opportunities](https://discourse.processing.org/t/job-hiring-itp-ima-teachers-for-nyu-shanghai-spring-2021-itp-opportunities/25406)

<div class="topic-metadata">

**Author:** [@shiffman](https://discourse.processing.org/u/shiffman)\
**Replies:** 0\
**Last updated:** [November 13, 2020, 11:54pm UTC](https://discourse.processing.org/t/job-hiring-itp-ima-teachers-for-nyu-shanghai-spring-2021-itp-opportunities/25406 "2020-11-13T23:54:35Z")

</div>

I’m looking for someone to help assist with NYU’s Nature of Code course in Shanghai, China! If you are interested or know someone who might be please contact me directly at daniel.shiffman@nyu.edu! More info below! http…

---

## [ControlP5 examples for separate control frames not working](https://discourse.processing.org/t/controlp5-examples-for-separate-control-frames-not-working/25404)

<div class="topic-metadata">

**Author:** [@snaders](https://discourse.processing.org/u/snaders)\
**Replies:** 2\
**Last updated:** [November 13, 2020, 7:36pm UTC](https://discourse.processing.org/t/controlp5-examples-for-separate-control-frames-not-working/25404 "2020-11-13T19:36:56Z")

</div>

I’ve seen a lot of posts and links about controlP5, but I can’t seem to find an answer anywhere. Also there are a lot of dead links everywhere, including on the Github page of the controlP5 library itself. I have the la…

---

## [Visual Music for Mobile Devices](https://discourse.processing.org/t/visual-music-for-mobile-devices/23314)

<div class="topic-metadata">

**Author:** [@mnoble](https://discourse.processing.org/u/mnoble)\
**Replies:** 15\
**Last updated:** [November 13, 2020, 5:36am UTC](https://discourse.processing.org/t/visual-music-for-mobile-devices/23314 "2020-11-13T05:36:37Z")

</div>

Hello Forum, I wouldn’t call this project a heroic feat in programming but I am hoping it provides a nice user experience for people waiting at the airport. The project is called \[Sky\]\[Muse\] and is part of a series of s…

---

## [Trying to use boolean and if statement to do colour collision detection (Tron)](https://discourse.processing.org/t/trying-to-use-boolean-and-if-statement-to-do-colour-collision-detection-tron/25399)

<div class="topic-metadata">

**Author:** [@TheGullible1](https://discourse.processing.org/u/TheGullible1)\
**Replies:** 3\
**Last updated:** [November 13, 2020, 2:51pm UTC](https://discourse.processing.org/t/trying-to-use-boolean-and-if-statement-to-do-colour-collision-detection-tron/25399 "2020-11-13T14:51:40Z")

</div>

So i have created the tron light bike and now I want it that when it crashes it I want it maybe to reset and then go again. for this I’m using of a crash detection function using get to check the pixel colour, a crash ha…

---

## [Tron Light Cycle project I'm making](https://discourse.processing.org/t/tron-light-cycle-project-im-making/25398)

<div class="topic-metadata">

**Author:** [@TheGullible1](https://discourse.processing.org/u/TheGullible1)\
**Replies:** 1\
**Last updated:** [November 13, 2020, 12:38pm UTC](https://discourse.processing.org/t/tron-light-cycle-project-im-making/25398 "2020-11-13T12:38:16Z")

</div>

JAVA\*\* so im trying to move my point continuously when a key is pressed it will only move that direction. //arrow keys to draw float x,y; int speedY = 0; int speedX = 1; void setup(){ size(500,500); background(255,…

---

## [Visualizing Lyrics?](https://discourse.processing.org/t/visualizing-lyrics/25383)

<div class="topic-metadata">

**Author:** [@dgoren1](https://discourse.processing.org/u/dgoren1)\
**Replies:** 3\
**Last updated:** [November 13, 2020, 12:36pm UTC](https://discourse.processing.org/t/visualizing-lyrics/25383 "2020-11-13T12:36:51Z")

</div>

Hi all! I’m trying to write a program that displays the lyrics to a song one at a time. Currently, I’ve written the program to display one word at a time and control when each word is displayed using a conditional state…

---

## [App Like instagram](https://discourse.processing.org/t/app-like-instagram/25348)

<div class="topic-metadata">

**Author:** [@Magical](https://discourse.processing.org/u/Magical)\
**Replies:** 10\
**Last updated:** [November 13, 2020, 8:09am UTC](https://discourse.processing.org/t/app-like-instagram/25348 "2020-11-13T08:09:40Z")

</div>

Is it possible to program an app like Instagram with Processing? if so how should we do a community project?

---

## [Is it possible to save any data produced with sketch on web?](https://discourse.processing.org/t/is-it-possible-to-save-any-data-produced-with-sketch-on-web/25386)

<div class="topic-metadata">

**Author:** [@candydope](https://discourse.processing.org/u/candydope)\
**Replies:** 5\
**Last updated:** [November 13, 2020, 7:27am UTC](https://discourse.processing.org/t/is-it-possible-to-save-any-data-produced-with-sketch-on-web/25386 "2020-11-13T07:27:17Z")

</div>

hello, I’m newbie for coding. I use processing mostly for art projects. now I’m working on coding for my friend’s project which is about writing a poem with limited words on web site. I managed to make sketch which seem…

---

## [Running any processing program freezes macbook](https://discourse.processing.org/t/running-any-processing-program-freezes-macbook/25381)

<div class="topic-metadata">

**Author:** [@Grimtin10](https://discourse.processing.org/u/Grimtin10)\
**Replies:** 2\
**Last updated:** [November 13, 2020, 12:25am UTC](https://discourse.processing.org/t/running-any-processing-program-freezes-macbook/25381 "2020-11-13T00:25:05Z")

</div>

Specs: MacBook Pro MacOS Catalina 10.15.7 8 GB Memory Any processing program (even a blank program that just makes a window) freezes macbook causing it to run slowly only updating mouse smoothly. (updating all other …

---

## [Playing +6 Audio Files Simultaneously, Without Delay or Lag](https://discourse.processing.org/t/playing-6-audio-files-simultaneously-without-delay-or-lag/25034)

<div class="topic-metadata">

**Author:** [@dgoren1](https://discourse.processing.org/u/dgoren1)\
**Replies:** 2\
**Last updated:** [November 12, 2020, 11:00pm UTC](https://discourse.processing.org/t/playing-6-audio-files-simultaneously-without-delay-or-lag/25034 "2020-11-12T23:00:17Z")

</div>

Hello! Quick Question: I’m building a program that visualizes multiple audio files together at once. My program was working fine with just 3 audio files, but now that I’m loading and playing 7 audio files at once, the …

---

## [Particles inside a 3D object to be attracted](https://discourse.processing.org/t/particles-inside-a-3d-object-to-be-attracted/25375)

<div class="topic-metadata">

**Author:** [@BlueJack](https://discourse.processing.org/u/BlueJack)\
**Replies:** 1\
**Last updated:** [November 12, 2020, 7:08pm UTC](https://discourse.processing.org/t/particles-inside-a-3d-object-to-be-attracted/25375 "2020-11-12T19:08:50Z")

</div>

Hello, what is an effective way to deal with particles trapped inside a 3D object (box or cylinder, for exaple) being attracted by outer particle. The result is to get inside particles moving forward to the attractor, th…

---

## [Click Image to Make Sound Play](https://discourse.processing.org/t/click-image-to-make-sound-play/24668)

<div class="topic-metadata">

**Author:** [@charmypatel](https://discourse.processing.org/u/charmypatel)\
**Replies:** 16\
**Last updated:** [November 12, 2020, 9:50pm UTC](https://discourse.processing.org/t/click-image-to-make-sound-play/24668 "2020-11-12T21:50:51Z")

</div>

I’m trying to add a mouse press event to an image which I think is possible since I’ve seen may questions posted about it on the forum. However I have an image of a play button. I want to use this image as a button to pl…

---

## [Change object direction when reaching edges](https://discourse.processing.org/t/change-object-direction-when-reaching-edges/24761)

<div class="topic-metadata">

**Author:** [@lukeltw](https://discourse.processing.org/u/lukeltw)\
**Replies:** 16\
**Last updated:** [November 12, 2020, 7:40pm UTC](https://discourse.processing.org/t/change-object-direction-when-reaching-edges/24761 "2020-11-12T19:40:06Z")

</div>

How can I change the direction of my image? As you know, a fish has a head, unlike a ball, each side could be its head, so when my fish reach the right side, I want to let them turn around, and now they are just moving…

---

## [Tone.js embedded/presentation does not work in Chrome browser](https://discourse.processing.org/t/tone-js-embedded-presentation-does-not-work-in-chrome-browser/25046)

<div class="topic-metadata">

**Author:** [@cpt.credible](https://discourse.processing.org/u/cpt.credible)\
**Replies:** 5\
**Last updated:** [November 12, 2020, 11:24am UTC](https://discourse.processing.org/t/tone-js-embedded-presentation-does-not-work-in-chrome-browser/25046 "2020-11-12T11:24:20Z")

</div>

Hi, I am having trouble getting a sequencer to run when embedded on a site in Chrome. E.G. this sketch runs fine in the editor: but when you try to embed or run it in presentation mode on chrome, the play button stops…

---

## [Gradient along a row of squares](https://discourse.processing.org/t/gradient-along-a-row-of-squares/25355)

<div class="topic-metadata">

**Author:** [@Pugsofwar](https://discourse.processing.org/u/Pugsofwar)\
**Replies:** 2\
**Last updated:** [November 12, 2020, 9:24am UTC](https://discourse.processing.org/t/gradient-along-a-row-of-squares/25355 "2020-11-12T09:24:00Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I’m trying to create a row of squares and the gradient from white to black using a for loop but I am struggling with it

---

## [Please Help me for Text Function ! I am noob](https://discourse.processing.org/t/please-help-me-for-text-function-i-am-noob/25356)

<div class="topic-metadata">

**Author:** [@AzizurRahman](https://discourse.processing.org/u/AzizurRahman)\
**Replies:** 5\
**Last updated:** [November 12, 2020, 8:39am UTC](https://discourse.processing.org/t/please-help-me-for-text-function-i-am-noob/25356 "2020-11-12T08:39:46Z")

</div>

Hi everyone I am A beginner. I wrote this code so far. And I want make output texts in way so that it is has only 5 column inside the screen and when the output is bigger than width it goes to new line under the previous…

---

## [I am a beginner, please help!](https://discourse.processing.org/t/i-am-a-beginner-please-help/25336)

<div class="topic-metadata">

**Author:** [@AzizurRahman](https://discourse.processing.org/u/AzizurRahman)\
**Replies:** 12\
**Last updated:** [November 12, 2020, 2:01am UTC](https://discourse.processing.org/t/i-am-a-beginner-please-help/25336 "2020-11-12T02:01:06Z")

</div>

i need to make something in which when user inputs some string it got converted into another sets of string

---

## [Spout + open cv](https://discourse.processing.org/t/spout-open-cv/25353)

<div class="topic-metadata">

**Author:** [@Heidacraft](https://discourse.processing.org/u/Heidacraft)\
**Replies:** 0\
**Last updated:** [November 11, 2020, 7:31pm UTC](https://discourse.processing.org/t/spout-open-cv/25353 "2020-11-11T19:31:49Z")

</div>

Hi, im trying to send this interactive code from open cv, to arkaos with spout. I dont know what im doing wrong, but i can´t make it works. Thanks for the help :slight\_smile: import gab.opencv.; import processing.video…

---

## [RNG Cave Explorer](https://discourse.processing.org/t/rng-cave-explorer/25350)

<div class="topic-metadata">

**Author:** [@Aoyanco](https://discourse.processing.org/u/Aoyanco)\
**Replies:** 0\
**Last updated:** [November 11, 2020, 6:26pm UTC](https://discourse.processing.org/t/rng-cave-explorer/25350 "2020-11-11T18:26:52Z")

</div>

I made a RNG Cave designer! You can walk around with a decent physics system, and explore the cave! int cols; int rows; int bias=42; int\[\]\[\] grid; int\[\]\[\] finalGrid; int onGroundTimer=1000000000; boolean isColliding; in…

---

## [WEBGL Color Alpha Bug?](https://discourse.processing.org/t/webgl-color-alpha-bug/25080)

<div class="topic-metadata">

**Author:** [@stungeye](https://discourse.processing.org/u/stungeye)\
**Replies:** 5\
**Last updated:** [November 11, 2020, 4:46pm UTC](https://discourse.processing.org/t/webgl-color-alpha-bug/25080 "2020-11-11T16:46:16Z")

</div>

Same sketch. P5js version on the left and Java Processing version on the right. Why the color difference for: color(255, 0, 0, alpha); // alpha: 0 to 200 p5js is rendering as WEBGL. Java p5 is rendering as P3D. Do …

---

## [How to import STL CAD file in processing](https://discourse.processing.org/t/how-to-import-stl-cad-file-in-processing/25343)

<div class="topic-metadata">

**Author:** [@ahmed](https://discourse.processing.org/u/ahmed)\
**Replies:** 2\
**Last updated:** [November 11, 2020, 4:08pm UTC](https://discourse.processing.org/t/how-to-import-stl-cad-file-in-processing/25343 "2020-11-11T16:08:34Z")

</div>

I have tried two example code to import CAD model STL binary file. But did not succeed so far. Following are example 1 and example 2. Example 1: PShape s; int p; String sub; Float X,Y,Z; float rotX, rotY, camX, camY,…

---

## [Only redraw when Tweak Mode modifies values?](https://discourse.processing.org/t/only-redraw-when-tweak-mode-modifies-values/24263)

<div class="topic-metadata">

**Author:** [@stixan](https://discourse.processing.org/u/stixan)\
**Replies:** 1\
**Last updated:** [November 11, 2020, 3:54pm UTC](https://discourse.processing.org/t/only-redraw-when-tweak-mode-modifies-values/24263 "2020-11-11T15:54:19Z")

</div>

Just wondering: When using Tweak Mode to modify values, is there any way I can tell my sketch to only redraw when values change? Is there any kind of notification from Tweak Mode I can listen for?

---

## [Load STL files without libraries](https://discourse.processing.org/t/load-stl-files-without-libraries/5356)

<div class="topic-metadata">

**Author:** [@Kalium](https://discourse.processing.org/u/Kalium)\
**Replies:** 6\
**Last updated:** [November 11, 2020, 12:39pm UTC](https://discourse.processing.org/t/load-stl-files-without-libraries/5356 "2020-11-11T12:39:36Z")

</div>

A simple STL loader (ASCII only) with a simple viewer. No libraries needed. PShape s; int p; String sub; Float X,Y,Z; float rotX, rotY, camX, camY, camZ; void setup() { size(640, 360, P3D); …

---

## [Get() doesn't work properly on Safari (iOS/iPhone)](https://discourse.processing.org/t/get-doesnt-work-properly-on-safari-ios-iphone/25337)

<div class="topic-metadata">

**Author:** [@Logix](https://discourse.processing.org/u/Logix)\
**Replies:** 0\
**Last updated:** [November 11, 2020, 5:36am UTC](https://discourse.processing.org/t/get-doesnt-work-properly-on-safari-ios-iphone/25337 "2020-11-11T05:36:54Z")

</div>

get() captures a rectangular section of the canvas and returns it as an image. On Safari, if that rectangular section is within the canvas, the image is returned properly, but if that section extends beyond the canvas bo…

---

## [Box2D collision with mouse position](https://discourse.processing.org/t/box2d-collision-with-mouse-position/25332)

<div class="topic-metadata">

**Author:** [@Chriz96](https://discourse.processing.org/u/Chriz96)\
**Replies:** 3\
**Last updated:** [November 10, 2020, 10:47pm UTC](https://discourse.processing.org/t/box2d-collision-with-mouse-position/25332 "2020-11-10T22:47:50Z")

</div>

Hello, I was trying to modify the Box2D library example called Collisions and Control, in order to remove the spring behavior and manipulate the box position only with the mouseX and mouseY values without having it bounc…

---

## [Obstacles in game not working properly](https://discourse.processing.org/t/obstacles-in-game-not-working-properly/25329)

<div class="topic-metadata">

**Author:** [@ninjarick](https://discourse.processing.org/u/ninjarick)\
**Replies:** 3\
**Last updated:** [November 10, 2020, 9:56pm UTC](https://discourse.processing.org/t/obstacles-in-game-not-working-properly/25329 "2020-11-10T21:56:57Z")

</div>

Hi there! I’ve hit a snag in my code. I want to be able to make a game where the player (a rect) jumps over obstacles. Similar to the no wifi Dino game. I’ve added code to make the player character flip when they jump. …

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

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