# Latest

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

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

**Page:** 170

---

## [Split-Screen Mouse click Interaction](https://discourse.processing.org/t/split-screen-mouse-click-interaction/34124)

<div class="topic-metadata">

**Author:** [@JayT808s](https://discourse.processing.org/u/JayT808s)\
**Replies:** 2\
**Last updated:** [December 17, 2021, 12:39am UTC](https://discourse.processing.org/t/split-screen-mouse-click-interaction/34124 "2021-12-17T00:39:59Z")

</div>

Hi, I’m super new to programming and I’ve just been stuck on the same problem for the past few days and I couldn’t find anything on the forums that could help me out. I’m trying to split the screen in two, so that when y…

---

## [Processing on M1 / Pro / Max; how to go about optimising performance?](https://discourse.processing.org/t/processing-on-m1-pro-max-how-to-go-about-optimising-performance/34032)

<div class="topic-metadata">

**Author:** [@rapatski](https://discourse.processing.org/u/rapatski)\
**Replies:** 2\
**Last updated:** [December 16, 2021, 11:59pm UTC](https://discourse.processing.org/t/processing-on-m1-pro-max-how-to-go-about-optimising-performance/34032 "2021-12-16T23:59:11Z")

</div>

Hi friends, I guess we could see this one coming, but what is your experience running Processing on the new chipsets? I’ve recently taken receipt of a new 16" MacBook Pro with the 32 core M1 Max, but must admit that I’m…

---

## [P5 js collision of classes ALL HELP WELCOME 🙏](https://discourse.processing.org/t/p5-js-collision-of-classes-all-help-welcome/34144)

<div class="topic-metadata">

**Author:** [@maximleyssens](https://discourse.processing.org/u/maximleyssens)\
**Replies:** 1\
**Last updated:** [December 16, 2021, 10:29pm UTC](https://discourse.processing.org/t/p5-js-collision-of-classes-all-help-welcome/34144 "2021-12-16T22:29:03Z")

</div>

i am trying to make the class whitecell eat the bloodscells can anyone help me with this I have tried everything but noting works I am obligated to use oop but if this Is to hard to do i will just use functions , all i r…

---

## [Processing New GStreamer Error](https://discourse.processing.org/t/processing-new-gstreamer-error/33975)

<div class="topic-metadata">

**Author:** [@jwolkon](https://discourse.processing.org/u/jwolkon)\
**Replies:** 8\
**Last updated:** [December 16, 2021, 7:57pm UTC](https://discourse.processing.org/t/processing-new-gstreamer-error/33975 "2021-12-16T19:57:59Z")

</div>

Hello! It’s been a while since I’ve used Processing, but I just fired back up some old sketches that are no longer working. It appears the issue is with processing.video.Movie objects, and in particular the underlying G…

---

## [P5js Class issue](https://discourse.processing.org/t/p5js-class-issue/33869)

<div class="topic-metadata">

**Author:** [@anoniem](https://discourse.processing.org/u/anoniem)\
**Replies:** 14\
**Last updated:** [December 15, 2021, 11:29am UTC](https://discourse.processing.org/t/p5js-class-issue/33869 "2021-12-15T11:29:13Z")

</div>

I want to drag multiple squares around, that’s why I put it in a class. Also because the subject at school is OOP. Why exactly isn’t it working? It worked perfectly fine without using a class. Online editor: p5.js Web…

---

## [Collision problem I really need your help ... begging](https://discourse.processing.org/t/collision-problem-i-really-need-your-help-begging/34136)

<div class="topic-metadata">

**Author:** [@maximleyssens](https://discourse.processing.org/u/maximleyssens)\
**Replies:** 7\
**Last updated:** [December 16, 2021, 7:31am UTC](https://discourse.processing.org/t/collision-problem-i-really-need-your-help-begging/34136 "2021-12-16T07:31:11Z")

</div>

hey i am really struggeling with this collision issue I want to make the white cell eat the bloodcell when they collide can u please help me let MAX\_NUM = 50; let circles = \[\]; class Circle { constructor(x, y, ) …

---

## [I need help with Processing (objects are cut off the screen)](https://discourse.processing.org/t/i-need-help-with-processing-objects-are-cut-off-the-screen/34128)

<div class="topic-metadata">

**Author:** [@rwong5102](https://discourse.processing.org/u/rwong5102)\
**Replies:** 4\
**Last updated:** [December 16, 2021, 3:58am UTC](https://discourse.processing.org/t/i-need-help-with-processing-objects-are-cut-off-the-screen/34128 "2021-12-16T03:58:15Z")

</div>

\[Hello! I am new to processing and this forum, srry if I’m messing up the format. I am trying to have an array of 100 random objects on my canvas but I don’t want the objects to be cut off the screen. Can someone help me…

---

## [How to make a wait statement in p5js (if its even possible)](https://discourse.processing.org/t/how-to-make-a-wait-statement-in-p5js-if-its-even-possible/34134)

<div class="topic-metadata">

**Author:** [@parichko](https://discourse.processing.org/u/parichko)\
**Replies:** 1\
**Last updated:** [December 16, 2021, 12:38am UTC](https://discourse.processing.org/t/how-to-make-a-wait-statement-in-p5js-if-its-even-possible/34134 "2021-12-16T00:38:43Z")

</div>

I am working on a code that will be a lot easier if I knew how to make a wait statement. If you know please leave a quick reply.

---

## [Library Rope for ROmanesco Processing Environment](https://discourse.processing.org/t/library-rope-for-romanesco-processing-environment/34145)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 0\
**Last updated:** [December 15, 2021, 5:03pm UTC](https://discourse.processing.org/t/library-rope-for-romanesco-processing-environment/34145 "2021-12-15T17:03:57Z")

</div>

Hello, just a few words about a library that I develop for different processing project. It’s public, but a little private too because I never talk about it ! This library is a backbone of Processing work. Yesterday I p…

---

## [\['p5.js' project\] Making web visible on smartphone](https://discourse.processing.org/t/p5-js-project-making-web-visible-on-smartphone/34125)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [December 15, 2021, 12:52am UTC](https://discourse.processing.org/t/p5-js-project-making-web-visible-on-smartphone/34125 "2021-12-15T00:52:40Z")

</div>

\[‘p5.js’ project\] Making web visible on smartphone @KumuPaul @GoToLoop @javagar thank you. Thanks to you, I made it simple with a test version. I made ‘WEB’ for the first time, and it was difficult, but…

---

## [StrokeWeight growing with loop](https://discourse.processing.org/t/strokeweight-growing-with-loop/34042)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 17\
**Last updated:** [December 14, 2021, 10:07pm UTC](https://discourse.processing.org/t/strokeweight-growing-with-loop/34042 "2021-12-14T22:07:01Z")

</div>

Hi there! I have made a loop with rectangles and I am trying to Increase gradually the Stroke , so have made another loop for that, but It does not work. Could you please help me? Thanks! size(1000,1000); background(25…

---

## [Collision in p5 js](https://discourse.processing.org/t/collision-in-p5-js/34120)

<div class="topic-metadata">

**Author:** [@maximleyssens](https://discourse.processing.org/u/maximleyssens)\
**Replies:** 0\
**Last updated:** [December 14, 2021, 8:56pm UTC](https://discourse.processing.org/t/collision-in-p5-js/34120 "2021-12-14T20:56:35Z")

</div>

hey, i have a school project where I need to let creatures interact with each other this is done by collision I already have made a big part but now I wanted to make that u can eat the red circles by moving on them with…

---

## [Submit Library to Processing Contributed Libraries](https://discourse.processing.org/t/submit-library-to-processing-contributed-libraries/34105)

<div class="topic-metadata">

**Author:** [@micycle](https://discourse.processing.org/u/micycle)\
**Replies:** 4\
**Last updated:** [December 14, 2021, 8:10pm UTC](https://discourse.processing.org/t/submit-library-to-processing-contributed-libraries/34105 "2021-12-14T20:10:30Z")

</div>

How do I submit a library to the Processing Contributed libraries? I’ve searched for an answer but can’t find anything anywhere…

---

## [Failing to "resizeCanvas" in instance mode within a for loop](https://discourse.processing.org/t/failing-to-resizecanvas-in-instance-mode-within-a-for-loop/34119)

<div class="topic-metadata">

**Author:** [@Sofie](https://discourse.processing.org/u/Sofie)\
**Replies:** 1\
**Last updated:** [December 14, 2021, 8:04pm UTC](https://discourse.processing.org/t/failing-to-resizecanvas-in-instance-mode-within-a-for-loop/34119 "2021-12-14T20:04:07Z")

</div>

i try to create a sketch with p5s dom lib. I managed to create all my p5 Canvas Elements (grey tones)in a for loop and linking them to the matching divs(brown). When i try to resize the window, all sketches just disappea…

---

## [Loading a .wav file into memory](https://discourse.processing.org/t/loading-a-wav-file-into-memory/34114)

<div class="topic-metadata">

**Author:** [@rebeccajkaye](https://discourse.processing.org/u/rebeccajkaye)\
**Replies:** 0\
**Last updated:** [December 14, 2021, 5:49pm UTC](https://discourse.processing.org/t/loading-a-wav-file-into-memory/34114 "2021-12-14T17:49:17Z")

</div>

Hello Apologies for posting this - it’s probably a simple question but my online search has failed (although even just a pointer to anywhere I could read about this online would be massively helpful). So, I’m wanting t…

---

## [Help with sound analysis code](https://discourse.processing.org/t/help-with-sound-analysis-code/34113)

<div class="topic-metadata">

**Author:** [@nata4596](https://discourse.processing.org/u/nata4596)\
**Replies:** 0\
**Last updated:** [December 14, 2021, 5:49pm UTC](https://discourse.processing.org/t/help-with-sound-analysis-code/34113 "2021-12-14T17:49:09Z")

</div>

I need help with this code. This is a program that measures rythm, it works fine. But i need that people lose or win when they reach the bpms of the song. In the last if i tried to do that but it only ends up in people…

---

## [Serial connection between Processing and Arduino doesn't work](https://discourse.processing.org/t/serial-connection-between-processing-and-arduino-doesnt-work/34054)

<div class="topic-metadata">

**Author:** [@grudovz](https://discourse.processing.org/u/grudovz)\
**Replies:** 7\
**Last updated:** [December 14, 2021, 1:14pm UTC](https://discourse.processing.org/t/serial-connection-between-processing-and-arduino-doesnt-work/34054 "2021-12-14T13:14:30Z")

</div>

I’m trying to connect an Arduino Nano Every and Processing via serial. I’m getting no errors on either side, and the arduino serial functionality works otherwise on the arduino IDE. I’m connecting on the right port, and…

---

## [Sending Processing canvas to addressable LEDs](https://discourse.processing.org/t/sending-processing-canvas-to-addressable-leds/34050)

<div class="topic-metadata">

**Author:** [@zumdar](https://discourse.processing.org/u/zumdar)\
**Replies:** 6\
**Last updated:** [December 14, 2021, 3:03am UTC](https://discourse.processing.org/t/sending-processing-canvas-to-addressable-leds/34050 "2021-12-14T03:03:13Z")

</div>

I want an easy way to send the processing canvas to addressable LEDs. I know about Fadecandy, but I dont have the hardware for that right now, I just have some Teensy’s and random Arduino’s lying around. I know i could b…

---

## [Loop inside another loop](https://discourse.processing.org/t/loop-inside-another-loop/33957)

<div class="topic-metadata">

**Author:** [@aya](https://discourse.processing.org/u/aya)\
**Replies:** 3\
**Last updated:** [December 14, 2021, 1:14am UTC](https://discourse.processing.org/t/loop-inside-another-loop/33957 "2021-12-14T01:14:12Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I was able to create the tree in the image but the code consists of two loops one for the trunk and one and branches, and I could not combine …

---

## [Help needed creating simple p5.js library](https://discourse.processing.org/t/help-needed-creating-simple-p5-js-library/34045)

<div class="topic-metadata">

**Author:** [@scottc19](https://discourse.processing.org/u/scottc19)\
**Replies:** 0\
**Last updated:** [December 11, 2021, 12:00am UTC](https://discourse.processing.org/t/help-needed-creating-simple-p5-js-library/34045 "2021-12-11T00:00:45Z")

</div>

Quick background I am using p5.js in instance mode (long story why I have to use instance mode, so just pretend its required) and I want to write a simple library that contains stuff that I do in all my sketches, for exa…

---

## [I need a quick explanation how this works cause i don't get it](https://discourse.processing.org/t/i-need-a-quick-explanation-how-this-works-cause-i-dont-get-it/34096)

<div class="topic-metadata">

**Author:** [@parichko](https://discourse.processing.org/u/parichko)\
**Replies:** 3\
**Last updated:** [December 13, 2021, 2:54pm UTC](https://discourse.processing.org/t/i-need-a-quick-explanation-how-this-works-cause-i-dont-get-it/34096 "2021-12-13T14:54:07Z")

</div>

let x let y let s1 let s2 function setup() { createCanvas(400, 400); frameRate(60) x = 50 y = 50 s1 = 1 s2 = 1 } function draw() { background('black'); ellipse(x,y,100) x += s1 y += s2 if (y \> 350 && x \> 350){ s2 \*= -1 …

---

## [Looking for help on the motion sensor problems](https://discourse.processing.org/t/looking-for-help-on-the-motion-sensor-problems/34090)

<div class="topic-metadata">

**Author:** [@kathy123td](https://discourse.processing.org/u/kathy123td)\
**Replies:** 2\
**Last updated:** [December 13, 2021, 11:10am UTC](https://discourse.processing.org/t/looking-for-help-on-the-motion-sensor-problems/34090 "2021-12-13T11:10:04Z")

</div>

Hello, I replace a PIR Motion Sensor according to the 6 steps in my phone. I followed the schema reported of product introduction and steps in the posted url, but it does not work, it gives me values not consistent with…

---

## [\[p5.js\] Is it possible to edit the 'initial-scale' of 'meta\[name=viewport\]'?](https://discourse.processing.org/t/p5-js-is-it-possible-to-edit-the-initial-scale-of-meta-name-viewport/34087)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 8\
**Last updated:** [December 13, 2021, 9:16am UTC](https://discourse.processing.org/t/p5-js-is-it-possible-to-edit-the-initial-scale-of-meta-name-viewport/34087 "2021-12-13T09:16:29Z")

</div>

Is it possible to edit the ‘initial-scale’ of ‘meta\[name=viewport\]’? through ‘js’ \*link: html - Change initial scale with javascript - Stack Overflow if (document.documentElement.clientWidth \< 480) { document.q…

---

## [Help! I'm trying to tessellate a shape with random vertices](https://discourse.processing.org/t/help-im-trying-to-tessellate-a-shape-with-random-vertices/34093)

<div class="topic-metadata">

**Author:** [@mrgrassoxen](https://discourse.processing.org/u/mrgrassoxen)\
**Replies:** 0\
**Last updated:** [December 13, 2021, 8:19am UTC](https://discourse.processing.org/t/help-im-trying-to-tessellate-a-shape-with-random-vertices/34093 "2021-12-13T08:19:32Z")

</div>

I am able to create a shape and tesselate it (using a for loop) when I have a FIXED number of vertices on the top/bottom and sides. However when I try using a random number of vertices for top/bottom and sides, when I g…

---

## [\[p5.js\] Split operation does not work with text obtained by loadStrings](https://discourse.processing.org/t/p5-js-split-operation-does-not-work-with-text-obtained-by-loadstrings/34056)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 9\
**Last updated:** [December 13, 2021, 5:24am UTC](https://discourse.processing.org/t/p5-js-split-operation-does-not-work-with-text-obtained-by-loadstrings/34056 "2021-12-13T05:24:51Z")

</div>

\[P5.JS\] var value1; var value2; function setup() { createCanvas(450, 150); background(220); textSize(12); let url = " SITE IP ADDRESS /split\_test/user\_check.php?"; value1 = loadStrings(url)…

---

## [Slit scan with picture](https://discourse.processing.org/t/slit-scan-with-picture/34073)

<div class="topic-metadata">

**Author:** [@bopbopbop114](https://discourse.processing.org/u/bopbopbop114)\
**Replies:** 2\
**Last updated:** [December 13, 2021, 12:04am UTC](https://discourse.processing.org/t/slit-scan-with-picture/34073 "2021-12-13T00:04:10Z")

</div>

Hi everybody, i want to ask if processing can do slit scan with pictures thank you

---

## [How do I draw multiple ellipses in a circle formation](https://discourse.processing.org/t/how-do-i-draw-multiple-ellipses-in-a-circle-formation/34059)

<div class="topic-metadata">

**Author:** [@Kashyap](https://discourse.processing.org/u/Kashyap)\
**Replies:** 10\
**Last updated:** [December 13, 2021, 12:02am UTC](https://discourse.processing.org/t/how-do-i-draw-multiple-ellipses-in-a-circle-formation/34059 "2021-12-13T00:02:26Z")

</div>

I need to create a code that allows me to draw any number of ellipses in a circular formation moving outwards (sort of like a firework). Your help will be greatly appreciated.

---

## [Thousands of ellipses slows Processing down](https://discourse.processing.org/t/thousands-of-ellipses-slows-processing-down/34074)

<div class="topic-metadata">

**Author:** [@cannon303](https://discourse.processing.org/u/cannon303)\
**Replies:** 3\
**Last updated:** [December 12, 2021, 11:26pm UTC](https://discourse.processing.org/t/thousands-of-ellipses-slows-processing-down/34074 "2021-12-12T23:26:24Z")

</div>

Hi I’m new to Processing and I’m dabbling with the example: Circle Collision with Swapping Velocities by Ira Greenberg : Circle Collision with Swapping Velocities / Examples / Processing.org I can post the code if you l…

---

## [Resizing a ControlP5 text field](https://discourse.processing.org/t/resizing-a-controlp5-text-field/34068)

<div class="topic-metadata">

**Author:** [@F1yin](https://discourse.processing.org/u/F1yin)\
**Replies:** 4\
**Last updated:** [December 12, 2021, 8:59pm UTC](https://discourse.processing.org/t/resizing-a-controlp5-text-field/34068 "2021-12-12T20:59:08Z")

</div>

My goal is simply to be able to resize a ControlP5 text field when the window is resized. import controlP5.\*; ControlP5 cp5; void setup(){ size(1080, 640); background(197,217,227); surface.setResizable(true); …

---

## [Processing 3.5.4 not working with python mode](https://discourse.processing.org/t/processing-3-5-4-not-working-with-python-mode/25650)

<div class="topic-metadata">

**Author:** [@wunaizcy](https://discourse.processing.org/u/wunaizcy)\
**Replies:** 14\
**Last updated:** [December 12, 2021, 8:04pm UTC](https://discourse.processing.org/t/processing-3-5-4-not-working-with-python-mode/25650 "2021-12-12T20:04:23Z")

</div>

Hello, So after I googled online for a while I still can’t find the solution. I tried mostly everything I can find on the web. Reinstalling, firewall etc. My java mode works fine, just python mode is not.

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

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