# Latest

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

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

**Page:** 86

---

## [Animation in Python mode](https://discourse.processing.org/t/animation-in-python-mode/40875)

<div class="topic-metadata">

**Author:** [@maral](https://discourse.processing.org/u/maral)\
**Replies:** 7\
**Last updated:** [February 8, 2023, 5:34pm UTC](https://discourse.processing.org/t/animation-in-python-mode/40875 "2023-02-08T17:34:41Z")

</div>

I am a complete newbie with respect to P5. Just downloaded the package and before starting, I was wondering if it has the option to create animations, similar to those created by the original Processing framework.

---

## [P5js coding editor (own server) for iOS?](https://discourse.processing.org/t/p5js-coding-editor-own-server-for-ios/40869)

<div class="topic-metadata">

**Author:** [@Pastel](https://discourse.processing.org/u/Pastel)\
**Replies:** 1\
**Last updated:** [February 8, 2023, 6:47am UTC](https://discourse.processing.org/t/p5js-coding-editor-own-server-for-ios/40869 "2023-02-08T06:47:07Z")

</div>

At the moment I’m coding in openprocessing.org or ln my server through ssh. The first one can only edit files stored on its platform, the second solution isn’t comfortable. Any recommendations for an editor app with se…

---

## [Lights and colours in 3D?](https://discourse.processing.org/t/lights-and-colours-in-3d/40862)

<div class="topic-metadata">

**Author:** [@Raul](https://discourse.processing.org/u/Raul)\
**Replies:** 3\
**Last updated:** [February 8, 2023, 5:27am UTC](https://discourse.processing.org/t/lights-and-colours-in-3d/40862 "2023-02-08T05:27:26Z")

</div>

Hi! This shouldn’t be complicated, but I can’t figure out how to solve it. I though it would be related to lights in 3D, but I don’t find the solution. When I draw a white line in a 3D space this line - sometimes, it d…

---

## [Can't run the first example in "Getting Started"](https://discourse.processing.org/t/cant-run-the-first-example-in-getting-started/40866)

<div class="topic-metadata">

**Author:** [@TimH02130](https://discourse.processing.org/u/TimH02130)\
**Replies:** 6\
**Last updated:** [February 7, 2023, 9:08pm UTC](https://discourse.processing.org/t/cant-run-the-first-example-in-getting-started/40866 "2023-02-07T21:08:52Z")

</div>

I started processing v4.1.2 for the first time and typed in the first example from the overview, i.e. ellipse(50, 50, 80, 80); and the message area immediately turns red and says \`the function “ellipse(int, int, int, i…

---

## [Help with making a counter](https://discourse.processing.org/t/help-with-making-a-counter/40859)

<div class="topic-metadata">

**Author:** [@andprocessing](https://discourse.processing.org/u/andprocessing)\
**Replies:** 3\
**Last updated:** [February 7, 2023, 6:57pm UTC](https://discourse.processing.org/t/help-with-making-a-counter/40859 "2023-02-07T18:57:43Z")

</div>

Hi! I’m making a game where you have to find wolves in a pack of sheep. There are 5 wolves made with an array, and as the code is now, you advance to the next page when you click on one wolf. However, I want it to advanc…

---

## [How to increase the number of balls?](https://discourse.processing.org/t/how-to-increase-the-number-of-balls/40856)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 4\
**Last updated:** [February 7, 2023, 6:45pm UTC](https://discourse.processing.org/t/how-to-increase-the-number-of-balls/40856 "2023-02-07T18:45:33Z")

</div>

Good afternoon, there was still a problem to add at least 1 ball or many balls up to 99 and I don’t understand how to achieve this! example chart: import peasy.\*; PeasyCam camera; PImage img; boolean mpa, click; c…

---

## [Controlling a Projector with PJLink using Processing?](https://discourse.processing.org/t/controlling-a-projector-with-pjlink-using-processing/40867)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 0\
**Last updated:** [February 7, 2023, 5:43pm UTC](https://discourse.processing.org/t/controlling-a-projector-with-pjlink-using-processing/40867 "2023-02-07T17:43:48Z")

</div>

Is it possible to control a projector using the PJLink Protocol within Processing? I think it is and I would like to pose some ways to do this and solicit support along the way. For those unaware the PJLink protocol ca…

---

## [Slow PGraphics at high resolution!](https://discourse.processing.org/t/slow-pgraphics-at-high-resolution/40864)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 1\
**Last updated:** [February 7, 2023, 5:26pm UTC](https://discourse.processing.org/t/slow-pgraphics-at-high-resolution/40864 "2023-02-07T17:26:09Z")

</div>

Is it possible to make a 4000\*4000 pixel big pgraphics with 60 fps? or access only one part of a graphics object? edit: or could i run the code on the gpu & does it use all cores of the cpu by default?

---

## [Addition to video games code](https://discourse.processing.org/t/addition-to-video-games-code/40819)

<div class="topic-metadata">

**Author:** [@epicrafter](https://discourse.processing.org/u/epicrafter)\
**Replies:** 3\
**Last updated:** [February 7, 2023, 2:35pm UTC](https://discourse.processing.org/t/addition-to-video-games-code/40819 "2023-02-07T14:35:26Z")

</div>

Hello again. I am trying to make a code that I can sent to Nintendo Switches for more in-game fun. Here is the code so far: // Useful stuff for the code: STROKES: (160,35,0) for bronze, (150,150,150) for silver, // (16…

---

## [Working with Android Studio](https://discourse.processing.org/t/working-with-android-studio/40820)

<div class="topic-metadata">

**Author:** [@Glenton](https://discourse.processing.org/u/Glenton)\
**Replies:** 1\
**Last updated:** [February 7, 2023, 12:28pm UTC](https://discourse.processing.org/t/working-with-android-studio/40820 "2023-02-07T12:28:52Z")

</div>

Hello, I am probably missing a very simple thing but I’ve been struggling for a while now without finding a solution. I am very new to android Studio so it may be a dumb question but is there a way, in Android Studio, t…

---

## [Like OPC outside of Openprocessing.org?](https://discourse.processing.org/t/like-opc-outside-of-openprocessing-org/40837)

<div class="topic-metadata">

**Author:** [@Pastel](https://discourse.processing.org/u/Pastel)\
**Replies:** 2\
**Last updated:** [February 7, 2023, 12:10pm UTC](https://discourse.processing.org/t/like-opc-outside-of-openprocessing-org/40837 "2023-02-07T12:10:40Z")

</div>

I enjoy the easy usage of OPC in openprocessing.org. Is there a similar library that has adjustable sliders and switches in a collapsible and expandable area to use for p5js on my own pages? Thank you.

---

## [How can I prevent the image background from being rotated?](https://discourse.processing.org/t/how-can-i-prevent-the-image-background-from-being-rotated/40855)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 1\
**Last updated:** [February 7, 2023, 10:17am UTC](https://discourse.processing.org/t/how-can-i-prevent-the-image-background-from-being-rotated/40855 "2023-02-07T10:17:56Z")

</div>

Good afternoon, I use lines with balls to build curves on images. How can I prevent image background from rotating and prevent scaling! import peasy.\*; PeasyCam camera; PImage img; boolean mpa, click; color mouseC,p…

---

## [How to add a text as .txt file?](https://discourse.processing.org/t/how-to-add-a-text-as-txt-file/40839)

<div class="topic-metadata">

**Author:** [@Davo](https://discourse.processing.org/u/Davo)\
**Replies:** 10\
**Last updated:** [February 7, 2023, 10:21am UTC](https://discourse.processing.org/t/how-to-add-a-text-as-txt-file/40839 "2023-02-07T10:21:03Z")

</div>

Hola! Totally new here. I just want to change the text in this generative design text: How can I change this “faust\_kurz.txt” for my own text and include it as a .txt file?? …Just have no clue… function preload() { …

---

## [Relative file path formatting (Windows 11)](https://discourse.processing.org/t/relative-file-path-formatting-windows-11/40838)

<div class="topic-metadata">

**Author:** [@LuisGranados](https://discourse.processing.org/u/LuisGranados)\
**Replies:** 3\
**Last updated:** [February 6, 2023, 6:01pm UTC](https://discourse.processing.org/t/relative-file-path-formatting-windows-11/40838 "2023-02-06T18:01:41Z")

</div>

I want my P5.js sketch to be able to load images from a (very large) subdirectory of jpg files elsewhere on my laptop rather than from a subfolder of the P5 sketch folder. This code works, where I have a subdirectory cal…

---

## [Collision detection sketch running extremely slow](https://discourse.processing.org/t/collision-detection-sketch-running-extremely-slow/40844)

<div class="topic-metadata">

**Author:** [@bdooley](https://discourse.processing.org/u/bdooley)\
**Replies:** 0\
**Last updated:** [February 6, 2023, 1:33pm UTC](https://discourse.processing.org/t/collision-detection-sketch-running-extremely-slow/40844 "2023-02-06T13:33:43Z")

</div>

Hi, I’m working on a sketch drawing circles and squares that slowly fall to the bottom of the window and begin to stack. I first got things to work using matter.js here: https://editor.p5js.org/bdooley7/sketches/yY5Ej6…

---

## [keyReleased()+ saveFrame() functions not doing anything](https://discourse.processing.org/t/keyreleased-saveframe-functions-not-doing-anything/40832)

<div class="topic-metadata">

**Author:** [@liss](https://discourse.processing.org/u/liss)\
**Replies:** 4\
**Last updated:** [February 6, 2023, 1:15am UTC](https://discourse.processing.org/t/keyreleased-saveframe-functions-not-doing-anything/40832 "2023-02-06T01:15:53Z")

</div>

Hi all, I’m an extreme novice coder taking a generative art course. I am trying to save the image I created with a series of for loops and random functions (I included one in the script below) but it is not saving the i…

---

## [Android Bluetooth](https://discourse.processing.org/t/android-bluetooth/27140)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 16\
**Last updated:** [February 5, 2023, 11:00pm UTC](https://discourse.processing.org/t/android-bluetooth/27140 "2023-02-05T23:00:51Z")

</div>

The Ketai Bluetooth Class method onBluetoothDataEvent() does not work on the latest Android modes. Also, it has no readStringUntil() method which makes it difficult to read fast incoming data. So I wrote a native Android…

---

## [PGraphics and Image problem](https://discourse.processing.org/t/pgraphics-and-image-problem/38464)

<div class="topic-metadata">

**Author:** [@eltrem](https://discourse.processing.org/u/eltrem)\
**Replies:** 1\
**Last updated:** [February 5, 2023, 6:48pm UTC](https://discourse.processing.org/t/pgraphics-and-image-problem/38464 "2023-02-05T18:48:35Z")

</div>

Hi everyone! I’m struggling with a problem which i cant seem to solve. I’m using PGraphics to sequentially save “layers” of my drawing as pngs with alpha channel. Once i’ve drawn my elements and saved each of them as …

---

## [Is there documentation geared toward a programmer of a structured language?](https://discourse.processing.org/t/is-there-documentation-geared-toward-a-programmer-of-a-structured-language/40830)

<div class="topic-metadata">

**Author:** [@skeletor53818](https://discourse.processing.org/u/skeletor53818)\
**Replies:** 3\
**Last updated:** [February 5, 2023, 2:31pm UTC](https://discourse.processing.org/t/is-there-documentation-geared-toward-a-programmer-of-a-structured-language/40830 "2023-02-05T14:31:44Z")

</div>

Hello I recently discovered the https://p5js.org website and have been playing around a bit but I feel a bit adrift. Is there some documentation on how this all works. My exact questions are: 1.) What computer languag…

---

## [Live Web Text Input to be Moderated then Added to Live Video Carousel](https://discourse.processing.org/t/live-web-text-input-to-be-moderated-then-added-to-live-video-carousel/40828)

<div class="topic-metadata">

**Author:** [@Bria](https://discourse.processing.org/u/Bria)\
**Replies:** 0\
**Last updated:** [February 4, 2023, 5:58pm UTC](https://discourse.processing.org/t/live-web-text-input-to-be-moderated-then-added-to-live-video-carousel/40828 "2023-02-04T17:58:32Z")

</div>

Hello! I’m planning an event in which I am collecting live text input from an audience to answer a prompt. Here are the steps/functions… Input Webpage hosted on cargo collective, collect form inputs Moderate inputs t…

---

## [New members/ One Time Participants sketch format (edit foreign posts)](https://discourse.processing.org/t/new-members-one-time-participants-sketch-format-edit-foreign-posts/40772)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 6\
**Last updated:** [February 4, 2023, 5:18pm UTC](https://discourse.processing.org/t/new-members-one-time-participants-sketch-format-edit-foreign-posts/40772 "2023-02-04T17:18:07Z")

</div>

Hello What if one of the permanent members was granted a license to do the formatting of the unformatted sketches? This will permanently preserve the beauty of the pages

---

## [How to start a sketch with full screen?](https://discourse.processing.org/t/how-to-start-a-sketch-with-full-screen/40824)

<div class="topic-metadata">

**Author:** [@adrinalino](https://discourse.processing.org/u/adrinalino)\
**Replies:** 3\
**Last updated:** [February 4, 2023, 1:06pm UTC](https://discourse.processing.org/t/how-to-start-a-sketch-with-full-screen/40824 "2023-02-04T13:06:21Z")

</div>

I’ve been trying multiple tactics to let my sketch open with a full screen. With processing you just put fullScreen(); in setup and the sketch occupies the entire screen. With p5js this does not work. The only way I ma…

---

## [Maze generator and pathfinder](https://discourse.processing.org/t/maze-generator-and-pathfinder/40823)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 0\
**Last updated:** [February 4, 2023, 12:48am UTC](https://discourse.processing.org/t/maze-generator-and-pathfinder/40823 "2023-02-04T00:48:25Z")

</div>

Maze generator, generates random hexagonal mazes with a number of variable mazeBuilders(not sure what else to call them). Change the size of the tiles, the size of the grid, and the number of mazeBuilders, the more there…

---

## [Strange mask behaviour - troubleshooting ideas?](https://discourse.processing.org/t/strange-mask-behaviour-troubleshooting-ideas/40821)

<div class="topic-metadata">

**Author:** [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Replies:** 1\
**Last updated:** [February 3, 2023, 5:42pm UTC](https://discourse.processing.org/t/strange-mask-behaviour-troubleshooting-ideas/40821 "2023-02-03T17:42:50Z")

</div>

I am experimenting with a series of little test cases for image compositing, and am puzzled by what I’m seeing as the behaviour of pimage.mask(). PImage LayerA, LayerM; int Col2 = width/2; int Row2 = height/2; size(600…

---

## [How can i make an empty graph without using csv?](https://discourse.processing.org/t/how-can-i-make-an-empty-graph-without-using-csv/40814)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 6\
**Last updated:** [February 3, 2023, 4:09pm UTC](https://discourse.processing.org/t/how-can-i-make-an-empty-graph-without-using-csv/40814 "2023-02-03T16:09:52Z")

</div>

Good afternoon, I found an example that I would like to edit to fit my values at the moment I can use the graph from the file csv, but how can you do the same with processing tools? import grafica.\*; GPlot plot1, p…

---

## [How to make a moving background in Processing](https://discourse.processing.org/t/how-to-make-a-moving-background-in-processing/39111)

<div class="topic-metadata">

**Author:** [@epicrafter](https://discourse.processing.org/u/epicrafter)\
**Replies:** 7\
**Last updated:** [February 3, 2023, 3:19pm UTC](https://discourse.processing.org/t/how-to-make-a-moving-background-in-processing/39111 "2023-02-03T15:19:59Z")

</div>

Hello, I am having trouble making a moving background. Here is my code: int frame; void setup() { size (400,400); fill(204,102,0); frameRate (5); frame = 1; stroke (255,125,0); } void draw() { switch (frame)…

---

## [Is there a way of warping images - like Adobe's Puppet tool](https://discourse.processing.org/t/is-there-a-way-of-warping-images-like-adobes-puppet-tool/1510)

<div class="topic-metadata">

**Author:** [@stib](https://discourse.processing.org/u/stib)\
**Replies:** 9\
**Last updated:** [February 3, 2023, 2:58pm UTC](https://discourse.processing.org/t/is-there-a-way-of-warping-images-like-adobes-puppet-tool/1510 "2023-02-03T14:58:38Z")

</div>

I have an image that I want to be able to animate using a method similar to the Puppet Tool in After Effects, where points affect a mesh which has an image mapped on it. If I want to do this am I going to have to reve…

---

## [Imaging an audio file](https://discourse.processing.org/t/imaging-an-audio-file/25006)

<div class="topic-metadata">

**Author:** [@humus](https://discourse.processing.org/u/humus)\
**Replies:** 2\
**Last updated:** [February 3, 2023, 2:46pm UTC](https://discourse.processing.org/t/imaging-an-audio-file/25006 "2023-02-03T14:46:08Z")

</div>

Hi, I would like to realise these things with Processing after importing an audio file of my voice registered (or in real time): Realise a video 1.1. display in a window the spectrogram with colors (for the amplitude…

---

## [How to use SPOUT input with 11.10: Computer Vision: Adding Lifespan to Blobs - Processing Tutorial](https://discourse.processing.org/t/how-to-use-spout-input-with-11-10-computer-vision-adding-lifespan-to-blobs-processing-tutorial/40735)

<div class="topic-metadata">

**Author:** [@marijn](https://discourse.processing.org/u/marijn)\
**Replies:** 11\
**Last updated:** [February 3, 2023, 1:21pm UTC](https://discourse.processing.org/t/how-to-use-spout-input-with-11-10-computer-vision-adding-lifespan-to-blobs-processing-tutorial/40735 "2023-02-03T13:21:23Z")

</div>

Hi, I am relatively new to Processing. I am trying to make the Blobtrack Persistance example (as seen in this video) work with Input from SPOUT receiver instead of the webcam input. Does anybody have an advice for me? …

---

## [Question of how to generate multiple sound by TriOsc](https://discourse.processing.org/t/question-of-how-to-generate-multiple-sound-by-triosc/40522)

<div class="topic-metadata">

**Author:** [@Joygou](https://discourse.processing.org/u/Joygou)\
**Replies:** 2\
**Last updated:** [February 3, 2023, 11:08am UTC](https://discourse.processing.org/t/question-of-how-to-generate-multiple-sound-by-triosc/40522 "2023-02-03T11:08:16Z")

</div>

Hi, I’m trying to do some generating music stuff by processing and the sound library. I am trying to generate note by clicking the mouse, and the note will be played again and agian in draw() function. I want to have a …

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

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