# Latest

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

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

**Page:** 570

---

## [Badly formed character constant](https://discourse.processing.org/t/badly-formed-character-constant/4832)

<div class="topic-metadata">

**Author:** [@somedude](https://discourse.processing.org/u/somedude)\
**Replies:** 3\
**Last updated:** [October 25, 2018, 10:03am UTC](https://discourse.processing.org/t/badly-formed-character-constant/4832 "2018-10-25T10:03:53Z")

</div>

im programming a character that moves on a background with the arrow keys and im having an issue i’ll leave the code on the description PImage bg, personagem; int px, py; boolean cima, baixo, esq, dir; void setup() {…

---

## [About processing with HTML Parsing](https://discourse.processing.org/t/about-processing-with-html-parsing/4401)

<div class="topic-metadata">

**Author:** [@sailor](https://discourse.processing.org/u/sailor)\
**Replies:** 2\
**Last updated:** [October 25, 2018, 9:58am UTC](https://discourse.processing.org/t/about-processing-with-html-parsing/4401 "2018-10-25T09:58:42Z")

</div>

I knew this page, http://www.aharef.info/2006/05/websites\_as\_graphs.htm, (original page where the animation were) some years ago (a snapshot is available here: https://web.archive.org/web/20150508185058/http://www.aharef…

---

## [Change a Class without changing it’s code?](https://discourse.processing.org/t/change-a-class-without-changing-it-s-code/4748)

<div class="topic-metadata">

**Author:** [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Replies:** 6\
**Last updated:** [October 25, 2018, 9:51am UTC](https://discourse.processing.org/t/change-a-class-without-changing-it-s-code/4748 "2018-10-25T09:51:22Z")

</div>

I have the following problem, i Need to change a Class that i have to Import from outside, But i can only Import and not Access it to change it. I also can‘t (could, But is much more complicated Solution) extend a new cl…

---

## [AudioFile ArrayIndexOutOvBoundsException: 3](https://discourse.processing.org/t/audiofile-arrayindexoutovboundsexception-3/4608)

<div class="topic-metadata">

**Author:** [@FerrariLuigi](https://discourse.processing.org/u/FerrariLuigi)\
**Replies:** 4\
**Last updated:** [October 25, 2018, 7:38am UTC](https://discourse.processing.org/t/audiofile-arrayindexoutovboundsexception-3/4608 "2018-10-25T07:38:08Z")

</div>

Dear all, I developed a very simple project: import processing.sound.\*; SoundFile f1; SoundFile f2; SoundFile f3; SoundFile f4; SoundFile f5; void setup() { loadAudioError(); } void draw() { } void loadAudioEr…

---

## [How to invoke the P2DX rendering](https://discourse.processing.org/t/how-to-invoke-the-p2dx-rendering/4597)

<div class="topic-metadata">

**Author:** [@xaracen](https://discourse.processing.org/u/xaracen)\
**Replies:** 2\
**Last updated:** [October 25, 2018, 6:53am UTC](https://discourse.processing.org/t/how-to-invoke-the-p2dx-rendering/4597 "2018-10-25T06:53:42Z")

</div>

Hi, I have a processing sketch built via Processing 3.3.7/8 in Windows under Android Mode. It basically displays a live pulse waveform from Bluetooth data received from a sensor module. It works just fine on most Android…

---

## [Unfolding maps in 2D renderer](https://discourse.processing.org/t/unfolding-maps-in-2d-renderer/4843)

<div class="topic-metadata">

**Author:** [@cooki](https://discourse.processing.org/u/cooki)\
**Replies:** 1\
**Last updated:** [October 25, 2018, 6:40am UTC](https://discourse.processing.org/t/unfolding-maps-in-2d-renderer/4843 "2018-10-25T06:40:37Z")

</div>

I am trying to run a sketch with a visualization of tweets on a map of Barcelona using the UnfoldingMaps library I made some time ago. I have been encountering the error: java.lang.NoSuchFieldError: quality I tried runni…

---

## [Font by data (Fontastic)](https://discourse.processing.org/t/font-by-data-fontastic/4840)

<div class="topic-metadata">

**Author:** [@vanoevelenstef](https://discourse.processing.org/u/vanoevelenstef)\
**Replies:** 0\
**Last updated:** [October 24, 2018, 9:01pm UTC](https://discourse.processing.org/t/font-by-data-fontastic/4840 "2018-10-24T21:01:08Z")

</div>

I’m a graphic designer and trying to create a font using Fontastic\_Library. The original version made a font using random function. I would like to draw the shapes using the mouseX and mouseY variables. Can’t figure it o…

---

## [Cp5 Textfield Focus](https://discourse.processing.org/t/cp5-textfield-focus/4734)

<div class="topic-metadata">

**Author:** [@seo](https://discourse.processing.org/u/seo)\
**Replies:** 2\
**Last updated:** [October 25, 2018, 5:08am UTC](https://discourse.processing.org/t/cp5-textfield-focus/4734 "2018-10-25T05:08:18Z")

</div>

Hi. I’m not used to English, sorry. cp5’s Textfield Focus is white and long. Is there a way to fix this? I really want to know. It will be really helpful if you let me know. Thanks.

---

## [Turn off auto save](https://discourse.processing.org/t/turn-off-auto-save/4790)

<div class="topic-metadata">

**Author:** [@sanson](https://discourse.processing.org/u/sanson)\
**Replies:** 6\
**Last updated:** [October 24, 2018, 11:26pm UTC](https://discourse.processing.org/t/turn-off-auto-save/4790 "2018-10-24T23:26:03Z")

</div>

Hello, A noob question: Is there a way to turn off the autosave in the windows downloadable version? Thanks

---

## [Measure distance along curves, curvePoint()? in p5.js?](https://discourse.processing.org/t/measure-distance-along-curves-curvepoint-in-p5-js/4583)

<div class="topic-metadata">

**Author:** [@christianbird](https://discourse.processing.org/u/christianbird)\
**Replies:** 4\
**Last updated:** [October 24, 2018, 11:23pm UTC](https://discourse.processing.org/t/measure-distance-along-curves-curvepoint-in-p5-js/4583 "2018-10-24T23:23:27Z")

</div>

Hello! Please forgive me if I have posted this topic in the wrong location. This is my first post, thanks in advance for any pointers or suggestions. I’m hoping to measure along a spline or bezier curve within p5.js -…

---

## [selectInput() anomaly](https://discourse.processing.org/t/selectinput-anomaly/4504)

<div class="topic-metadata">

**Author:** [@moireGuy](https://discourse.processing.org/u/moireGuy)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 8:30pm UTC](https://discourse.processing.org/t/selectinput-anomaly/4504 "2018-10-24T20:30:34Z")

</div>

Greetings all, I’ve encountered some anomalous behavior regarding the selectInput() function and the P3D renderer that I’m curious about. I’m running on a Windows 10 system. The following dummy code demonstrates the be…

---

## [Fatal error on trying to load program](https://discourse.processing.org/t/fatal-error-on-trying-to-load-program/4537)

<div class="topic-metadata">

**Author:** [@jonnno](https://discourse.processing.org/u/jonnno)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 8:18pm UTC](https://discourse.processing.org/t/fatal-error-on-trying-to-load-program/4537 "2018-10-24T20:18:46Z")

</div>

about a year ago I used Processing to open DCC++ software. It worked fine A week ago I tried to open the same program and get an immediate error “an unexpected, unknown and unrecoverable error occurred while opening a …

---

## [Responsive sketch mouse issue](https://discourse.processing.org/t/responsive-sketch-mouse-issue/4546)

<div class="topic-metadata">

**Author:** [@chanof](https://discourse.processing.org/u/chanof)\
**Replies:** 2\
**Last updated:** [October 24, 2018, 8:13pm UTC](https://discourse.processing.org/t/responsive-sketch-mouse-issue/4546 "2018-10-24T20:13:36Z")

</div>

Hi there i try to write a simple responsive menu just for fun, or perhaps if it is good enough for a site… I understand that to redraw in the correct position a button after browser window resizing i need to declare but…

---

## [Where to make suggestions for the discourse.processing page?](https://discourse.processing.org/t/where-to-make-suggestions-for-the-discourse-processing-page/4781)

<div class="topic-metadata">

**Author:** [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Replies:** 2\
**Last updated:** [October 24, 2018, 8:08pm UTC](https://discourse.processing.org/t/where-to-make-suggestions-for-the-discourse-processing-page/4781 "2018-10-24T20:08:24Z")

</div>

Not a question about processing per se, But where can i ask for functionalities and improvements for the Forum? I looked everywhere on the Page, But Theres none that Sounds like it Would be for suggestions or General Tal…

---

## [What is the distance of the camera from the (x, y, 0) plane in P3D?](https://discourse.processing.org/t/what-is-the-distance-of-the-camera-from-the-x-y-0-plane-in-p3d/4388)

<div class="topic-metadata">

**Author:** [@Tsskyx](https://discourse.processing.org/u/Tsskyx)\
**Replies:** 3\
**Last updated:** [October 24, 2018, 8:05pm UTC](https://discourse.processing.org/t/what-is-the-distance-of-the-camera-from-the-x-y-0-plane-in-p3d/4388 "2018-10-24T20:05:20Z")

</div>

I’m making this simple 1st-person 3D environment and for that I need to know the distance of the camera (the 1st person) from the objects rendered on the screen. Alternatively, is there a way to move the camera so that …

---

## [P5js // Trying to work out rotation of an object](https://discourse.processing.org/t/p5js-trying-to-work-out-rotation-of-an-object/4774)

<div class="topic-metadata">

**Author:** [@sam.bowman](https://discourse.processing.org/u/sam.bowman)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 8:00pm UTC](https://discourse.processing.org/t/p5js-trying-to-work-out-rotation-of-an-object/4774 "2018-10-24T20:00:37Z")

</div>

Hey, I am trying to make a basic simulation for a drone/quadcopter, with control of each thruster on the drone. The drone itself is a body, with 4 thrusters attached. I am currently working on adjusting the position and…

---

## [Has anyone had any luck with the sound library on the pi 0?](https://discourse.processing.org/t/has-anyone-had-any-luck-with-the-sound-library-on-the-pi-0/4060)

<div class="topic-metadata">

**Author:** [@gwenn](https://discourse.processing.org/u/gwenn)\
**Replies:** 6\
**Last updated:** [October 24, 2018, 7:58pm UTC](https://discourse.processing.org/t/has-anyone-had-any-luck-with-the-sound-library-on-the-pi-0/4060 "2018-10-24T19:58:48Z")

</div>

Hello everyone According to https://learn.adafruit.com/adding-basic-audio-ouput-to-raspberry-pi-zero/pi-zero-pwm-audio there is a way to play audio out of the pi 0. I tried to reproduce it, followed all the instruction…

---

## [Trying to replicate a creation - stuck with laying out PVectors along a curve](https://discourse.processing.org/t/trying-to-replicate-a-creation-stuck-with-laying-out-pvectors-along-a-curve/4725)

<div class="topic-metadata">

**Author:** [@henri](https://discourse.processing.org/u/henri)\
**Replies:** 9\
**Last updated:** [October 24, 2018, 7:58pm UTC](https://discourse.processing.org/t/trying-to-replicate-a-creation-stuck-with-laying-out-pvectors-along-a-curve/4725 "2018-10-24T19:58:47Z")

</div>

Hello, I am fairly new to Processing and coding in general. I have been trying to replicate a creation I found on the homepage of a studio called Yes. See www.yes.studio I have got quite close, managing to create a num…

---

## [Sorting algorithm method timeout occurred](https://discourse.processing.org/t/sorting-algorithm-method-timeout-occurred/4542)

<div class="topic-metadata">

**Author:** [@Marcus152](https://discourse.processing.org/u/Marcus152)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 7:43pm UTC](https://discourse.processing.org/t/sorting-algorithm-method-timeout-occurred/4542 "2018-10-24T19:43:20Z")

</div>

Hey everybody! I’m trying to make a really stupid sorting algorithm as a joke, but I can’t seem to get it to work. It’s called “Supernatural Occurence Sort”, and basically, my idea was as follows: if nArr is sorted some…

---

## [Back/forward/extra mouse buttons](https://discourse.processing.org/t/back-forward-extra-mouse-buttons/4515)

<div class="topic-metadata">

**Author:** [@lmccandless](https://discourse.processing.org/u/lmccandless)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 7:29pm UTC](https://discourse.processing.org/t/back-forward-extra-mouse-buttons/4515 "2018-10-24T19:29:24Z")

</div>

Trying to use the back/forward buttons on the side of my mouse, it doesn’t show up with mousePressed, key, or keyCode. Is this broken out anywhere?

---

## [Target VM failed to initialise error message](https://discourse.processing.org/t/target-vm-failed-to-initialise-error-message/4490)

<div class="topic-metadata">

**Author:** [@RossY99](https://discourse.processing.org/u/RossY99)\
**Replies:** 0\
**Last updated:** [October 15, 2018, 12:41pm UTC](https://discourse.processing.org/t/target-vm-failed-to-initialise-error-message/4490 "2018-10-15T12:41:46Z")

</div>

I’m trying to test and see if a particular audio file I have is working but i’m receiving an error message that I don’t fully understand. The code looks like this: import processing.sound.\*; SoundFile file; String audi…

---

## [ArrayList - would like to get it printed in a window](https://discourse.processing.org/t/arraylist-would-like-to-get-it-printed-in-a-window/4461)

<div class="topic-metadata">

**Author:** [@sljivan](https://discourse.processing.org/u/sljivan)\
**Replies:** 2\
**Last updated:** [October 24, 2018, 7:15pm UTC](https://discourse.processing.org/t/arraylist-would-like-to-get-it-printed-in-a-window/4461 "2018-10-24T19:15:07Z")

</div>

Hello guys, I would like to print list of COM ports list in a window, so user could pick one from the list. I used an example I found on the forum, and tried to upgrade it with my request. I have tryed this: int stat…

---

## [Using a webcam to trigger off sound](https://discourse.processing.org/t/using-a-webcam-to-trigger-off-sound/4449)

<div class="topic-metadata">

**Author:** [@sean](https://discourse.processing.org/u/sean)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 7:08pm UTC](https://discourse.processing.org/t/using-a-webcam-to-trigger-off-sound/4449 "2018-10-24T19:08:25Z")

</div>

Hi there. I am new to Processing. I am having problems getting a single sound to trigger when there is movement using a webcam as a motion sensor and when there is no movement the sound stops. My main problem is the s…

---

## [P5.sound playing sound from samples](https://discourse.processing.org/t/p5-sound-playing-sound-from-samples/4414)

<div class="topic-metadata">

**Author:** [@a931eric](https://discourse.processing.org/u/a931eric)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 7:04pm UTC](https://discourse.processing.org/t/p5-sound-playing-sound-from-samples/4414 "2018-10-24T19:04:48Z")

</div>

Hi,I have an image of sound wave,and I want to make it play using P5.js. So I sample it then I get a number array ,like {0.51,0.52,0.43…}. Is there a way to play the sound using P5.js from the array,or should I do FFT…

---

## [Syncing phase of multiple Oscil in Minim?](https://discourse.processing.org/t/syncing-phase-of-multiple-oscil-in-minim/4408)

<div class="topic-metadata">

**Author:** [@ffd8](https://discourse.processing.org/u/ffd8)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 6:55pm UTC](https://discourse.processing.org/t/syncing-phase-of-multiple-oscil-in-minim/4408 "2018-10-24T18:55:31Z")

</div>

Kinda odd question (and hoping Dami Quartz might offer insight here) – is anyone familiar with syncing the phase between multiple Oscil (oscillator) objects in Minim? Over the years I’ve played a lot with both default wa…

---

## [Time-base Pattern Help](https://discourse.processing.org/t/time-base-pattern-help/4398)

<div class="topic-metadata">

**Author:** [@ehasti21](https://discourse.processing.org/u/ehasti21)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 6:47pm UTC](https://discourse.processing.org/t/time-base-pattern-help/4398 "2018-10-24T18:47:06Z")

</div>

Hello all, we are currently working on a time-based pattern project for class but i’ve manage to hit a wall working on my code. I am new to working in the program so i’m a tad confused. I would like to make it to where…

---

## [Pixels Array, Multiple Images](https://discourse.processing.org/t/pixels-array-multiple-images/4793)

<div class="topic-metadata">

**Author:** [@lizzy](https://discourse.processing.org/u/lizzy)\
**Replies:** 7\
**Last updated:** [October 24, 2018, 6:31pm UTC](https://discourse.processing.org/t/pixels-array-multiple-images/4793 "2018-10-24T18:31:21Z")

</div>

I want to use the pixels array to randomize color in a repeated image. I think I should see three sharks with three random colors, the same random colors as the squares at the top of the canvas. But, the sharks all get t…

---

## [Font anti-aliasing: Processing 2 vs Processing 3](https://discourse.processing.org/t/font-anti-aliasing-processing-2-vs-processing-3/4345)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 1\
**Last updated:** [October 24, 2018, 6:26pm UTC](https://discourse.processing.org/t/font-anti-aliasing-processing-2-vs-processing-3/4345 "2018-10-24T18:26:39Z")

</div>

Processing 2.0.3 produces very different font anti-aliasing compared to Processing 3. Top Processing 2, bottom Processing 2: Can this be fixed in the code for Processing 2, so that it looks like Processing 3? Higher v…

---

## [Looping counter inside function](https://discourse.processing.org/t/looping-counter-inside-function/4763)

<div class="topic-metadata">

**Author:** [@spade](https://discourse.processing.org/u/spade)\
**Replies:** 3\
**Last updated:** [October 24, 2018, 6:16pm UTC](https://discourse.processing.org/t/looping-counter-inside-function/4763 "2018-10-24T18:16:56Z")

</div>

Hi, I was trying to initiate a variable inside a function that saves a time reference so I know how much time has passed since it was used (to sync with the BPM). This is my function: void rainbow(int bpm){ float b…

---

## [Interaction of objects parameters](https://discourse.processing.org/t/interaction-of-objects-parameters/4750)

<div class="topic-metadata">

**Author:** [@LizrichVonEinzbern08](https://discourse.processing.org/u/LizrichVonEinzbern08)\
**Replies:** 2\
**Last updated:** [October 24, 2018, 5:22pm UTC](https://discourse.processing.org/t/interaction-of-objects-parameters/4750 "2018-10-24T17:22:30Z")

</div>

Particle p; Particle p1; void setup(){ //fullScreen(); size(640,320); p = new Particle(); p1 = new Particle(); } void draw(){ background(150); p.display(); p1.display(); } class Particle{ float x = rand…

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

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