# Latest

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

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

**Page:** 514

---

## [Need help with saveCanvas](https://discourse.processing.org/t/need-help-with-savecanvas/9221)

<div class="topic-metadata">

**Author:** [@grebjack](https://discourse.processing.org/u/grebjack)\
**Replies:** 2\
**Last updated:** [March 12, 2019, 11:45pm UTC](https://discourse.processing.org/t/need-help-with-savecanvas/9221 "2019-03-12T23:45:46Z")

</div>

I’m trying to generate a series of 12 related images and save each of them. At first I had the 12 generated in a for loop, but that routinely only got me 10 images saved and I had seen something in the saveFrames docume…

---

## [If two objects touch](https://discourse.processing.org/t/if-two-objects-touch/8876)

<div class="topic-metadata">

**Author:** [@LordCacops](https://discourse.processing.org/u/LordCacops)\
**Replies:** 3\
**Last updated:** [March 12, 2019, 9:11pm UTC](https://discourse.processing.org/t/if-two-objects-touch/8876 "2019-03-12T21:11:51Z")

</div>

Hello. I have objects in an array list. They are rectangular, but more complex than single rectangles. They are collections of rectangles. I want something to happen if two of these “Animal” objects touch. If these were…

---

## [Check direction for a object](https://discourse.processing.org/t/check-direction-for-a-object/9139)

<div class="topic-metadata">

**Author:** [@vincentstrebelle](https://discourse.processing.org/u/vincentstrebelle)\
**Replies:** 8\
**Last updated:** [March 12, 2019, 8:39pm UTC](https://discourse.processing.org/t/check-direction-for-a-object/9139 "2019-03-12T20:39:27Z")

</div>

Hi, i wonder how to check and know the diretions (left,right,up and down) for an object in motion. Here is the exemple from Daniel Shiffman: Vehicle v; boolean debug = true; float d = 25; void setup() { size(640, …

---

## [Error with webacm](https://discourse.processing.org/t/error-with-webacm/9241)

<div class="topic-metadata">

**Author:** [@kcuf1623](https://discourse.processing.org/u/kcuf1623)\
**Replies:** 0\
**Last updated:** [March 12, 2019, 5:36pm UTC](https://discourse.processing.org/t/error-with-webacm/9241 "2019-03-12T17:36:00Z")

</div>

Hello everyone! I wanted to use webcam with p5.js But i don’t see video at all and got error message in chrome console like this. Uncaught TypeError: Failed to execute ‘createObjectURL’ on ‘URL’: No function was found…

---

## [Assistance with reformattin issue](https://discourse.processing.org/t/assistance-with-reformattin-issue/9163)

<div class="topic-metadata">

**Author:** [@NationalRex22](https://discourse.processing.org/u/NationalRex22)\
**Replies:** 1\
**Last updated:** [March 12, 2019, 5:18pm UTC](https://discourse.processing.org/t/assistance-with-reformattin-issue/9163 "2019-03-12T17:18:43Z")

</div>

Hello, I’m writing to request a bit of assistance related to changing fonts for a couple words. For example, what I’m trying to accomplish is switching an inline font, Palatino Lynotype, for a web page’s title (located …

---

## [New to P5 - basic object question](https://discourse.processing.org/t/new-to-p5-basic-object-question/9207)

<div class="topic-metadata">

**Author:** [@cryptogee](https://discourse.processing.org/u/cryptogee)\
**Replies:** 3\
**Last updated:** [March 12, 2019, 5:11pm UTC](https://discourse.processing.org/t/new-to-p5-basic-object-question/9207 "2019-03-12T17:11:55Z")

</div>

Hi, I’ve just discovered P5 today, I have some coding experience, however it is mainly theoretical/following along. Now I’m trying to make it on my own! Okay, so I have drawn a basic background with a couple of ellipses…

---

## [More GameControlPlus Woes!](https://discourse.processing.org/t/more-gamecontrolplus-woes/9020)

<div class="topic-metadata">

**Author:** [@alan856](https://discourse.processing.org/u/alan856)\
**Replies:** 3\
**Last updated:** [March 12, 2019, 5:03pm UTC](https://discourse.processing.org/t/more-gamecontrolplus-woes/9020 "2019-03-12T17:03:35Z")

</div>

Still trying to get the custom joystick working. Have a test test Processing script to access it but the returned data does not change. Here is the setup: Arduino Micro reading pots via Joystick library The Arduino is…

---

## [Problem with keypressed](https://discourse.processing.org/t/problem-with-keypressed/9225)

<div class="topic-metadata">

**Author:** [@yonjukyu](https://discourse.processing.org/u/yonjukyu)\
**Replies:** 2\
**Last updated:** [March 12, 2019, 4:10pm UTC](https://discourse.processing.org/t/problem-with-keypressed/9225 "2019-03-12T16:10:02Z")

</div>

hello i want to make my “rect” moove when i press “LEFT” but with this code the rect is mooving even if nothin is pressed. (i used keyreleased because i want to press many keys at the same time) what’s wrong??: int x …

---

## [loadShape() throwing error when loading svg](https://discourse.processing.org/t/loadshape-throwing-error-when-loading-svg/9223)

<div class="topic-metadata">

**Author:** [@charly4710](https://discourse.processing.org/u/charly4710)\
**Replies:** 1\
**Last updated:** [March 12, 2019, 10:29am UTC](https://discourse.processing.org/t/loadshape-throwing-error-when-loading-svg/9223 "2019-03-12T10:29:03Z")

</div>

Hi, I struggle with loadshape() when loading certain svg files. the files are created in icograms.com, and are perfectly readable in browsers and in inkscape. parsed: m,51.4,41.9,c,0,.1,-.1.2,-.2.1,s,-.2,-.2,-.2,-.4.1…

---

## [RuntimeException](https://discourse.processing.org/t/runtimeexception/9219)

<div class="topic-metadata">

**Author:** [@WowMG](https://discourse.processing.org/u/WowMG)\
**Replies:** 1\
**Last updated:** [March 12, 2019, 7:22am UTC](https://discourse.processing.org/t/runtimeexception/9219 "2019-03-12T07:22:06Z")

</div>

Hi, I’m getting this error. Can anyone tell me what it means? RuntimeException: Expected a ',' or '}'

---

## [Help with my homework!](https://discourse.processing.org/t/help-with-my-homework/9211)

<div class="topic-metadata">

**Author:** [@xlotg](https://discourse.processing.org/u/xlotg)\
**Replies:** 1\
**Last updated:** [March 12, 2019, 1:56am UTC](https://discourse.processing.org/t/help-with-my-homework/9211 "2019-03-12T01:56:46Z")

</div>

I have to create a game where “balloons” float up the screen and when you click them they disappear. I’m having trouble making them disappear on mouse press and don’t know how to do this. Keep it simple please! Balloon\[…

---

## [\[p5js\] A tribute to Flora Stacey: universal ASCII art self-portrait](https://discourse.processing.org/t/p5js-a-tribute-to-flora-stacey-universal-ascii-art-self-portrait/9102)

<div class="topic-metadata">

**Author:** [@yaniki](https://discourse.processing.org/u/yaniki)\
**Replies:** 3\
**Last updated:** [March 11, 2019, 7:33pm UTC](https://discourse.processing.org/t/p5js-a-tribute-to-flora-stacey-universal-ascii-art-self-portrait/9102 "2019-03-11T19:33:42Z")

</div>

I think it’s a good day to mention Flora Stacey - the inventor of the typewriter art (a pre-computer technique of creating images from characters available in typewriters). In 1898 Stacey created first known piece of ty…

---

## [Steering Behaviors - Obstacle Avoidance](https://discourse.processing.org/t/steering-behaviors-obstacle-avoidance/3899)

<div class="topic-metadata">

**Author:** [@Sarah](https://discourse.processing.org/u/Sarah)\
**Replies:** 14\
**Last updated:** [March 11, 2019, 7:32pm UTC](https://discourse.processing.org/t/steering-behaviors-obstacle-avoidance/3899 "2019-03-11T19:32:02Z")

</div>

Hi, Recently I’ve been trying to implement Craig Reynolds steering behaviors into my program, and as I’ve come up to obstacle avoidance, I’ve found it difficult to replicate his example. (Video of what I’m trying to mak…

---

## [How to display German letters in Processing?](https://discourse.processing.org/t/how-to-display-german-letters-in-processing/9198)

<div class="topic-metadata">

**Author:** [@Schred](https://discourse.processing.org/u/Schred)\
**Replies:** 2\
**Last updated:** [March 11, 2019, 5:31pm UTC](https://discourse.processing.org/t/how-to-display-german-letters-in-processing/9198 "2019-03-11T17:31:51Z")

</div>

Hi! So I don’t know if anyone here had that problem before, but I was wondering how I could display the German letters “ö, ö, ü” in Processing. Every font that could display those letters in word could not do that in P…

---

## [G4P Question - Create / hide second screen](https://discourse.processing.org/t/g4p-question-create-hide-second-screen/9132)

<div class="topic-metadata">

**Author:** [@WyattStorch](https://discourse.processing.org/u/WyattStorch)\
**Replies:** 7\
**Last updated:** [March 11, 2019, 4:44pm UTC](https://discourse.processing.org/t/g4p-question-create-hide-second-screen/9132 "2019-03-11T16:44:59Z")

</div>

@quark I apologize in advance for my newbiness. I’m using Processing 3.5.3, G4P V4.2.1, and GUI Builder 4.3 in Windows 7 64 bit. I love your utility but in my newbiness I’m having a devil of a time trying to figure it o…

---

## [Traffic Simulation based on the Wolfram Rule 184](https://discourse.processing.org/t/traffic-simulation-based-on-the-wolfram-rule-184/9109)

<div class="topic-metadata">

**Author:** [@RomanKot](https://discourse.processing.org/u/RomanKot)\
**Replies:** 6\
**Last updated:** [March 11, 2019, 3:12pm UTC](https://discourse.processing.org/t/traffic-simulation-based-on-the-wolfram-rule-184/9109 "2019-03-11T15:12:47Z")

</div>

Why do we need noStroke() here? The code is based on an example from Examples library. Why can I not change the width of rect()? int\[\] cells; int generation; void setup() { size(640, 360); background(255); cells…

---

## [I can't see where i'm missing](https://discourse.processing.org/t/i-cant-see-where-im-missing/9190)

<div class="topic-metadata">

**Author:** [@JoseBri93](https://discourse.processing.org/u/JoseBri93)\
**Replies:** 2\
**Last updated:** [March 11, 2019, 2:36pm UTC](https://discourse.processing.org/t/i-cant-see-where-im-missing/9190 "2019-03-11T14:36:46Z")

</div>

Hi, i’ve got this sketch where i want to create a new circle whenever a mousePressed() event occurs. It’s been fine for me but now i want it to appear whenever my mouse is located so it continues its path and don’t follo…

---

## [Cannot find a class or type names "Particle"](https://discourse.processing.org/t/cannot-find-a-class-or-type-names-particle/9192)

<div class="topic-metadata">

**Author:** [@JennyMcCreadie](https://discourse.processing.org/u/JennyMcCreadie)\
**Replies:** 1\
**Last updated:** [March 11, 2019, 1:37pm UTC](https://discourse.processing.org/t/cannot-find-a-class-or-type-names-particle/9192 "2019-03-11T13:37:29Z")

</div>

Hi there, I’m following Daniel’s tutorials on Youtube for motion capture but I can’t get this right. I’ve read it and compared my code to his several times but keep getting the error that there’s no class or type named …

---

## [Warning on Shapes3D](https://discourse.processing.org/t/warning-on-shapes3d/9112)

<div class="topic-metadata">

**Author:** [@spiderdab](https://discourse.processing.org/u/spiderdab)\
**Replies:** 5\
**Last updated:** [March 11, 2019, 3:10am UTC](https://discourse.processing.org/t/warning-on-shapes3d/9112 "2019-03-11T03:10:22Z")

</div>

Hi, I’m trying to use Shapes3D library from Quark to use the pick function, but in the example, on the first click this warning is shown: smooth() can only be used before beginDraw() and no pick is performed. is it …

---

## [Trigger an image in interactive installation “sensor input cannot be resolved as a variable”](https://discourse.processing.org/t/trigger-an-image-in-interactive-installation-sensor-input-cannot-be-resolved-as-a-variable/8800)

<div class="topic-metadata">

**Author:** [@shiv94](https://discourse.processing.org/u/shiv94)\
**Replies:** 11\
**Last updated:** [March 11, 2019, 1:16am UTC](https://discourse.processing.org/t/trigger-an-image-in-interactive-installation-sensor-input-cannot-be-resolved-as-a-variable/8800 "2019-03-11T01:16:46Z")

</div>

Hello, I am currently working on an interactive canvas installation, where conductive ink is the Capsense input and the out is an image or gif that is projected onto the canvas via a projector linked to a laptop. This …

---

## [Frequencies not adding up](https://discourse.processing.org/t/frequencies-not-adding-up/9170)

<div class="topic-metadata">

**Author:** [@Aeggy](https://discourse.processing.org/u/Aeggy)\
**Replies:** 3\
**Last updated:** [March 11, 2019, 12:49am UTC](https://discourse.processing.org/t/frequencies-not-adding-up/9170 "2019-03-11T00:49:13Z")

</div>

Hi. I’m trying to make sure that I know where certain audio frequencies are located when I load an audio clip. The musical note A4 is 440Hz. If the frequencies of a clip with a sample rate of 44100Hz are split into 1024…

---

## [Transparent PNG texture tint not working](https://discourse.processing.org/t/transparent-png-texture-tint-not-working/9122)

<div class="topic-metadata">

**Author:** [@sjespers](https://discourse.processing.org/u/sjespers)\
**Replies:** 5\
**Last updated:** [March 11, 2019, 12:00am UTC](https://discourse.processing.org/t/transparent-png-texture-tint-not-working/9122 "2019-03-11T00:00:52Z")

</div>

Hello! Anyone have any idea why some transparent PNGs don’t seem to respond to tint? Example: size(200, 200, P3D); noStroke(); PImage img = loadImage("https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Apple\_lo…

---

## [How to create a point system](https://discourse.processing.org/t/how-to-create-a-point-system/9179)

<div class="topic-metadata">

**Author:** [@deanie](https://discourse.processing.org/u/deanie)\
**Replies:** 8\
**Last updated:** [March 10, 2019, 9:55pm UTC](https://discourse.processing.org/t/how-to-create-a-point-system/9179 "2019-03-10T21:55:37Z")

</div>

Hello all, I am trying to make a simple interactive game in Processing 3. I currently have a class set up to create bubbles on the screen starting at the bottom and slowly floating to the top. I also have the bubbles di…

---

## [Motion Detection with Clusters](https://discourse.processing.org/t/motion-detection-with-clusters/9071)

<div class="topic-metadata">

**Author:** [@JennyMcCreadie](https://discourse.processing.org/u/JennyMcCreadie)\
**Replies:** 1\
**Last updated:** [March 10, 2019, 8:43pm UTC](https://discourse.processing.org/t/motion-detection-with-clusters/9071 "2019-03-10T20:43:59Z")

</div>

Hi there, I’m trying to write code that will form a cluster of ellipses in the shape of a person as they approach the screen. I’m okay with the part of motion detection, but I can’t work out how to make the clusters app…

---

## [Change fill of multiple objects at the same time](https://discourse.processing.org/t/change-fill-of-multiple-objects-at-the-same-time/9048)

<div class="topic-metadata">

**Author:** [@xicolirou](https://discourse.processing.org/u/xicolirou)\
**Replies:** 3\
**Last updated:** [March 10, 2019, 6:23pm UTC](https://discourse.processing.org/t/change-fill-of-multiple-objects-at-the-same-time/9048 "2019-03-10T18:23:18Z")

</div>

Hi guys, im using a variable to loop a robot and i need a especific robot to change its entire color. Do you guys now how to change the fill of multiple objects?

---

## [Problems with rotating rectangles in a grid](https://discourse.processing.org/t/problems-with-rotating-rectangles-in-a-grid/9052)

<div class="topic-metadata">

**Author:** [@hkiri](https://discourse.processing.org/u/hkiri)\
**Replies:** 6\
**Last updated:** [March 10, 2019, 5:54pm UTC](https://discourse.processing.org/t/problems-with-rotating-rectangles-in-a-grid/9052 "2019-03-10T17:54:29Z")

</div>

Hi everyone, I try to create a grid of rectangles which are rotated by 45°. So something like this: But with a rotation of 45° of every rectangle. Whatever I try with “translate” I can’t get them to align back in a…

---

## [Move image around screen](https://discourse.processing.org/t/move-image-around-screen/9066)

<div class="topic-metadata">

**Author:** [@rose](https://discourse.processing.org/u/rose)\
**Replies:** 2\
**Last updated:** [March 10, 2019, 5:49pm UTC](https://discourse.processing.org/t/move-image-around-screen/9066 "2019-03-10T17:49:27Z")

</div>

The first task will be to get the images to appear on the screen and to give the interface a screen size that works with the background image. Once this is complete, try to get the image object to move around the screen…

---

## [Newbie - Trying to make a "Taiko"-like game](https://discourse.processing.org/t/newbie-trying-to-make-a-taiko-like-game/9120)

<div class="topic-metadata">

**Author:** [@Shii](https://discourse.processing.org/u/Shii)\
**Replies:** 3\
**Last updated:** [March 10, 2019, 5:41pm UTC](https://discourse.processing.org/t/newbie-trying-to-make-a-taiko-like-game/9120 "2019-03-10T17:41:41Z")

</div>

Hi, I started Processing recently, and I’m trying to make a project for school, but I’m stuck. (Before start to explain, I’m sorry for the possible mistakes I could make, I’m not english) Well, I assume you know what “…

---

## [Vertex skew by angle?](https://discourse.processing.org/t/vertex-skew-by-angle/8986)

<div class="topic-metadata">

**Author:** [@sjespers](https://discourse.processing.org/u/sjespers)\
**Replies:** 8\
**Last updated:** [March 10, 2019, 5:10pm UTC](https://discourse.processing.org/t/vertex-skew-by-angle/8986 "2019-03-10T17:10:03Z")

</div>

Hi there, I have a square vertex that I want to skew by a certain angle. I know how to get the angle between two points but how do I find the position of my vertex points based on a set angle? The angle between the top…

---

## [blendMode(NORMAL)](https://discourse.processing.org/t/blendmode-normal/9093)

<div class="topic-metadata">

**Author:** [@gregorfa](https://discourse.processing.org/u/gregorfa)\
**Replies:** 2\
**Last updated:** [March 10, 2019, 4:40pm UTC](https://discourse.processing.org/t/blendmode-normal/9093 "2019-03-10T16:40:38Z")

</div>

blendMode(NORMAL) doesn’t seem to work here. If you use another mode (DARKEST for example) it will change, but revert to normal does not seem to work. What am I missing? function setup() { createCanvas(400, 400); } fun…

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

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