# Latest

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

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

**Page:** 453

---

## [Processing3 GLConstants.GLGRAPHICS library deprecated?](https://discourse.processing.org/t/processing3-glconstants-glgraphics-library-deprecated/13416)

<div class="topic-metadata">

**Author:** [@jshaw3](https://discourse.processing.org/u/jshaw3)\
**Replies:** 2\
**Last updated:** [August 26, 2019, 7:57pm UTC](https://discourse.processing.org/t/processing3-glconstants-glgraphics-library-deprecated/13416 "2019-08-26T19:57:41Z")

</div>

Hey All, I’m looking through some Processing libraries for some openGL and shader examples and there are quite a few examples which I believe are quite old but seem to have some good examples. They all seem to be using …

---

## [Upload pGraphics to server](https://discourse.processing.org/t/upload-pgraphics-to-server/13558)

<div class="topic-metadata">

**Author:** [@philipplehmann](https://discourse.processing.org/u/philipplehmann)\
**Replies:** 3\
**Last updated:** [August 26, 2019, 3:07pm UTC](https://discourse.processing.org/t/upload-pgraphics-to-server/13558 "2019-08-26T15:07:10Z")

</div>

I’d like to save a pGraphics object as a PNG-image to the server. I found a way to upload the canvas object. Is it possible to export a pGraphics object in a similar way? function saveImage() { // Export canvas …

---

## [How to build processing with sublime text on unix](https://discourse.processing.org/t/how-to-build-processing-with-sublime-text-on-unix/13620)

<div class="topic-metadata">

**Author:** [@goda](https://discourse.processing.org/u/goda)\
**Replies:** 0\
**Last updated:** [August 26, 2019, 2:52pm UTC](https://discourse.processing.org/t/how-to-build-processing-with-sublime-text-on-unix/13620 "2019-08-26T14:52:24Z")

</div>

hello to all I have a problem I can not seem compible code processing on sublime text I have it as error I put the program processing-java in / usr / bin but I do not understand why its not working if you can help me …

---

## [How to use special characters in ControlP5?](https://discourse.processing.org/t/how-to-use-special-characters-in-controlp5/13615)

<div class="topic-metadata">

**Author:** [@Leonhard](https://discourse.processing.org/u/Leonhard)\
**Replies:** 2\
**Last updated:** [August 26, 2019, 12:42pm UTC](https://discourse.processing.org/t/how-to-use-special-characters-in-controlp5/13615 "2019-08-26T12:42:27Z")

</div>

Hi, I have the following problem: Code: GUI: characters (ç and ã) do not appear how can you solve it? Thanks

---

## [createGraphics save the whole sketch](https://discourse.processing.org/t/creategraphics-save-the-whole-sketch/13594)

<div class="topic-metadata">

**Author:** [@l3ehfar](https://discourse.processing.org/u/l3ehfar)\
**Replies:** 5\
**Last updated:** [August 26, 2019, 12:17pm UTC](https://discourse.processing.org/t/creategraphics-save-the-whole-sketch/13594 "2019-08-26T12:17:40Z")

</div>

how can I pass the whole sketch as a function to the createGraphics variable and not get the error as “img.pattern is not a function”?

---

## [Why it returned an error?](https://discourse.processing.org/t/why-it-returned-an-error/13614)

<div class="topic-metadata">

**Author:** [@Sfracassetti2005](https://discourse.processing.org/u/Sfracassetti2005)\
**Replies:** 0\
**Last updated:** [August 26, 2019, 10:29am UTC](https://discourse.processing.org/t/why-it-returned-an-error/13614 "2019-08-26T10:29:17Z")

</div>

---

## [How to trigger a sound file in my motion sensor code?](https://discourse.processing.org/t/how-to-trigger-a-sound-file-in-my-motion-sensor-code/13603)

<div class="topic-metadata">

**Author:** [@blorglue](https://discourse.processing.org/u/blorglue)\
**Replies:** 0\
**Last updated:** [August 26, 2019, 3:26am UTC](https://discourse.processing.org/t/how-to-trigger-a-sound-file-in-my-motion-sensor-code/13603 "2019-08-26T03:26:39Z")

</div>

I am trying to add a sound trigger to my code, but nothing I’ve done seems to work. things I’ve tried: compared strings with == and .equals used a boolean made the arduino send a number instead of a string to compare …

---

## [Button type G4P not show in save canvas to PNG](https://discourse.processing.org/t/button-type-g4p-not-show-in-save-canvas-to-png/13412)

<div class="topic-metadata">

**Author:** [@kll](https://discourse.processing.org/u/kll)\
**Replies:** 7\
**Last updated:** [August 26, 2019, 12:39am UTC](https://discourse.processing.org/t/button-type-g4p-not-show-in-save-canvas-to-png/13412 "2019-08-26T00:39:08Z")

</div>

Win10 // Processing 3.5.3 i am using the example / File / Examples / Contributed Libraries / G4P / G4P\_ ImageButtons / and added acc https://processing.org/reference/save\_.html //KLL test String outfile = "data/snap…

---

## [Convert from .js to Processing](https://discourse.processing.org/t/convert-from-js-to-processing/13578)

<div class="topic-metadata">

**Author:** [@krocksey](https://discourse.processing.org/u/krocksey)\
**Replies:** 12\
**Last updated:** [August 25, 2019, 10:47pm UTC](https://discourse.processing.org/t/convert-from-js-to-processing/13578 "2019-08-25T22:47:33Z")

</div>

Hi! Can someone help me to convert this JavaScript to Processing. I’m not so cool for this code yet, but I really need this function for my app. Thank you stranger! Code: /\* Sample Usage: \<script type="text/javascri…

---

## [Motion Detection - Chrome Browser Crashes or No Image](https://discourse.processing.org/t/motion-detection-chrome-browser-crashes-or-no-image/13400)

<div class="topic-metadata">

**Author:** [@stilts77](https://discourse.processing.org/u/stilts77)\
**Replies:** 4\
**Last updated:** [August 25, 2019, 5:02pm UTC](https://discourse.processing.org/t/motion-detection-chrome-browser-crashes-or-no-image/13400 "2019-08-25T17:02:51Z")

</div>

I found some code… I have adapted it slightly (following watching a Dan Shiffman Processing video) - but can’t get it to work. Here is the page I’ve created: Webcam motion detection In the Shiffman video online - we se…

---

## [Yaw, pitch and roll!](https://discourse.processing.org/t/yaw-pitch-and-roll/13591)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 0\
**Last updated:** [August 25, 2019, 3:22pm UTC](https://discourse.processing.org/t/yaw-pitch-and-roll/13591 "2019-08-25T15:22:57Z")

</div>

Working on a project: Particle systems were adapted from: https://processing.org/examples/simpleparticlesystem.html Model from here: http://3dmag.org/en/market/ Processing: https://processing.org/ :slight\_smile: …

---

## [From Java to simple Desktop Application?](https://discourse.processing.org/t/from-java-to-simple-desktop-application/13582)

<div class="topic-metadata">

**Author:** [@eric](https://discourse.processing.org/u/eric)\
**Replies:** 9\
**Last updated:** [August 25, 2019, 7:11am UTC](https://discourse.processing.org/t/from-java-to-simple-desktop-application/13582 "2019-08-25T07:11:09Z")

</div>

I built a relatively simple application that measures a cross section, counts “folds” and then determines a color to white percentage. Hard to explain with little detail. My objective is to have a simple desktop app th…

---

## [Reversing the threshold filter](https://discourse.processing.org/t/reversing-the-threshold-filter/13579)

<div class="topic-metadata">

**Author:** [@eric](https://discourse.processing.org/u/eric)\
**Replies:** 2\
**Last updated:** [August 25, 2019, 4:53am UTC](https://discourse.processing.org/t/reversing-the-threshold-filter/13579 "2019-08-25T04:53:12Z")

</div>

I’ll throw in only the important parts, but for an image processing application I’m making, I want to analyze the image with the rgb components (typical picture), and then change it to black and white using the threshold…

---

## [WEBGL code in WEBEDITOR does not work](https://discourse.processing.org/t/webgl-code-in-webeditor-does-not-work/13475)

<div class="topic-metadata">

**Author:** [@rubbing](https://discourse.processing.org/u/rubbing)\
**Replies:** 3\
**Last updated:** [August 25, 2019, 3:30am UTC](https://discourse.processing.org/t/webgl-code-in-webeditor-does-not-work/13475 "2019-08-25T03:30:39Z")

</div>

When I use the p5.js web editor all my WEBGL codes do not work. It was working a few hours ago. What is everyone else’s experience? EDIT: I tested my code on my mothers laptop and it works on mozilla firefox, for some r…

---

## [Vehicles over 3D terrain](https://discourse.processing.org/t/vehicles-over-3d-terrain/12100)

<div class="topic-metadata">

**Author:** [@LordCacops](https://discourse.processing.org/u/LordCacops)\
**Replies:** 12\
**Last updated:** [August 24, 2019, 9:05am UTC](https://discourse.processing.org/t/vehicles-over-3d-terrain/12100 "2019-08-24T09:05:09Z")

</div>

Hello Does anyone know of a reference for creating a system of vehicles moving over a 3D rendered terrain? Thank you.

---

## [Opening/Running a Sketch, then closing and Runnning a new Sketch automatically](https://discourse.processing.org/t/opening-running-a-sketch-then-closing-and-runnning-a-new-sketch-automatically/13543)

<div class="topic-metadata">

**Author:** [@nicnut](https://discourse.processing.org/u/nicnut)\
**Replies:** 4\
**Last updated:** [August 23, 2019, 6:26pm UTC](https://discourse.processing.org/t/opening-running-a-sketch-then-closing-and-runnning-a-new-sketch-automatically/13543 "2019-08-23T18:26:12Z")

</div>

Hi, I am an electronic musician. I have been sending OSC messages from my music software to Processing to create pretty awesome interactive visual animations after only a few weeks of learning processing. I am starting…

---

## [Any idea on how to show status-notification bar?](https://discourse.processing.org/t/any-idea-on-how-to-show-status-notification-bar/13510)

<div class="topic-metadata">

**Author:** [@Oscar\_Galeote](https://discourse.processing.org/u/Oscar_Galeote)\
**Replies:** 3\
**Last updated:** [August 23, 2019, 5:29pm UTC](https://discourse.processing.org/t/any-idea-on-how-to-show-status-notification-bar/13510 "2019-08-23T17:29:09Z")

</div>

I’m working on a project for android as a beginner on Processing. I would like to know if anyone knows how to show the notification bar and change its color. I’ve tried with android developer’s guide, but I’m still stuck…

---

## [Digitize Audio Input](https://discourse.processing.org/t/digitize-audio-input/13156)

<div class="topic-metadata">

**Author:** [@StevenSarns](https://discourse.processing.org/u/StevenSarns)\
**Replies:** 8\
**Last updated:** [August 23, 2019, 10:46am UTC](https://discourse.processing.org/t/digitize-audio-input/13156 "2019-08-23T10:46:12Z")

</div>

Hello All, Thanks in advance for any insights. I am very new to Processing. My project is to create an oscilloscope-like presentation of the signal on the MIC input of my desktop computer. The test waveform is a 20 H…

---

## [What hint(ENABLE\_OPTIMIZED\_STROKE) does?](https://discourse.processing.org/t/what-hint-enable-optimized-stroke-does/9416)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 12\
**Last updated:** [August 23, 2019, 9:54am UTC](https://discourse.processing.org/t/what-hint-enable-optimized-stroke-does/9416 "2019-08-23T09:54:47Z")

</div>

another simple quesiton. what Enable\_Optimized\_Stroke does?. im could not find any openGL reference. What is the openGl equivalent? Thanks!

---

## [How to run pictures in alphabetical order](https://discourse.processing.org/t/how-to-run-pictures-in-alphabetical-order/13544)

<div class="topic-metadata">

**Author:** [@maakin](https://discourse.processing.org/u/maakin)\
**Replies:** 2\
**Last updated:** [August 23, 2019, 9:43am UTC](https://discourse.processing.org/t/how-to-run-pictures-in-alphabetical-order/13544 "2019-08-23T09:43:11Z")

</div>

In for loop how to run pictures in alphabetical order not random… For creating animation like animal walking… Can any one help?

---

## [Problem with conditional structure with « if » into loop](https://discourse.processing.org/t/problem-with-conditional-structure-with-if-into-loop/13551)

<div class="topic-metadata">

**Author:** [@jerome51](https://discourse.processing.org/u/jerome51)\
**Replies:** 2\
**Last updated:** [August 23, 2019, 8:29am UTC](https://discourse.processing.org/t/problem-with-conditional-structure-with-if-into-loop/13551 "2019-08-23T08:29:11Z")

</div>

Hi, Sorry for my english, i’m french. I’d like to check each pixel from image by step of 5 and write coordinates into an array of each pixel whose value is under 150. I used a loops to check pixels and a « if » to ver…

---

## [bezierChamber experiments](https://discourse.processing.org/t/bezierchamber-experiments/13555)

<div class="topic-metadata">

**Author:** [@swmarks](https://discourse.processing.org/u/swmarks)\
**Replies:** 0\
**Last updated:** [August 23, 2019, 4:07am UTC](https://discourse.processing.org/t/bezierchamber-experiments/13555 "2019-08-23T04:07:08Z")

</div>

Two sketches using bezier() and bezierPoint(). Idea inspired by particle trails in cloud chamber. Code here: bezierChamber02 Code here: bezierChamber03

---

## [Very low FPS problem](https://discourse.processing.org/t/very-low-fps-problem/13533)

<div class="topic-metadata">

**Author:** [@Raiben23](https://discourse.processing.org/u/Raiben23)\
**Replies:** 5\
**Last updated:** [August 22, 2019, 7:57pm UTC](https://discourse.processing.org/t/very-low-fps-problem/13533 "2019-08-22T19:57:12Z")

</div>

Hi, I’m having a problem with a code that I’m testing, that’s: Star\[\] s; Nave n; Asteroide\[\] ast; Planets\[\] plan; int numast = 5; int numplan = 2; int numstar = 500; void setup() { size(1200, 600); // frameRate(10…

---

## [After 1 year Processing Experience](https://discourse.processing.org/t/after-1-year-processing-experience/13504)

<div class="topic-metadata">

**Author:** [@Skys](https://discourse.processing.org/u/Skys)\
**Replies:** 9\
**Last updated:** [August 22, 2019, 7:18pm UTC](https://discourse.processing.org/t/after-1-year-processing-experience/13504 "2019-08-22T19:18:17Z")

</div>

Since august 2018 i codeing with Java processing. i made many good experience. For me i like the stile of c++ of 90th combinated with Platform independece and high felexebility and many tricky idears. I have many ideas…

---

## [\[SOLVED\] Play second video when first video ends?](https://discourse.processing.org/t/solved-play-second-video-when-first-video-ends/13512)

<div class="topic-metadata">

**Author:** [@AxeFire](https://discourse.processing.org/u/AxeFire)\
**Replies:** 16\
**Last updated:** [August 22, 2019, 4:05pm UTC](https://discourse.processing.org/t/solved-play-second-video-when-first-video-ends/13512 "2019-08-22T16:05:30Z")

</div>

this might seem trivial but, how do you make the video move to the next “scene” automatically after the video ends? void draw() { //----------game states------------- if (state == 0) // 0 welcome screen { …

---

## [\[SOLVED\] PGraphics or PImage as Uniform not working when using GLSL in Java OpenGL](https://discourse.processing.org/t/solved-pgraphics-or-pimage-as-uniform-not-working-when-using-glsl-in-java-opengl/13514)

<div class="topic-metadata">

**Author:** [@kesson](https://discourse.processing.org/u/kesson)\
**Replies:** 15\
**Last updated:** [August 22, 2019, 2:57pm UTC](https://discourse.processing.org/t/solved-pgraphics-or-pimage-as-uniform-not-working-when-using-glsl-in-java-opengl/13514 "2019-08-22T14:57:51Z")

</div>

Hello everyone, I am keeping exploring the field of shaders in Processing, even if I am facing many problems. My last problem is when I try to use a texture (for example a PGraphics of PImage) to use it as parameters f…

---

## [Trouble moving a function into a class](https://discourse.processing.org/t/trouble-moving-a-function-into-a-class/13535)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 2\
**Last updated:** [August 22, 2019, 2:01pm UTC](https://discourse.processing.org/t/trouble-moving-a-function-into-a-class/13535 "2019-08-22T14:01:01Z")

</div>

There is a function checkMouse() that I have moved into the Button class, and renamed it checkMouse2. For some reason I can’t figure out, when I try to call it in Button.show(), Button b2 becomes non functional, but Butt…

---

## [Problem in creating compass in Processing for Android](https://discourse.processing.org/t/problem-in-creating-compass-in-processing-for-android/13519)

<div class="topic-metadata">

**Author:** [@aiman](https://discourse.processing.org/u/aiman)\
**Replies:** 2\
**Last updated:** [August 22, 2019, 10:32am UTC](https://discourse.processing.org/t/problem-in-creating-compass-in-processing-for-android/13519 "2019-08-22T10:32:17Z")

</div>

Hello. I’m trying to create a simple compass in processing. I’m following this tutorial: https://android.processing.org/tutorials/wallpapers/index.html everything is fin. The rotation angle which I’m getting is also c…

---

## [Parsing data arduino](https://discourse.processing.org/t/parsing-data-arduino/13541)

<div class="topic-metadata">

**Author:** [@majidd](https://discourse.processing.org/u/majidd)\
**Replies:** 1\
**Last updated:** [August 22, 2019, 7:38am UTC](https://discourse.processing.org/t/parsing-data-arduino/13541 "2019-08-22T07:38:34Z")

</div>

can anyone help me to make an arduino serial data parsing program. data from Bluetooth HC 05, and read by Arduino

---

## [Error code on Startup - Help!](https://discourse.processing.org/t/error-code-on-startup-help/13537)

<div class="topic-metadata">

**Author:** [@yucky](https://discourse.processing.org/u/yucky)\
**Replies:** 0\
**Last updated:** [August 22, 2019, 1:14am UTC](https://discourse.processing.org/t/error-code-on-startup-help/13537 "2019-08-22T01:14:57Z")

</div>

Hi all, I can’t open my Processing anymore :frowning: I had processing downloaded on my computer for a while, but I hadn’t opened it in a couple months and now when I try to run it I get an error code. I’m running mac …

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

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