# Latest

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

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

**Page:** 30

---

## [p5.AudioIn() not working in fullscreen](https://discourse.processing.org/t/p5-audioin-not-working-in-fullscreen/45474)

<div class="topic-metadata">

**Author:** [@lizzy](https://discourse.processing.org/u/lizzy)\
**Replies:** 1\
**Last updated:** [December 18, 2024, 6:13am UTC](https://discourse.processing.org/t/p5-audioin-not-working-in-fullscreen/45474 "2024-12-18T06:13:37Z")

</div>

Hi Forum, I am stuck debugging a project that my high school students created. They made a game where the player movement is voice activated-- your avatar jumps if you shout at the screen. It works great in the p5 edito…

---

## [Dpi and dimensions: print-ready images in processing.py](https://discourse.processing.org/t/dpi-and-dimensions-print-ready-images-in-processing-py/45468)

<div class="topic-metadata">

**Author:** [@LindowMan](https://discourse.processing.org/u/LindowMan)\
**Replies:** 4\
**Last updated:** [December 17, 2024, 9:56pm UTC](https://discourse.processing.org/t/dpi-and-dimensions-print-ready-images-in-processing-py/45468 "2024-12-17T21:56:51Z")

</div>

Hi everyone I want to print some things I have made in processing. For this, I need high dpi (It’s a lot of “line art” and fine details). It seems like the ideal image would be a lot larger than my screen could show in …

---

## [Android Processing importing Sound library error](https://discourse.processing.org/t/android-processing-importing-sound-library-error/44513)

<div class="topic-metadata">

**Author:** [@SammySylvester84](https://discourse.processing.org/u/SammySylvester84)\
**Replies:** 18\
**Last updated:** [December 17, 2024, 8:20pm UTC](https://discourse.processing.org/t/android-processing-importing-sound-library-error/44513 "2024-12-17T20:20:56Z")

</div>

Hello everyone! I have an issue with the Sound library import into the Android Mode. All works fine when in Java Mode, all sounds are playing as they should, but in Android Mode the " import processing.sound.\* " line of…

---

## [P5 JS is not compatible with GSAP smooth scroller](https://discourse.processing.org/t/p5-js-is-not-compatible-with-gsap-smooth-scroller/45472)

<div class="topic-metadata">

**Author:** [@SanjaySubba](https://discourse.processing.org/u/SanjaySubba)\
**Replies:** 5\
**Last updated:** [December 17, 2024, 4:57pm UTC](https://discourse.processing.org/t/p5-js-is-not-compatible-with-gsap-smooth-scroller/45472 "2024-12-17T16:57:59Z")

</div>

I have integrated smooth scroller and p5 js in my website. It is working fine in other browsers except in safari. The scroll is stucked in safari browser and I am unable to scroll. Here is the minimal demo in codepen in…

---

## [Building a tape spaghetti simulation](https://discourse.processing.org/t/building-a-tape-spaghetti-simulation/45461)

<div class="topic-metadata">

**Author:** [@eightohnine](https://discourse.processing.org/u/eightohnine)\
**Replies:** 18\
**Last updated:** [December 17, 2024, 6:01am UTC](https://discourse.processing.org/t/building-a-tape-spaghetti-simulation/45461 "2024-12-17T06:01:13Z")

</div>

Hi all, In the middle of a recent Youtube rabbit hole, inspiration struck. The best description I can come up with for what we’re seeing is “writhing tape spaghetti”. I now want to recreate this in code. Watch it in…

---

## [Trying to make an array of 'positions' draw from an array of images at random](https://discourse.processing.org/t/trying-to-make-an-array-of-positions-draw-from-an-array-of-images-at-random/45467)

<div class="topic-metadata">

**Author:** [@WarMomPT](https://discourse.processing.org/u/WarMomPT)\
**Replies:** 1\
**Last updated:** [December 16, 2024, 3:21pm UTC](https://discourse.processing.org/t/trying-to-make-an-array-of-positions-draw-from-an-array-of-images-at-random/45467 "2024-12-16T15:21:59Z")

</div>

I’m really struggling with something that I think has got to be obvious. In a sketch I’m making, once you click in a certain area, 20 PNGs will fall down the screen, from random starting positions along the X axis, going…

---

## [Bug related to Export\\Import System](https://discourse.processing.org/t/bug-related-to-export-import-system/45460)

<div class="topic-metadata">

**Author:** [@winterchan](https://discourse.processing.org/u/winterchan)\
**Replies:** 8\
**Last updated:** [December 15, 2024, 3:25am UTC](https://discourse.processing.org/t/bug-related-to-export-import-system/45460 "2024-12-15T03:25:29Z")

</div>

The code is found here I found out that if i import the exact same export code on 2 pcs or even on the same pc but on a different tab or just reload the same tab and import it or hit the reload the code \\ randomiz…

---

## [More than one sketch in same HTML page](https://discourse.processing.org/t/more-than-one-sketch-in-same-html-page/45447)

<div class="topic-metadata">

**Author:** [@edufissure](https://discourse.processing.org/u/edufissure)\
**Replies:** 14\
**Last updated:** [December 14, 2024, 6:44pm UTC](https://discourse.processing.org/t/more-than-one-sketch-in-same-html-page/45447 "2024-12-14T18:44:36Z")

</div>

My index.html ( relevant code): \<!--Utilitzem la llibreria p5--\> \<script type="module" src="/js/libraries/p5.min.js"\>\</script\> \<!--Carreguem moduls--\> \<!--Carreguem sketch--\> \<script type="module" sr…

---

## [orbitControl() disabling and enabling options](https://discourse.processing.org/t/orbitcontrol-disabling-and-enabling-options/43665)

<div class="topic-metadata">

**Author:** [@elmoNeedsArson](https://discourse.processing.org/u/elmoNeedsArson)\
**Replies:** 2\
**Last updated:** [December 14, 2024, 10:38am UTC](https://discourse.processing.org/t/orbitcontrol-disabling-and-enabling-options/43665 "2024-12-14T10:38:43Z")

</div>

When using the built-in orbitControl() function with webGl and p5js you are able to set the strength of the sensitivity in the function (e.g. orbitControl(1,0,1)). This seems to be the only control you get however. Becau…

---

## [I Can't use Webcam](https://discourse.processing.org/t/i-cant-use-webcam/45457)

<div class="topic-metadata">

**Author:** [@gayungkim9088](https://discourse.processing.org/u/gayungkim9088)\
**Replies:** 1\
**Last updated:** [December 14, 2024, 4:34am UTC](https://discourse.processing.org/t/i-cant-use-webcam/45457 "2024-12-14T04:34:48Z")

</div>

Hello, everyone. First of all, please understand that I am not good at English. I’m trying to use my webcam, but processing doesn’t recognize it. It works with Windows Camera. This is the webcam you connect to using use…

---

## [Why is square(x, y, 1) so much faster than point(x, y)?](https://discourse.processing.org/t/why-is-square-x-y-1-so-much-faster-than-point-x-y/45448)

<div class="topic-metadata">

**Author:** [@DevaPan](https://discourse.processing.org/u/DevaPan)\
**Replies:** 4\
**Last updated:** [December 13, 2024, 1:59pm UTC](https://discourse.processing.org/t/why-is-square-x-y-1-so-much-faster-than-point-x-y/45448 "2024-12-13T13:59:24Z")

</div>

Anyone knows? I’ve found about it by accident and it doesn’t make much sense to me. Details: stroke(someColor); point(x, y); vs. noStroke(); fill(someColor); square(x, y, 1); the second one is consistently about 3…

---

## [P5.js Web Editor problem exporting a function](https://discourse.processing.org/t/p5-js-web-editor-problem-exporting-a-function/45420)

<div class="topic-metadata">

**Author:** [@edufissure](https://discourse.processing.org/u/edufissure)\
**Replies:** 4\
**Last updated:** [December 3, 2024, 2:07pm UTC](https://discourse.processing.org/t/p5-js-web-editor-problem-exporting-a-function/45420 "2024-12-03T14:07:33Z")

</div>

Hi im doing this test to import a class from a separate file: but i got error: The export: The import: The html file: Any help would be apreciated This is for educational purpose

---

## [P5 text() and console.log treat multiline strings differently](https://discourse.processing.org/t/p5-text-and-console-log-treat-multiline-strings-differently/45452)

<div class="topic-metadata">

**Author:** [@ger](https://discourse.processing.org/u/ger)\
**Replies:** 9\
**Last updated:** [December 12, 2024, 2:50pm UTC](https://discourse.processing.org/t/p5-text-and-console-log-treat-multiline-strings-differently/45452 "2024-12-12T14:50:41Z")

</div>

Hello! I am trying to print some ASCII art to my p5 sketch and am having a lot of trouble. When it prints to the console, the padding on the art is correct and it looks good in the console. But when I use the text(art,0,…

---

## [How to send email through Processing?](https://discourse.processing.org/t/how-to-send-email-through-processing/6128)

<div class="topic-metadata">

**Author:** [@stevenette](https://discourse.processing.org/u/stevenette)\
**Replies:** 8\
**Last updated:** [December 12, 2024, 12:38am UTC](https://discourse.processing.org/t/how-to-send-email-through-processing/6128 "2024-12-12T00:38:40Z")

</div>

Hello, I have a sketch that I have a bunch of error checking in, and if a flag is set, I want to be notified via email. I have searched for a while, and every link comes up dead from 2016 and before. I have not found an…

---

## [Serious Error when opening sketch](https://discourse.processing.org/t/serious-error-when-opening-sketch/44928)

<div class="topic-metadata">

**Author:** [@repeat](https://discourse.processing.org/u/repeat)\
**Replies:** 3\
**Last updated:** [December 11, 2024, 5:58pm UTC](https://discourse.processing.org/t/serious-error-when-opening-sketch/44928 "2024-12-11T17:58:39Z")

</div>

I wrote a sketch. Saved it is a different folder that is not the default. Tried to open it again … serious error (see image). A second try to open file produced the same error message. I opened the file with a text edi…

---

## [Error in displaying a image](https://discourse.processing.org/t/error-in-displaying-a-image/45433)

<div class="topic-metadata">

**Author:** [@edufissure](https://discourse.processing.org/u/edufissure)\
**Replies:** 19\
**Last updated:** [December 11, 2024, 4:53pm UTC](https://discourse.processing.org/t/error-in-displaying-a-image/45433 "2024-12-11T16:53:43Z")

</div>

Im facing an error: Console TypeError: this.\_renderer is undefined 🌸 p5.js dice: \[p5.js, line 95593\] Cannot read property of undefined. Check the line number in error and make sure the variable which is being operated …

---

## [REPL mode in P4](https://discourse.processing.org/t/repl-mode-in-p4/45362)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 2\
**Last updated:** [December 11, 2024, 1:40pm UTC](https://discourse.processing.org/t/repl-mode-in-p4/45362 "2024-12-11T13:40:40Z")

</div>

Hi, I’m trying to use Repl mode with P4. I can create a window with the size I want but I soon I try to code a Processing function like rect(20, 20, 100, 100); I’ve got this error : HOTSWAP AGENT: 11:21:18.897 ERROR (…

---

## [WearOS watches: faces only, or data apps?](https://discourse.processing.org/t/wearos-watches-faces-only-or-data-apps/45438)

<div class="topic-metadata">

**Author:** [@joshg](https://discourse.processing.org/u/joshg)\
**Replies:** 2\
**Last updated:** [December 10, 2024, 12:07am UTC](https://discourse.processing.org/t/wearos-watches-faces-only-or-data-apps/45438 "2024-12-10T00:07:36Z")

</div>

I’m trying to sort out what’s possible before dropping money on an expensive smartwatch. Can Processing for Android create data collection apps that run in the background on a WearOS watch, eg. to track heart rate data w…

---

## [I attach a .eslintrc.json file just to use with p5.js](https://discourse.processing.org/t/i-attach-a-eslintrc-json-file-just-to-use-with-p5-js/45444)

<div class="topic-metadata">

**Author:** [@edufissure](https://discourse.processing.org/u/edufissure)\
**Replies:** 2\
**Last updated:** [December 9, 2024, 7:19pm UTC](https://discourse.processing.org/t/i-attach-a-eslintrc-json-file-just-to-use-with-p5-js/45444 "2024-12-09T19:19:49Z")

</div>

I made this with all the instructions from p5.js taken from the reference. Many of them are repeated ( generates only warnings) and i commented the category of instructions. This could be combined with And this one wit…

---

## [Streams of Inspiration](https://discourse.processing.org/t/streams-of-inspiration/45445)

<div class="topic-metadata">

**Author:** [@eightohnine](https://discourse.processing.org/u/eightohnine)\
**Replies:** 3\
**Last updated:** [December 9, 2024, 4:02pm UTC](https://discourse.processing.org/t/streams-of-inspiration/45445 "2024-12-09T16:02:40Z")

</div>

\[A note upfront: Even though topic may be inspired by recent political happenings, I don’t want this to devolve into a political slugfest.\] I’ve recently been motivated to reconsider my Twitter/X account which I’ve had …

---

## [Chess engine recursive problems](https://discourse.processing.org/t/chess-engine-recursive-problems/24613)

<div class="topic-metadata">

**Author:** [@Grusat](https://discourse.processing.org/u/Grusat)\
**Replies:** 8\
**Last updated:** [December 8, 2024, 6:16pm UTC](https://discourse.processing.org/t/chess-engine-recursive-problems/24613 "2024-12-08T18:16:16Z")

</div>

I’m implementing a minimax algorithm with alphabeta pruning for a chess AI but i’m getting a maximum recursive depth reached error in some positions. I guess my recursive function minimax isn’t correct but i can’t find …

---

## [Background not cleared on WEBGL sketches on Samsung S24](https://discourse.processing.org/t/background-not-cleared-on-webgl-sketches-on-samsung-s24/45441)

<div class="topic-metadata">

**Author:** [@andbin](https://discourse.processing.org/u/andbin)\
**Replies:** 5\
**Last updated:** [December 8, 2024, 6:00pm UTC](https://discourse.processing.org/t/background-not-cleared-on-webgl-sketches-on-samsung-s24/45441 "2024-12-08T18:00:12Z")

</div>

Hi, I’m writing to discuss a strange problem I found while trying 3D sketches (WEBGL) on my smartphone. First of all, yesterday, I was writing my first p5.js sketch with WEBGL mode on OpenProcessing. On desktop PCs, I h…

---

## [New App: Ahdut Tree-Fractal Viewer (Try It Yourself)](https://discourse.processing.org/t/new-app-ahdut-tree-fractal-viewer-try-it-yourself/45439)

<div class="topic-metadata">

**Author:** [@winterchan](https://discourse.processing.org/u/winterchan)\
**Replies:** 8\
**Last updated:** [December 8, 2024, 3:44am UTC](https://discourse.processing.org/t/new-app-ahdut-tree-fractal-viewer-try-it-yourself/45439 "2024-12-08T03:44:40Z")

</div>

Hi guys i am very exited to release this project after long time working on some optimization features to allow the app to run very complex calculations and show complex visuals with amazing speed! Please go ahead an…

---

## [Adding a svg image to a box side](https://discourse.processing.org/t/adding-a-svg-image-to-a-box-side/25321)

<div class="topic-metadata">

**Author:** [@raboytniksings](https://discourse.processing.org/u/raboytniksings)\
**Replies:** 5\
**Last updated:** [December 6, 2024, 3:04pm UTC](https://discourse.processing.org/t/adding-a-svg-image-to-a-box-side/25321 "2024-12-06T15:04:34Z")

</div>

I am using 3D and have created a chessboard made of 64 box(). So far so good (the full code is very long, it is very hard for me to create a MWE). Now, I am too lazy to create a 3D chess set, and I am tempted to use lich…

---

## [Ahdut Fractal Viewer (Advanced Mandelbrot Viewer)](https://discourse.processing.org/t/ahdut-fractal-viewer-advanced-mandelbrot-viewer/45409)

<div class="topic-metadata">

**Author:** [@winterchan](https://discourse.processing.org/u/winterchan)\
**Replies:** 3\
**Last updated:** [December 6, 2024, 4:17am UTC](https://discourse.processing.org/t/ahdut-fractal-viewer-advanced-mandelbrot-viewer/45409 "2024-12-06T04:17:48Z")

</div>

Official Demo: https://www.youtube.com/watch?v=FKljz6lbVK0 Please open the images on full screen in a separate tab! A program i am making, already has over 1200 lines of code, including advanced optimization and the ab…

---

## [Share data ( variable, array) between two canvas](https://discourse.processing.org/t/share-data-variable-array-between-two-canvas/45434)

<div class="topic-metadata">

**Author:** [@edufissure](https://discourse.processing.org/u/edufissure)\
**Replies:** 1\
**Last updated:** [December 5, 2024, 9:33pm UTC](https://discourse.processing.org/t/share-data-variable-array-between-two-canvas/45434 "2024-12-05T21:33:59Z")

</div>

Hi ive been googleing, but im asking if there is any trick or way to share info, for example object, variables, arrays between two sketches. Lets say i have one game in one canvas inside a div id=“game”… but in other pl…

---

## [Object-oriented Eureka! moment](https://discourse.processing.org/t/object-oriented-eureka-moment/45136)

<div class="topic-metadata">

**Author:** [@eightohnine](https://discourse.processing.org/u/eightohnine)\
**Replies:** 6\
**Last updated:** [December 5, 2024, 5:10pm UTC](https://discourse.processing.org/t/object-oriented-eureka-moment/45136 "2024-12-05T17:10:19Z")

</div>

Fair warning: This is going to be a long one, with some musings about how to approach the idea of introducing objects. It’s based around my personal experiences teaching myself Processing and observations in the wider Pr…

---

## [Is there a collaborative p5 editor (similar to Google Docs, for example?)](https://discourse.processing.org/t/is-there-a-collaborative-p5-editor-similar-to-google-docs-for-example/24386)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 18\
**Last updated:** [December 5, 2024, 1:56pm UTC](https://discourse.processing.org/t/is-there-a-collaborative-p5-editor-similar-to-google-docs-for-example/24386 "2024-12-05T13:56:59Z")

</div>

Hi all, I teach a course in p5.js and my students are currently remote because of the pandemic. I’m looking for an editor/IDE that would allow students to all code in the same document at the same time. Essentially I’m …

---

## [I made a Pac-Man game](https://discourse.processing.org/t/i-made-a-pac-man-game/45431)

<div class="topic-metadata">

**Author:** [@LangdonS](https://discourse.processing.org/u/LangdonS)\
**Replies:** 0\
**Last updated:** [December 3, 2024, 9:17pm UTC](https://discourse.processing.org/t/i-made-a-pac-man-game/45431 "2024-12-03T21:17:16Z")

</div>

I made a Pac-Man game with a rotating, animated mouth. Here is the GitHub repo (for Java): GitHub - pacman-admin/pacmancode: The newest code for desktop pacman I will post Processing code and example ASAP.

---

## [My coding book in print-on demand format](https://discourse.processing.org/t/my-coding-book-in-print-on-demand-format/45285)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 1\
**Last updated:** [December 4, 2024, 10:18am UTC](https://discourse.processing.org/t/my-coding-book-in-print-on-demand-format/45285 "2024-12-04T10:18:17Z")

</div>

After much consideration, I’m excited to announce a paperback edition of my course, now available for all interested coders and parents! This book is designed especially for parents who want to introduce their kids to c…

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

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