# Latest

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

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

**Page:** 375

---

## [Processing Max Msp. Sending data to Max](https://discourse.processing.org/t/processing-max-msp-sending-data-to-max/18987)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 3\
**Last updated:** [March 29, 2020, 7:47pm UTC](https://discourse.processing.org/t/processing-max-msp-sending-data-to-max/18987 "2020-03-29T19:47:38Z")

</div>

Hello guys! I would like to send data to max (float and int). I made a small sketch based on the example of the library oscP5, but I don’t know at all, if we can send several int like that. There is a problem with flo…

---

## [Native Python and Processing (Priority)](https://discourse.processing.org/t/native-python-and-processing-priority/18552)

<div class="topic-metadata">

**Author:** [@Vivek2898](https://discourse.processing.org/u/Vivek2898)\
**Replies:** 5\
**Last updated:** [March 29, 2020, 7:34pm UTC](https://discourse.processing.org/t/native-python-and-processing-priority/18552 "2020-03-29T19:34:15Z")

</div>

Hi, I’m interested in the Native Python and Processing project. I’ve gone through the issues #19, and have forked the repo to dig deeper into the issue. I would be glad to receive a starting point or a kind of coding …

---

## [Trying to get all objects in array to have collision](https://discourse.processing.org/t/trying-to-get-all-objects-in-array-to-have-collision/19137)

<div class="topic-metadata">

**Author:** [@Banana132](https://discourse.processing.org/u/Banana132)\
**Replies:** 2\
**Last updated:** [March 29, 2020, 7:20pm UTC](https://discourse.processing.org/t/trying-to-get-all-objects-in-array-to-have-collision/19137 "2020-03-29T19:20:30Z")

</div>

For the past few days, I have been struggling to get all the objects in my arraylist to be able to collide with the player object, but I am just struggling to get it to work. Im just not sure how to reference the array i…

---

## [Help with assignment](https://discourse.processing.org/t/help-with-assignment/18573)

<div class="topic-metadata">

**Author:** [@Burgs](https://discourse.processing.org/u/Burgs)\
**Replies:** 10\
**Last updated:** [March 29, 2020, 5:42pm UTC](https://discourse.processing.org/t/help-with-assignment/18573 "2020-03-29T17:42:54Z")

</div>

In this programming assignment, you will write an active Processing program that uses nested loops to display a grid of balls that follows the mouse. The number of columns of balls will increase each time the mouse is c…

---

## [Online Porcessing Community Day?](https://discourse.processing.org/t/online-porcessing-community-day/19150)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 0\
**Last updated:** [March 29, 2020, 5:37pm UTC](https://discourse.processing.org/t/online-porcessing-community-day/19150 "2020-03-29T17:37:46Z")

</div>

With Covid-19 leading to the cancellation of multiple Processing Community Days across the globe, some of us have started thinking about a virtual/online PCD. Could you please fill out this survey so we can gauge communi…

---

## [Minesweeper coding help](https://discourse.processing.org/t/minesweeper-coding-help/19027)

<div class="topic-metadata">

**Author:** [@quadri](https://discourse.processing.org/u/quadri)\
**Replies:** 1\
**Last updated:** [March 26, 2020, 10:01am UTC](https://discourse.processing.org/t/minesweeper-coding-help/19027 "2020-03-26T10:01:16Z")

</div>

Write a function called check\_surrounds with 4 inputs:  dim (a positive integer)  grid (a 2D numerical array containing only 1s and 0s of size dimxdim).  i (a positive integer between 1 and dim)  j (a positive in…

---

## [Coding a hole using PShape](https://discourse.processing.org/t/coding-a-hole-using-pshape/19135)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 2\
**Last updated:** [March 29, 2020, 5:26pm UTC](https://discourse.processing.org/t/coding-a-hole-using-pshape/19135 "2020-03-29T17:26:15Z")

</div>

Here is the code from the processing example /\*\* \* BeginEndContour \* \* How to cut a shape out of another using beginContour() and endContour() \*/ PShape s; void setup() { size(640, 360, P2D); // Make a shap…

---

## [Mousepressed variable does not exist?](https://discourse.processing.org/t/mousepressed-variable-does-not-exist/19144)

<div class="topic-metadata">

**Author:** [@rozer](https://discourse.processing.org/u/rozer)\
**Replies:** 5\
**Last updated:** [March 29, 2020, 4:47pm UTC](https://discourse.processing.org/t/mousepressed-variable-does-not-exist/19144 "2020-03-29T16:47:12Z")

</div>

Hello, When using the code below, the IDE marks mousePressed red and the error message is "expecting LPAREN, found ‘mousePressed’ Looking around did not help me so far. I am using version 3.5.4. Thanks, Stephan if (…

---

## [Missing Something Basic about if statements](https://discourse.processing.org/t/missing-something-basic-about-if-statements/19147)

<div class="topic-metadata">

**Author:** [@VytautasTheGreat](https://discourse.processing.org/u/VytautasTheGreat)\
**Replies:** 4\
**Last updated:** [March 29, 2020, 4:32pm UTC](https://discourse.processing.org/t/missing-something-basic-about-if-statements/19147 "2020-03-29T16:32:39Z")

</div>

Hi everyone. I’m a complete beginner so please forgive what is probably an obvious question. In the code below, I am creating two global booleans. I want one to toggle after each mouse click, and one to permanently fl…

---

## [Stereoscopy in VR](https://discourse.processing.org/t/stereoscopy-in-vr/19030)

<div class="topic-metadata">

**Author:** [@JMarco](https://discourse.processing.org/u/JMarco)\
**Replies:** 2\
**Last updated:** [March 29, 2020, 3:52pm UTC](https://discourse.processing.org/t/stereoscopy-in-vr/19030 "2020-03-29T15:52:40Z")

</div>

Hi! I am not new in Processing, but I am new in VR mode. I have started developing some simple examples, and I realized that the is not stereoscopy effect in VR; I mean, both left eye and right eye images are exactly t…

---

## [Animated gif don't work with createImage () P5.Image?](https://discourse.processing.org/t/animated-gif-dont-work-with-createimage-p5-image/18913)

<div class="topic-metadata">

**Author:** [@nazimba](https://discourse.processing.org/u/nazimba)\
**Replies:** 4\
**Last updated:** [March 29, 2020, 3:48pm UTC](https://discourse.processing.org/t/animated-gif-dont-work-with-createimage-p5-image/18913 "2020-03-29T15:48:41Z")

</div>

I’m trying to create an animated gif to display within an image created with createImage () but it apparently doesn’t work with the great new gif update made for p5.js? Is this possible? Or am I forgetting something? le…

---

## [Fun grid design](https://discourse.processing.org/t/fun-grid-design/16995)

<div class="topic-metadata">

**Author:** [@mortap](https://discourse.processing.org/u/mortap)\
**Replies:** 14\
**Last updated:** [March 29, 2020, 3:44pm UTC](https://discourse.processing.org/t/fun-grid-design/16995 "2020-03-29T15:44:34Z")

</div>

Using an array and randomizing the elements of the design (circles, squares, dots, lines). The hard part was using a bunch of if-statements so that there won’t be overlap of the elements (see the update and display funct…

---

## [App to Draw Straight Lines](https://discourse.processing.org/t/app-to-draw-straight-lines/19139)

<div class="topic-metadata">

**Author:** [@Tizzer](https://discourse.processing.org/u/Tizzer)\
**Replies:** 1\
**Last updated:** [March 29, 2020, 3:12pm UTC](https://discourse.processing.org/t/app-to-draw-straight-lines/19139 "2020-03-29T15:12:24Z")

</div>

Hi, I’m trying to write some code that will allow me to draw straight lines based on when I press (mousePressed) and release or drag the mouse. (Any of you who have used say AutoCad or similar will know the type of func…

---

## [GSOC ideasList p5.js-sound](https://discourse.processing.org/t/gsoc-ideaslist-p5-js-sound/18961)

<div class="topic-metadata">

**Author:** [@endurance21](https://discourse.processing.org/u/endurance21)\
**Replies:** 4\
**Last updated:** [March 29, 2020, 3:01pm UTC](https://discourse.processing.org/t/gsoc-ideaslist-p5-js-sound/18961 "2020-03-29T15:01:58Z")

</div>

i have few question regarding this idea , in the Expected outcomes section , the last point that is Tests run on every pull request in a headless browser is it about Travis bot or we have to use Jenkins explicitly…

---

## [Running tests in headless browser](https://discourse.processing.org/t/running-tests-in-headless-browser/19127)

<div class="topic-metadata">

**Author:** [@endurance21](https://discourse.processing.org/u/endurance21)\
**Replies:** 0\
**Last updated:** [March 29, 2020, 2:41am UTC](https://discourse.processing.org/t/running-tests-in-headless-browser/19127 "2020-03-29T02:41:45Z")

</div>

Library : p5.js-sound I have almost completed my gsoc proposal for { IMPROVE TEST COVERAGE In p5.js-sound library} , just i have to clear one thing, for We are currently using travis ci for build passes on every pull…

---

## [Bezier SQL MySQL SSL / TLS security](https://discourse.processing.org/t/bezier-sql-mysql-ssl-tls-security/19117)

<div class="topic-metadata">

**Author:** [@gaujos87](https://discourse.processing.org/u/gaujos87)\
**Replies:** 4\
**Last updated:** [March 29, 2020, 5:08am UTC](https://discourse.processing.org/t/bezier-sql-mysql-ssl-tls-security/19117 "2020-03-29T05:08:03Z")

</div>

Hello Everyone, At the outset I would like to complement the entire Processing Team and associates for a fantastic and a capable open source development platform. I have used BezeirSQL Library for storing my data of a …

---

## [Gioco da definire](https://discourse.processing.org/t/gioco-da-definire/18681)

<div class="topic-metadata">

**Author:** [@marika20](https://discourse.processing.org/u/marika20)\
**Replies:** 28\
**Last updated:** [March 29, 2020, 12:41am UTC](https://discourse.processing.org/t/gioco-da-definire/18681 "2020-03-29T00:41:56Z")

</div>

Ciao a tutti! Sto lavorando su un nuovo gioco o comunque una sorta di intrattenimento interattivo, il progetto su cui sto lavorando è basato sul fare qualcosa che attiri l’attenzione del giocatore. Vorrei renderlo più …

---

## ["ammo" cannot be resolved to a variable \[total beginner\], please help!](https://discourse.processing.org/t/ammo-cannot-be-resolved-to-a-variable-total-beginner-please-help/19123)

<div class="topic-metadata">

**Author:** [@CodeNewbie123](https://discourse.processing.org/u/CodeNewbie123)\
**Replies:** 3\
**Last updated:** [March 28, 2020, 10:26pm UTC](https://discourse.processing.org/t/ammo-cannot-be-resolved-to-a-variable-total-beginner-please-help/19123 "2020-03-28T22:26:07Z")

</div>

I’m a little bit desperate. Why does Processing say “ammo cannot be resolved to a variable” (Row 52), although i declared the array already in setup? (Row 29) https://pastebin.com/T8M2T6Np I’ve tried my best, but I’m y…

---

## [Live streaming from processing app](https://discourse.processing.org/t/live-streaming-from-processing-app/18602)

<div class="topic-metadata">

**Author:** [@vizualizer](https://discourse.processing.org/u/vizualizer)\
**Replies:** 4\
**Last updated:** [March 28, 2020, 7:37pm UTC](https://discourse.processing.org/t/live-streaming-from-processing-app/18602 "2020-03-28T19:37:24Z")

</div>

I just started testing live streaming on youtube. It is a simple app scraping the latest update of coronavirus pandemic from google sheet then turn them into a loop onto svg world map. thanx for any comment or suggestion…

---

## [Parsing a string to an integer](https://discourse.processing.org/t/parsing-a-string-to-an-integer/19102)

<div class="topic-metadata">

**Author:** [@tefa](https://discourse.processing.org/u/tefa)\
**Replies:** 2\
**Last updated:** [March 28, 2020, 4:39pm UTC](https://discourse.processing.org/t/parsing-a-string-to-an-integer/19102 "2020-03-28T16:39:55Z")

</div>

Hello everyone, I wrote a processing program where and array of png’s animate with the system variable mouseY using the map function. It works, but now I want to change the mouseY and animate with the ultrasonic data com…

---

## [Looking for super nice work from past (2011 year)](https://discourse.processing.org/t/looking-for-super-nice-work-from-past-2011-year/19115)

<div class="topic-metadata">

**Author:** [@cherviak](https://discourse.processing.org/u/cherviak)\
**Replies:** 3\
**Last updated:** [March 28, 2020, 6:10pm UTC](https://discourse.processing.org/t/looking-for-super-nice-work-from-past-2011-year/19115 "2020-03-28T18:10:17Z")

</div>

Hello, I’m trying to find one superb nice work from far past. It was a collision example with a lot of orange circles, which user can touch and move. I attached a picture.

---

## [Box2D speed control issue using revolute joints](https://discourse.processing.org/t/box2d-speed-control-issue-using-revolute-joints/18788)

<div class="topic-metadata">

**Author:** [@kenle](https://discourse.processing.org/u/kenle)\
**Replies:** 0\
**Last updated:** [March 19, 2020, 9:53am UTC](https://discourse.processing.org/t/box2d-speed-control-issue-using-revolute-joints/18788 "2020-03-19T09:53:18Z")

</div>

Hi there, I cannot figure out how to control the motor speed of revolute joints from Box2D using processing. I use the same principle as Shiffman (youtube guru) creating a windmill (see partly code in the bottom). Here…

---

## [Individual fade of two structures](https://discourse.processing.org/t/individual-fade-of-two-structures/18760)

<div class="topic-metadata">

**Author:** [@byxx](https://discourse.processing.org/u/byxx)\
**Replies:** 1\
**Last updated:** [March 28, 2020, 4:44pm UTC](https://discourse.processing.org/t/individual-fade-of-two-structures/18760 "2020-03-28T16:44:00Z")

</div>

Hi there, In the project (link below) I would like to add some functionality: https://editor.p5js.org/byxx/sketches/pGtCNkcq The green and red structure should be able to be faded in and out individually Case1: Durin…

---

## [Name in an Highscore](https://discourse.processing.org/t/name-in-an-highscore/18706)

<div class="topic-metadata">

**Author:** [@JohnGreen](https://discourse.processing.org/u/JohnGreen)\
**Replies:** 2\
**Last updated:** [March 28, 2020, 3:37pm UTC](https://discourse.processing.org/t/name-in-an-highscore/18706 "2020-03-28T15:37:50Z")

</div>

Hi, I’m new to this forum, but I had to create a game using Processing and now I’m trying to add an Highscore, in which I’d like to put both name and score. I managed to add the score and I used ControlP5 to write the na…

---

## [Delay on first collision, but not subsequent ones](https://discourse.processing.org/t/delay-on-first-collision-but-not-subsequent-ones/18989)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 5\
**Last updated:** [March 28, 2020, 3:12pm UTC](https://discourse.processing.org/t/delay-on-first-collision-but-not-subsequent-ones/18989 "2020-03-28T15:12:42Z")

</div>

Hi all, I’m wondering if anyone can let me know why I get a considerable delay (a few seconds) when one object collides with another for the first time, but then after that there’s no delay. Here’s my code: PImage\[\] pl…

---

## [Adjusting window size AND shape size](https://discourse.processing.org/t/adjusting-window-size-and-shape-size/19025)

<div class="topic-metadata">

**Author:** [@Tina](https://discourse.processing.org/u/Tina)\
**Replies:** 3\
**Last updated:** [March 28, 2020, 12:28pm UTC](https://discourse.processing.org/t/adjusting-window-size-and-shape-size/19025 "2020-03-28T12:28:51Z")

</div>

I want to code my program so that regardless of what the window size is modified to, the shape (rectangle) will also change according to the new size. In other words, the rectangle size and position should adjust if the …

---

## [Looping through JSON properties](https://discourse.processing.org/t/looping-through-json-properties/19090)

<div class="topic-metadata">

**Author:** [@Odermonicon](https://discourse.processing.org/u/Odermonicon)\
**Replies:** 16\
**Last updated:** [March 28, 2020, 11:23am UTC](https://discourse.processing.org/t/looping-through-json-properties/19090 "2020-03-28T11:23:28Z")

</div>

I need to loop through a JSON file that looks like this: JSON"blocks":{ "vJb19r)WPw88AL7K#^ZI":{ "opcode":"control\_incr\_counter", "next":"IV.E7vBXTcdK0jZYX}…

---

## [Flow Field (Perlin noise)"Array Index Out Of Bounds Exception" Error](https://discourse.processing.org/t/flow-field-perlin-noise-array-index-out-of-bounds-exception-error/19098)

<div class="topic-metadata">

**Author:** [@niuuin](https://discourse.processing.org/u/niuuin)\
**Replies:** 2\
**Last updated:** [March 28, 2020, 9:16am UTC](https://discourse.processing.org/t/flow-field-perlin-noise-array-index-out-of-bounds-exception-error/19098 "2020-03-28T09:16:45Z")

</div>

Hi everyone, I try to convert Coding Challenge #24: Perlin Noise Flow Field to processing，But encountered “ArrayIndexOutOfBoundsException” Error,This is my code: float inc = 0.1; int scl = 20; int cols, rows; float …

---

## [Perlin vs Simplex noise performance](https://discourse.processing.org/t/perlin-vs-simplex-noise-performance/4189)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 2\
**Last updated:** [March 28, 2020, 6:56am UTC](https://discourse.processing.org/t/perlin-vs-simplex-noise-performance/4189 "2020-03-28T06:56:56Z")

</div>

Initially I wanted to share here a speed comparison between SimplexNoise and Perlin noise, thinking that SimplexNoise was much faster than the standard noise(), but I realized that the main speed difference was caused by…

---

## [GSoC Proposal: Improvements in uploading assets in p5.js Web editor](https://discourse.processing.org/t/gsoc-proposal-improvements-in-uploading-assets-in-p5-js-web-editor/19036)

<div class="topic-metadata">

**Author:** [@eswaraprasad](https://discourse.processing.org/u/eswaraprasad)\
**Replies:** 0\
**Last updated:** [March 26, 2020, 12:53pm UTC](https://discourse.processing.org/t/gsoc-proposal-improvements-in-uploading-assets-in-p5-js-web-editor/19036 "2020-03-26T12:53:35Z")

</div>

Hi, I am Eswar from NIT Trichy, India. I am looking on to contribute towards the project of Improvements in uploading assets in p5.js Web Editor. I have already created a few pull requests in our repository to solve min…

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

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