# Latest

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

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

**Page:** 45

---

## [Can I use a string as a command?](https://discourse.processing.org/t/can-i-use-a-string-as-a-command/44200)

<div class="topic-metadata">

**Author:** [@Naorius](https://discourse.processing.org/u/Naorius)\
**Replies:** 17\
**Last updated:** [April 2, 2024, 8:48pm UTC](https://discourse.processing.org/t/can-i-use-a-string-as-a-command/44200 "2024-04-02T20:48:44Z")

</div>

I have 55 images named alien1 - alien55 (I have a reason not to use a PImage array), instead of typing the draw() command for each one, I used a for loop: void draw() { for (int i; i=0; i\<54 i=i+1){ if (aliendr…

---

## [Help set pin height](https://discourse.processing.org/t/help-set-pin-height/44216)

<div class="topic-metadata">

**Author:** [@r0x15](https://discourse.processing.org/u/r0x15)\
**Replies:** 0\
**Last updated:** [April 2, 2024, 3:02pm UTC](https://discourse.processing.org/t/help-set-pin-height/44216 "2024-04-02T15:02:30Z")

</div>

I need set one pin hight when value variable is value=20 Any help Thankyou

---

## [Why will start not = true?](https://discourse.processing.org/t/why-will-start-not-true/44215)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 1\
**Last updated:** [April 2, 2024, 3:14pm UTC](https://discourse.processing.org/t/why-will-start-not-true/44215 "2024-04-02T15:14:12Z")

</div>

I’ve been out of coding for a few months and am trying to get back into it with a platformer. Was working on the backbone, and I can’t make start true with anything! Any ideas? float playerX; float playerY; boolean st…

---

## [A beautiful spin](https://discourse.processing.org/t/a-beautiful-spin/44212)

<div class="topic-metadata">

**Author:** [@aliec](https://discourse.processing.org/u/aliec)\
**Replies:** 1\
**Last updated:** [April 2, 2024, 1:37pm UTC](https://discourse.processing.org/t/a-beautiful-spin/44212 "2024-04-02T13:37:24Z")

</div>

def setup(): size(600,600) rectMode(CENTER) colorMode(HSB) t=0 def draw(): global t background(255) translate(width/2,height/2) rotate(radians(t)) for i in range(90): pushMatrix…

---

## [Tutorial on how to code a "Theremin Emulator" using p5.js(and python)](https://discourse.processing.org/t/tutorial-on-how-to-code-a-theremin-emulator-using-p5-js-and-python/44195)

<div class="topic-metadata">

**Author:** [@Reid](https://discourse.processing.org/u/Reid)\
**Replies:** 0\
**Last updated:** [April 1, 2024, 5:50am UTC](https://discourse.processing.org/t/tutorial-on-how-to-code-a-theremin-emulator-using-p5-js-and-python/44195 "2024-04-01T05:50:34Z")

</div>

Theremin Emulator part 1 (coding the hand that controls pitch) : https://www.youtube.com/watch?v=ApDZcRjTxRI Part 2 (coding the hand that controls volume) : https://www.youtube.com/watch?v=TmKduyYXGz4

---

## [Is there a way to add Listeners to the PApplet?](https://discourse.processing.org/t/is-there-a-way-to-add-listeners-to-the-papplet/17895)

<div class="topic-metadata">

**Author:** [@LoliProcessor](https://discourse.processing.org/u/LoliProcessor)\
**Replies:** 6\
**Last updated:** [April 1, 2024, 3:55am UTC](https://discourse.processing.org/t/is-there-a-way-to-add-listeners-to-the-papplet/17895 "2024-04-01T03:55:51Z")

</div>

I need to have an InputMethodListener for Japanese and Chinese input methods, is there a way to have the sketch listen to them? Just like someone reads my post

---

## [Why set(...) doesn't clip](https://discourse.processing.org/t/why-set-doesnt-clip/44183)

<div class="topic-metadata">

**Author:** [@seanc4s](https://discourse.processing.org/u/seanc4s)\
**Replies:** 4\
**Last updated:** [March 31, 2024, 6:50am UTC](https://discourse.processing.org/t/why-set-doesnt-clip/44183 "2024-03-31T06:50:04Z")

</div>

Why does set not clip x,y parameters that are off-screen in this example: function setup() { createCanvas(512, 512); background(0); for (let i = 0, rs = 0; i \< 65536; i++) { rs = (rs + 0x105d7152) & 0xffffffff…

---

## [keyPressed() combos - How can I check for UP and SHIFT in a switch()](https://discourse.processing.org/t/keypressed-combos-how-can-i-check-for-up-and-shift-in-a-switch/44148)

<div class="topic-metadata">

**Author:** [@vkbr](https://discourse.processing.org/u/vkbr)\
**Replies:** 10\
**Last updated:** [March 31, 2024, 1:19am UTC](https://discourse.processing.org/t/keypressed-combos-how-can-i-check-for-up-and-shift-in-a-switch/44148 "2024-03-31T01:19:43Z")

</div>

Hello folks. I have this gigantic switch for handling keys inputs. Thats all fine. But I’m using “keyEvent.isShiftDown()” (sugested by chat gpt) and PDE complains: “The field PApplet.keyEvent is deprecated” How sho…

---

## [New py5 release 0.10.1a1](https://discourse.processing.org/t/new-py5-release-0-10-1a1/44187)

<div class="topic-metadata">

**Author:** [@hx2A](https://discourse.processing.org/u/hx2A)\
**Replies:** 0\
**Last updated:** [March 30, 2024, 8:33pm UTC](https://discourse.processing.org/t/new-py5-release-0-10-1a1/44187 "2024-03-30T20:33:19Z")

</div>

Hello everyone! We wanted to let you know py5 release 0.10.1a1 went out earlier today. This is a small release with two new features and some bug fixes. Read more about it here: There is a new documentation page expl…

---

## [G4P full screen issue with Java2D renderer](https://discourse.processing.org/t/g4p-full-screen-issue-with-java2d-renderer/44178)

<div class="topic-metadata">

**Author:** [@Norilla](https://discourse.processing.org/u/Norilla)\
**Replies:** 3\
**Last updated:** [March 30, 2024, 2:02pm UTC](https://discourse.processing.org/t/g4p-full-screen-issue-with-java2d-renderer/44178 "2024-03-30T14:02:47Z")

</div>

We are using G4P to create a second window. We were wondering if there is a way to make GWindow fullscreen using JAVA2D as the renderer . We have our code as below: window1 = GWindow.getWindow(this, "NoRILLA Template P…

---

## [Responsive problem with noise](https://discourse.processing.org/t/responsive-problem-with-noise/44184)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 0\
**Last updated:** [March 30, 2024, 10:58am UTC](https://discourse.processing.org/t/responsive-problem-with-noise/44184 "2024-03-30T10:58:37Z")

</div>

Hello! Im having a problem with this noise class for a project. Is not fully responsive and the values are changing when i change the size of the screen. I tried a lot of things and i couldnt get it work. let r let toke…

---

## [bezierDetail() doesn't work in bezierVertex()](https://discourse.processing.org/t/bezierdetail-doesnt-work-in-beziervertex/44173)

<div class="topic-metadata">

**Author:** [@unfootbird](https://discourse.processing.org/u/unfootbird)\
**Replies:** 4\
**Last updated:** [March 30, 2024, 3:26am UTC](https://discourse.processing.org/t/bezierdetail-doesnt-work-in-beziervertex/44173 "2024-03-30T03:26:50Z")

</div>

When I was exploring bezier curves. I realized that these two lines of code: detail = 2 \* int(map(mouseY, 0, height, 1, division \* 5)); bezierDetail(detail); works perfectly when I define bezier curve through bezier()…

---

## [GPS speedometer alarm](https://discourse.processing.org/t/gps-speedometer-alarm/44147)

<div class="topic-metadata">

**Author:** [@r0x15](https://discourse.processing.org/u/r0x15)\
**Replies:** 0\
**Last updated:** [March 23, 2024, 11:28pm UTC](https://discourse.processing.org/t/gps-speedometer-alarm/44147 "2024-03-23T23:28:37Z")

</div>

Any help for code Thankyou

---

## [I don't know the reason of this error](https://discourse.processing.org/t/i-dont-know-the-reason-of-this-error/44169)

<div class="topic-metadata">

**Author:** [@silverhee](https://discourse.processing.org/u/silverhee)\
**Replies:** 4\
**Last updated:** [March 28, 2024, 8:42am UTC](https://discourse.processing.org/t/i-dont-know-the-reason-of-this-error/44169 "2024-03-28T08:42:43Z")

</div>

hi. I want to make ‘matrix rain’ in p5js but… let symbols = \[\]; let symbolSize = 26; function setup() { createCanvas(window.innerWidth, window.innerHeight); background(0); let x = 0; for (let i = 0; i \<= width…

---

## [Server/client with ESP32/Processing](https://discourse.processing.org/t/server-client-with-esp32-processing/44156)

<div class="topic-metadata">

**Author:** [@Bellatore69](https://discourse.processing.org/u/Bellatore69)\
**Replies:** 4\
**Last updated:** [March 28, 2024, 6:44am UTC](https://discourse.processing.org/t/server-client-with-esp32-processing/44156 "2024-03-28T06:44:14Z")

</div>

Good morning, I am currently in university, and my end-of-year project is to create an automatic greenhouse. I therefore have to create a Human Machine Interface with Processing and a server which will group together a…

---

## [Has anyone tried setting up a 'Mosquitto MQTT' server?](https://discourse.processing.org/t/has-anyone-tried-setting-up-a-mosquitto-mqtt-server/44060)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 3\
**Last updated:** [March 27, 2024, 12:23am UTC](https://discourse.processing.org/t/has-anyone-tried-setting-up-a-mosquitto-mqtt-server/44060 "2024-03-27T00:23:33Z")

</div>

Has anyone tried setting up a ‘Mosquitto MQTT’ server? hello. Nice to meet you. Has anyone tried opening a ‘Mosquitto MQTT’ server through ‘JAVA’? Has anyone experienced this? help me~

---

## [Saving live information to excel file every half hour](https://discourse.processing.org/t/saving-live-information-to-excel-file-every-half-hour/43061)

<div class="topic-metadata">

**Author:** [@Jason](https://discourse.processing.org/u/Jason)\
**Replies:** 60\
**Last updated:** [March 26, 2024, 9:52am UTC](https://discourse.processing.org/t/saving-live-information-to-excel-file-every-half-hour/43061 "2024-03-26T09:52:38Z")

</div>

The following code was written by someone a few years ago for our company. What it does is display the counts of parts that are coming off of some of our machines. What i need to be able to do is have those numbers sa…

---

## [Processing executable resolution screwed up](https://discourse.processing.org/t/processing-executable-resolution-screwed-up/44115)

<div class="topic-metadata">

**Author:** [@bask185](https://discourse.processing.org/u/bask185)\
**Replies:** 2\
**Last updated:** [March 25, 2024, 7:35am UTC](https://discourse.processing.org/t/processing-executable-resolution-screwed-up/44115 "2024-03-25T07:35:07Z")

</div>

I have exported a windows 64 binary with java included. I can launch the .exe by double clicking it in the explorer. And everything works fine and all. But it looks like total crap on a different computer (also W10 64 b…

---

## [Display size calculations problem](https://discourse.processing.org/t/display-size-calculations-problem/44151)

<div class="topic-metadata">

**Author:** [@Jellyfish\_Grave](https://discourse.processing.org/u/Jellyfish_Grave)\
**Replies:** 4\
**Last updated:** [March 24, 2024, 4:46pm UTC](https://discourse.processing.org/t/display-size-calculations-problem/44151 "2024-03-24T16:46:42Z")

</div>

I came accross a problem while making my current project. The concept would be to create a black square on a white background of 1000 by 1000 pixels, but have it be at the center of the screen. Taking into account the fa…

---

## [SVG blend in p5](https://discourse.processing.org/t/svg-blend-in-p5/44143)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 1\
**Last updated:** [March 23, 2024, 8:00pm UTC](https://discourse.processing.org/t/svg-blend-in-p5/44143 "2024-03-23T20:00:13Z")

</div>

function setup() { const DIM = Math.min(window.innerWidth, window.innerHeight); const svg = createSVGCanvas(DIM, DIM); const filter = document.createElementNS("http://www.w3.org/2000/svg", "filter"); filter.set…

---

## [Using the mouse position to zoom in on a map](https://discourse.processing.org/t/using-the-mouse-position-to-zoom-in-on-a-map/44137)

<div class="topic-metadata">

**Author:** [@CharmanderProgrammer](https://discourse.processing.org/u/CharmanderProgrammer)\
**Replies:** 10\
**Last updated:** [March 22, 2024, 6:19pm UTC](https://discourse.processing.org/t/using-the-mouse-position-to-zoom-in-on-a-map/44137 "2024-03-22T18:19:08Z")

</div>

void draw() { if(w) {camY -= 5;} if(s) {camY += 5;} if(a) {camX -= 5;} if(d) {camX += 5;} background(220); push(); translate(mouseX, mouseY); scale(camScale); translate(-mouseX, -mouseY); transla…

---

## [My Mac M1 Pro run Processing very slowly](https://discourse.processing.org/t/my-mac-m1-pro-run-processing-very-slowly/44142)

<div class="topic-metadata">

**Author:** [@langxm](https://discourse.processing.org/u/langxm)\
**Replies:** 1\
**Last updated:** [March 22, 2024, 3:22pm UTC](https://discourse.processing.org/t/my-mac-m1-pro-run-processing-very-slowly/44142 "2024-03-22T15:22:23Z")

</div>

processing on my mac m1 pro always can not show the result or can not display result after i press run button, it takes a very very very long time to show the result i write really simplest code. after first times, i c…

---

## [My mobile phone doesn't appear in Android device menu](https://discourse.processing.org/t/my-mobile-phone-doesnt-appear-in-android-device-menu/44134)

<div class="topic-metadata">

**Author:** [@pierit](https://discourse.processing.org/u/pierit)\
**Replies:** 2\
**Last updated:** [March 22, 2024, 12:56pm UTC](https://discourse.processing.org/t/my-mobile-phone-doesnt-appear-in-android-device-menu/44134 "2024-03-22T12:56:49Z")

</div>

Hi folks, I instlled the android sdk successfully. But, when I click on android/device menu the box is empty. I’m using a samsung A53 device. I have also updated the samsung usb drivers for windows 11. When I connect t…

---

## [HELP！missing .py examples from Chapter 6 of “Nature of Code.”](https://discourse.processing.org/t/help-missing-py-examples-from-chapter-6-of-nature-of-code/44074)

<div class="topic-metadata">

**Author:** [@Ray0204](https://discourse.processing.org/u/Ray0204)\
**Replies:** 7\
**Last updated:** [March 22, 2024, 12:33am UTC](https://discourse.processing.org/t/help-missing-py-examples-from-chapter-6-of-nature-of-code/44074 "2024-03-22T00:33:38Z")

</div>

Hello everyone, I’m a beginner in processing.py, and I’m currently learning processing by converting the content of “Nature of Code” into Python syntax. I usually refer to this link for my studies: noc-examples-python/ch…

---

## [Executive Director Search for Processing Foundation + Webinar on Monday, March 25](https://discourse.processing.org/t/executive-director-search-for-processing-foundation-webinar-on-monday-march-25/44136)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 0\
**Last updated:** [March 21, 2024, 5:12pm UTC](https://discourse.processing.org/t/executive-director-search-for-processing-foundation-webinar-on-monday-march-25/44136 "2024-03-21T17:12:07Z")

</div>

Are you interested in becoming the new Executive Director of Processing Foundation? Join us for a webinar on Monday to hear more about the position from me, Kate Hollenbach, the Board President, and Sonia Choi, the Progr…

---

## [Fractals on the Circle of Fifths Using the Chaos Game](https://discourse.processing.org/t/fractals-on-the-circle-of-fifths-using-the-chaos-game/44132)

<div class="topic-metadata">

**Author:** [@AlgoMotion](https://discourse.processing.org/u/AlgoMotion)\
**Replies:** 0\
**Last updated:** [March 21, 2024, 12:29pm UTC](https://discourse.processing.org/t/fractals-on-the-circle-of-fifths-using-the-chaos-game/44132 "2024-03-21T12:29:58Z")

</div>

Hi! I’ve been using Processing to create videos for a YouTube channel called “AlgoMotion”, illustrating algorithms, mathematical concepts, and musical concepts. I figured I’d share my most recent one here: …

---

## [How to rotate Pacman's animation face](https://discourse.processing.org/t/how-to-rotate-pacmans-animation-face/44129)

<div class="topic-metadata">

**Author:** [@Challenger](https://discourse.processing.org/u/Challenger)\
**Replies:** 1\
**Last updated:** [March 21, 2024, 8:30am UTC](https://discourse.processing.org/t/how-to-rotate-pacmans-animation-face/44129 "2024-03-21T08:30:32Z")

</div>

hi guys, I am having trouble reversing the pacmans face when moving pacman backwards, any ideas? heres the code i’ve been working on for my homework: boolean pacopen = true; float pacwidth = 0; float mouthclose = TWO\_P…

---

## [Toggling fullscreen](https://discourse.processing.org/t/toggling-fullscreen/44121)

<div class="topic-metadata">

**Author:** [@ripolas](https://discourse.processing.org/u/ripolas)\
**Replies:** 7\
**Last updated:** [March 20, 2024, 7:40pm UTC](https://discourse.processing.org/t/toggling-fullscreen/44121 "2024-03-20T19:40:03Z")

</div>

Hello, i couldn’t find anything useful on the topic about toggling fullscreen (like F11 in browsers for example). Also how do i run a windowed sketch at the size of the screen? Because if I try this: void setup(){ siz…

---

## [Issue with Intel RealSense Camera and Processing "Failed to Set Power State"](https://discourse.processing.org/t/issue-with-intel-realsense-camera-and-processing-failed-to-set-power-state/39663)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 4\
**Last updated:** [March 20, 2024, 12:18pm UTC](https://discourse.processing.org/t/issue-with-intel-realsense-camera-and-processing-failed-to-set-power-state/39663 "2024-03-20T12:18:52Z")

</div>

IMHO the Intel RealSense D400 series cameras are the new Kinect. However, today, after unboxing the camera from last year, it no longer works… See screenshot. I see an error message after trying out the examples sketch…

---

## [Web app I've built for reaction diffusion systems + chladni figures (users needed)](https://discourse.processing.org/t/web-app-ive-built-for-reaction-diffusion-systems-chladni-figures-users-needed/44124)

<div class="topic-metadata">

**Author:** [@t45jk](https://discourse.processing.org/u/t45jk)\
**Replies:** 0\
**Last updated:** [March 20, 2024, 11:14am UTC](https://discourse.processing.org/t/web-app-ive-built-for-reaction-diffusion-systems-chladni-figures-users-needed/44124 "2024-03-20T11:14:48Z")

</div>

Hello, I’ve built a small platform for reaction-diffusion type patterns which are also manipulated by Chladni patterns, and was looking for a few users to provide some feedback on the outputs/UI - the app is accessible h…

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

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