# Latest

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

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

**Page:** 83

---

## [1st person camera](https://discourse.processing.org/t/1st-person-camera/41106)

<div class="topic-metadata">

**Author:** [@09husky](https://discourse.processing.org/u/09husky)\
**Replies:** 1\
**Last updated:** [March 1, 2023, 10:23pm UTC](https://discourse.processing.org/t/1st-person-camera/41106 "2023-03-01T22:23:38Z")

</div>

I am having some trouble with the camera function at the end. It does work to a decent extent, but I am wondering if anyone can help me solve the following problems with it: sensitivity too high for looking up and down …

---

## [Help with coding syntax errors](https://discourse.processing.org/t/help-with-coding-syntax-errors/41110)

<div class="topic-metadata">

**Author:** [@danielsj14](https://discourse.processing.org/u/danielsj14)\
**Replies:** 2\
**Last updated:** [March 1, 2023, 10:06pm UTC](https://discourse.processing.org/t/help-with-coding-syntax-errors/41110 "2023-03-01T22:06:14Z")

</div>

I’m trying to code a moving grid pattern and I keep getting an error message when I try to run my code, but I can’t figure out why. This is what my code looks like: float x = 0; float y = 0; float spacing = 50; //One a…

---

## [Optimizing collision detection and resolution between shapes](https://discourse.processing.org/t/optimizing-collision-detection-and-resolution-between-shapes/41104)

<div class="topic-metadata">

**Author:** [@bdooley](https://discourse.processing.org/u/bdooley)\
**Replies:** 0\
**Last updated:** [March 1, 2023, 2:39pm UTC](https://discourse.processing.org/t/optimizing-collision-detection-and-resolution-between-shapes/41104 "2023-03-01T14:39:21Z")

</div>

Hi all, I am working on a sketch with falling rectangles and circles that collide with each other, the left and right walls, and ground. https://editor.p5js.org/bdooley7/sketches/WXa5AQgKD The collision detection seem…

---

## [Span not covering all screens](https://discourse.processing.org/t/span-not-covering-all-screens/41098)

<div class="topic-metadata">

**Author:** [@larry](https://discourse.processing.org/u/larry)\
**Replies:** 0\
**Last updated:** [February 28, 2023, 11:47pm UTC](https://discourse.processing.org/t/span-not-covering-all-screens/41098 "2023-02-28T23:47:29Z")

</div>

The SPAN function does not seem to be working correctly with the default renderer on my MacBook Pro, the sketch is fullscreen on the first tow screens but only covers about one third of the third screen. It seems to work…

---

## [Problem with P2D](https://discourse.processing.org/t/problem-with-p2d/41096)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 0\
**Last updated:** [February 28, 2023, 7:27pm UTC](https://discourse.processing.org/t/problem-with-p2d/41096 "2023-02-28T19:27:58Z")

</div>

I’m doing Shiffman’s algorithm of motion detection, but I want to use P2D. I noticed that there are “noise” in my video only when I use P2D, with the normal renderer there isn’t any problem. even when I just read pixel…

---

## [How do I make randomly generated objects move?](https://discourse.processing.org/t/how-do-i-make-randomly-generated-objects-move/41091)

<div class="topic-metadata">

**Author:** [@jrubesch](https://discourse.processing.org/u/jrubesch)\
**Replies:** 5\
**Last updated:** [February 28, 2023, 7:18pm UTC](https://discourse.processing.org/t/how-do-i-make-randomly-generated-objects-move/41091 "2023-02-28T19:18:00Z")

</div>

Hi! I’m trying to code something like scrolling credits with some text. I loaded each text block as an image and generated the text order randomly. I now want those text blocks to move up the screen like movie-ending cre…

---

## [Processing won't open on Mac](https://discourse.processing.org/t/processing-wont-open-on-mac/40885)

<div class="topic-metadata">

**Author:** [@Oli1](https://discourse.processing.org/u/Oli1)\
**Replies:** 5\
**Last updated:** [February 28, 2023, 11:48am UTC](https://discourse.processing.org/t/processing-wont-open-on-mac/40885 "2023-02-28T11:48:25Z")

</div>

Hello, I’ve been using Processing since last year and some days ago I installed the latest version. It worked but today I tried opening it again and the window opens for a brief moment but then disappears. I tried deleti…

---

## [Export problem Processing](https://discourse.processing.org/t/export-problem-processing/41082)

<div class="topic-metadata">

**Author:** [@ctremblay](https://discourse.processing.org/u/ctremblay)\
**Replies:** 0\
**Last updated:** [February 28, 2023, 1:41am UTC](https://discourse.processing.org/t/export-problem-processing/41082 "2023-02-28T01:41:52Z")

</div>

When i try to export 1 the program dont open or 2 the program opens to a grey screen. Anyone know how to fix this?

---

## [JavaScript coding course for CS teachers / coding clubs / and p5.js enthusiasts](https://discourse.processing.org/t/javascript-coding-course-for-cs-teachers-coding-clubs-and-p5-js-enthusiasts/41085)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [February 28, 2023, 2:04am UTC](https://discourse.processing.org/t/javascript-coding-course-for-cs-teachers-coding-clubs-and-p5-js-enthusiasts/41085 "2023-02-28T02:04:52Z")

</div>

Are you teaching with Processing / p5.js / codeguppy in your classroom? If yes, you may find useful the videos on my youtube channel. JavaScript coding Course PlayList https://www.youtube.com/playlist?list=PLZld0zbNGb…

---

## [P5.js based playground for schools. Post contains embedded a 2 minute real running demo program!](https://discourse.processing.org/t/p5-js-based-playground-for-schools-post-contains-embedded-a-2-minute-real-running-demo-program/41084)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [February 28, 2023, 1:53am UTC](https://discourse.processing.org/t/p5-js-based-playground-for-schools-post-contains-embedded-a-2-minute-real-running-demo-program/41084 "2023-02-28T01:53:35Z")

</div>

What you see is a running JavaScript program! The program was designed like a demonstration of JavaScript and the educational playground for education codeguppy.com (based on p5.js) \*\*\* Click on the image to hear the mu…

---

## [GUI controls and Window manager with movable and overlapping windows. (Playground with source code embedded in the post.)](https://discourse.processing.org/t/gui-controls-and-window-manager-with-movable-and-overlapping-windows-playground-with-source-code-embedded-in-the-post/41083)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [February 28, 2023, 1:45am UTC](https://discourse.processing.org/t/gui-controls-and-window-manager-with-movable-and-overlapping-windows-playground-with-source-code-embedded-in-the-post/41083 "2023-02-28T01:45:10Z")

</div>

Hi all, I want to present you with the latest version of the WinUI library. It is a library that helps build Windows-like apps on top of the canvas… At the current time, the library doesn’t have a practical purpose… it…

---

## [Receive and send datas to the same port. Possible?](https://discourse.processing.org/t/receive-and-send-datas-to-the-same-port-possible/41064)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 2\
**Last updated:** [February 27, 2023, 9:09pm UTC](https://discourse.processing.org/t/receive-and-send-datas-to-the-same-port-possible/41064 "2023-02-27T21:09:05Z")

</div>

Hello ladies and gentlemen; I read and receive datas to and from twos differents serial usb ports. Is it possible to do this on the same serial port.? I tried but if i read data on the same serial.port, Processing tel…

---

## [How can i add a "Open with" function?](https://discourse.processing.org/t/how-can-i-add-a-open-with-function/41062)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 6\
**Last updated:** [February 27, 2023, 6:30pm UTC](https://discourse.processing.org/t/how-can-i-add-a-open-with-function/41062 "2023-02-27T18:30:37Z")

</div>

Is it possible to make with processing, that when i install a programm, there is a function like “open with app” dialog. so i could set in windows settings, that the processing app will be used to open images.

---

## [Process error column 4 dont exist](https://discourse.processing.org/t/process-error-column-4-dont-exist/41075)

<div class="topic-metadata">

**Author:** [@ctremblay](https://discourse.processing.org/u/ctremblay)\
**Replies:** 16\
**Last updated:** [February 27, 2023, 4:38pm UTC](https://discourse.processing.org/t/process-error-column-4-dont-exist/41075 "2023-02-27T16:38:19Z")

</div>

I’m coding a game and using tables. I have a bunch of lines of code that could easily be placed in a table to lessen the code, even though i’m sure everything is correct it keeps giving me an error. “Column 4 dont exist.…

---

## [Problem with running a simple sketch on Android](https://discourse.processing.org/t/problem-with-running-a-simple-sketch-on-android/40732)

<div class="topic-metadata">

**Author:** [@Glenton](https://discourse.processing.org/u/Glenton)\
**Replies:** 53\
**Last updated:** [February 27, 2023, 1:30am UTC](https://discourse.processing.org/t/problem-with-running-a-simple-sketch-on-android/40732 "2023-02-27T01:30:09Z")

</div>

Hello, For my vinyl jukebox project, which runs with processing, I would like to make an app to control the jukebox through wifi. This is the first time I try to make an program for Android. I installed successfully P…

---

## [FrameRate hiccups](https://discourse.processing.org/t/framerate-hiccups/11947)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 20\
**Last updated:** [February 26, 2023, 2:11pm UTC](https://discourse.processing.org/t/framerate-hiccups/11947 "2023-02-26T14:11:08Z")

</div>

I have experienced hiccups in my animations at the start of my animations and trying to understand why this happens. Is it Processing, Java or other? I have reduced it down to a simple example that displays frameRates b…

---

## [Showing my P5 sketch with a projector](https://discourse.processing.org/t/showing-my-p5-sketch-with-a-projector/40954)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 4\
**Last updated:** [February 26, 2023, 1:28pm UTC](https://discourse.processing.org/t/showing-my-p5-sketch-with-a-projector/40954 "2023-02-26T13:28:59Z")

</div>

Hey, I have a p5 project that is in a square format (800X800) I want to project it on a wall. How can I do that that it will be only shown the sketch? (without my browser tool Bar or something) Thanks :smile:

---

## [What is the future of Processing Python Mode?](https://discourse.processing.org/t/what-is-the-future-of-processing-python-mode/35009)

<div class="topic-metadata">

**Author:** [@javagar](https://discourse.processing.org/u/javagar)\
**Replies:** 23\
**Last updated:** [February 25, 2023, 11:21pm UTC](https://discourse.processing.org/t/what-is-the-future-of-processing-python-mode/35009 "2023-02-25T23:21:42Z")

</div>

What are the current plans for the future of Processing Python Mode or, alternatively, for a Python package based on the core ideas of Processing, such as p5py, but that is as easy to install as Python Mode? See: As w…

---

## [Demoscene: JavaScript is cool! (playground with source code embedded in this post. Just hit Play ▶️)](https://discourse.processing.org/t/demoscene-javascript-is-cool-playground-with-source-code-embedded-in-this-post-just-hit-play/41058)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 1\
**Last updated:** [February 25, 2023, 1:05pm UTC](https://discourse.processing.org/t/demoscene-javascript-is-cool-playground-with-source-code-embedded-in-this-post-just-hit-play/41058 "2023-02-25T13:05:37Z")

</div>

Who remembers the 90’s demoscene? After many, many years… I finally made a basic demo using JavaScript and http://codeguppy.com (a p5.js-based platform). What you see is not a video – but an actual JavaScript demo. …

---

## [Very weird stuff going on with colors and transparency with the P2D renderer](https://discourse.processing.org/t/very-weird-stuff-going-on-with-colors-and-transparency-with-the-p2d-renderer/40924)

<div class="topic-metadata">

**Author:** [@PianoMastR64](https://discourse.processing.org/u/PianoMastR64)\
**Replies:** 8\
**Last updated:** [February 24, 2023, 3:20pm UTC](https://discourse.processing.org/t/very-weird-stuff-going-on-with-colors-and-transparency-with-the-p2d-renderer/40924 "2023-02-24T15:20:16Z")

</div>

PGraphics pg; void setup() { size(800, 800, P2D); pg = createGraphics(width, height, P2D); pg.beginDraw(); pg.noStroke(); pg.clear(); pg.fill(255, 127); pg.rect(0, 0, 195, height); printColor(pg.get…

---

## [Discord RPC integration](https://discourse.processing.org/t/discord-rpc-integration/18804)

<div class="topic-metadata">

**Author:** [@Ectalite](https://discourse.processing.org/u/Ectalite)\
**Replies:** 9\
**Last updated:** [February 23, 2023, 11:31am UTC](https://discourse.processing.org/t/discord-rpc-integration/18804 "2023-02-23T11:31:14Z")

</div>

Hello, I saw an issue on github recently that was about discord rpc Link here, but nothing were down since september 2019. One of processing contributor ( jeremydouglass ) redirected me to this forum. So I’m asking her…

---

## [How to make the computer think Processing is a camera (video capture device)?](https://discourse.processing.org/t/how-to-make-the-computer-think-processing-is-a-camera-video-capture-device/27696)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 11\
**Last updated:** [February 24, 2023, 1:49pm UTC](https://discourse.processing.org/t/how-to-make-the-computer-think-processing-is-a-camera-video-capture-device/27696 "2023-02-24T13:49:01Z")

</div>

I have heard of spout & syphon but I have no idea on how to get started. In these pandemic, videoconferencing, times, it could be fun to feed a sketch instead of me. I suppose one could do it with OBS too? I’m on Linu…

---

## [Get elements in JSONObject](https://discourse.processing.org/t/get-elements-in-jsonobject/41048)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 3\
**Last updated:** [February 24, 2023, 1:14pm UTC](https://discourse.processing.org/t/get-elements-in-jsonobject/41048 "2023-02-24T13:14:41Z")

</div>

I try to go in JSONObject but I don’t find a solution to go inside, except if I use knew key. But my purpose is going to the object to grad all informations from it, I don’t know the information in advance. I see the JS…

---

## [Sketch runs slow in P5.js WEBGL, (SOLVED by using P5.Geometry)](https://discourse.processing.org/t/sketch-runs-slow-in-p5-js-webgl-solved-by-using-p5-geometry/31990)

<div class="topic-metadata">

**Author:** [@J\_Silva](https://discourse.processing.org/u/J_Silva)\
**Replies:** 22\
**Last updated:** [February 23, 2023, 11:56pm UTC](https://discourse.processing.org/t/sketch-runs-slow-in-p5-js-webgl-solved-by-using-p5-geometry/31990 "2023-02-23T23:56:02Z")

</div>

Hi. I am translating a sketch from P5.java to P5.js. In java, it runs nice and smooth at a frameRate near 60. In p5.js the frameRate drops to around 4 f/s and a lot of details are missing. How can I improve this, or is…

---

## [Help with code with images](https://discourse.processing.org/t/help-with-code-with-images/40917)

<div class="topic-metadata">

**Author:** [@ajaynischal98](https://discourse.processing.org/u/ajaynischal98)\
**Replies:** 3\
**Last updated:** [February 23, 2023, 6:22pm UTC](https://discourse.processing.org/t/help-with-code-with-images/40917 "2023-02-23T18:22:57Z")

</div>

ArrayList\<PImage\> images; int lastImageIndex = -1; int nextImageIndex = 0; float alphaValue = 0; float alphaShift = 0.004; // adjust speed, smaller = slower //Parabolic Zoom void setup() { fullScreen(P2…

---

## [Short guide about sending data from iframe embeded p5 sketches to a host webpage](https://discourse.processing.org/t/short-guide-about-sending-data-from-iframe-embeded-p5-sketches-to-a-host-webpage/41029)

<div class="topic-metadata">

**Author:** [@guidoschmidt](https://discourse.processing.org/u/guidoschmidt)\
**Replies:** 0\
**Last updated:** [February 23, 2023, 4:46pm UTC](https://discourse.processing.org/t/short-guide-about-sending-data-from-iframe-embeded-p5-sketches-to-a-host-webpage/41029 "2023-02-23T16:46:03Z")

</div>

Hey everyone :v: just wanted to share this short blog post I recently wrote about sending data from p5 sketches embeded via \<iframe/\> on a host web page. Initially I stumbled upon this, when a student asked me for help …

---

## [Mapping a video texture on PShape](https://discourse.processing.org/t/mapping-a-video-texture-on-pshape/41014)

<div class="topic-metadata">

**Author:** [@animalfrommars](https://discourse.processing.org/u/animalfrommars)\
**Replies:** 4\
**Last updated:** [February 23, 2023, 4:35pm UTC](https://discourse.processing.org/t/mapping-a-video-texture-on-pshape/41014 "2023-02-23T16:35:13Z")

</div>

Hello, I’m trying to map a video image from a webcam on a PShape. It seems that colors are changing but the video image don’t appear… See my code below. Thank you for your help. import processing.video.\*; import pro…

---

## [Image() flickers when changing sketch size with windowResize()](https://discourse.processing.org/t/image-flickers-when-changing-sketch-size-with-windowresize/38952)

<div class="topic-metadata">

**Author:** [@sableraph](https://discourse.processing.org/u/sableraph)\
**Replies:** 4\
**Last updated:** [February 23, 2023, 3:44pm UTC](https://discourse.processing.org/t/image-flickers-when-changing-sketch-size-with-windowresize/38952 "2023-02-23T15:44:18Z")

</div>

Context: I’m trying to make a demo sketch for the new window methods in Processing 4.0 (which replace the old surface methods). I’m running in an issue where the image flickers at larger sizes.This happens even if I art…

---

## [D3 Delaunay for Processing](https://discourse.processing.org/t/d3-delaunay-for-processing/40261)

<div class="topic-metadata">

**Author:** [@JohnC](https://discourse.processing.org/u/JohnC)\
**Replies:** 2\
**Last updated:** [February 23, 2023, 1:31pm UTC](https://discourse.processing.org/t/d3-delaunay-for-processing/40261 "2023-02-23T13:31:16Z")

</div>

I ported the javascript d3 Delaunay library to java for a project. Just wanna share it here in case anyone need it. it can be found on https://real-john-cheung.github.io/d3-delaunay-for-processing/ (just ignore the plai…

---

## [Cannot read properties of undefined (reading 'copy')](https://discourse.processing.org/t/cannot-read-properties-of-undefined-reading-copy/41019)

<div class="topic-metadata">

**Author:** [@bdooley](https://discourse.processing.org/u/bdooley)\
**Replies:** 1\
**Last updated:** [February 23, 2023, 11:13am UTC](https://discourse.processing.org/t/cannot-read-properties-of-undefined-reading-copy/41019 "2023-02-23T11:13:25Z")

</div>

Hi, I am working on a sketch with rectangles and circles slowly falling to the bottom of the screen at random angles, colliding with each other and the ground and walls. https://editor.p5js.org/bdooley7/sketches/RBeFV1…

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

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