# Latest

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

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

**Page:** 316

---

## [Converting Processing Sketch found on OpenProcessing](https://discourse.processing.org/t/converting-processing-sketch-found-on-openprocessing/23240)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 6\
**Last updated:** [August 14, 2020, 1:01am UTC](https://discourse.processing.org/t/converting-processing-sketch-found-on-openprocessing/23240 "2020-08-14T01:01:02Z")

</div>

Forgive me as perhaps it’s been a while but I was exploring sketches on OpenProcessing, like this one, and I found that they were written in a slightly different language. https://www.openprocessing.org/sketch/445849/ W…

---

## [How do I correctly loadStrings() from a file path on my local computer?](https://discourse.processing.org/t/how-do-i-correctly-loadstrings-from-a-file-path-on-my-local-computer/23238)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 2\
**Last updated:** [August 13, 2020, 10:52pm UTC](https://discourse.processing.org/t/how-do-i-correctly-loadstrings-from-a-file-path-on-my-local-computer/23238 "2020-08-13T22:52:53Z")

</div>

I have been working on reading a text file. Making progress. However, I have encountered a problem I would like some help on. That being how do I read a text file from a folder on another part of my computer? I am usin…

---

## [How to save posterized pixel color values from webcam](https://discourse.processing.org/t/how-to-save-posterized-pixel-color-values-from-webcam/23236)

<div class="topic-metadata">

**Author:** [@samseurynck](https://discourse.processing.org/u/samseurynck)\
**Replies:** 0\
**Last updated:** [August 13, 2020, 6:47pm UTC](https://discourse.processing.org/t/how-to-save-posterized-pixel-color-values-from-webcam/23236 "2020-08-13T18:47:49Z")

</div>

Hello! I’m looking to make a video ‘mirror’ using the webcam. I’m using the processing example Contributed Libraries \> Video \> Capture \> Mirror by Daniel Shiffman. The effect I’m trying to create requires using a poster…

---

## [Shading not working in v1.1.9 July 22, 2020](https://discourse.processing.org/t/shading-not-working-in-v1-1-9-july-22-2020/23142)

<div class="topic-metadata">

**Author:** [@CND](https://discourse.processing.org/u/CND)\
**Replies:** 2\
**Last updated:** [August 13, 2020, 6:48pm UTC](https://discourse.processing.org/t/shading-not-working-in-v1-1-9-july-22-2020/23142 "2020-08-13T18:48:25Z")

</div>

I just upgraded to p5js v1.1.9 July 22, 2020. I had shading before but now I don’t. settings: lights(); ambientLight(80,80,80); pointLight(0,0,0, 96,48,42); What do I need to change?

---

## [Is noise too much for mobile devices to handle in p5js?](https://discourse.processing.org/t/is-noise-too-much-for-mobile-devices-to-handle-in-p5js/23048)

<div class="topic-metadata">

**Author:** [@mnoble](https://discourse.processing.org/u/mnoble)\
**Replies:** 12\
**Last updated:** [August 13, 2020, 5:44pm UTC](https://discourse.processing.org/t/is-noise-too-much-for-mobile-devices-to-handle-in-p5js/23048 "2020-08-13T17:44:53Z")

</div>

Hello Forum :slight\_smile: I am working on a visualizer project for mobile devices and I found a great example of clouds using noise on Open Processing. It works good on laptops and crashes on mobile devices. Are noise …

---

## [Arduino Add Library Error - not valid library reported](https://discourse.processing.org/t/arduino-add-library-error-not-valid-library-reported/22938)

<div class="topic-metadata">

**Author:** [@videodub](https://discourse.processing.org/u/videodub)\
**Replies:** 7\
**Last updated:** [August 13, 2020, 5:12pm UTC](https://discourse.processing.org/t/arduino-add-library-error-not-valid-library-reported/22938 "2020-08-13T17:12:17Z")

</div>

When attempting to add video processing library for Arduino, reports ‘zip does not contain a valid library’ Tried older version, same result. Library will not install in Arduino environment. Running Win7 64bit. Used…

---

## [First little game, feedback welcome](https://discourse.processing.org/t/first-little-game-feedback-welcome/22279)

<div class="topic-metadata">

**Author:** [@klap](https://discourse.processing.org/u/klap)\
**Replies:** 5\
**Last updated:** [August 13, 2020, 4:20pm UTC](https://discourse.processing.org/t/first-little-game-feedback-welcome/22279 "2020-08-13T16:20:48Z")

</div>

Hi, Here is a first small game I coded, just to start learning processing. I’m actually looking for feedback now on the code and on how to improve my coding style. It’s now been done with a ‘let’s-see-if-we-can-get-it-w…

---

## [Using Minim, when getting loudness of the song, how come I sometimes get a negative value?](https://discourse.processing.org/t/using-minim-when-getting-loudness-of-the-song-how-come-i-sometimes-get-a-negative-value/23222)

<div class="topic-metadata">

**Author:** [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Replies:** 2\
**Last updated:** [August 13, 2020, 4:20pm UTC](https://discourse.processing.org/t/using-minim-when-getting-loudness-of-the-song-how-come-i-sometimes-get-a-negative-value/23222 "2020-08-13T16:20:03Z")

</div>

import ddf.minim.\*; import ddf.minim.analysis.\*; Minim minim; AudioPlayer audio; final int BUFFERSIZE = 2048; void setup() { minim = new Minim(this); audio = minim.loadFile("audio.mp3");//, BUFFERSIZE); audio.…

---

## [Code to change the direction of the ball not working](https://discourse.processing.org/t/code-to-change-the-direction-of-the-ball-not-working/22549)

<div class="topic-metadata">

**Author:** [@BackTo](https://discourse.processing.org/u/BackTo)\
**Replies:** 9\
**Last updated:** [August 13, 2020, 12:51pm UTC](https://discourse.processing.org/t/code-to-change-the-direction-of-the-ball-not-working/22549 "2020-08-13T12:51:13Z")

</div>

Hi, I’ve got a plan for a silly bouncing ball sketch. I worked out the timer, but now my ball will not rebound of the edge off the screen. It either goes clean off, or at best gets stuck i the corner. I have used the sam…

---

## [Need some help with this program idea | i'm a beginner!](https://discourse.processing.org/t/need-some-help-with-this-program-idea-im-a-beginner/22793)

<div class="topic-metadata">

**Author:** [@coding\_beginner](https://discourse.processing.org/u/coding_beginner)\
**Replies:** 10\
**Last updated:** [August 13, 2020, 11:59am UTC](https://discourse.processing.org/t/need-some-help-with-this-program-idea-im-a-beginner/22793 "2020-08-13T11:59:17Z")

</div>

Hello, i’m a new user and a processing beginner, i’m writing a program and i need some help! My program idea is this: I draw a square (for now, more than one can be difficult -for me-), when i click on it i select the …

---

## [(Complex) Mesh gradients](https://discourse.processing.org/t/complex-mesh-gradients/23208)

<div class="topic-metadata">

**Author:** [@okn](https://discourse.processing.org/u/okn)\
**Replies:** 2\
**Last updated:** [August 12, 2020, 9:05pm UTC](https://discourse.processing.org/t/complex-mesh-gradients/23208 "2020-08-12T21:05:45Z")

</div>

Is it possible to create (complex) 2D mesh gradients in Processing? Below a basic example image made in illustrator. If yes, how would I go about doing this? I’m searching in the direction of per vertex coloring (see th…

---

## [Selecting from multiple cameras](https://discourse.processing.org/t/selecting-from-multiple-cameras/19679)

<div class="topic-metadata">

**Author:** [@carterjohnson](https://discourse.processing.org/u/carterjohnson)\
**Replies:** 5\
**Last updated:** [August 12, 2020, 8:54pm UTC](https://discourse.processing.org/t/selecting-from-multiple-cameras/19679 "2020-08-12T20:54:07Z")

</div>

Thanks in advance to anyone who might be able to help me out. I want to be able to make a selection as to which camera is utilized by its name or aspect ratio or some other property, and to do so with the code. I know t…

---

## [Cannot load image locally](https://discourse.processing.org/t/cannot-load-image-locally/23213)

<div class="topic-metadata">

**Author:** [@carterjohnson](https://discourse.processing.org/u/carterjohnson)\
**Replies:** 2\
**Last updated:** [August 12, 2020, 6:49pm UTC](https://discourse.processing.org/t/cannot-load-image-locally/23213 "2020-08-12T18:49:22Z")

</div>

This is very basic, I understand. My code below functions in the online editor, but it does not function locally in my own computer. I’ve tried downloading the p5.js file, as well as linking to it online, but to no avai…

---

## [Error with loadTable via drop](https://discourse.processing.org/t/error-with-loadtable-via-drop/23092)

<div class="topic-metadata">

**Author:** [@Tapestes](https://discourse.processing.org/u/Tapestes)\
**Replies:** 1\
**Last updated:** [August 12, 2020, 8:01am UTC](https://discourse.processing.org/t/error-with-loadtable-via-drop/23092 "2020-08-12T08:01:50Z")

</div>

In p5.js (v1.1.9, MacOS 10.15.6), I’m trying to load data into a table via the drop method. File appears to load fine, and when I log to the console I can see the file name and file contents no problem. The issue is loa…

---

## [shadowBlur on circles Particles](https://discourse.processing.org/t/shadowblur-on-circles-particles/23180)

<div class="topic-metadata">

**Author:** [@TienLe](https://discourse.processing.org/u/TienLe)\
**Replies:** 1\
**Last updated:** [August 12, 2020, 7:16am UTC](https://discourse.processing.org/t/shadowblur-on-circles-particles/23180 "2020-08-12T07:16:39Z")

</div>

I have some problems when using shadowBlur, I created particles just like this https://p5js.org/examples/simulate-particles.html But when I using this code to make a shadowBlur on circles, it’s very lag and bad performa…

---

## [P5js console scroll](https://discourse.processing.org/t/p5js-console-scroll/23168)

<div class="topic-metadata">

**Author:** [@Hapiel](https://discourse.processing.org/u/Hapiel)\
**Replies:** 1\
**Last updated:** [August 12, 2020, 6:36am UTC](https://discourse.processing.org/t/p5js-console-scroll/23168 "2020-08-12T06:36:51Z")

</div>

Hi guys, I’m excited to be a new member of the (so far) amazing processing community! Quick question: In the p5js web editor, is there a way to get the console to scroll down every time a new line is printed? When I wo…

---

## [Trouble exporting 3D animation to SVG](https://discourse.processing.org/t/trouble-exporting-3d-animation-to-svg/23192)

<div class="topic-metadata">

**Author:** [@Lucianoinfanti](https://discourse.processing.org/u/Lucianoinfanti)\
**Replies:** 4\
**Last updated:** [August 12, 2020, 3:52am UTC](https://discourse.processing.org/t/trouble-exporting-3d-animation-to-svg/23192 "2020-08-12T03:52:19Z")

</div>

Hey, everyone. I’m just starting with coding and Processing, in particular. I’ve watched this great tutorial on how to make this nice 3D animation and I tried it myself. Everything worked great but I wanted to export th…

---

## [Console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0](https://discourse.processing.org/t/console-failed-to-install-java-nio-charset-unsupportedcharsetexception-cp0/23198)

<div class="topic-metadata">

**Author:** [@Solid\_Red](https://discourse.processing.org/u/Solid_Red)\
**Replies:** 0\
**Last updated:** [August 12, 2020, 12:59am UTC](https://discourse.processing.org/t/console-failed-to-install-java-nio-charset-unsupportedcharsetexception-cp0/23198 "2020-08-12T00:59:13Z")

</div>

bueno gente , soy totalmente nuevo en el eso de este soft-ware , pero tengo conocimientos de python y para hacerlo mas interesante , apenas comienzo , java me lanza este error , si alguien me podria ayudar le estaria muy…

---

## [Is OCR available in Processing?](https://discourse.processing.org/t/is-ocr-available-in-processing/14505)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 4\
**Last updated:** [August 11, 2020, 11:12pm UTC](https://discourse.processing.org/t/is-ocr-available-in-processing/14505 "2020-08-11T23:12:26Z")

</div>

I searched previous topics but they are quite old. I am hoping there are some good news. The best I found is a guy that managed to import some Java library in a Mac, - but I am on windows and have no idea what to do t…

---

## [I can't made my project, please some help?](https://discourse.processing.org/t/i-cant-made-my-project-please-some-help/23185)

<div class="topic-metadata">

**Author:** [@pyxdesign](https://discourse.processing.org/u/pyxdesign)\
**Replies:** 8\
**Last updated:** [August 11, 2020, 9:27pm UTC](https://discourse.processing.org/t/i-cant-made-my-project-please-some-help/23185 "2020-08-11T21:27:55Z")

</div>

Hello everyone, I’m sorry if i make some errors in my english, i’m french and studying english now, so sorry ! i came here because I have 2 questions. I’m in a computer graphist school, one of my class is “Programmati…

---

## [G4P selectInput filter problem](https://discourse.processing.org/t/g4p-selectinput-filter-problem/23169)

<div class="topic-metadata">

**Author:** [@gyula](https://discourse.processing.org/u/gyula)\
**Replies:** 4\
**Last updated:** [August 11, 2020, 3:14pm UTC](https://discourse.processing.org/t/g4p-selectinput-filter-problem/23169 "2020-08-11T15:14:32Z")

</div>

I cannot get the G4P.selectInput() filter parameters working. Here’s a simple sketch: import g4p\_controls.\*; String fname = G4P.selectInput("Input Dialog", "png,gif,jpg,jpeg", "Image files", sketchPath()); println( fnam…

---

## [Full color spectrum](https://discourse.processing.org/t/full-color-spectrum/23171)

<div class="topic-metadata">

**Author:** [@qewer3322](https://discourse.processing.org/u/qewer3322)\
**Replies:** 2\
**Last updated:** [August 11, 2020, 7:01am UTC](https://discourse.processing.org/t/full-color-spectrum/23171 "2020-08-11T07:01:52Z")

</div>

So I’m experimenting with color pickers for my projects and so far I managed to make RGB sliders and an HSB color picker (pretty happy with this one). Im pleased with both of these but another thing I want to do is a col…

---

## [I keep getting null pointer exception when using classes when playing audio](https://discourse.processing.org/t/i-keep-getting-null-pointer-exception-when-using-classes-when-playing-audio/23179)

<div class="topic-metadata">

**Author:** [@anon76195010](https://discourse.processing.org/u/anon76195010)\
**Replies:** 0\
**Last updated:** [August 11, 2020, 4:38am UTC](https://discourse.processing.org/t/i-keep-getting-null-pointer-exception-when-using-classes-when-playing-audio/23179 "2020-08-11T04:38:41Z")

</div>

So this is my main file (named Testing) Minim minim; Audio audio; void setup() { audio = new Audio(); size(800, 800); } void draw() { audio.drawShape(); background(255); } And this is the Audio class fil…

---

## [Animated grid loop](https://discourse.processing.org/t/animated-grid-loop/23154)

<div class="topic-metadata">

**Author:** [@brunobot](https://discourse.processing.org/u/brunobot)\
**Replies:** 5\
**Last updated:** [August 10, 2020, 4:33pm UTC](https://discourse.processing.org/t/animated-grid-loop/23154 "2020-08-10T16:33:20Z")

</div>

Hello! I’m new to Processing. Love it but some of the thinking is giving me a hard time. I’m trying to recreate this kind of visual effect here: I thought I could recreate this by creating a stripe of different co…

---

## [P5.gui theme change](https://discourse.processing.org/t/p5-gui-theme-change/23161)

<div class="topic-metadata">

**Author:** [@SamuelCobb](https://discourse.processing.org/u/SamuelCobb)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 9:21am UTC](https://discourse.processing.org/t/p5-gui-theme-change/23161 "2020-08-10T09:21:14Z")

</div>

Hey guys, I’ve been playing around with p5.gui to make one of my sims more user friendly. Although p5.gui is incredibly simple to use and I really love the ease of use. My problem is, it’s colour scheme isn’t exactly th…

---

## [Basic graphing calculator makes strange lines inconsistently](https://discourse.processing.org/t/basic-graphing-calculator-makes-strange-lines-inconsistently/23123)

<div class="topic-metadata">

**Author:** [@Crysp](https://discourse.processing.org/u/Crysp)\
**Replies:** 7\
**Last updated:** [August 9, 2020, 9:55pm UTC](https://discourse.processing.org/t/basic-graphing-calculator-makes-strange-lines-inconsistently/23123 "2020-08-09T21:55:13Z")

</div>

Hi all, So I made this really basic graphing calculator that draws the form of whatever equation you give it (ex. it can draw a cubic function with axis lines). It almost works perfectly and exactly how I wanted, except…

---

## [Make a class use another class?](https://discourse.processing.org/t/make-a-class-use-another-class/23110)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 3\
**Last updated:** [August 10, 2020, 3:41am UTC](https://discourse.processing.org/t/make-a-class-use-another-class/23110 "2020-08-10T03:41:51Z")

</div>

Hi I’m working on a math library and I got the Idea to make a Matrix where you can put anything in. The class you put in should have certain methods. I thougt about demanding it to extend a abstract Class Number I heard…

---

## [Ayuda, Random y PImage](https://discourse.processing.org/t/ayuda-random-y-pimage/23157)

<div class="topic-metadata">

**Author:** [@Cecialvarez](https://discourse.processing.org/u/Cecialvarez)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 12:04am UTC](https://discourse.processing.org/t/ayuda-random-y-pimage/23157 "2020-08-10T00:04:08Z")

</div>

Hola necesito crear un juego dónde se combinen 3 imágenes (similar al tragamonedas del casino 777). Necesito que de forma aleatoria(random) vayan cambiando las imagenes (png) y que al presionar una tecla se forme una com…

---

## [Maven release out of date](https://discourse.processing.org/t/maven-release-out-of-date/14993)

<div class="topic-metadata">

**Author:** [@macbrayne](https://discourse.processing.org/u/macbrayne)\
**Replies:** 7\
**Last updated:** [August 9, 2020, 8:55pm UTC](https://discourse.processing.org/t/maven-release-out-of-date/14993 "2020-08-09T20:55:46Z")

</div>

Hello fellow Processing users, I’ve been developing a game for the last few years and switched to using IntelliJ Idea in May due to my game’s complexity. Since then I’ve been modularizing and refactoring my game to usin…

---

## [Getting live audio input](https://discourse.processing.org/t/getting-live-audio-input/23143)

<div class="topic-metadata">

**Author:** [@Tomfoolery](https://discourse.processing.org/u/Tomfoolery)\
**Replies:** 7\
**Last updated:** [August 9, 2020, 8:23pm UTC](https://discourse.processing.org/t/getting-live-audio-input/23143 "2020-08-09T20:23:16Z")

</div>

So I’m brand new to working with audio in any form, and I’m hoping you folks can point me in the right direction. A DJ friend of mine wants my processing sketch to react to his audio. He said he could plug his output in…

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

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