# Latest

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

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

**Page:** 50

---

## [Advance property in bounding box returned by textBounds](https://discourse.processing.org/t/advance-property-in-bounding-box-returned-by-textbounds/43735)

<div class="topic-metadata">

**Author:** [@fabiopettinati](https://discourse.processing.org/u/fabiopettinati)\
**Replies:** 3\
**Last updated:** [January 23, 2024, 10:03am UTC](https://discourse.processing.org/t/advance-property-in-bounding-box-returned-by-textbounds/43735 "2024-01-23T10:03:16Z")

</div>

The bounding box returned by textBounds() has the expected properties (x, y, h, w) and one more that surprised me: “advance”. What does it do? When would I use it? There is no documentation on this item. Thanks!

---

## [Drawing with code - A brochure of type-in programs](https://discourse.processing.org/t/drawing-with-code-a-brochure-of-type-in-programs/43663)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 3\
**Last updated:** [January 23, 2024, 7:20am UTC](https://discourse.processing.org/t/drawing-with-code-a-brochure-of-type-in-programs/43663 "2024-01-23T07:20:25Z")

</div>

I take the opportunity to share a brochure with type-in drawing with code programs. With the help of volunteers the brochure is available now in different languages. The programs are targeting the codeguppy platform (ba…

---

## [Pixelate, repeat, subdivide: Hydra to Processing](https://discourse.processing.org/t/pixelate-repeat-subdivide-hydra-to-processing/43731)

<div class="topic-metadata">

**Author:** [@funnyrectangles](https://discourse.processing.org/u/funnyrectangles)\
**Replies:** 0\
**Last updated:** [January 22, 2024, 5:05pm UTC](https://discourse.processing.org/t/pixelate-repeat-subdivide-hydra-to-processing/43731 "2024-01-22T17:05:24Z")

</div>

Hi! I am trying to replicate this code in processing, but I don’t even know where to start… Should I use a shadder for this pixelate/subdivision effect or something else? Here is the part of the could tha…

---

## [FORMS - Espectres. Generative image sound synthesis](https://discourse.processing.org/t/forms-espectres-generative-image-sound-synthesis/43725)

<div class="topic-metadata">

**Author:** [@eltrem](https://discourse.processing.org/u/eltrem)\
**Replies:** 0\
**Last updated:** [January 21, 2024, 8:07pm UTC](https://discourse.processing.org/t/forms-espectres-generative-image-sound-synthesis/43725 "2024-01-21T20:07:52Z")

</div>

As all other works of the FORMS series I’ve been sharing here, this one is also about image sonification. Here, I draw generative spectrograms using Processing, and sonify the resulting PNGs …

---

## [P5.js file can't be opened](https://discourse.processing.org/t/p5-js-file-cant-be-opened/43724)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 1\
**Last updated:** [January 21, 2024, 1:15pm UTC](https://discourse.processing.org/t/p5-js-file-cant-be-opened/43724 "2024-01-21T13:15:02Z")

</div>

Hello, I only see this when trying to open my p5.js Project. The p5.js mode can be opened, but not my project. Why? It is just plain text javascript files! Thanks for any help!

---

## [keyTyped() not responding in p5.js editor](https://discourse.processing.org/t/keytyped-not-responding-in-p5-js-editor/43582)

<div class="topic-metadata">

**Author:** [@Ignotus](https://discourse.processing.org/u/Ignotus)\
**Replies:** 3\
**Last updated:** [January 19, 2024, 10:11pm UTC](https://discourse.processing.org/t/keytyped-not-responding-in-p5-js-editor/43582 "2024-01-19T22:11:37Z")

</div>

I have some code in the p5.js editor that is not responding to keyTyped() or keyPressed() events. A slider interface element is also not responding. Possibly it’s an issue with the browser, but other interface elements d…

---

## [Parsons Problems, but with Processing's visual output](https://discourse.processing.org/t/parsons-problems-but-with-processings-visual-output/43720)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 0\
**Last updated:** [January 19, 2024, 2:38pm UTC](https://discourse.processing.org/t/parsons-problems-but-with-processings-visual-output/43720 "2024-01-19T14:38:17Z")

</div>

I have made, with lots of help from friends, a prototype of a tool to make Parsons Puzzles with visual output (using the p5js vocabulary). As I prefer to teach with Python, I’m using pyodide based pyp5js. It is a fork fr…

---

## [Bug in my code\_ Circle Overlap](https://discourse.processing.org/t/bug-in-my-code-circle-overlap/43716)

<div class="topic-metadata">

**Author:** [@Jiji](https://discourse.processing.org/u/Jiji)\
**Replies:** 3\
**Last updated:** [January 19, 2024, 4:10pm UTC](https://discourse.processing.org/t/bug-in-my-code-circle-overlap/43716 "2024-01-19T16:10:25Z")

</div>

Hi y’all, I am trying to make a test when 2 circles overlapped, then it should change color background. But for some reason, the background always changes color when the circles are closed and not overlapped yet. Unless…

---

## [Animated random boxes in p5.js & python](https://discourse.processing.org/t/animated-random-boxes-in-p5-js-python/43612)

<div class="topic-metadata">

**Author:** [@salvalnx](https://discourse.processing.org/u/salvalnx)\
**Replies:** 8\
**Last updated:** [January 18, 2024, 3:45am UTC](https://discourse.processing.org/t/animated-random-boxes-in-p5-js-python/43612 "2024-01-18T03:45:37Z")

</div>

Hello everyone. I wanted to share with you my first job in Processing. A work with loops and animated random. The interesting thing for me about this exercise was getting it to work with code for p5.js and then transla…

---

## [Pi 5B 64-bit OS Major Problems](https://discourse.processing.org/t/pi-5b-64-bit-os-major-problems/43715)

<div class="topic-metadata">

**Author:** [@pbat](https://discourse.processing.org/u/pbat)\
**Replies:** 0\
**Last updated:** [January 19, 2024, 3:53am UTC](https://discourse.processing.org/t/pi-5b-64-bit-os-major-problems/43715 "2024-01-19T03:53:20Z")

</div>

Hi - I have just got a Pi 5B and installed the 64-bit OS. When I try to run Processing everything goes haywire - crashes, etc… It all ran fine on my Pi 4B. I suspect the OS is buggy - you can’t remove the taskbar for …

---

## [Npm deprecated problem while setting up the p5.js web-editor using the docker](https://discourse.processing.org/t/npm-deprecated-problem-while-setting-up-the-p5-js-web-editor-using-the-docker/43712)

<div class="topic-metadata">

**Author:** [@Abhi1](https://discourse.processing.org/u/Abhi1)\
**Replies:** 0\
**Last updated:** [January 18, 2024, 9:23am UTC](https://discourse.processing.org/t/npm-deprecated-problem-while-setting-up-the-p5-js-web-editor-using-the-docker/43712 "2024-01-18T09:23:23Z")

</div>

Hi there! my name is Abhishek and while setting up the project locally on my machine ,i had a problem of npm deprecated while doing so, here is the snippet of it. error = =\> \[app development 1/9\] COPY package.json pac…

---

## [Can't download zip from p5.js web editor](https://discourse.processing.org/t/cant-download-zip-from-p5-js-web-editor/43346)

<div class="topic-metadata">

**Author:** [@qashto](https://discourse.processing.org/u/qashto)\
**Replies:** 0\
**Last updated:** [November 29, 2023, 3:03pm UTC](https://discourse.processing.org/t/cant-download-zip-from-p5-js-web-editor/43346 "2023-11-29T15:03:09Z")

</div>

I tried pressing download from the file menu of this sketch: This link opens in a new tab but nothing downloads: https://editor.p5js.org/editor/projects/BgGgw6QZN/zip

---

## [Exporting to SVG for use in pen plotting](https://discourse.processing.org/t/exporting-to-svg-for-use-in-pen-plotting/42395)

<div class="topic-metadata">

**Author:** [@PCwigwam](https://discourse.processing.org/u/PCwigwam)\
**Replies:** 7\
**Last updated:** [January 18, 2024, 2:12am UTC](https://discourse.processing.org/t/exporting-to-svg-for-use-in-pen-plotting/42395 "2024-01-18T02:12:51Z")

</div>

Hi all, i’m a few weeks into learning coding/Processing but am struggling a bit with taking my processing creations and exporting them to SVG files. Below is a program that i’ve written up in Processing and i’d really li…

---

## [Trouble making ellipses in curving line non-overlapping](https://discourse.processing.org/t/trouble-making-ellipses-in-curving-line-non-overlapping/43709)

<div class="topic-metadata">

**Author:** [@druuupppa](https://discourse.processing.org/u/druuupppa)\
**Replies:** 0\
**Last updated:** [January 17, 2024, 11:53pm UTC](https://discourse.processing.org/t/trouble-making-ellipses-in-curving-line-non-overlapping/43709 "2024-01-17T23:53:23Z")

</div>

Hello! I need some help with this code with which I have been making loop-d-loop lines of ellipses. I am having a lot of trouble getting them to draw without overlapping. Any help would be appreciated! Warmly, Druppa …

---

## [Running a Processing script without Java installed](https://discourse.processing.org/t/running-a-processing-script-without-java-installed/43705)

<div class="topic-metadata">

**Author:** [@3xotic109](https://discourse.processing.org/u/3xotic109)\
**Replies:** 4\
**Last updated:** [January 17, 2024, 11:12pm UTC](https://discourse.processing.org/t/running-a-processing-script-without-java-installed/43705 "2024-01-17T23:12:11Z")

</div>

So I need to be able to run a processing script without having java installed. Is it possible to run it in the browser maybe? I need to be able to run it on a different device other than just my own as well, if that matt…

---

## [Why does it get stuck 'up'](https://discourse.processing.org/t/why-does-it-get-stuck-up/43707)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 4\
**Last updated:** [January 17, 2024, 5:26pm UTC](https://discourse.processing.org/t/why-does-it-get-stuck-up/43707 "2024-01-17T17:26:17Z")

</div>

Trying to make a SUPER rudamentary Geometry dash. When I jump though, it stays up. i don’t know why. float playerY; float truePY; boolean playerJump; boolean cube; boolean ship; void setup() { fullScreen(); playe…

---

## [Translate glsl to Processing glsl Code](https://discourse.processing.org/t/translate-glsl-to-processing-glsl-code/43699)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 2\
**Last updated:** [January 16, 2024, 6:47am UTC](https://discourse.processing.org/t/translate-glsl-to-processing-glsl-code/43699 "2024-01-16T06:47:16Z")

</div>

How can one translate glsl code to processing glsl code?

---

## [How to load mp4 in APDE](https://discourse.processing.org/t/how-to-load-mp4-in-apde/42670)

<div class="topic-metadata">

**Author:** [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Replies:** 3\
**Last updated:** [January 15, 2024, 4:33pm UTC](https://discourse.processing.org/t/how-to-load-mp4-in-apde/42670 "2024-01-15T16:33:37Z")

</div>

Video library for processing doesn’t work in APDE. But i need load/export videos feature in my app. Is there any way to load/export video in apde?

---

## [RangeError: Array buffer allocation failed at \_generateGlobalPalette](https://discourse.processing.org/t/rangeerror-array-buffer-allocation-failed-at-generateglobalpalette/43691)

<div class="topic-metadata">

**Author:** [@laya](https://discourse.processing.org/u/laya)\
**Replies:** 4\
**Last updated:** [January 15, 2024, 7:14am UTC](https://discourse.processing.org/t/rangeerror-array-buffer-allocation-failed-at-generateglobalpalette/43691 "2024-01-15T07:14:23Z")

</div>

Keep getting RangeError when saving the gif. Frames would be saved, but will get stuck in generating color palette (pic 1). Here’s my code: Here’s the error:

---

## [Creating a simple Shadow Shader](https://discourse.processing.org/t/creating-a-simple-shadow-shader/43690)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 0\
**Last updated:** [January 15, 2024, 1:29am UTC](https://discourse.processing.org/t/creating-a-simple-shadow-shader/43690 "2024-01-15T01:29:45Z")

</div>

Hello, I wanted to add shadows to my sketch, however I only found ways in P2D to use the blur shader examples, and i don’t know on how a shader could be translated to processing. This is my code (i wanted to add shadow…

---

## [PressDo or keyPressed Error](https://discourse.processing.org/t/pressdo-or-keypressed-error/43688)

<div class="topic-metadata">

**Author:** [@elifworks](https://discourse.processing.org/u/elifworks)\
**Replies:** 9\
**Last updated:** [January 13, 2024, 11:04pm UTC](https://discourse.processing.org/t/pressdo-or-keypressed-error/43688 "2024-01-13T23:04:46Z")

</div>

Hello everyone, I developed a sketch on interactive typography. I wanted to create a keyboard-sensitive interaction with PressDo in the work whose codes I share with you below. However, “ArrowUp” and “ArrowDown” do not …

---

## [Run Processing code from the terminal](https://discourse.processing.org/t/run-processing-code-from-the-terminal/43673)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 3\
**Last updated:** [January 13, 2024, 3:17am UTC](https://discourse.processing.org/t/run-processing-code-from-the-terminal/43673 "2024-01-13T03:17:37Z")

</div>

Hey, I was wondering if it is possible to run processing code through a terminal by specfying one .pde file and compiling and launching that way. Thanks for any answers!

---

## [Cannot move both "players" at once. Don't understand why it cannot pick up multiple (keyPressed) at once](https://discourse.processing.org/t/cannot-move-both-players-at-once-dont-understand-why-it-cannot-pick-up-multiple-keypressed-at-once/43668)

<div class="topic-metadata">

**Author:** [@WillyGrz](https://discourse.processing.org/u/WillyGrz)\
**Replies:** 7\
**Last updated:** [January 12, 2024, 2:44pm UTC](https://discourse.processing.org/t/cannot-move-both-players-at-once-dont-understand-why-it-cannot-pick-up-multiple-keypressed-at-once/43668 "2024-01-12T14:44:56Z")

</div>

float circleX; float circleY; float allColor; float bgColor; float player1Y; float player2Y; float ballSpeedX; float ballSpeedY; float player1Score; float player2Score; float trueBallSpeed; int player1ScoreView; int play…

---

## [Basic PPI Question](https://discourse.processing.org/t/basic-ppi-question/43677)

<div class="topic-metadata">

**Author:** [@looplider](https://discourse.processing.org/u/looplider)\
**Replies:** 2\
**Last updated:** [January 12, 2024, 11:22am UTC](https://discourse.processing.org/t/basic-ppi-question/43677 "2024-01-12T11:22:31Z")

</div>

Hi there - I know that I can set the pixel dimensions in createCanvas - but I have no idea how to convert that information to inches or metric. It seems like there’s a basic equation that involves taking the square roo…

---

## [A Free P5 Python Online Editor with Live Edit | Designed For Teachers and Students Learning to Code | Strive Editor Alpha](https://discourse.processing.org/t/a-free-p5-python-online-editor-with-live-edit-designed-for-teachers-and-students-learning-to-code-strive-editor-alpha/41840)

<div class="topic-metadata">

**Author:** [@StriveMath](https://discourse.processing.org/u/StriveMath)\
**Replies:** 12\
**Last updated:** [January 12, 2024, 10:01am UTC](https://discourse.processing.org/t/a-free-p5-python-online-editor-with-live-edit-designed-for-teachers-and-students-learning-to-code-strive-editor-alpha/41840 "2024-01-12T10:01:43Z")

</div>

https://code.strivemath.com/ is a free-to-use online code editor for writing p5 code in Python. It comes with built-in live edit features (No login is needed to use Live Edit) and many functions to help teachers explain …

---

## [Advice on how to collect student work using Processing.py and the canvas LMS](https://discourse.processing.org/t/advice-on-how-to-collect-student-work-using-processing-py-and-the-canvas-lms/43672)

<div class="topic-metadata">

**Author:** [@givetosurfrider](https://discourse.processing.org/u/givetosurfrider)\
**Replies:** 6\
**Last updated:** [January 12, 2024, 1:28am UTC](https://discourse.processing.org/t/advice-on-how-to-collect-student-work-using-processing-py-and-the-canvas-lms/43672 "2024-01-12T01:28:48Z")

</div>

First time user. I am going to start using Processing.py in a college course this semester. I am new to Processing, and have decided to incorporate it as the course already uses python and TunePad to do music. I am sure …

---

## [Stochastic QuadTree algorithm made in Processing](https://discourse.processing.org/t/stochastic-quadtree-algorithm-made-in-processing/43679)

<div class="topic-metadata">

**Author:** [@Nox\_Arta](https://discourse.processing.org/u/Nox_Arta)\
**Replies:** 0\
**Last updated:** [January 12, 2024, 12:09am UTC](https://discourse.processing.org/t/stochastic-quadtree-algorithm-made-in-processing/43679 "2024-01-12T00:09:35Z")

</div>

Here is one result : CODE START ################################################# PImage img; // Global constant for maximum depth of the quadtree final int MAX\_DEPTH = 10; // You can adjust this value as needed //…

---

## [I.4: Graphing 1D Perlin Noise - Perlin Noise and p5.js Tutorial](https://discourse.processing.org/t/i-4-graphing-1d-perlin-noise-perlin-noise-and-p5-js-tutorial/33383)

<div class="topic-metadata">

**Author:** [@ibra9](https://discourse.processing.org/u/ibra9)\
**Replies:** 2\
**Last updated:** [January 10, 2024, 6:56pm UTC](https://discourse.processing.org/t/i-4-graphing-1d-perlin-noise-perlin-noise-and-p5-js-tutorial/33383 "2024-01-10T18:56:17Z")

</div>

Hello, I am having a hard time understanding why does the sketch move when start += inc at 10:00. I know its related to start += inc but I just don’t understand the logic behind it. Thanks.

---

## [Help understanding the logic behind this code (center grid)](https://discourse.processing.org/t/help-understanding-the-logic-behind-this-code-center-grid/43643)

<div class="topic-metadata">

**Author:** [@Jiji](https://discourse.processing.org/u/Jiji)\
**Replies:** 2\
**Last updated:** [January 10, 2024, 4:36am UTC](https://discourse.processing.org/t/help-understanding-the-logic-behind-this-code-center-grid/43643 "2024-01-10T04:36:47Z")

</div>

Hi everybody, I have this code from a tutorial. So basically I want to draw a grid of boxes using WEBGL. I have a hard time to understand the logic of this translate( size/2+ i \* size - size \* cols/2, size/2+ j \* size -…

---

## [Increasing Ellipses loop (Mandala)](https://discourse.processing.org/t/increasing-ellipses-loop-mandala/43640)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 28\
**Last updated:** [January 9, 2024, 11:20pm UTC](https://discourse.processing.org/t/increasing-ellipses-loop-mandala/43640 "2024-01-09T23:20:43Z")

</div>

Hello! I am trying to draw a mandala with a lot of ellipses in the middle and a few in the outer part. i mean, I am looking for something as a increasing growing separation, to get more concentration of ellioses in the c…

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

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