# Latest

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

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

**Page:** 171

---

## [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.

---

## [How do I get a PShape location after transforming it?](https://discourse.processing.org/t/how-do-i-get-a-pshape-location-after-transforming-it/34064)

<div class="topic-metadata">

**Author:** [@TT3overnot](https://discourse.processing.org/u/TT3overnot)\
**Replies:** 6\
**Last updated:** [December 12, 2021, 3:59pm UTC](https://discourse.processing.org/t/how-do-i-get-a-pshape-location-after-transforming-it/34064 "2021-12-12T15:59:35Z")

</div>

cameraTarget = createShape(SPHERE, 30); cameraTarget.rotateX(-mouseX / 200.0); cameraTarget.rotateY(-mouseY / 200.0); cameraTarget.translate(200, 0, 0); I’m making a project and don’t want to replace any code. I was…

---

## [Create random curve from X points](https://discourse.processing.org/t/create-random-curve-from-x-points/31218)

<div class="topic-metadata">

**Author:** [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Replies:** 4\
**Last updated:** [December 12, 2021, 1:13pm UTC](https://discourse.processing.org/t/create-random-curve-from-x-points/31218 "2021-12-12T13:13:09Z")

</div>

I want to draw curve from X points, random points. I try to read about the bezierPoint() but not understood completely

---

## [Using two different readStringUntil "characters"](https://discourse.processing.org/t/using-two-different-readstringuntil-characters/10769)

<div class="topic-metadata">

**Author:** [@eezJerome](https://discourse.processing.org/u/eezJerome)\
**Replies:** 26\
**Last updated:** [December 12, 2021, 11:46am UTC](https://discourse.processing.org/t/using-two-different-readstringuntil-characters/10769 "2021-12-12T11:46:56Z")

</div>

Hello. I am not sure what to call the value inside the bufferUntil, but as my title implies I need to use two different characters, rather than just the newline (\\n). Is it possible that, inside the serialEvent() funct…

---

## [Trying to make a multidimensional array which can connect to my buttons Please Help as soon as possible Please](https://discourse.processing.org/t/trying-to-make-a-multidimensional-array-which-can-connect-to-my-buttons-please-help-as-soon-as-possible-please/34047)

<div class="topic-metadata">

**Author:** [@tkenyon](https://discourse.processing.org/u/tkenyon)\
**Replies:** 1\
**Last updated:** [December 11, 2021, 8:34am UTC](https://discourse.processing.org/t/trying-to-make-a-multidimensional-array-which-can-connect-to-my-buttons-please-help-as-soon-as-possible-please/34047 "2021-12-11T08:34:08Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I am trying to make a multidimensional array, storing my array of images on one and states on the left side and storing the images on the right s…

---

## [Storing a one snapshot of value within a draw loop?](https://discourse.processing.org/t/storing-a-one-snapshot-of-value-within-a-draw-loop/33510)

<div class="topic-metadata">

**Author:** [@basicvisual](https://discourse.processing.org/u/basicvisual)\
**Replies:** 12\
**Last updated:** [December 11, 2021, 10:28pm UTC](https://discourse.processing.org/t/storing-a-one-snapshot-of-value-within-a-draw-loop/33510 "2021-12-11T22:28:12Z")

</div>

Hi I am exploring Ml5js posenet model to get the 2D keypoints. I am using these keypoints to calculate the angle around a joint area , for example shoulder joint. I am looking for a way to store the x and y co .ordinate…

---

## [Splitting a string that contains a float value](https://discourse.processing.org/t/splitting-a-string-that-contains-a-float-value/34065)

<div class="topic-metadata">

**Author:** [@F1yin](https://discourse.processing.org/u/F1yin)\
**Replies:** 2\
**Last updated:** [December 11, 2021, 11:41pm UTC](https://discourse.processing.org/t/splitting-a-string-that-contains-a-float-value/34065 "2021-12-11T23:41:54Z")

</div>

Hi! My goal is to use an Arduino to send processing multiple sensor readings and display them. Right now I am sending the values as a comma-separated string, and then plan on displaying each value individually by splitt…

---

## [VR mode how to get pixel color on mouse click?](https://discourse.processing.org/t/vr-mode-how-to-get-pixel-color-on-mouse-click/33980)

<div class="topic-metadata">

**Author:** [@dimpapadop](https://discourse.processing.org/u/dimpapadop)\
**Replies:** 1\
**Last updated:** [December 11, 2021, 10:38pm UTC](https://discourse.processing.org/t/vr-mode-how-to-get-pixel-color-on-mouse-click/33980 "2021-12-11T22:38:05Z")

</div>

Hallo, how could we get the pixel color when in VR mode? for example for color tracking in VR mode. I am confused the simple 2d code color cc=get(mouseX,mouseY); println(red(cc),green(cc),blue(cc)); does not r…

---

## [TextToPoints in Processing](https://discourse.processing.org/t/texttopoints-in-processing/34057)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 1\
**Last updated:** [December 11, 2021, 8:17pm UTC](https://discourse.processing.org/t/texttopoints-in-processing/34057 "2021-12-11T20:17:03Z")

</div>

Hey, whats is the equivalent to the function TextToPoints (P5) in Processing? thanks :slight\_smile:

---

## [Add text above rect](https://discourse.processing.org/t/add-text-above-rect/34034)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 3\
**Last updated:** [December 11, 2021, 6:13pm UTC](https://discourse.processing.org/t/add-text-above-rect/34034 "2021-12-11T18:13:26Z")

</div>

I tried to add text on top of the rects in the shop, but the text appeared behind the rects, why is this? int clicks = 0; color cookie; color black; color white; PImage home; boolean shop= false; void setup() { re…

---

## [Merging 2 sketches into 1](https://discourse.processing.org/t/merging-2-sketches-into-1/34051)

<div class="topic-metadata">

**Author:** [@medikid](https://discourse.processing.org/u/medikid)\
**Replies:** 2\
**Last updated:** [December 11, 2021, 3:17pm UTC](https://discourse.processing.org/t/merging-2-sketches-into-1/34051 "2021-12-11T15:17:44Z")

</div>

please format code with \</\> button \* homework policy \* asking questions hi, i have two sketches let scale = 0.004; function setup() { createCanvas(1200, 1200); smooth() } function draw() { for(let x = 100;…

---

## [8 bezier parameters to 12 bezier parameters in 3d](https://discourse.processing.org/t/8-bezier-parameters-to-12-bezier-parameters-in-3d/33595)

<div class="topic-metadata">

**Author:** [@medikid](https://discourse.processing.org/u/medikid)\
**Replies:** 7\
**Last updated:** [December 11, 2021, 3:10pm UTC](https://discourse.processing.org/t/8-bezier-parameters-to-12-bezier-parameters-in-3d/33595 "2021-12-11T15:10:39Z")

</div>

please format code with \</\> button \* homework policy \* asking questions hi, i have old piece of code which i somehow transported to newest processing. it makes piles of bezier curves, circles in this case. from th…

---

## [Smooth organic line](https://discourse.processing.org/t/smooth-organic-line/34055)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 1\
**Last updated:** [December 11, 2021, 1:46pm UTC](https://discourse.processing.org/t/smooth-organic-line/34055 "2021-12-11T13:46:19Z")

</div>

Hey, I’m trying to make an animation of a moving line with noise. so I have a vector of the position and the previous position and I make a line between the two and the update the vector and so on. The problem is that…

---

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

<div class="topic-metadata">

**Author:** [@grudovz](https://discourse.processing.org/u/grudovz)\
**Replies:** 2\
**Last updated:** [December 11, 2021, 12:48pm UTC](https://discourse.processing.org/t/serial-connection-between-arduino-and-processing-doesnt-work-port-busy/34040 "2021-12-11T12:48:09Z")

</div>

Hi everyone. I’m trying to connect arduino and processing via serial. Whenever I run the processing sketch I get the following error: RuntimeException: Error opening serial port COM26: Port busy Could not run the sketch…

---

## [Please help asap for homework](https://discourse.processing.org/t/please-help-asap-for-homework/34035)

<div class="topic-metadata">

**Author:** [@parichko](https://discourse.processing.org/u/parichko)\
**Replies:** 2\
**Last updated:** [December 11, 2021, 2:26am UTC](https://discourse.processing.org/t/please-help-asap-for-homework/34035 "2021-12-11T02:26:44Z")

</div>

I have a homework till today 12 i need to make a circle change shape when it hits the wall and a circle that bounces of walls

---

## [P\_4\_3\_1\_02 Image](https://discourse.processing.org/t/p-4-3-1-02-image/34039)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 1\
**Last updated:** [December 10, 2021, 10:14pm UTC](https://discourse.processing.org/t/p-4-3-1-02-image/34039 "2021-12-10T22:14:11Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi Processing community! I would like to upload a photograph from my computer to interact with the code that is provided for P\_4\_3\_1\_02. How wo…

---

## [Canvas objects are not transparent to underlying HTML/CSS objects](https://discourse.processing.org/t/canvas-objects-are-not-transparent-to-underlying-html-css-objects/34037)

<div class="topic-metadata">

**Author:** [@LiterallyANoodle](https://discourse.processing.org/u/LiterallyANoodle)\
**Replies:** 1\
**Last updated:** [December 10, 2021, 8:19pm UTC](https://discourse.processing.org/t/canvas-objects-are-not-transparent-to-underlying-html-css-objects/34037 "2021-12-10T20:19:18Z")

</div>

The body of my html file has a gradient image as it’s background in addition to some other html. I am trying to use the canvas to create an overlay of interactive objects on top of all of the static html/css images benea…

---

## [Get HSB-mode saturation of a color constructed in RGB](https://discourse.processing.org/t/get-hsb-mode-saturation-of-a-color-constructed-in-rgb/33674)

<div class="topic-metadata">

**Author:** [@modusponens](https://discourse.processing.org/u/modusponens)\
**Replies:** 6\
**Last updated:** [December 10, 2021, 6:59pm UTC](https://discourse.processing.org/t/get-hsb-mode-saturation-of-a-color-constructed-in-rgb/33674 "2021-12-10T18:59:33Z")

</div>

If I set colorMode(RGB) and create a color c, then get saturation(c), it always gives me the HSL-mode saturation number, which is different from the HSB-mode number. I can’t think of any way to get the HSB-mode saturatio…

---

## [Array processing function](https://discourse.processing.org/t/array-processing-function/34026)

<div class="topic-metadata">

**Author:** [@bcabc](https://discourse.processing.org/u/bcabc)\
**Replies:** 8\
**Last updated:** [December 10, 2021, 4:37pm UTC](https://discourse.processing.org/t/array-processing-function/34026 "2021-12-10T16:37:33Z")

</div>

I’m attempting to create a function to do basic array manipulation. I’d like to pass it an empty array and have the new array returned. I’ve included the code below, but I am not sure how to get it to work correctly. I…

---

## [Smooth() does not work on a PGraphics in Processing 4.0b2. Please give us b3 or accurate documentation](https://discourse.processing.org/t/smooth-does-not-work-on-a-pgraphics-in-processing-4-0b2-please-give-us-b3-or-accurate-documentation/34024)

<div class="topic-metadata">

**Author:** [@scudly](https://discourse.processing.org/u/scudly)\
**Replies:** 3\
**Last updated:** [December 10, 2021, 5:17am UTC](https://discourse.processing.org/t/smooth-does-not-work-on-a-pgraphics-in-processing-4-0b2-please-give-us-b3-or-accurate-documentation/34024 "2021-12-10T05:17:06Z")

</div>

As the title says, smooth() does not work on a PGraphics in Processing 4.0b2. The error message Syntax error on “;”, delete this was particularly unhelpful. The problem (with the pre-processor) was identified and f…

---

## [Minesweeper game with three objects](https://discourse.processing.org/t/minesweeper-game-with-three-objects/34019)

<div class="topic-metadata">

**Author:** [@gvmrk](https://discourse.processing.org/u/gvmrk)\
**Replies:** 1\
**Last updated:** [December 9, 2021, 11:06pm UTC](https://discourse.processing.org/t/minesweeper-game-with-three-objects/34019 "2021-12-09T23:06:01Z")

</div>

Hello, Im trying to make a kind of minesweeper game, but with 3 objects the player can find on the gameboard. I now have the code working to load 1 object into the game board. But i need all three objects placed on the …

---

## [PNG files appear pixelated](https://discourse.processing.org/t/png-files-appear-pixelated/34011)

<div class="topic-metadata">

**Author:** [@guitarguy](https://discourse.processing.org/u/guitarguy)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 9:42pm UTC](https://discourse.processing.org/t/png-files-appear-pixelated/34011 "2021-12-09T21:42:12Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello, we are using p5js to render a PNG in a browser. However, the higher the resolution the PNG is, the more pixelated it appears to the viewe…

---

## [Thoughts on Best Way to Render Game Pieces: sprites vs SVGs vs…](https://discourse.processing.org/t/thoughts-on-best-way-to-render-game-pieces-sprites-vs-svgs-vs/34018)

<div class="topic-metadata">

**Author:** [@Anders](https://discourse.processing.org/u/Anders)\
**Replies:** 0\
**Last updated:** [December 9, 2021, 6:47pm UTC](https://discourse.processing.org/t/thoughts-on-best-way-to-render-game-pieces-sprites-vs-svgs-vs/34018 "2021-12-09T18:47:04Z")

</div>

Hi! As part of the Data Chefs initiative, I’m working on a project to explore creating a series of team dashboards that are more like gameboards. For pieces on the gameboards-as-dashboards, any thoughts about how to…

---

## [\[p5.js\] About screen composition - Please tell me about a good method](https://discourse.processing.org/t/p5-js-about-screen-composition-please-tell-me-about-a-good-method/34016)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [December 9, 2021, 6:25pm UTC](https://discourse.processing.org/t/p5-js-about-screen-composition-please-tell-me-about-a-good-method/34016 "2021-12-09T18:25:48Z")

</div>

\[p5.js\] About screen composition - Please tell me about a good method. Hello. Program production through JAVA Mode I am trying to make a program through ‘p5.js’. \[JAVA Mode\] \[p5.js Mode\] At this time, change…

---

## [\[p5.js\] Communication-related in 'P5', is UDP or TCP possible?](https://discourse.processing.org/t/p5-js-communication-related-in-p5-is-udp-or-tcp-possible/34012)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 6:11pm UTC](https://discourse.processing.org/t/p5-js-communication-related-in-p5-is-udp-or-tcp-possible/34012 "2021-12-09T18:11:04Z")

</div>

This is related to socket communication. p5.js, node.js, socket.io · processing/p5.js Wiki · GitHub node.js Node js를 이용하여 UDP Server와 Client 만들기 - SW 기술 블로그 (Q&A) Communication-related in ‘P5’, is UDP or TCP po…

---

## [Whats wrong with this code i am trying to make the circle bounce of the wall and go back to the starting point](https://discourse.processing.org/t/whats-wrong-with-this-code-i-am-trying-to-make-the-circle-bounce-of-the-wall-and-go-back-to-the-starting-point/33995)

<div class="topic-metadata">

**Author:** [@parichko](https://discourse.processing.org/u/parichko)\
**Replies:** 4\
**Last updated:** [December 9, 2021, 1:50pm UTC](https://discourse.processing.org/t/whats-wrong-with-this-code-i-am-trying-to-make-the-circle-bounce-of-the-wall-and-go-back-to-the-starting-point/33995 "2021-12-09T13:50:44Z")

</div>

let circleX = 0 let circleY = 200 let circleD = 100 function setup() { createCanvas(400, 400); } function draw() { background(220); circle(circleX,circleY,circleD) circleX = circleX + 1 if(circleX == 400){ ci…

---

## [Trying to learn how to make simple buttons in p5js](https://discourse.processing.org/t/trying-to-learn-how-to-make-simple-buttons-in-p5js/34014)

<div class="topic-metadata">

**Author:** [@parichko](https://discourse.processing.org/u/parichko)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 1:50pm UTC](https://discourse.processing.org/t/trying-to-learn-how-to-make-simple-buttons-in-p5js/34014 "2021-12-09T13:50:13Z")

</div>

i am trying to learn how to make a simple button that prints hello in p5js or something else simple but when i tried to do it my self it didn’t work. Can someone just show me the code of a button that prints smth(or anyt…

---

## [Create visual from .wav](https://discourse.processing.org/t/create-visual-from-wav/33720)

<div class="topic-metadata">

**Author:** [@Pyo](https://discourse.processing.org/u/Pyo)\
**Replies:** 1\
**Last updated:** [December 9, 2021, 10:17am UTC](https://discourse.processing.org/t/create-visual-from-wav/33720 "2021-12-09T10:17:50Z")

</div>

Hi, i’m new here and just using Processing a little bit. Started by “messing” with existing code. : ) Now, what i’d like to do is generate statics visuals form the data contained in sound files. For exemple amplitude and…

---

## [Creating a www server with P5 lib processing.net\*](https://discourse.processing.org/t/creating-a-www-server-with-p5-lib-processing-net/8030)

<div class="topic-metadata">

**Author:** [@akenaton](https://discourse.processing.org/u/akenaton)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 3:25am UTC](https://discourse.processing.org/t/creating-a-www-server-with-p5-lib-processing-net/8030 "2021-12-09T03:25:20Z")

</div>

Since a lot of months i am working for an app which is a multiplayer game; gamers can use tablets (android) or desktop computers. I have written a server for the game and of course the app itself, android && desktop vers…

---

## [\[p5.js\] Is there another way to print to Excel (or pdf)?](https://discourse.processing.org/t/p5-js-is-there-another-way-to-print-to-excel-or-pdf/34007)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 3:19am UTC](https://discourse.processing.org/t/p5-js-is-there-another-way-to-print-to-excel-or-pdf/34007 "2021-12-09T03:19:53Z")

</div>

You can find out how to print through ‘JS’ (JAVA Script) by searching ‘Google’. excel Export html table data to Excel using JavaScript / JQuery is not working properly in chrome browser - Stack Overflow pdf jspdf -…

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

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