# Latest

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

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

**Page:** 502

---

## [Questions about gradually lighting up](https://discourse.processing.org/t/questions-about-gradually-lighting-up/10159)

<div class="topic-metadata">

**Author:** [@lqw14520](https://discourse.processing.org/u/lqw14520)\
**Replies:** 3\
**Last updated:** [April 10, 2019, 4:18pm UTC](https://discourse.processing.org/t/questions-about-gradually-lighting-up/10159 "2019-04-10T16:18:42Z")

</div>

Hello! Here is my project of the fireflies that will run away when the mouse is on the left side of the screen, I’m wondering whether there is a way to light each partical (firefly) gradually instead of just suddenly lig…

---

## [Hair like strokes](https://discourse.processing.org/t/hair-like-strokes/10143)

<div class="topic-metadata">

**Author:** [@kaecodes](https://discourse.processing.org/u/kaecodes)\
**Replies:** 3\
**Last updated:** [April 10, 2019, 3:25pm UTC](https://discourse.processing.org/t/hair-like-strokes/10143 "2019-04-10T15:25:40Z")

</div>

Hello, I have moving points on an Arabic letter outline (but you can try it using any letter from any font) , and basically I want to create hairlike strokes on the points, where they grow out (similar to sketches in th…

---

## [Removing Markers in Unfolding](https://discourse.processing.org/t/removing-markers-in-unfolding/10068)

<div class="topic-metadata">

**Author:** [@Niloo](https://discourse.processing.org/u/Niloo)\
**Replies:** 1\
**Last updated:** [April 8, 2019, 3:54pm UTC](https://discourse.processing.org/t/removing-markers-in-unfolding/10068 "2019-04-08T15:54:32Z")

</div>

Hi all, I’m currently working on a map-based data visualization using Processing and Unfolding library. I’ve been able to add markers from my geojson file to the map. However I can’t figure out how I can remove markers.…

---

## [Example: Custom Event Observer Pattern](https://discourse.processing.org/t/example-custom-event-observer-pattern/10107)

<div class="topic-metadata">

**Author:** [@Arne](https://discourse.processing.org/u/Arne)\
**Replies:** 1\
**Last updated:** [April 10, 2019, 2:17pm UTC](https://discourse.processing.org/t/example-custom-event-observer-pattern/10107 "2019-04-10T14:17:57Z")

</div>

Hi just was looking around for a way to use custom events and found a great java observer pattern example at https://programming.guide/java/create-a-custom-event.html Firing an event in the one class to activate somethi…

---

## [Cycling through array of audio files, need to go to next audio file](https://discourse.processing.org/t/cycling-through-array-of-audio-files-need-to-go-to-next-audio-file/9833)

<div class="topic-metadata">

**Author:** [@dackdel](https://discourse.processing.org/u/dackdel)\
**Replies:** 3\
**Last updated:** [April 10, 2019, 2:01pm UTC](https://discourse.processing.org/t/cycling-through-array-of-audio-files-need-to-go-to-next-audio-file/9833 "2019-04-10T14:01:41Z")

</div>

When speech is detected then the first track plays, it plays till the end and then turns the mic on to listen for something, when it hears something it plays the second track and so on until track ten. Running this code…

---

## [Erasing text or lines?](https://discourse.processing.org/t/erasing-text-or-lines/10104)

<div class="topic-metadata">

**Author:** [@joba1](https://discourse.processing.org/u/joba1)\
**Replies:** 4\
**Last updated:** [April 10, 2019, 7:30am UTC](https://discourse.processing.org/t/erasing-text-or-lines/10104 "2019-04-10T07:30:52Z")

</div>

Hi, I’m new to p5.js (and js in general) and stumbled over this while playing around with the first learning examples. Not sure if Beginners category is only for processing, so I post here: If I write a text in black o…

---

## [Delay Reading Serial Port and Displaying Data](https://discourse.processing.org/t/delay-reading-serial-port-and-displaying-data/10071)

<div class="topic-metadata">

**Author:** [@SearayCA](https://discourse.processing.org/u/SearayCA)\
**Replies:** 1\
**Last updated:** [April 10, 2019, 4:34am UTC](https://discourse.processing.org/t/delay-reading-serial-port-and-displaying-data/10071 "2019-04-10T04:34:34Z")

</div>

We are using a line scan camera,10 bit data, 128 pixels per line. We reduce this to 8 bit data. We are attempting to read serial data at 115200 baud, 130 bytes at a time, header plus data. We are displaying a vertical li…

---

## [How to write into a JSON file via input-box?](https://discourse.processing.org/t/how-to-write-into-a-json-file-via-input-box/10109)

<div class="topic-metadata">

**Author:** [@RealDwayneJ](https://discourse.processing.org/u/RealDwayneJ)\
**Replies:** 9\
**Last updated:** [April 10, 2019, 4:23am UTC](https://discourse.processing.org/t/how-to-write-into-a-json-file-via-input-box/10109 "2019-04-10T04:23:53Z")

</div>

Hi there. I’d like to know the following: Is it possible to save user-input straightly into a specific array position in a JSON file? Example: The user get’s a little screen in Processing. It states the question: “How …

---

## [Tank game to try](https://discourse.processing.org/t/tank-game-to-try/9753)

<div class="topic-metadata">

**Author:** [@seanc4s](https://discourse.processing.org/u/seanc4s)\
**Replies:** 4\
**Last updated:** [April 10, 2019, 2:23am UTC](https://discourse.processing.org/t/tank-game-to-try/9753 "2019-04-10T02:23:01Z")

</div>

Tank game to try using P5. www.gamespace.eu5.org

---

## [Interface that has multiple sketches](https://discourse.processing.org/t/interface-that-has-multiple-sketches/10144)

<div class="topic-metadata">

**Author:** [@kaecodes](https://discourse.processing.org/u/kaecodes)\
**Replies:** 1\
**Last updated:** [April 9, 2019, 10:00pm UTC](https://discourse.processing.org/t/interface-that-has-multiple-sketches/10144 "2019-04-09T22:00:09Z")

</div>

Hello, I am new to processing and basically I want to create a user interface where users can interact, that activates different sketches that I have created, using keyboard keys. I am not sure how to put sketches within…

---

## [Tracking the good color](https://discourse.processing.org/t/tracking-the-good-color/9636)

<div class="topic-metadata">

**Author:** [@camille05](https://discourse.processing.org/u/camille05)\
**Replies:** 14\
**Last updated:** [April 9, 2019, 7:56pm UTC](https://discourse.processing.org/t/tracking-the-good-color/9636 "2019-04-09T19:56:05Z")

</div>

I’m building a code that will allow you to recognize color cards and, depending on the color, a drawing will appear in the drawing area. Example: red = red round blue = blue round green = green square I was able to …

---

## [Wacom stylus in combination with P5js](https://discourse.processing.org/t/wacom-stylus-in-combination-with-p5js/10085)

<div class="topic-metadata">

**Author:** [@jns](https://discourse.processing.org/u/jns)\
**Replies:** 2\
**Last updated:** [April 9, 2019, 7:26pm UTC](https://discourse.processing.org/t/wacom-stylus-in-combination-with-p5js/10085 "2019-04-09T19:26:43Z")

</div>

Hello everybody, I am wondering if there is a way to use WACOM tablets in combination with P5js. A short google research did not yield any results. Best, Jonas

---

## [Mon morpion / My Tic-tac-toc](https://discourse.processing.org/t/mon-morpion-my-tic-tac-toc/9863)

<div class="topic-metadata">

**Author:** [@Amine](https://discourse.processing.org/u/Amine)\
**Replies:** 2\
**Last updated:** [April 9, 2019, 7:04pm UTC](https://discourse.processing.org/t/mon-morpion-my-tic-tac-toc/9863 "2019-04-09T19:04:36Z")

</div>

int x=0; int y=0; // coordonnées boolean click = false; boolean tour = false; boolean restart = false; void setup() { // s'active ou s'actualisé une fois size(301,301); background(255); } void draw() { // …

---

## [GSoC 2019 : Processing Language Server Proposal](https://discourse.processing.org/t/gsoc-2019-processing-language-server-proposal/10139)

<div class="topic-metadata">

**Author:** [@manavjain](https://discourse.processing.org/u/manavjain)\
**Replies:** 0\
**Last updated:** [April 9, 2019, 6:15pm UTC](https://discourse.processing.org/t/gsoc-2019-processing-language-server-proposal/10139 "2019-04-09T18:15:12Z")

</div>

Hi, My name is Manav Jain. I have submitted a proposal for the Processing Language Server project but unfortunately I have submitted an old PDF on the GSoC portal. Please find the updated proposal in the draft link of th…

---

## [GSOC 2019 : Improve Friendly Error System (FES) and documentation](https://discourse.processing.org/t/gsoc-2019-improve-friendly-error-system-fes-and-documentation/9555)

<div class="topic-metadata">

**Author:** [@Ajayneethikannan](https://discourse.processing.org/u/Ajayneethikannan)\
**Replies:** 6\
**Last updated:** [April 9, 2019, 6:13pm UTC](https://discourse.processing.org/t/gsoc-2019-improve-friendly-error-system-fes-and-documentation/9555 "2019-04-09T18:13:34Z")

</div>

Hello everyone ! I am Ajay Neethi Kannan , and I am studying Computer Science in Indian Institute of Technology, Roorkee. I am extremely interested in working with the processing foundation this summer. I have been cont…

---

## [End and Begin a New Shape Based off of Data Value](https://discourse.processing.org/t/end-and-begin-a-new-shape-based-off-of-data-value/9975)

<div class="topic-metadata">

**Author:** [@kirstee\_baxt](https://discourse.processing.org/u/kirstee_baxt)\
**Replies:** 5\
**Last updated:** [April 9, 2019, 5:58pm UTC](https://discourse.processing.org/t/end-and-begin-a-new-shape-based-off-of-data-value/9975 "2019-04-09T17:58:06Z")

</div>

Hello, I would like to endShape and begin a new one based off a numeric value from a data set. I would like each separate shape to also have a different rotation value based off of the same numeric value. My current cod…

---

## [Can p5.js output valid lottie-files?](https://discourse.processing.org/t/can-p5-js-output-valid-lottie-files/10134)

<div class="topic-metadata">

**Author:** [@oivvio](https://discourse.processing.org/u/oivvio)\
**Replies:** 4\
**Last updated:** [April 9, 2019, 4:51pm UTC](https://discourse.processing.org/t/can-p5-js-output-valid-lottie-files/10134 "2019-04-09T16:51:20Z")

</div>

On a related note: Is it possible have processing output valid lottie-files?

---

## [Help - lines from right to left](https://discourse.processing.org/t/help-lines-from-right-to-left/10129)

<div class="topic-metadata">

**Author:** [@maxwestermann](https://discourse.processing.org/u/maxwestermann)\
**Replies:** 3\
**Last updated:** [April 9, 2019, 3:29pm UTC](https://discourse.processing.org/t/help-lines-from-right-to-left/10129 "2019-04-09T15:29:46Z")

</div>

Hello, I´m new to Processing. What I am trying to do is to create an animation of many black lines (like on the following picture) on a white background going smoothly from left to right in a never ending flow. I man…

---

## [Charset exception](https://discourse.processing.org/t/charset-exception/10093)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 2\
**Last updated:** [April 9, 2019, 3:29pm UTC](https://discourse.processing.org/t/charset-exception/10093 "2019-04-09T15:29:13Z")

</div>

I passed to a friend of mine a project (in Python), but he got this error: I didnt use any font

---

## [How would I apply randomSeed( )](https://discourse.processing.org/t/how-would-i-apply-randomseed/10054)

<div class="topic-metadata">

**Author:** [@dougouverson](https://discourse.processing.org/u/dougouverson)\
**Replies:** 15\
**Last updated:** [April 9, 2019, 3:02pm UTC](https://discourse.processing.org/t/how-would-i-apply-randomseed/10054 "2019-04-09T15:02:52Z")

</div>

Page 221 - 223 - Example 8-9: Move Shapes Randomly At the end of the example, there’s a NOTE about randomSeed( ). I checked out the Reference at https://p5js.org/reference/#/p5/randomSeed I’m trying to figure out how t…

---

## [Adding ability of making public sketches private](https://discourse.processing.org/t/adding-ability-of-making-public-sketches-private/9908)

<div class="topic-metadata">

**Author:** [@AnkurIngale](https://discourse.processing.org/u/AnkurIngale)\
**Replies:** 3\
**Last updated:** [April 9, 2019, 2:57pm UTC](https://discourse.processing.org/t/adding-ability-of-making-public-sketches-private/9908 "2019-04-09T14:57:22Z")

</div>

I have finally made my proposal and plan to work on adding the ability to make public sketches private. I request the community to review it and suggest changes if any. @jeremydouglass @cassie @saberkhan. Thanks in adv…

---

## [OscP5, receive an array](https://discourse.processing.org/t/oscp5-receive-an-array/10049)

<div class="topic-metadata">

**Author:** [@tobor](https://discourse.processing.org/u/tobor)\
**Replies:** 1\
**Last updated:** [April 9, 2019, 2:22pm UTC](https://discourse.processing.org/t/oscp5-receive-an-array/10049 "2019-04-09T14:22:06Z")

</div>

Hi, I need to receive in Processing an array of letters from Pure Data with OSC. Anybody has a clue on how to create the correct oscEvent? Thanks

---

## [Moving the camera around](https://discourse.processing.org/t/moving-the-camera-around/6567)

<div class="topic-metadata">

**Author:** [@philippe](https://discourse.processing.org/u/philippe)\
**Replies:** 9\
**Last updated:** [April 9, 2019, 2:15pm UTC](https://discourse.processing.org/t/moving-the-camera-around/6567 "2019-04-09T14:15:55Z")

</div>

I’m trying to move the the camera (with the keyboard) in my 3d sketch but can’t get things working. i’ve tried with and without the Camera() function the result is always a mess ! Could someone give me an hint : for e…

---

## [Follow vector path](https://discourse.processing.org/t/follow-vector-path/9189)

<div class="topic-metadata">

**Author:** [@matyas](https://discourse.processing.org/u/matyas)\
**Replies:** 3\
**Last updated:** [March 11, 2019, 9:38pm UTC](https://discourse.processing.org/t/follow-vector-path/9189 "2019-03-11T21:38:48Z")

</div>

Hi Everyone, I am searching for a solution to move objects along vector paths (ex.: svg). I thought is a simple thing as the AE Lottie plugin is using something similar (AE animations converted to SVG - JSON to reproduc…

---

## [How can find Proposal](https://discourse.processing.org/t/how-can-find-proposal/10119)

<div class="topic-metadata">

**Author:** [@Mr\_Billy](https://discourse.processing.org/u/Mr_Billy)\
**Replies:** 1\
**Last updated:** [April 9, 2019, 10:50am UTC](https://discourse.processing.org/t/how-can-find-proposal/10119 "2019-04-09T10:50:49Z")

</div>

How can I find example proposal letter for Android app?

---

## [mousePressed() function](https://discourse.processing.org/t/mousepressed-function/9714)

<div class="topic-metadata">

**Author:** [@Neo\_Wang](https://discourse.processing.org/u/Neo_Wang)\
**Replies:** 11\
**Last updated:** [April 9, 2019, 10:45am UTC](https://discourse.processing.org/t/mousepressed-function/9714 "2019-04-09T10:45:11Z")

</div>

Hi there, from my understanding is that code within the mousePressed() function will be triggered when mouse is pressed down.however, what I was trying to do was draw a circle at a point on canvas when mouse is being pre…

---

## [Rich.gg, my new 3D website](https://discourse.processing.org/t/rich-gg-my-new-3d-website/9984)

<div class="topic-metadata">

**Author:** [@phoebus](https://discourse.processing.org/u/phoebus)\
**Replies:** 2\
**Last updated:** [April 9, 2019, 12:48am UTC](https://discourse.processing.org/t/rich-gg-my-new-3d-website/9984 "2019-04-09T00:48:22Z")

</div>

Hi there :slight\_smile: I made a web site using only p5.js and you can find it here: rich.gg Aim The purpose of the site is to promote my designer capabilities and initiate contact by: 1 displaying a portfolio of …

---

## [3d problem with a simple title game](https://discourse.processing.org/t/3d-problem-with-a-simple-title-game/10003)

<div class="topic-metadata">

**Author:** [@diego](https://discourse.processing.org/u/diego)\
**Replies:** 15\
**Last updated:** [April 9, 2019, 9:11am UTC](https://discourse.processing.org/t/3d-problem-with-a-simple-title-game/10003 "2019-04-09T09:11:31Z")

</div>

I made a simple tile game in 2 in two dimensions and it works well (even if you have suggestions for the optimization are well accepted), but when I tried to render it in three dimensions the coordinates of the cubes are…

---

## [Unable to get data from .JSON files](https://discourse.processing.org/t/unable-to-get-data-from-json-files/9971)

<div class="topic-metadata">

**Author:** [@peachman](https://discourse.processing.org/u/peachman)\
**Replies:** 6\
**Last updated:** [April 9, 2019, 6:50am UTC](https://discourse.processing.org/t/unable-to-get-data-from-json-files/9971 "2019-04-09T06:50:28Z")

</div>

Hi All, I have been able to get data from JSON files before, but i am unable to get data from this one ‘https://www.osrsbox.com/osrsbox-db/items-json-slot/items-2h.json’ function preload(){ items = loadJSON('https://w…

---

## [Gsoc2019 proposal review](https://discourse.processing.org/t/gsoc2019-proposal-review/10101)

<div class="topic-metadata">

**Author:** [@ankur\_54](https://discourse.processing.org/u/ankur_54)\
**Replies:** 2\
**Last updated:** [April 9, 2019, 4:20am UTC](https://discourse.processing.org/t/gsoc2019-proposal-review/10101 "2019-04-09T04:20:32Z")

</div>

Gsoc proposal Here is my proposal for adding GIF feature in the p5.js library. please feel free to point out any mistakes that I have made.

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

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