# Latest

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

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

**Page:** 111

---

## [Funding announcement + open calls for positions](https://discourse.processing.org/t/funding-announcement-open-calls-for-positions/36748)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 3\
**Last updated:** [October 10, 2022, 2:21pm UTC](https://discourse.processing.org/t/funding-announcement-open-calls-for-positions/36748 "2022-10-10T14:21:24Z")

</div>

Hi folks, Hope you all get a chance to checkout these important announcements from Processing Foundation: “Please read this important message regarding a funding update and learn more about the process of how we are re…

---

## [Using Images From URLs](https://discourse.processing.org/t/using-images-from-urls/39191)

<div class="topic-metadata">

**Author:** [@s31](https://discourse.processing.org/u/s31)\
**Replies:** 4\
**Last updated:** [October 10, 2022, 10:27am UTC](https://discourse.processing.org/t/using-images-from-urls/39191 "2022-10-10T10:27:04Z")

</div>

Hi, if you would ever be so inclined, could someone please show me the correct way to load images using a url as the path. It accepts urls and returns this error so i do not know what i am doing wrong. TypeError: Faile…

---

## [Where is the Exhibition category like the older website showed up](https://discourse.processing.org/t/where-is-the-exhibition-category-like-the-older-website-showed-up/39190)

<div class="topic-metadata">

**Author:** [@Siyue](https://discourse.processing.org/u/Siyue)\
**Replies:** 3\
**Last updated:** [October 10, 2022, 10:13am UTC](https://discourse.processing.org/t/where-is-the-exhibition-category-like-the-older-website-showed-up/39190 "2022-10-10T10:13:19Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I just watched the youtube video from Daniel Shiffman, I am a beginner and in his video there is a category called “exhibition” from the older p…

---

## [Error in installation - error while trying to create a new sketch](https://discourse.processing.org/t/error-in-installation-error-while-trying-to-create-a-new-sketch/39180)

<div class="topic-metadata">

**Author:** [@Melchiors](https://discourse.processing.org/u/Melchiors)\
**Replies:** 1\
**Last updated:** [October 10, 2022, 7:47am UTC](https://discourse.processing.org/t/error-in-installation-error-while-trying-to-create-a-new-sketch/39180 "2022-10-10T07:47:58Z")

</div>

I’m trying run processing, but the program doesn’t open. Attached the picture with the errors that occurs. I’m using it at Windows 10. I try to use Processing 4.0.1 and 3.5.4, installed in Program Files and in Docum…

---

## [Making a setter in js](https://discourse.processing.org/t/making-a-setter-in-js/39186)

<div class="topic-metadata">

**Author:** [@vkbr](https://discourse.processing.org/u/vkbr)\
**Replies:** 5\
**Last updated:** [October 10, 2022, 2:14am UTC](https://discourse.processing.org/t/making-a-setter-in-js/39186 "2022-10-10T02:14:16Z")

</div>

Hello. I’m struggling with some simple stuff. I think… I have my object, an instance of a class. I’m trying to make one set() function that would get a indefined number of args, based on that I’d like to change some pr…

---

## [Accessing BLE input to Processing](https://discourse.processing.org/t/accessing-ble-input-to-processing/35560)

<div class="topic-metadata">

**Author:** [@jimluyten](https://discourse.processing.org/u/jimluyten)\
**Replies:** 6\
**Last updated:** [October 9, 2022, 6:58pm UTC](https://discourse.processing.org/t/accessing-ble-input-to-processing/35560 "2022-10-09T18:58:08Z")

</div>

I have a BLE feed from Arduino - but can not access the data from processing sketch on macbook pro, neither of two bluetooth devices seems to have any accessable data - “/dev/cu.Bluetooth-Incoming-Port” nor “/dev/tty.Blu…

---

## [Arduino + Processing](https://discourse.processing.org/t/arduino-processing/39168)

<div class="topic-metadata">

**Author:** [@gradientquestion](https://discourse.processing.org/u/gradientquestion)\
**Replies:** 3\
**Last updated:** [October 9, 2022, 3:15am UTC](https://discourse.processing.org/t/arduino-processing/39168 "2022-10-09T03:15:11Z")

</div>

hello, I would like to create a little game for my child to discover electronics. Unfortunately this is not my area… I would like to be able to display an image when you clap your hands. for this I have an arduino uno…

---

## [TextWidth is not the correct width!](https://discourse.processing.org/t/textwidth-is-not-the-correct-width/39158)

<div class="topic-metadata">

**Author:** [@Lissie](https://discourse.processing.org/u/Lissie)\
**Replies:** 6\
**Last updated:** [October 9, 2022, 1:37am UTC](https://discourse.processing.org/t/textwidth-is-not-the-correct-width/39158 "2022-10-09T01:37:41Z")

</div>

If i create a normal line, with “line(startX, startY, startX+textWidth(STRING), startY)” the line is not the correct width. I fixed it by making a “rect()” with the y size on “0.5”!

---

## [How to implement ctrl+Z to undo in a custom p5.js drawing program?](https://discourse.processing.org/t/how-to-implement-ctrl-z-to-undo-in-a-custom-p5-js-drawing-program/23703)

<div class="topic-metadata">

**Author:** [@gquevedoe2505](https://discourse.processing.org/u/gquevedoe2505)\
**Replies:** 16\
**Last updated:** [October 8, 2022, 9:09pm UTC](https://discourse.processing.org/t/how-to-implement-ctrl-z-to-undo-in-a-custom-p5-js-drawing-program/23703 "2022-10-08T21:09:25Z")

</div>

Hi I need help with the question…

---

## [Newb Question: Saving to PDF](https://discourse.processing.org/t/newb-question-saving-to-pdf/39123)

<div class="topic-metadata">

**Author:** [@Tatcoddes](https://discourse.processing.org/u/Tatcoddes)\
**Replies:** 6\
**Last updated:** [October 8, 2022, 6:00pm UTC](https://discourse.processing.org/t/newb-question-saving-to-pdf/39123 "2022-10-08T18:00:05Z")

</div>

I am trying to save my sketches to PDF. The most commonly mentioned way of doing this is to use this: https://github.com/zenozeng/p5.js-pdf but I am testing it with one of his simple example codes and it just loads a b…

---

## [Exporting PDF does not show all objects](https://discourse.processing.org/t/exporting-pdf-does-not-show-all-objects/39153)

<div class="topic-metadata">

**Author:** [@Ties2901](https://discourse.processing.org/u/Ties2901)\
**Replies:** 5\
**Last updated:** [October 8, 2022, 2:54pm UTC](https://discourse.processing.org/t/exporting-pdf-does-not-show-all-objects/39153 "2022-10-08T14:54:57Z")

</div>

Hi, I am trying to export a pdf of my final drawing, however when I open the pdf it does not show some of the objects… Anyone who can help me with this? Here is my code: // Creative Challenge 1. Final Version (Concept…

---

## [Image to random circles conversion (PNG Problem) Java](https://discourse.processing.org/t/image-to-random-circles-conversion-png-problem-java/39167)

<div class="topic-metadata">

**Author:** [@Hanna](https://discourse.processing.org/u/Hanna)\
**Replies:** 2\
**Last updated:** [October 8, 2022, 2:41pm UTC](https://discourse.processing.org/t/image-to-random-circles-conversion-png-problem-java/39167 "2022-10-08T14:41:19Z")

</div>

Newbie here! I have been working with some code from the internet and modified it to work from JS into Java. I have actually adapted everything so that the code works on its own. My assumption was that when I use a PNG…

---

## [Blocking in ttslib](https://discourse.processing.org/t/blocking-in-ttslib/39160)

<div class="topic-metadata">

**Author:** [@Shachar](https://discourse.processing.org/u/Shachar)\
**Replies:** 5\
**Last updated:** [October 8, 2022, 2:25pm UTC](https://discourse.processing.org/t/blocking-in-ttslib/39160 "2022-10-08T14:25:22Z")

</div>

hi, I’m trying to use ttslib in order to apply text recognition in my code. The problem is that the code does not continue until the entire sentence has been completed, so for example in this code the word “hello” will n…

---

## [P5 code into Java + help in understanding (artwork)](https://discourse.processing.org/t/p5-code-into-java-help-in-understanding-artwork/39145)

<div class="topic-metadata">

**Author:** [@Hanna](https://discourse.processing.org/u/Hanna)\
**Replies:** 10\
**Last updated:** [October 8, 2022, 1:25pm UTC](https://discourse.processing.org/t/p5-code-into-java-help-in-understanding-artwork/39145 "2022-10-08T13:25:40Z")

</div>

Hi everyone, for a project I am trying to implement a movement similar to this example in my code.: Shark - OpenProcessing Unfortunately, the code is written in P5 and I work in Java. Can someone help me to rewrite the…

---

## [Save transparent image from Geomerative](https://discourse.processing.org/t/save-transparent-image-from-geomerative/39132)

<div class="topic-metadata">

**Author:** [@hellocatfood](https://discourse.processing.org/u/hellocatfood)\
**Replies:** 6\
**Last updated:** [October 8, 2022, 9:54am UTC](https://discourse.processing.org/t/save-transparent-image-from-geomerative/39132 "2022-10-08T09:54:35Z")

</div>

I have geomerative installed to modify an svg. I want to save an image with a transparent background whenever I left-click. However, using the code below, whenever I left click it only saves an image of the unmodified sv…

---

## [How to generate points/ellipse within a circle area](https://discourse.processing.org/t/how-to-generate-points-ellipse-within-a-circle-area/20933)

<div class="topic-metadata">

**Author:** [@yuinjann](https://discourse.processing.org/u/yuinjann)\
**Replies:** 3\
**Last updated:** [May 17, 2020, 6:10pm UTC](https://discourse.processing.org/t/how-to-generate-points-ellipse-within-a-circle-area/20933 "2020-05-17T18:10:59Z")

</div>

Hello! I’m trying to generate ellipses within an ellipse, or a circular area. for example: for (let i=0; i\< 100; i++){ ellipse (random(width), random(height), 10) } noLoop(); Is there a way to generate these random ci…

---

## [Copying and spawning object from an array](https://discourse.processing.org/t/copying-and-spawning-object-from-an-array/39138)

<div class="topic-metadata">

**Author:** [@shon121212](https://discourse.processing.org/u/shon121212)\
**Replies:** 1\
**Last updated:** [October 7, 2022, 5:20pm UTC](https://discourse.processing.org/t/copying-and-spawning-object-from-an-array/39138 "2022-10-07T17:20:48Z")

</div>

so what im trying to do is spawn a ball with some attributes and after 5 seconds i want to create spawn another one of this balls up untill 7 but im not sure how to “add” new ball to the array with the same attributes th…

---

## [P5 code into Java code](https://discourse.processing.org/t/p5-code-into-java-code/39141)

<div class="topic-metadata">

**Author:** [@Hanna](https://discourse.processing.org/u/Hanna)\
**Replies:** 10\
**Last updated:** [October 7, 2022, 4:48pm UTC](https://discourse.processing.org/t/p5-code-into-java-code/39141 "2022-10-07T16:48:54Z")

</div>

Hello everyone, I am getting into programming and processing and am finding it difficult to adapt code written for “p5” into “Java”. Can anyone possibly help me how to convert this code for sand into a java code? Kind …

---

## [How can I fill a plane without gaps with regular 4-, 6-, 12-gons](https://discourse.processing.org/t/how-can-i-fill-a-plane-without-gaps-with-regular-4-6-12-gons/39134)

<div class="topic-metadata">

**Author:** [@yura](https://discourse.processing.org/u/yura)\
**Replies:** 1\
**Last updated:** [October 7, 2022, 2:20pm UTC](https://discourse.processing.org/t/how-can-i-fill-a-plane-without-gaps-with-regular-4-6-12-gons/39134 "2022-10-07T14:20:00Z")

</div>

I’m new to processing, and trying to do this task. Maybe you know how to do it, or know where I could read about it. Thanks in advance for help.

---

## [Arrangement of depth of objects](https://discourse.processing.org/t/arrangement-of-depth-of-objects/39129)

<div class="topic-metadata">

**Author:** [@Ties2901](https://discourse.processing.org/u/Ties2901)\
**Replies:** 3\
**Last updated:** [October 7, 2022, 1:00pm UTC](https://discourse.processing.org/t/arrangement-of-depth-of-objects/39129 "2022-10-07T13:00:45Z")

</div>

(This is a question related to a University Assignment!) I am creating a Dandelion in processing for a Creative Programming Challenge. :slight\_smile: Hi all, I have just started with processing and am experiencing some…

---

## [Questions on how p5.js generates random numbers](https://discourse.processing.org/t/questions-on-how-p5-js-generates-random-numbers/39128)

<div class="topic-metadata">

**Author:** [@reacttoimpact](https://discourse.processing.org/u/reacttoimpact)\
**Replies:** 1\
**Last updated:** [October 7, 2022, 10:00am UTC](https://discourse.processing.org/t/questions-on-how-p5-js-generates-random-numbers/39128 "2022-10-07T10:00:26Z")

</div>

Hi all, How does p5.js generate random numbers? What type of PRNG does it use? Does it use javascripts random function? If so how does that work? Where is the code that generates random numbers? is there anything in…

---

## [Quadtree Demonstrator](https://discourse.processing.org/t/quadtree-demonstrator/39119)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 3\
**Last updated:** [October 7, 2022, 7:52am UTC](https://discourse.processing.org/t/quadtree-demonstrator/39119 "2022-10-07T07:52:15Z")

</div>

I created a similar sketch 3 years ago for Java mode but now I am learning Typescript and Javascript I decided it was time to recreate it for p5.js On the way I improved the OO design and implementation of the QuadParti…

---

## [Use of for-loop to create a stair of ellipses](https://discourse.processing.org/t/use-of-for-loop-to-create-a-stair-of-ellipses/26271)

<div class="topic-metadata">

**Author:** [@Jayda](https://discourse.processing.org/u/Jayda)\
**Replies:** 51\
**Last updated:** [October 7, 2022, 3:18am UTC](https://discourse.processing.org/t/use-of-for-loop-to-create-a-stair-of-ellipses/26271 "2022-10-07T03:18:41Z")

</div>

Do someone know how to create the pattern with loops?

---

## [Changing which browser PDE users on Run command](https://discourse.processing.org/t/changing-which-browser-pde-users-on-run-command/39107)

<div class="topic-metadata">

**Author:** [@Tatcoddes](https://discourse.processing.org/u/Tatcoddes)\
**Replies:** 3\
**Last updated:** [October 7, 2022, 12:16am UTC](https://discourse.processing.org/t/changing-which-browser-pde-users-on-run-command/39107 "2022-10-07T00:16:43Z")

</div>

Newbie Question When I hit “Run” I would like my sketch to open in Chrome and not Safari, but I need to keep safari as my default browser. I saw another thread where it suggested going into the preferences.txt file and …

---

## [How do I add sprite collision?](https://discourse.processing.org/t/how-do-i-add-sprite-collision/39115)

<div class="topic-metadata">

**Author:** [@Marfmamow](https://discourse.processing.org/u/Marfmamow)\
**Replies:** 3\
**Last updated:** [October 6, 2022, 9:44am UTC](https://discourse.processing.org/t/how-do-i-add-sprite-collision/39115 "2022-10-06T09:44:58Z")

</div>

I’m currently trying to make a 2d game. The game window is 720x660 pixels, and each sprite I have is 20x20 pixels, so the actual grid is 36x33 tiles. The type of tile on the grid is stored in a 36x33 array. I currently…

---

## [Is there an algorithm or coding example that may help me here?](https://discourse.processing.org/t/is-there-an-algorithm-or-coding-example-that-may-help-me-here/39103)

<div class="topic-metadata">

**Author:** [@blackhatProphet](https://discourse.processing.org/u/blackhatProphet)\
**Replies:** 4\
**Last updated:** [October 5, 2022, 10:38pm UTC](https://discourse.processing.org/t/is-there-an-algorithm-or-coding-example-that-may-help-me-here/39103 "2022-10-05T22:38:30Z")

</div>

Hi I am working on a personal project and I was hoping to get some help trying to wrap my head around how best to go about this part of the project. So what I am envisioning: The program is given a string array (comp…

---

## [Please Delete - resolved](https://discourse.processing.org/t/please-delete-resolved/39106)

<div class="topic-metadata">

**Author:** [@Tatcoddes](https://discourse.processing.org/u/Tatcoddes)\
**Replies:** 0\
**Last updated:** [October 5, 2022, 8:08pm UTC](https://discourse.processing.org/t/please-delete-resolved/39106 "2022-10-05T20:08:22Z")

</div>

Resolved via re-installing … please Delete

---

## [Help with specific Vector Addition](https://discourse.processing.org/t/help-with-specific-vector-addition/39050)

<div class="topic-metadata">

**Author:** [@Tilman](https://discourse.processing.org/u/Tilman)\
**Replies:** 6\
**Last updated:** [October 5, 2022, 7:06pm UTC](https://discourse.processing.org/t/help-with-specific-vector-addition/39050 "2022-10-05T19:06:48Z")

</div>

Hi, I have a sketch where a mover moves along a sinusoidal path. From that mover two vectors emerge. Vector A rotating in the direction of the path. Vector B pointing at a position at the bottom center of the canvas. …

---

## [Precise placement of color in a grid of shapes](https://discourse.processing.org/t/precise-placement-of-color-in-a-grid-of-shapes/39102)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 8\
**Last updated:** [October 5, 2022, 5:34pm UTC](https://discourse.processing.org/t/precise-placement-of-color-in-a-grid-of-shapes/39102 "2022-10-05T17:34:30Z")

</div>

Hello! I am trying to work out how to implement more control of color placement within grid systems. The very simple solution I’ve come up with so far (for one iteration of diagonal color placement) is partially succes…

---

## [Why rotateX function not working](https://discourse.processing.org/t/why-rotatex-function-not-working/39097)

<div class="topic-metadata">

**Author:** [@timob256](https://discourse.processing.org/u/timob256)\
**Replies:** 2\
**Last updated:** [October 5, 2022, 3:53pm UTC](https://discourse.processing.org/t/why-rotatex-function-not-working/39097 "2022-10-05T15:53:09Z")

</div>

I call rotateX, but for some reason it does not work. All code : function setup() { createCanvas( 200, 200, WEBGL); angle = 0.0; // так тоже работает \_angle = 0 my\_point\_size = 20; my\_layer = 170; } f…

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

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