# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=546

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

**Page:** 547

---

## [Connect Processing to Random.org?](https://discourse.processing.org/t/connect-processing-to-random-org/6458)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 2\
**Last updated:** [December 13, 2018, 10:06pm UTC](https://discourse.processing.org/t/connect-processing-to-random-org/6458 "2018-12-13T22:06:20Z")

</div>

I was wondering if there was a way for processing to get strings from random.org. Is there a library I should use? And, if so, how would I use it?

---

## [Change resampling method when resizing](https://discourse.processing.org/t/change-resampling-method-when-resizing/6440)

<div class="topic-metadata">

**Author:** [@jb4x](https://discourse.processing.org/u/jb4x)\
**Replies:** 4\
**Last updated:** [December 13, 2018, 6:46pm UTC](https://discourse.processing.org/t/change-resampling-method-when-resizing/6440 "2018-12-13T18:46:35Z")

</div>

Hi, Is there a way to change the resampling method when resizing a PGraphics object? I would like to have the nearest-neighbor interpolation in the following code: void setup() { size(512, 512); PGraphics pg = …

---

## [Grey filter doesn't work (Live Camera, using Open Gl and Face OSC)](https://discourse.processing.org/t/grey-filter-doesnt-work-live-camera-using-open-gl-and-face-osc/6565)

<div class="topic-metadata">

**Author:** [@eunseooooo](https://discourse.processing.org/u/eunseooooo)\
**Replies:** 0\
**Last updated:** [December 13, 2018, 2:59pm UTC](https://discourse.processing.org/t/grey-filter-doesnt-work-live-camera-using-open-gl-and-face-osc/6565 "2018-12-13T14:59:44Z")

</div>

Hello, I am working on a code using OpenGl and Face OSC. All my other features are done well, but the grey filter to webcam video does not work properly. I think there is some other way to apply a grey filter when usin…

---

## [Sound library for Android + how to list functions](https://discourse.processing.org/t/sound-library-for-android-how-to-list-functions/6563)

<div class="topic-metadata">

**Author:** [@Mads](https://discourse.processing.org/u/Mads)\
**Replies:** 0\
**Last updated:** [December 13, 2018, 1:45pm UTC](https://discourse.processing.org/t/sound-library-for-android-how-to-list-functions/6563 "2018-12-13T13:45:30Z")

</div>

Hi there Im new to the forum and relative new to coding. Im looking for an easy to use soundlibrary to use in Android mode. Ive tried Casette, it works fine but seems limited in terms of functions. Does anyone know how…

---

## [Can't get other song to be replaced](https://discourse.processing.org/t/cant-get-other-song-to-be-replaced/6467)

<div class="topic-metadata">

**Author:** [@charmypatel](https://discourse.processing.org/u/charmypatel)\
**Replies:** 3\
**Last updated:** [December 13, 2018, 9:52am UTC](https://discourse.processing.org/t/cant-get-other-song-to-be-replaced/6467 "2018-12-13T09:52:42Z")

</div>

\*\*\*The code below has an invisible button in the middle when pushed you can select a new song to play replacing the wave in the background. The problem that I am having is I want the new song to replace the old one, but …

---

## [Jumping from processing to c++](https://discourse.processing.org/t/jumping-from-processing-to-c/6544)

<div class="topic-metadata">

**Author:** [@bryan](https://discourse.processing.org/u/bryan)\
**Replies:** 8\
**Last updated:** [December 13, 2018, 8:42am UTC](https://discourse.processing.org/t/jumping-from-processing-to-c/6544 "2018-12-13T08:42:46Z")

</div>

Hi there, i want to start learning c++, in the past i studied it, but felt that it was very complicated, and get frustrated. Then i start learning processing and now i think that i have good knowledge, and understanding …

---

## [AI-Post-Processing Job of Lunar Eclipse Foto Series](https://discourse.processing.org/t/ai-post-processing-job-of-lunar-eclipse-foto-series/2179)

<div class="topic-metadata">

**Author:** [@consuli](https://discourse.processing.org/u/consuli)\
**Replies:** 2\
**Last updated:** [December 13, 2018, 8:20am UTC](https://discourse.processing.org/t/ai-post-processing-job-of-lunar-eclipse-foto-series/2179 "2018-12-13T08:20:08Z")

</div>

Hello! I’ve made an interesting foto series of the lunar eclipse yesterday, when the moon has left the eclipse and dropped into light again. The conditions have been perfect. Unfortunately I did not have a professional…

---

## [Copying from NYTimes API JSON to a local JSON file](https://discourse.processing.org/t/copying-from-nytimes-api-json-to-a-local-json-file/6462)

<div class="topic-metadata">

**Author:** [@Niloo](https://discourse.processing.org/u/Niloo)\
**Replies:** 2\
**Last updated:** [December 13, 2018, 7:19am UTC](https://discourse.processing.org/t/copying-from-nytimes-api-json-to-a-local-json-file/6462 "2018-12-13T07:19:09Z")

</div>

Hi all, I really appreciate if you take the time and help me solve this issue as I have spent hours and haven’t made any progress. What’s the project I’m creating a data visualization project using New York Times Arti…

---

## [Has anyone used the mousewheel to select between shapes onscreen](https://discourse.processing.org/t/has-anyone-used-the-mousewheel-to-select-between-shapes-onscreen/6547)

<div class="topic-metadata">

**Author:** [@CalvinBreene](https://discourse.processing.org/u/CalvinBreene)\
**Replies:** 4\
**Last updated:** [December 13, 2018, 4:28am UTC](https://discourse.processing.org/t/has-anyone-used-the-mousewheel-to-select-between-shapes-onscreen/6547 "2018-12-13T04:28:20Z")

</div>

Hi Experts, I have 3 rectangles onscreen and want to use the mouse wheel to highlight each one in turn. Has anyone done something similar? I would appreciate an example if possible. Thank you. KB

---

## [I need help coming up with a very simple little polymorphism animation](https://discourse.processing.org/t/i-need-help-coming-up-with-a-very-simple-little-polymorphism-animation/6291)

<div class="topic-metadata">

**Author:** [@starkid](https://discourse.processing.org/u/starkid)\
**Replies:** 2\
**Last updated:** [December 7, 2018, 1:02am UTC](https://discourse.processing.org/t/i-need-help-coming-up-with-a-very-simple-little-polymorphism-animation/6291 "2018-12-07T01:02:48Z")

</div>

I need to make a very simple and small animation using polymorphism. I have looked at examples and watched video but most of them are too complicated or large, and I want something small. Any suggestions on what I could …

---

## [Trying to add this code for a button but its not running correctly](https://discourse.processing.org/t/trying-to-add-this-code-for-a-button-but-its-not-running-correctly/6305)

<div class="topic-metadata">

**Author:** [@starkid](https://discourse.processing.org/u/starkid)\
**Replies:** 3\
**Last updated:** [December 13, 2018, 1:31am UTC](https://discourse.processing.org/t/trying-to-add-this-code-for-a-button-but-its-not-running-correctly/6305 "2018-12-13T01:31:37Z")

</div>

This is code for my project one tab is called Music Project and the other is called star. I also have another file which contains code for the button that can be pushed to stop and play music. The button code on its own …

---

## [Timing a class to reveal words](https://discourse.processing.org/t/timing-a-class-to-reveal-words/6556)

<div class="topic-metadata">

**Author:** [@jamiehamill](https://discourse.processing.org/u/jamiehamill)\
**Replies:** 2\
**Last updated:** [December 12, 2018, 11:48pm UTC](https://discourse.processing.org/t/timing-a-class-to-reveal-words/6556 "2018-12-12T23:48:55Z")

</div>

hey all! my question is likely to be super confusing as it’s difficult to explain and this is my first time using this forum, but I was wondering how I can time a class (that controls my text) to send out words slowly ov…

---

## [What is the keyword "do"](https://discourse.processing.org/t/what-is-the-keyword-do/6433)

<div class="topic-metadata">

**Author:** [@dragon\_hatcher](https://discourse.processing.org/u/dragon_hatcher)\
**Replies:** 7\
**Last updated:** [December 12, 2018, 11:12pm UTC](https://discourse.processing.org/t/what-is-the-keyword-do/6433 "2018-12-12T23:12:21Z")

</div>

I can see that when I type “do” in processing it is highlighted so it is a keyword however I can’t find any reference to in the manual or online. I was wondering what it does.

---

## [Calling exit() using FX2D renderer doesn't stop program](https://discourse.processing.org/t/calling-exit-using-fx2d-renderer-doesnt-stop-program/6414)

<div class="topic-metadata">

**Author:** [@Sarah](https://discourse.processing.org/u/Sarah)\
**Replies:** 8\
**Last updated:** [December 12, 2018, 10:26pm UTC](https://discourse.processing.org/t/calling-exit-using-fx2d-renderer-doesnt-stop-program/6414 "2018-12-12T22:26:30Z")

</div>

Hi, I’ve noticed that when I call exit(); in a program using the FX2D renderer, an error appears in the console: Not on FX application thread; currentThread = JavaFX Application Thread. This error usually appears when t…

---

## [Mapping Sound to 3D Terrain generation](https://discourse.processing.org/t/mapping-sound-to-3d-terrain-generation/6426)

<div class="topic-metadata">

**Author:** [@celine1](https://discourse.processing.org/u/celine1)\
**Replies:** 2\
**Last updated:** [December 12, 2018, 9:56pm UTC](https://discourse.processing.org/t/mapping-sound-to-3d-terrain-generation/6426 "2018-12-12T21:56:40Z")

</div>

Hey everyone, I’m just a Beginner in Processing, so I have a question: is it possible to map a sound to a 3D Terrain Generation? With the help of this tutorial: https://www.youtube.com/watch?v=IKB1hWWedMk I created a …

---

## [Image processing and pattern recognition](https://discourse.processing.org/t/image-processing-and-pattern-recognition/6412)

<div class="topic-metadata">

**Author:** [@bryan](https://discourse.processing.org/u/bryan)\
**Replies:** 3\
**Last updated:** [December 12, 2018, 9:50pm UTC](https://discourse.processing.org/t/image-processing-and-pattern-recognition/6412 "2018-12-12T21:50:06Z")

</div>

Hi, I’m going to start learning this topics, and wanted to know, where can I start? I only know a little bit of processing, Matlab and c++(too llitle). Is processing powerful enough to solve this tasks? I want to focus i…

---

## [Compatibility with Mac OS Mojave](https://discourse.processing.org/t/compatibility-with-mac-os-mojave/6400)

<div class="topic-metadata">

**Author:** [@ktgmonster](https://discourse.processing.org/u/ktgmonster)\
**Replies:** 3\
**Last updated:** [December 12, 2018, 9:39pm UTC](https://discourse.processing.org/t/compatibility-with-mac-os-mojave/6400 "2018-12-12T21:39:25Z")

</div>

Hi All, I have a sketch which plays a video of animal behaviour and allows you to record keypresses and the timestamp for analysis. The first part of the sketch is a gui allowing loading of a csv file with the keypresses…

---

## [Scaling on High-DPI Monitor is Incorrect](https://discourse.processing.org/t/scaling-on-high-dpi-monitor-is-incorrect/6407)

<div class="topic-metadata">

**Author:** [@RecursiveCursive](https://discourse.processing.org/u/RecursiveCursive)\
**Replies:** 1\
**Last updated:** [December 12, 2018, 8:58pm UTC](https://discourse.processing.org/t/scaling-on-high-dpi-monitor-is-incorrect/6407 "2018-12-12T20:58:23Z")

</div>

I wrote a sketch using Processing 2 but rather than using the Processing IDE, I used Eclipse. I now want to export the sketch as a jar file, but I am having an annoying issue when trying to run the resulting jar on a dis…

---

## [Reset background() outside draw and setup to clear display](https://discourse.processing.org/t/reset-background-outside-draw-and-setup-to-clear-display/6515)

<div class="topic-metadata">

**Author:** [@polispace](https://discourse.processing.org/u/polispace)\
**Replies:** 5\
**Last updated:** [December 12, 2018, 7:27pm UTC](https://discourse.processing.org/t/reset-background-outside-draw-and-setup-to-clear-display/6515 "2018-12-12T19:27:35Z")

</div>

Hi there. I’m writing a code to make a wordcloud using a couple of libraries. I need to redraw the (updated) cloud after I receive a vocal input. I’m doing that by calling the function Background(); that should draw a …

---

## [Receive OSC by Processing: A little bit Help is needed](https://discourse.processing.org/t/receive-osc-by-processing-a-little-bit-help-is-needed/6512)

<div class="topic-metadata">

**Author:** [@CreCo](https://discourse.processing.org/u/CreCo)\
**Replies:** 4\
**Last updated:** [December 12, 2018, 5:01pm UTC](https://discourse.processing.org/t/receive-osc-by-processing-a-little-bit-help-is-needed/6512 "2018-12-12T17:01:01Z")

</div>

Dear Community, I’m in the moment / to stupid to get a OSC Connection between Iannix and Processing. The Iannix will send on 127.0.1.1 on Port 57120 and with the Address /cursor. I need the First Parameter which will …

---

## [Object stop upon collision?](https://discourse.processing.org/t/object-stop-upon-collision/6498)

<div class="topic-metadata">

**Author:** [@MartinM](https://discourse.processing.org/u/MartinM)\
**Replies:** 7\
**Last updated:** [December 12, 2018, 1:51pm UTC](https://discourse.processing.org/t/object-stop-upon-collision/6498 "2018-12-12T13:51:02Z")

</div>

I am currently having a problem with collision, I do not want an object to pass through another of which I understand the basics of. For instance: nt\[\] player1; int\[\] player2; int p1width = 50; int p1height = 50; int p2…

---

## [Random circles using arrays](https://discourse.processing.org/t/random-circles-using-arrays/6536)

<div class="topic-metadata">

**Author:** [@Jrekz](https://discourse.processing.org/u/Jrekz)\
**Replies:** 1\
**Last updated:** [December 12, 2018, 1:13pm UTC](https://discourse.processing.org/t/random-circles-using-arrays/6536 "2018-12-12T13:13:39Z")

</div>

Hello, So I have these tasks: 1. When the sketch starts, a circle with a random size, position and border color is displayed in the window and a first circle with a radius of 10 pixels on the mouse position. 2. Every…

---

## [Problema reproduciendo multiples audios](https://discourse.processing.org/t/problema-reproduciendo-multiples-audios/6466)

<div class="topic-metadata">

**Author:** [@Alfredo](https://discourse.processing.org/u/Alfredo)\
**Replies:** 1\
**Last updated:** [December 12, 2018, 12:48pm UTC](https://discourse.processing.org/t/problema-reproduciendo-multiples-audios/6466 "2018-12-12T12:48:35Z")

</div>

Hola, estoy tratando de tener un código que me permita reproducir múltiples audios y controlarlos por un botón de arduino, y mantenerlos en loop. Hasta ahora logre hacer funcionar un audio, pero no logro agregar un segu…

---

## [UnsatisfiedLinkError with Processing and Pycom](https://discourse.processing.org/t/unsatisfiedlinkerror-with-processing-and-pycom/6533)

<div class="topic-metadata">

**Author:** [@wuihee](https://discourse.processing.org/u/wuihee)\
**Replies:** 0\
**Last updated:** [December 12, 2018, 9:22am UTC](https://discourse.processing.org/t/unsatisfiedlinkerror-with-processing-and-pycom/6533 "2018-12-12T09:22:09Z")

</div>

Hello! I’m using Processing with Pycom to run an accelerometer example. However, when I run my code in processing I get this error: processing.app.SketchException: java.lang.UnsatisfiedLinkError: jssc.SerialNativeInterf…

---

## [Self-rulling video reader](https://discourse.processing.org/t/self-rulling-video-reader/6392)

<div class="topic-metadata">

**Author:** [@thias](https://discourse.processing.org/u/thias)\
**Replies:** 4\
**Last updated:** [December 12, 2018, 7:42am UTC](https://discourse.processing.org/t/self-rulling-video-reader/6392 "2018-12-12T07:42:54Z")

</div>

Hello everyone ! I have a complex question and i can’t find any answer. I’m trying to make a code that capture a video with webcam when you click on a specific place and create a video in data when you stop the recordi…

---

## [Whack-a-Mole Game. Make Mole Change Color When Hit](https://discourse.processing.org/t/whack-a-mole-game-make-mole-change-color-when-hit/6523)

<div class="topic-metadata">

**Author:** [@Rapide](https://discourse.processing.org/u/Rapide)\
**Replies:** 2\
**Last updated:** [December 12, 2018, 6:00am UTC](https://discourse.processing.org/t/whack-a-mole-game-make-mole-change-color-when-hit/6523 "2018-12-12T06:00:58Z")

</div>

I’m making a whack a mole game for my class assignment. I’m pretty much finished besides the final step, which is to make the mole change color when it is clicked on by the mouse, but I’m having trouble doing so. I want…

---

## [Help with P5.js and ML5.js](https://discourse.processing.org/t/help-with-p5-js-and-ml5-js/6446)

<div class="topic-metadata">

**Author:** [@zack](https://discourse.processing.org/u/zack)\
**Replies:** 1\
**Last updated:** [December 12, 2018, 2:03am UTC](https://discourse.processing.org/t/help-with-p5-js-and-ml5-js/6446 "2018-12-12T02:03:12Z")

</div>

Hello Community :slight\_smile: I’ve been playing with p5.js and the new ml5.js machine learning library. I’m having an issue using a p5 image as an input for the ml5 style transfer function. Maybe someone can help me fi…

---

## [Running PiCrate Sketches in GeanyIDE](https://discourse.processing.org/t/running-picrate-sketches-in-geanyide/6517)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 0\
**Last updated:** [December 11, 2018, 8:26pm UTC](https://discourse.processing.org/t/running-picrate-sketches-in-geanyide/6517 "2018-12-11T20:26:21Z")

</div>

PiCrate is a ruby wrapper around processing, developed to run on the RaspberryPi. You can easily install picrate on Raspbian Stretch OS using my simple Rakefile. See sketch running from GeanyIDE:-

---

## [Translate p5js code to processing code?](https://discourse.processing.org/t/translate-p5js-code-to-processing-code/6505)

<div class="topic-metadata">

**Author:** [@Anaibuk](https://discourse.processing.org/u/Anaibuk)\
**Replies:** 8\
**Last updated:** [December 11, 2018, 11:49pm UTC](https://discourse.processing.org/t/translate-p5js-code-to-processing-code/6505 "2018-12-11T23:49:58Z")

</div>

Hello everyone, I’m just having a wild crash curse of processing (generative Design) at university. As we haven’t enough time, we are just learning to code with processing and not with p5js. Unfortunaly most of the exam…

---

## [MazzSweeper Game](https://discourse.processing.org/t/mazzsweeper-game/6519)

<div class="topic-metadata">

**Author:** [@Jolak101](https://discourse.processing.org/u/Jolak101)\
**Replies:** 7\
**Last updated:** [December 11, 2018, 11:32pm UTC](https://discourse.processing.org/t/mazzsweeper-game/6519 "2018-12-11T23:32:35Z")

</div>

Hey, I am attempting to create a Minesweeper game with a chemistry twist to it on processing. In my code, the if statement to unveil what is hidden under the square (bomb or number) did not work. I attempted to println w…

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=545)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=547)
