# Latest

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

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

**Page:** 551

---

## [How to have my image move horizontally?](https://discourse.processing.org/t/how-to-have-my-image-move-horizontally/6321)

<div class="topic-metadata">

**Author:** [@CyanNi](https://discourse.processing.org/u/CyanNi)\
**Replies:** 3\
**Last updated:** [December 5, 2018, 10:00am UTC](https://discourse.processing.org/t/how-to-have-my-image-move-horizontally/6321 "2018-12-05T10:00:16Z")

</div>

I’m working on my game that’s based on the chrome dino run game that plays whenever you’re offline. However, I’m facing a problem, I can’t get my image to move the way the dino does in the game. I’m sorry for bothering…

---

## [Script error. (: line 0)](https://discourse.processing.org/t/script-error-line-0/6294)

<div class="topic-metadata">

**Author:** [@billythemusical](https://discourse.processing.org/u/billythemusical)\
**Replies:** 3\
**Last updated:** [December 5, 2018, 7:32am UTC](https://discourse.processing.org/t/script-error-line-0/6294 "2018-12-05T07:32:16Z")

</div>

Hi - this sketch worked yesterday, and now I get: Script error. (: line 0) The sketch uses a web cam, FYI. I noticed Chrome has just updated today (Dec 4 2018) to “Version 71.0.3578.80 (Official Build) (64-bit)”. I a…

---

## [How to insert colourMode()s into stroke and fill](https://discourse.processing.org/t/how-to-insert-colourmode-s-into-stroke-and-fill/6049)

<div class="topic-metadata">

**Author:** [@CowPieForever](https://discourse.processing.org/u/CowPieForever)\
**Replies:** 3\
**Last updated:** [December 5, 2018, 5:43am UTC](https://discourse.processing.org/t/how-to-insert-colourmode-s-into-stroke-and-fill/6049 "2018-12-05T05:43:06Z")

</div>

Sorry if this is a dumb question, I’m pretty new at this. I would like to insert different colourMode()s into the actual stroke and fill command of a specific shape. How can I do this? Following the instructions on the p…

---

## [Can Video and Text Co-exist?](https://discourse.processing.org/t/can-video-and-text-co-exist/5335)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 21\
**Last updated:** [December 5, 2018, 4:23am UTC](https://discourse.processing.org/t/can-video-and-text-co-exist/5335 "2018-12-05T04:23:01Z")

</div>

I have been using Daniel Example “sketch\_11\_5\_AveragePixelColorTracking” for blob tracking. I thought I could get myself a couple of text lines under the video in the sketch to show XY etc… The text displays but does n…

---

## [Robotics with Johnny Five and p5](https://discourse.processing.org/t/robotics-with-johnny-five-and-p5/6032)

<div class="topic-metadata">

**Author:** [@monteslu](https://discourse.processing.org/u/monteslu)\
**Replies:** 1\
**Last updated:** [December 5, 2018, 3:25am UTC](https://discourse.processing.org/t/robotics-with-johnny-five-and-p5/6032 "2018-12-05T03:25:06Z")

</div>

Added a new library for using the johnny five robotics library (a.k.a. nodebots) with p5.js. Completely in browser using webUSB. More details on this thread: https://twitter.com/monteslu/status/1067528853671751680 an…

---

## [How to create the code of the following video effect?](https://discourse.processing.org/t/how-to-create-the-code-of-the-following-video-effect/5999)

<div class="topic-metadata">

**Author:** [@Malvan](https://discourse.processing.org/u/Malvan)\
**Replies:** 2\
**Last updated:** [December 5, 2018, 3:07am UTC](https://discourse.processing.org/t/how-to-create-the-code-of-the-following-video-effect/5999 "2018-12-05T03:07:50Z")

</div>

Hello there! I was searching through the internet to find anything useful regarding to one of my school projects. I want to create something like this: https://vimeo.com/8218843 The problem is, I don’t really know wher…

---

## [If mousePressed, each click results in different event](https://discourse.processing.org/t/if-mousepressed-each-click-results-in-different-event/6285)

<div class="topic-metadata">

**Author:** [@Missmew72](https://discourse.processing.org/u/Missmew72)\
**Replies:** 3\
**Last updated:** [December 5, 2018, 2:53am UTC](https://discourse.processing.org/t/if-mousepressed-each-click-results-in-different-event/6285 "2018-12-05T02:53:58Z")

</div>

Hi, so I’m new to processing and I have to create a school project. What I want to do is when I click the first time, an image appears. When I click a second time, the first image is replaces with the second image. I nee…

---

## [Python Processing and Anaconda](https://discourse.processing.org/t/python-processing-and-anaconda/5986)

<div class="topic-metadata">

**Author:** [@borres](https://discourse.processing.org/u/borres)\
**Replies:** 2\
**Last updated:** [December 5, 2018, 2:47am UTC](https://discourse.processing.org/t/python-processing-and-anaconda/5986 "2018-12-05T02:47:15Z")

</div>

Can I combine Processing in Python and Anaconda ?

---

## [How to go about scaling a set of objects all together?](https://discourse.processing.org/t/how-to-go-about-scaling-a-set-of-objects-all-together/6231)

<div class="topic-metadata">

**Author:** [@francium401](https://discourse.processing.org/u/francium401)\
**Replies:** 3\
**Last updated:** [December 4, 2018, 4:26am UTC](https://discourse.processing.org/t/how-to-go-about-scaling-a-set-of-objects-all-together/6231 "2018-12-04T04:26:41Z")

</div>

I have drawn four triangles to form a tree-looking object. I want to scale all the triangles it to a bigger size so that the tree looks bigger, say for example 200%. What do I need to do to achieve this? void setup(){ …

---

## [IntelliJ & Open Kinect for Processing](https://discourse.processing.org/t/intellij-open-kinect-for-processing/6303)

<div class="topic-metadata">

**Author:** [@ZZlm0Q](https://discourse.processing.org/u/ZZlm0Q)\
**Replies:** 0\
**Last updated:** [December 4, 2018, 9:08pm UTC](https://discourse.processing.org/t/intellij-open-kinect-for-processing/6303 "2018-12-04T21:08:04Z")

</div>

Hi all, I’m using Processing and IntelliJ due to the availability of Gradle (I’m not programming for Android, though) and because Processing’s IDE lacks some features that other development environments have. I’ve impo…

---

## [Pixel Array Will Not Work](https://discourse.processing.org/t/pixel-array-will-not-work/6295)

<div class="topic-metadata">

**Author:** [@bschofield](https://discourse.processing.org/u/bschofield)\
**Replies:** 2\
**Last updated:** [December 4, 2018, 8:21pm UTC](https://discourse.processing.org/t/pixel-array-will-not-work/6295 "2018-12-04T20:21:01Z")

</div>

We want this game to count the pixels of the red and the blue strokes to see who has more pixels at the end of the game and then display who wins. But for some reason we can only get it to say Blue Wins and it is now l…

---

## [Trying to get the button to show up](https://discourse.processing.org/t/trying-to-get-the-button-to-show-up/6281)

<div class="topic-metadata">

**Author:** [@charmypatel](https://discourse.processing.org/u/charmypatel)\
**Replies:** 3\
**Last updated:** [December 4, 2018, 7:51pm UTC](https://discourse.processing.org/t/trying-to-get-the-button-to-show-up/6281 "2018-12-04T19:51:19Z")

</div>

\*\* I have this code below and I am trying to get the button to show up but it wont run. I’m getting an error that says expecting EOF, found “last\_sum”. I’m not sure how to fix this. The error is talking about this line:…

---

## [Using digital Scale in processing](https://discourse.processing.org/t/using-digital-scale-in-processing/6261)

<div class="topic-metadata">

**Author:** [@b5003354](https://discourse.processing.org/u/b5003354)\
**Replies:** 1\
**Last updated:** [December 4, 2018, 6:43pm UTC](https://discourse.processing.org/t/using-digital-scale-in-processing/6261 "2018-12-04T18:43:35Z")

</div>

Hi, I’m trying to find away to use a digital scale with processing. is there a Library that i need to download or just using code? I’m at a loss i tried using Arduino but i would have to build the scale, using a digita…

---

## [Trap events with getHat in game control plus](https://discourse.processing.org/t/trap-events-with-gethat-in-game-control-plus/6138)

<div class="topic-metadata">

**Author:** [@bryan](https://discourse.processing.org/u/bryan)\
**Replies:** 5\
**Last updated:** [December 4, 2018, 2:07pm UTC](https://discourse.processing.org/t/trap-events-with-gethat-in-game-control-plus/6138 "2018-12-04T14:07:15Z")

</div>

Hi, i want to know if there’s a way to trap events with the dpad button in the game control plus library. i can trap events with buttons, for example the key A of the xbox controller might look like this: xbox.getButton(…

---

## [The old forum does not clearly link to the new one](https://discourse.processing.org/t/the-old-forum-does-not-clearly-link-to-the-new-one/6145)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 6\
**Last updated:** [December 4, 2018, 9:58am UTC](https://discourse.processing.org/t/the-old-forum-does-not-clearly-link-to-the-new-one/6145 "2018-12-04T09:58:27Z")

</div>

If you have bookmarked the old forum: you may never notice that there’s a new one. I know at least one case. The old forum shows this text which is not very visible: Howdy, Stranger! We are about to switch to a new …

---

## [mousePressed to change image multiple times](https://discourse.processing.org/t/mousepressed-to-change-image-multiple-times/6275)

<div class="topic-metadata">

**Author:** [@Missmew72](https://discourse.processing.org/u/Missmew72)\
**Replies:** 1\
**Last updated:** [December 4, 2018, 4:06am UTC](https://discourse.processing.org/t/mousepressed-to-change-image-multiple-times/6275 "2018-12-04T04:06:23Z")

</div>

Hi, so I am making a code for a school project. It’s nothing too fancy but I’m very new to the program and have been trying to find a way around the issue but ave had no luck. Basically I have an image that is there when…

---

## [Why doesn't curveVertex work in this PShape](https://discourse.processing.org/t/why-doesnt-curvevertex-work-in-this-pshape/6263)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 2\
**Last updated:** [December 4, 2018, 3:28am UTC](https://discourse.processing.org/t/why-doesnt-curvevertex-work-in-this-pshape/6263 "2018-12-04T03:28:11Z")

</div>

I was looking at an example of creating a spiral on the old Processing forum, drawing a spiral size(800,800); smooth(); translate(width/2,height/2); strokeWeight(2); beginShape(); for(int i=0;i\<350;i++) { curveVertex(…

---

## [How do I program the arrow keys to move object instead of mouseX and mouseY?](https://discourse.processing.org/t/how-do-i-program-the-arrow-keys-to-move-object-instead-of-mousex-and-mousey/6267)

<div class="topic-metadata">

**Author:** [@alxsnol](https://discourse.processing.org/u/alxsnol)\
**Replies:** 3\
**Last updated:** [December 4, 2018, 12:40am UTC](https://discourse.processing.org/t/how-do-i-program-the-arrow-keys-to-move-object-instead-of-mousex-and-mousey/6267 "2018-12-04T00:40:00Z")

</div>

import processing.video.\*; Capture cam; void setup() { size(560, 360); cam = new Capture(this, 560, 360, 30); cam.start(); } void draw() { if (cam.available()) { cam.read(); loadPixels(); cam.load…

---

## [How do I draw shapes over an image?](https://discourse.processing.org/t/how-do-i-draw-shapes-over-an-image/6228)

<div class="topic-metadata">

**Author:** [@JennyMcCreadie](https://discourse.processing.org/u/JennyMcCreadie)\
**Replies:** 2\
**Last updated:** [December 4, 2018, 12:31am UTC](https://discourse.processing.org/t/how-do-i-draw-shapes-over-an-image/6228 "2018-12-04T00:31:56Z")

</div>

Hello It’s super simple but I’m trying to write a code where I have a background image and when you click on it or run the mouse over it, squares appear and stay on the page. I know it’s most likely to do with the order…

---

## [AppData Recovery](https://discourse.processing.org/t/appdata-recovery/6041)

<div class="topic-metadata">

**Author:** [@Aleksi](https://discourse.processing.org/u/Aleksi)\
**Replies:** 4\
**Last updated:** [December 3, 2018, 10:27pm UTC](https://discourse.processing.org/t/appdata-recovery/6041 "2018-12-03T22:27:49Z")

</div>

Some time ago I discovered that whenever I execute a sketch it saves all the sketch tabs in a new C:/Users/me/AppData/Local/Temp/sketchName\_\[randomnumbers\]temp directory. (I’m obviously using Windows.) Inside the folder …

---

## [Noise generation, aka clouds, is really slow and heavy](https://discourse.processing.org/t/noise-generation-aka-clouds-is-really-slow-and-heavy/6163)

<div class="topic-metadata">

**Author:** [@michelangelo](https://discourse.processing.org/u/michelangelo)\
**Replies:** 9\
**Last updated:** [December 3, 2018, 9:08pm UTC](https://discourse.processing.org/t/noise-generation-aka-clouds-is-really-slow-and-heavy/6163 "2018-12-03T21:08:17Z")

</div>

Hello there, I have been working on this small program that I would like to use as a fullscreen background. However, it already is really heavy. Is there a way to fix that in my code or I just have to think of another w…

---

## [Sequential Loop with Images](https://discourse.processing.org/t/sequential-loop-with-images/6160)

<div class="topic-metadata">

**Author:** [@RienziDeal](https://discourse.processing.org/u/RienziDeal)\
**Replies:** 4\
**Last updated:** [December 3, 2018, 8:41pm UTC](https://discourse.processing.org/t/sequential-loop-with-images/6160 "2018-12-03T20:41:11Z")

</div>

Hi everyone, I created 36 different png’s of this orb that I designed in photoshop and I need to make processing run through all 36 of the images and then just do that forever so it looks like the orb is changing color. …

---

## [Drawing a line in a random direction from the end of a line](https://discourse.processing.org/t/drawing-a-line-in-a-random-direction-from-the-end-of-a-line/6262)

<div class="topic-metadata">

**Author:** [@jam.prescott](https://discourse.processing.org/u/jam.prescott)\
**Replies:** 4\
**Last updated:** [December 3, 2018, 5:52pm UTC](https://discourse.processing.org/t/drawing-a-line-in-a-random-direction-from-the-end-of-a-line/6262 "2018-12-03T17:52:21Z")

</div>

Just started out using processing for a project and theres a drawing I’m trying to create. If this makes sense I’m trying to, Draw a line from a random point with a random length at a random direction Then draw a li…

---

## [Looking for a maintainer for GifAnimation library](https://discourse.processing.org/t/looking-for-a-maintainer-for-gifanimation-library/6258)

<div class="topic-metadata">

**Author:** [@extrapixel](https://discourse.processing.org/u/extrapixel)\
**Replies:** 0\
**Last updated:** [December 3, 2018, 3:29pm UTC](https://discourse.processing.org/t/looking-for-a-maintainer-for-gifanimation-library/6258 "2018-12-03T15:29:04Z")

</div>

Hi there, The GifAnimation library is used to render processing sketches into animated Gifs I’m probably years too late to admit it, but I have no time to maintain the GifAnimation library anymore. Processing has sh…

---

## [Whitelisting sites for new user links](https://discourse.processing.org/t/whitelisting-sites-for-new-user-links/6232)

<div class="topic-metadata">

**Author:** [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Replies:** 8\
**Last updated:** [December 3, 2018, 4:48pm UTC](https://discourse.processing.org/t/whitelisting-sites-for-new-user-links/6232 "2018-12-03T16:48:36Z")

</div>

New users frequently link to external code sites or file sites. They sometimes do this to share larger projects, or running examples of code, or sometimes to share an external image file because they can’t post images. I…

---

## [Creating particle systems along a curve](https://discourse.processing.org/t/creating-particle-systems-along-a-curve/6259)

<div class="topic-metadata">

**Author:** [@tryingtogetagrip](https://discourse.processing.org/u/tryingtogetagrip)\
**Replies:** 3\
**Last updated:** [December 3, 2018, 4:31pm UTC](https://discourse.processing.org/t/creating-particle-systems-along-a-curve/6259 "2018-12-03T16:31:25Z")

</div>

Hey all, I have a question that I can’t seem to figure out. I know it is possible to use a mouseclick to create a new particle system (just as the example code I have attached beneath). However, what I would like is to …

---

## [Trying volume control of mp3 file with arduino flex sensor](https://discourse.processing.org/t/trying-volume-control-of-mp3-file-with-arduino-flex-sensor/6256)

<div class="topic-metadata">

**Author:** [@runwaysun](https://discourse.processing.org/u/runwaysun)\
**Replies:** 0\
**Last updated:** [December 3, 2018, 3:10pm UTC](https://discourse.processing.org/t/trying-volume-control-of-mp3-file-with-arduino-flex-sensor/6256 "2018-12-03T15:10:13Z")

</div>

Hi im very new to processing. I want to control volume of a mp3 file with flex sensor. So if I bend the sensor the volume goes down. Arduino circuit works and I get the serial but it doesn’t work with processing. Sou…

---

## [TCA9548 MUX with multiple sensors having same address](https://discourse.processing.org/t/tca9548-mux-with-multiple-sensors-having-same-address/6239)

<div class="topic-metadata">

**Author:** [@achumarya](https://discourse.processing.org/u/achumarya)\
**Replies:** 0\
**Last updated:** [December 3, 2018, 2:37am UTC](https://discourse.processing.org/t/tca9548-mux-with-multiple-sensors-having-same-address/6239 "2018-12-03T02:37:10Z")

</div>

One TCA9548 can connect 8 I2C slave devices . If these 8 slave devices have the same I2C slave address. How to access each slave device by TCA9548? Could anyone share some codes? Thanks in advance.

---

## [Auto-updating and downloading libraries](https://discourse.processing.org/t/auto-updating-and-downloading-libraries/6008)

<div class="topic-metadata">

**Author:** [@ThatIsAPseudo](https://discourse.processing.org/u/ThatIsAPseudo)\
**Replies:** 1\
**Last updated:** [December 3, 2018, 1:19pm UTC](https://discourse.processing.org/t/auto-updating-and-downloading-libraries/6008 "2018-12-03T13:19:51Z")

</div>

Hello there ! I was wondering if that is possible to ask index.html to look for the libraries online through the CDN, and if these are not available (because of server connexion failure, airplane mode,…) it uses local l…

---

## [Color selected from pallette randomly for ellipses drawn by an array](https://discourse.processing.org/t/color-selected-from-pallette-randomly-for-ellipses-drawn-by-an-array/6204)

<div class="topic-metadata">

**Author:** [@W1nDs0R](https://discourse.processing.org/u/W1nDs0R)\
**Replies:** 2\
**Last updated:** [December 2, 2018, 9:36pm UTC](https://discourse.processing.org/t/color-selected-from-pallette-randomly-for-ellipses-drawn-by-an-array/6204 "2018-12-02T21:36:20Z")

</div>

Hey there Guys, I was wondering if you could offer me some insight in to how I can color each ellipse randomly that is drawn by an array. Currently I have created a second array for colors which it draws from when the …

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

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