# Latest

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

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

**Page:** 72

---

## [First-person camera (3D)](https://discourse.processing.org/t/first-person-camera-3d/42082)

<div class="topic-metadata">

**Author:** [@09husky](https://discourse.processing.org/u/09husky)\
**Replies:** 3\
**Last updated:** [May 27, 2023, 12:08am UTC](https://discourse.processing.org/t/first-person-camera-3d/42082 "2023-05-27T00:08:28Z")

</div>

My first-person camera code is having the following problems: changing the \[starting\] position of the camera makes the reference sphere disappear, replaced by a white screen; when playing around with the commented-out “b…

---

## [Moving shape with rotate](https://discourse.processing.org/t/moving-shape-with-rotate/42071)

<div class="topic-metadata">

**Author:** [@Janoer](https://discourse.processing.org/u/Janoer)\
**Replies:** 10\
**Last updated:** [May 27, 2023, 12:01am UTC](https://discourse.processing.org/t/moving-shape-with-rotate/42071 "2023-05-27T00:01:06Z")

</div>

hello, I’m new at this. can a rotating shape be moved with mouseX and mouseY?

---

## [Climate temperature and rain API](https://discourse.processing.org/t/climate-temperature-and-rain-api/42026)

<div class="topic-metadata">

**Author:** [@isabela](https://discourse.processing.org/u/isabela)\
**Replies:** 5\
**Last updated:** [May 26, 2023, 5:25pm UTC](https://discourse.processing.org/t/climate-temperature-and-rain-api/42026 "2023-05-26T17:25:29Z")

</div>

Hello! I am looking for a simple API for weather forecasts, any suggestions? (also, I am a beginner!) Thanks, Isabela

---

## [Error moving object (using quad())](https://discourse.processing.org/t/error-moving-object-using-quad/42067)

<div class="topic-metadata">

**Author:** [@kenkt](https://discourse.processing.org/u/kenkt)\
**Replies:** 15\
**Last updated:** [May 26, 2023, 2:42pm UTC](https://discourse.processing.org/t/error-moving-object-using-quad/42067 "2023-05-26T14:42:39Z")

</div>

I want this object moving by mouse x and mouse y, but this code error. anybody, can help me? That’s my code: void setup() { size (700,700); } void draw() { background(255); quad(mouseX+1,mouseY-5,mouseX+75,mouseY+…

---

## [Why I get \`undefined\` when I console.log \`image(img, x, y)\` but get a p5 object when i console.log \`text(text, x, y)\`?](https://discourse.processing.org/t/why-i-get-undefined-when-i-console-log-image-img-x-y-but-get-a-p5-object-when-i-console-log-text-text-x-y/42073)

<div class="topic-metadata">

**Author:** [@WaningJupiter](https://discourse.processing.org/u/WaningJupiter)\
**Replies:** 3\
**Last updated:** [May 26, 2023, 1:25pm UTC](https://discourse.processing.org/t/why-i-get-undefined-when-i-console-log-image-img-x-y-but-get-a-p5-object-when-i-console-log-text-text-x-y/42073 "2023-05-26T13:25:35Z")

</div>

Hello community, my question is described in the title let img; function preload(){ img = loadImage('https://placehold.co/600x400'); } function setup() { createCanvas(600, 400); background(220); let word = t…

---

## [Adding background when outputting PDF in Processing 4 JAVA](https://discourse.processing.org/t/adding-background-when-outputting-pdf-in-processing-4-java/42063)

<div class="topic-metadata">

**Author:** [@cans](https://discourse.processing.org/u/cans)\
**Replies:** 1\
**Last updated:** [May 25, 2023, 1:31am UTC](https://discourse.processing.org/t/adding-background-when-outputting-pdf-in-processing-4-java/42063 "2023-05-25T01:31:08Z")

</div>

With Processing 4, I can save my data in PDF format. But it doesn’t happen when I try to add an image behind the PDF output. I have to use beginRecord() function because I need to record data continuously. public void s…

---

## [P5.js Simple Timeline](https://discourse.processing.org/t/p5-js-simple-timeline/23212)

<div class="topic-metadata">

**Author:** [@Felipe](https://discourse.processing.org/u/Felipe)\
**Replies:** 1\
**Last updated:** [May 25, 2023, 2:41am UTC](https://discourse.processing.org/t/p5-js-simple-timeline/23212 "2023-05-25T02:41:06Z")

</div>

Hello Guys, I’m trying to develop an application using p5 and i need a timeline similar to the timeline of the adobe premiere/ video editing software, but more basic in many (one track for video and another for keyframe…

---

## [Which instance actually executes beginDraw() and endDraw()?](https://discourse.processing.org/t/which-instance-actually-executes-begindraw-and-enddraw/42057)

<div class="topic-metadata">

**Author:** [@vjwada](https://discourse.processing.org/u/vjwada)\
**Replies:** 4\
**Last updated:** [May 24, 2023, 9:57am UTC](https://discourse.processing.org/t/which-instance-actually-executes-begindraw-and-enddraw/42057 "2023-05-24T09:57:56Z")

</div>

I want to have two PGraphics instances and create an image for each separately. I wanted to prevent the creation of two different images due to changes in the argument contents during a long draw() execution, so I appli…

---

## [How to keep audio running when screen is locked](https://discourse.processing.org/t/how-to-keep-audio-running-when-screen-is-locked/42051)

<div class="topic-metadata">

**Author:** [@mahatGma](https://discourse.processing.org/u/mahatGma)\
**Replies:** 1\
**Last updated:** [May 24, 2023, 2:35am UTC](https://discourse.processing.org/t/how-to-keep-audio-running-when-screen-is-locked/42051 "2023-05-24T02:35:10Z")

</div>

when the p5.js project runs on a mobile device and the screen dims, audio stops. how can we solve this problem? Is the answer using WakeLock and keep the screen awake? Or is there any other workaround to keep audio run…

---

## [Blank PDF output for one particular sketch - checking before submitting a bug report](https://discourse.processing.org/t/blank-pdf-output-for-one-particular-sketch-checking-before-submitting-a-bug-report/42053)

<div class="topic-metadata">

**Author:** [@andrewcooke](https://discourse.processing.org/u/andrewcooke)\
**Replies:** 7\
**Last updated:** [May 23, 2023, 11:45pm UTC](https://discourse.processing.org/t/blank-pdf-output-for-one-particular-sketch-checking-before-submitting-a-bug-report/42053 "2023-05-23T23:45:14Z")

</div>

Hi, I’ve only been using processing (v4) for a short time, but am having a lot of fun generating various images. These are all based on a similar structure (I tend to develop the code incrementally, saving each step as…

---

## [Neurodiverse curriculum](https://discourse.processing.org/t/neurodiverse-curriculum/42032)

<div class="topic-metadata">

**Author:** [@mcintyre](https://discourse.processing.org/u/mcintyre)\
**Replies:** 2\
**Last updated:** [May 23, 2023, 2:08pm UTC](https://discourse.processing.org/t/neurodiverse-curriculum/42032 "2023-05-23T14:08:37Z")

</div>

Hello! A friend just asked me about coding programs for children with autism. We don’t offer one locally (small town Texas) so I’m doing a little research to see what’s out there. Does anybody know of a coding curriculu…

---

## [Projection Mapping](https://discourse.processing.org/t/projection-mapping/41910)

<div class="topic-metadata">

**Author:** [@Christian](https://discourse.processing.org/u/Christian)\
**Replies:** 5\
**Last updated:** [May 23, 2023, 8:57am UTC](https://discourse.processing.org/t/projection-mapping/41910 "2023-05-23T08:57:00Z")

</div>

Hello! I was wondering if any of you know a good way to do projection mapping with my Processing sketch. Many years ago I have used the Syphon library in combination with MadMapper, but if possible I would like to use a…

---

## [Linking classes between files outside of p5js web editor](https://discourse.processing.org/t/linking-classes-between-files-outside-of-p5js-web-editor/42048)

<div class="topic-metadata">

**Author:** [@hifilo](https://discourse.processing.org/u/hifilo)\
**Replies:** 4\
**Last updated:** [May 22, 2023, 6:21pm UTC](https://discourse.processing.org/t/linking-classes-between-files-outside-of-p5js-web-editor/42048 "2023-05-22T18:21:57Z")

</div>

Hello, in the p5js web editor I noticed you can separate classes with files, by linking the class.js inside index.html. Is this specific to the p5js web editor or can I link classes the same way in another IDE?

---

## [Is there gonna be a Vulkan Library sometimes?](https://discourse.processing.org/t/is-there-gonna-be-a-vulkan-library-sometimes/42035)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 1\
**Last updated:** [May 22, 2023, 9:54am UTC](https://discourse.processing.org/t/is-there-gonna-be-a-vulkan-library-sometimes/42035 "2023-05-22T09:54:18Z")

</div>

Im just wondering if Processing will eventually support Vulkan for rendering, with Pgraphics for vulkan and everything.

---

## [Introducing the p5.cljs web editor!](https://discourse.processing.org/t/introducing-the-p5-cljs-web-editor/42040)

<div class="topic-metadata">

**Author:** [@samtsao](https://discourse.processing.org/u/samtsao)\
**Replies:** 2\
**Last updated:** [May 22, 2023, 7:12am UTC](https://discourse.processing.org/t/introducing-the-p5-cljs-web-editor/42040 "2023-05-22T07:12:07Z")

</div>

Hi everyone! I’m not sure if this belongs to the gallery topic or here, but since it’s more related to p5js, I’m posting it here. In the past few days, inspired by the wonderful p5 web editor and my experience with Cloj…

---

## [\[JAVA\] CRC16 calculation is not working properly](https://discourse.processing.org/t/java-crc16-calculation-is-not-working-properly/42036)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [May 20, 2023, 10:54am UTC](https://discourse.processing.org/t/java-crc16-calculation-is-not-working-properly/42036 "2023-05-20T10:54:21Z")

</div>

\[JAVA\] CRC16 calculation is not working properly. ref-url link-1 : Modbus CRC16 ref-url link-2 : 내 보조 기억 장치!: Java CRC16 Modbus CRC16Utils crcs; CRC16 crc16s; void setup(){ byte\[\] b = {0x7E, 0x01, 0x07}; int\[…

---

## [I have a project where I have to make an interactive graphics program](https://discourse.processing.org/t/i-have-a-project-where-i-have-to-make-an-interactive-graphics-program/42011)

<div class="topic-metadata">

**Author:** [@Deezer242](https://discourse.processing.org/u/Deezer242)\
**Replies:** 6\
**Last updated:** [May 19, 2023, 10:18am UTC](https://discourse.processing.org/t/i-have-a-project-where-i-have-to-make-an-interactive-graphics-program/42011 "2023-05-19T10:18:57Z")

</div>

I am trying to create shapes that can be placed with key binds and then saved in an ArrayList. The hardest thing I’m having trouble with right now is how to edit the shapes’ size and location after I have placed them. I …

---

## [Unsatisfied Link Error with OpenKinect on macOS Ventura](https://discourse.processing.org/t/unsatisfied-link-error-with-openkinect-on-macos-ventura/39896)

<div class="topic-metadata">

**Author:** [@clauscarnival](https://discourse.processing.org/u/clauscarnival)\
**Replies:** 2\
**Last updated:** [May 19, 2023, 12:12pm UTC](https://discourse.processing.org/t/unsatisfied-link-error-with-openkinect-on-macos-ventura/39896 "2023-05-19T12:12:57Z")

</div>

Hello all, I tried loading my Kinect project after updating to macOS Ventura and now I get this error message: UnsatisfiedLinkError: Can’t load library: /Users/lucas/Documents/Processing2/libraries/openkinect\_processin…

---

## [I am trying to make a program/app and while it works perfectly fine on desktop/laptop it wont work on Android](https://discourse.processing.org/t/i-am-trying-to-make-a-program-app-and-while-it-works-perfectly-fine-on-desktop-laptop-it-wont-work-on-android/41914)

<div class="topic-metadata">

**Author:** [@JerboaWings](https://discourse.processing.org/u/JerboaWings)\
**Replies:** 3\
**Last updated:** [May 19, 2023, 7:41am UTC](https://discourse.processing.org/t/i-am-trying-to-make-a-program-app-and-while-it-works-perfectly-fine-on-desktop-laptop-it-wont-work-on-android/41914 "2023-05-19T07:41:59Z")

</div>

I am trying to make a program/app and while it works perfectly fine on desktop/laptop it wont work on android. When I try to compile it for android in debug mode it gives a few lines of code that are causing problems li…

---

## [Fullscreen on a 2nd Monitor fails in macOS (P3D Renderer)](https://discourse.processing.org/t/fullscreen-on-a-2nd-monitor-fails-in-macos-p3d-renderer/41930)

<div class="topic-metadata">

**Author:** [@robotandproud](https://discourse.processing.org/u/robotandproud)\
**Replies:** 1\
**Last updated:** [May 18, 2023, 12:51am UTC](https://discourse.processing.org/t/fullscreen-on-a-2nd-monitor-fails-in-macos-p3d-renderer/41930 "2023-05-18T00:51:25Z")

</div>

I’m attempting to run the following example which is based on the Processing Reference to run a sketch in fullscreen mode on a 2nd monitor. It works fine with the default renderer, however when I changed the fullScreen()…

---

## [JavaScript coding course / curriculum feedback](https://discourse.processing.org/t/javascript-coding-course-curriculum-feedback/41981)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 4\
**Last updated:** [May 17, 2023, 8:20am UTC](https://discourse.processing.org/t/javascript-coding-course-curriculum-feedback/41981 "2023-05-17T08:20:33Z")

</div>

Dear coding educators / teachers, I started working on a new illustrated coding course/curriculum for JavaScript (slide deck style). I’m about 30% into the project … and would like your feedback. :point\_right: Please …

---

## [Contributions-\>Tools-\>Add Tool](https://discourse.processing.org/t/contributions-tools-add-tool/42008)

<div class="topic-metadata">

**Author:** [@ORR](https://discourse.processing.org/u/ORR)\
**Replies:** 5\
**Last updated:** [May 16, 2023, 8:32pm UTC](https://discourse.processing.org/t/contributions-tools-add-tool/42008 "2023-05-16T20:32:45Z")

</div>

Hello, I am using Processing 4.2 in Windows10. I am interested in adding the “JavaDoc” tool. The processing Documentations Tools page mentions to execute the “Add Tools …” from the Tools menu but there isn’t an “Add Too…

---

## [Problema con mouse clicked en arrays](https://discourse.processing.org/t/problema-con-mouse-clicked-en-arrays/40808)

<div class="topic-metadata">

**Author:** [@andprocessing](https://discourse.processing.org/u/andprocessing)\
**Replies:** 1\
**Last updated:** [May 16, 2023, 2:40pm UTC](https://discourse.processing.org/t/problema-con-mouse-clicked-en-arrays/40808 "2023-05-16T14:40:59Z")

</div>

Hola! Tengo que hacer un trabajo para clase, que básicamente consiste en hacer un juego, que en mi caso trata sobre encontrar a un lobo en un rebaño de ovejas. Al hacer click en el lobo, se pasa a la siguiente pantalla, …

---

## [P5.js with ESP8266 WiFi](https://discourse.processing.org/t/p5-js-with-esp8266-wifi/41889)

<div class="topic-metadata">

**Author:** [@camperos](https://discourse.processing.org/u/camperos)\
**Replies:** 12\
**Last updated:** [May 16, 2023, 1:23pm UTC](https://discourse.processing.org/t/p5-js-with-esp8266-wifi/41889 "2023-05-16T13:23:15Z")

</div>

hello, after years I return to the pc and I’m still dazzled by processing. I wanted to ask if this single schetch for esp8266 where a p5.js sketch is included is a good system and if it can be improved, I searched the n…

---

## [Sampling a pseudo rotation into a perfect rotation. It works! (but not from everywhere)](https://discourse.processing.org/t/sampling-a-pseudo-rotation-into-a-perfect-rotation-it-works-but-not-from-everywhere/42013)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 0\
**Last updated:** [May 16, 2023, 9:55am UTC](https://discourse.processing.org/t/sampling-a-pseudo-rotation-into-a-perfect-rotation-it-works-but-not-from-everywhere/42013 "2023-05-16T09:55:38Z")

</div>

Hi everyones :wink: This code allows you to record mouse as a movement of rotation and play it back using interpolation to smooth the movement between recorded samples. Morever, If your circle pass through the first po…

---

## [Help - Sensor data not appearing in Live Wallpaper](https://discourse.processing.org/t/help-sensor-data-not-appearing-in-live-wallpaper/41986)

<div class="topic-metadata">

**Author:** [@juanmar0driguez](https://discourse.processing.org/u/juanmar0driguez)\
**Replies:** 2\
**Last updated:** [May 16, 2023, 11:41am UTC](https://discourse.processing.org/t/help-sensor-data-not-appearing-in-live-wallpaper/41986 "2023-05-16T11:41:35Z")

</div>

Hello, first post here. I’m trying to make a Live Wallpaper with a tilt motion, using the accelerometer of my phone. I got the preview and the app working, but it seems like the Live Wallpaper is not capable of retrievi…

---

## [If you want to modify the font of the 'Gracia' library graph](https://discourse.processing.org/t/if-you-want-to-modify-the-font-of-the-gracia-library-graph/42012)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [May 16, 2023, 8:53am UTC](https://discourse.processing.org/t/if-you-want-to-modify-the-font-of-the-gracia-library-graph/42012 "2023-05-16T08:53:44Z")

</div>

If you want to modify the font of the ‘Gracia’ library graph hello. Nice to meet you. Reference link 1: https://jagracar.com/ Reference link 2: GitHub - jagracar/jagracar.com: My personal web Check out the source c…

---

## [Function changes an array it shouldn't interact with at all](https://discourse.processing.org/t/function-changes-an-array-it-shouldnt-interact-with-at-all/42004)

<div class="topic-metadata">

**Author:** [@Lednev](https://discourse.processing.org/u/Lednev)\
**Replies:** 9\
**Last updated:** [May 16, 2023, 1:17am UTC](https://discourse.processing.org/t/function-changes-an-array-it-shouldnt-interact-with-at-all/42004 "2023-05-16T01:17:50Z")

</div>

With th line marked with many “#” active i get this: With it inactive i get this: This line and the line above it changes the p1 array somehow, even though it shouln’t, as far as i understand. What am i missing…

---

## [How can i create Brushes for drawing?](https://discourse.processing.org/t/how-can-i-create-brushes-for-drawing/41990)

<div class="topic-metadata">

**Author:** [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Replies:** 6\
**Last updated:** [May 15, 2023, 7:48pm UTC](https://discourse.processing.org/t/how-can-i-create-brushes-for-drawing/41990 "2023-05-15T19:48:21Z")

</div>

I want to make brushes for my drawing software, i have code, but its kinda bad and not working correctly. The problem is if i put down a image of the brush every frame, it will not work when moving the mouse fast. I tri…

---

## [Controlling the drawing flow of Processing](https://discourse.processing.org/t/controlling-the-drawing-flow-of-processing/41979)

<div class="topic-metadata">

**Author:** [@DavidGR74](https://discourse.processing.org/u/DavidGR74)\
**Replies:** 6\
**Last updated:** [May 15, 2023, 7:16pm UTC](https://discourse.processing.org/t/controlling-the-drawing-flow-of-processing/41979 "2023-05-15T19:16:04Z")

</div>

Hello, this is my first message here. I’ve been developing for 3 years a library called JMathAnim to create mathematical animations, as an alternative to the Python manim library. So far it uses JavaFX as a renderer, bu…

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

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