# Latest

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

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

**Page:** 116

---

## [Reproducing JPG image from script to make it editable](https://discourse.processing.org/t/reproducing-jpg-image-from-script-to-make-it-editable/38760)

<div class="topic-metadata">

**Author:** [@techmouse](https://discourse.processing.org/u/techmouse)\
**Replies:** 10\
**Last updated:** [September 16, 2022, 7:29am UTC](https://discourse.processing.org/t/reproducing-jpg-image-from-script-to-make-it-editable/38760 "2022-09-16T07:29:02Z")

</div>

Hi, I want to ask, is there a script I could use to recreate an image I have and convert to a suitable format where I can make modifications to the image ?

---

## [How to load JSON multidimensional arrays and set them in a table](https://discourse.processing.org/t/how-to-load-json-multidimensional-arrays-and-set-them-in-a-table/38797)

<div class="topic-metadata">

**Author:** [@codeconfuser](https://discourse.processing.org/u/codeconfuser)\
**Replies:** 1\
**Last updated:** [September 16, 2022, 7:26am UTC](https://discourse.processing.org/t/how-to-load-json-multidimensional-arrays-and-set-them-in-a-table/38797 "2022-09-16T07:26:25Z")

</div>

Hi, I’m trying to get data from a JSON array that is outputted from a sensor, but I’m struggling to parse the data into easy columns and rows. this is a sample of the data output \[\[1643935200000,1\],\[1643941200000,1\],\[…

---

## [Array problem with SLIDER VALUE through for loop](https://discourse.processing.org/t/array-problem-with-slider-value-through-for-loop/38753)

<div class="topic-metadata">

**Author:** [@wasif9098](https://discourse.processing.org/u/wasif9098)\
**Replies:** 12\
**Last updated:** [September 16, 2022, 6:08am UTC](https://discourse.processing.org/t/array-problem-with-slider-value-through-for-loop/38753 "2022-09-16T06:08:22Z")

</div>

I’m new to JS and p5. I was trying to make a slider which controls the number of objects through array and for loop. But I’m facing two problems. Problem 1. If the slider value is above 49, it gives this error “Cannot…

---

## [Begginer here, trying to reduce code with a for loop iteration](https://discourse.processing.org/t/begginer-here-trying-to-reduce-code-with-a-for-loop-iteration/38763)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 6\
**Last updated:** [September 16, 2022, 5:49am UTC](https://discourse.processing.org/t/begginer-here-trying-to-reduce-code-with-a-for-loop-iteration/38763 "2022-09-16T05:49:00Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I used for loop for simple things before… but now I have to do some addition in every increment. My brain froze… I am drowning in code… Is t…

---

## [Line width looks thinner with p5 vs canvas api](https://discourse.processing.org/t/line-width-looks-thinner-with-p5-vs-canvas-api/38764)

<div class="topic-metadata">

**Author:** [@glenderr](https://discourse.processing.org/u/glenderr)\
**Replies:** 2\
**Last updated:** [September 15, 2022, 9:08pm UTC](https://discourse.processing.org/t/line-width-looks-thinner-with-p5-vs-canvas-api/38764 "2022-09-15T21:08:12Z")

</div>

I remade an old project that used p5 to do the drawing, and verified that my canvas api drawing functions are no different than p5’s after reading the source. What I’m noticing are that the line widths look slightly thin…

---

## [Can't run exported application on Windows](https://discourse.processing.org/t/cant-run-exported-application-on-windows/38777)

<div class="topic-metadata">

**Author:** [@Eastern](https://discourse.processing.org/u/Eastern)\
**Replies:** 4\
**Last updated:** [September 15, 2022, 7:38pm UTC](https://discourse.processing.org/t/cant-run-exported-application-on-windows/38777 "2022-09-15T19:38:06Z")

</div>

I’m currently using Processing 4.0.1 (Apple silicon version). It always shows “This application requires a Java Runtime Environment 17” when I try to open the exported application on Windows. Even after I download from h…

---

## [Has PGraphics been renamed?](https://discourse.processing.org/t/has-pgraphics-been-renamed/36385)

<div class="topic-metadata">

**Author:** [@SNitaine](https://discourse.processing.org/u/SNitaine)\
**Replies:** 4\
**Last updated:** [September 7, 2022, 5:26pm UTC](https://discourse.processing.org/t/has-pgraphics-been-renamed/36385 "2022-09-07T17:26:37Z")

</div>

I can’t find any reference to createGraphics() or PGraphics in the p5py documentation. Has it been renamed?

---

## [Has anyone got P5 to work with Spout?](https://discourse.processing.org/t/has-anyone-got-p5-to-work-with-spout/38670)

<div class="topic-metadata">

**Author:** [@DusX](https://discourse.processing.org/u/DusX)\
**Replies:** 3\
**Last updated:** [September 15, 2022, 4:26pm UTC](https://discourse.processing.org/t/has-anyone-got-p5-to-work-with-spout/38670 "2022-09-15T16:26:20Z")

</div>

I am interested in outputting the video created with P5 via Spout. see: GitHub - jlai/Python-SpoutGL: Python wrapper for SpoutGL I have this working with Pygame, but I would rather use P5 Any help greatly appreciated. …

---

## [Place a circle on the surface of a sphere](https://discourse.processing.org/t/place-a-circle-on-the-surface-of-a-sphere/38770)

<div class="topic-metadata">

**Author:** [@rickard](https://discourse.processing.org/u/rickard)\
**Replies:** 6\
**Last updated:** [September 15, 2022, 11:36am UTC](https://discourse.processing.org/t/place-a-circle-on-the-surface-of-a-sphere/38770 "2022-09-15T11:36:05Z")

</div>

Hi, I’m trying to place a circle on the surface of a sphere. I’ve already have the coordinates but i’m struggling a bit with the rotation (see screenshots). I’ve tried using the theta and phi values used when creating …

---

## [The operator \> is undefined for the argument - HOW TO RESOLVE ERROR (OOP)](https://discourse.processing.org/t/the-operator-is-undefined-for-the-argument-how-to-resolve-error-oop/38705)

<div class="topic-metadata">

**Author:** [@sosophia10](https://discourse.processing.org/u/sosophia10)\
**Replies:** 4\
**Last updated:** [September 13, 2022, 7:01pm UTC](https://discourse.processing.org/t/the-operator-is-undefined-for-the-argument-how-to-resolve-error-oop/38705 "2022-09-13T19:01:29Z")

</div>

Why is this error occuring and what can I do to solve it? The operator \> is undefined for the argument type(s) int Main.Cards is indicated where cardX, cardY, cardH, and cardW are being called in mousePressed(); and…

---

## [How can I save an OSC message inside a variable?](https://discourse.processing.org/t/how-can-i-save-an-osc-message-inside-a-variable/38723)

<div class="topic-metadata">

**Author:** [@JoeHut](https://discourse.processing.org/u/JoeHut)\
**Replies:** 1\
**Last updated:** [September 15, 2022, 4:31am UTC](https://discourse.processing.org/t/how-can-i-save-an-osc-message-inside-a-variable/38723 "2022-09-15T04:31:04Z")

</div>

Hi everyone! I’m quite new to processing, so please forgive me if there are any obvious/dumb mistakes here. I’m working on a sketch where I’m trying to have the webcam read a QR code via BoofCV and have oscP5 deliver t…

---

## [Mix video with static images added later to canvas](https://discourse.processing.org/t/mix-video-with-static-images-added-later-to-canvas/38743)

<div class="topic-metadata">

**Author:** [@slgdev](https://discourse.processing.org/u/slgdev)\
**Replies:** 2\
**Last updated:** [September 15, 2022, 12:35am UTC](https://discourse.processing.org/t/mix-video-with-static-images-added-later-to-canvas/38743 "2022-09-15T00:35:14Z")

</div>

Dear Community, since many years im a designer and webdev and just came across p5.js - It blows my mind, there are so much things i can imagine :slight\_smile: Please have a look here: https://editor.p5js.org/slgdev/sk…

---

## [Help with adding autocomplete to a sketch](https://discourse.processing.org/t/help-with-adding-autocomplete-to-a-sketch/38440)

<div class="topic-metadata">

**Author:** [@zara2355](https://discourse.processing.org/u/zara2355)\
**Replies:** 13\
**Last updated:** [September 14, 2022, 1:24pm UTC](https://discourse.processing.org/t/help-with-adding-autocomplete-to-a-sketch/38440 "2022-09-14T13:24:03Z")

</div>

Hi all- Im hoping someone might be able to help point me in the right direction. Im creating a sketch that acts as an interactive inventory map for the shop that i work in. For example, when a person types in a search t…

---

## [Sketch download from web editor zip file corrupt CRC error](https://discourse.processing.org/t/sketch-download-from-web-editor-zip-file-corrupt-crc-error/38366)

<div class="topic-metadata">

**Author:** [@PJR123](https://discourse.processing.org/u/PJR123)\
**Replies:** 2\
**Last updated:** [September 14, 2022, 3:15pm UTC](https://discourse.processing.org/t/sketch-download-from-web-editor-zip-file-corrupt-crc-error/38366 "2022-09-14T15:15:05Z")

</div>

I am trying to download a zip file of my sketch I created with the online web editor, but the zip file which I get back seems to be corrupt as I can’t open the zip file and uncompressed the files (CRC error reported). T…

---

## [Convert p5.js to Processing](https://discourse.processing.org/t/convert-p5-js-to-processing/944)

<div class="topic-metadata">

**Author:** [@codingking03](https://discourse.processing.org/u/codingking03)\
**Replies:** 8\
**Last updated:** [September 14, 2022, 3:38pm UTC](https://discourse.processing.org/t/convert-p5-js-to-processing/944 "2022-09-14T15:38:44Z")

</div>

Is there any easy way to convert p5.js code to processing (java)?

---

## [Projection in Processing](https://discourse.processing.org/t/projection-in-processing/38741)

<div class="topic-metadata">

**Author:** [@xfred53](https://discourse.processing.org/u/xfred53)\
**Replies:** 1\
**Last updated:** [September 14, 2022, 3:34pm UTC](https://discourse.processing.org/t/projection-in-processing/38741 "2022-09-14T15:34:11Z")

</div>

Hi, Using P3D, I’m looking for a way to draw projections of a shape on a plane. Are there some libraries that could help me ? Thanks.

---

## [Trying to get a spam-flagged post un-spam-flagged, who to contact?](https://discourse.processing.org/t/trying-to-get-a-spam-flagged-post-un-spam-flagged-who-to-contact/38754)

<div class="topic-metadata">

**Author:** [@blippr](https://discourse.processing.org/u/blippr)\
**Replies:** 1\
**Last updated:** [September 14, 2022, 1:06pm UTC](https://discourse.processing.org/t/trying-to-get-a-spam-flagged-post-un-spam-flagged-who-to-contact/38754 "2022-09-14T13:06:23Z")

</div>

My post was taken down, obviously by mistake. But it does not come online again and I can not contact any admins over PM, it seems that I am not allowed. Please help me out so I can get starting posting :slight\_smile:

---

## [Easing equations with 'Influence' and 'In-/Outgoing Velocity' like in Adobe After Effects](https://discourse.processing.org/t/easing-equations-with-influence-and-in-outgoing-velocity-like-in-adobe-after-effects/38687)

<div class="topic-metadata">

**Author:** [@Namrad](https://discourse.processing.org/u/Namrad)\
**Replies:** 3\
**Last updated:** [September 14, 2022, 1:00pm UTC](https://discourse.processing.org/t/easing-equations-with-influence-and-in-outgoing-velocity-like-in-adobe-after-effects/38687 "2022-09-14T13:00:15Z")

</div>

Hello, I want to synchronise the easing of something I coded to something I made in After Effects as exactly as possible. In After Effects, when animating something you can more precisely control the motion of that ani…

---

## [Is there a way to pass a PNG image with the PImage.set() command?](https://discourse.processing.org/t/is-there-a-way-to-pass-a-png-image-with-the-pimage-set-command/38731)

<div class="topic-metadata">

**Author:** [@michele\_rinaldi](https://discourse.processing.org/u/michele_rinaldi)\
**Replies:** 5\
**Last updated:** [September 14, 2022, 12:16am UTC](https://discourse.processing.org/t/is-there-a-way-to-pass-a-png-image-with-the-pimage-set-command/38731 "2022-09-14T00:16:28Z")

</div>

I need to copy a PNG image to a JPG image. Using the command: pimg.set (x, y, img); I paste the image not as a PNG but as a JPG, thus inserting the background. Any advice to solve this problem?

---

## [Get coordinates from a rectangle](https://discourse.processing.org/t/get-coordinates-from-a-rectangle/38740)

<div class="topic-metadata">

**Author:** [@xfred53](https://discourse.processing.org/u/xfred53)\
**Replies:** 1\
**Last updated:** [September 13, 2022, 3:55pm UTC](https://discourse.processing.org/t/get-coordinates-from-a-rectangle/38740 "2022-09-13T15:55:02Z")

</div>

Hi, Is it possible to get the coordinates of the angles of a rectangle after some transformations ? See following code : size(200,200,P3D); rectMode(CENTER); pushMatrix(); translate(50,100,0); rotateX(45); rect(50,50,…

---

## [Remove the clock from the lockscreen](https://discourse.processing.org/t/remove-the-clock-from-the-lockscreen/38749)

<div class="topic-metadata">

**Author:** [@LoboLoco](https://discourse.processing.org/u/LoboLoco)\
**Replies:** 0\
**Last updated:** [September 13, 2022, 8:25pm UTC](https://discourse.processing.org/t/remove-the-clock-from-the-lockscreen/38749 "2022-09-13T20:25:53Z")

</div>

Hello, processors! I was thinking about making a custom lockscreen for my Android devices, and I thought Processing would be a good way to do it. I tried the “Live Wallpaper” tutorial, and it worked just fine. There’s j…

---

## [Why does Processing 4 randomly freeze/produce a different output each time](https://discourse.processing.org/t/why-does-processing-4-randomly-freeze-produce-a-different-output-each-time/38703)

<div class="topic-metadata">

**Author:** [@luhdooce](https://discourse.processing.org/u/luhdooce)\
**Replies:** 1\
**Last updated:** [September 13, 2022, 7:00pm UTC](https://discourse.processing.org/t/why-does-processing-4-randomly-freeze-produce-a-different-output-each-time/38703 "2022-09-13T19:00:53Z")

</div>

So I’m trying to make an rtx program with the new Processing 4, but everything seems 100x harder than before on version 3 of Processing. Shapes are sometimes drawn, and sometimes not. It was also my understanding that if…

---

## [Display Table data from a csv and return the rowID when the user clicks on a row](https://discourse.processing.org/t/display-table-data-from-a-csv-and-return-the-rowid-when-the-user-clicks-on-a-row/38548)

<div class="topic-metadata">

**Author:** [@TEACHMYSTERY](https://discourse.processing.org/u/TEACHMYSTERY)\
**Replies:** 4\
**Last updated:** [September 13, 2022, 4:44pm UTC](https://discourse.processing.org/t/display-table-data-from-a-csv-and-return-the-rowid-when-the-user-clicks-on-a-row/38548 "2022-09-13T16:44:09Z")

</div>

I want to display some of the columns from a Table object (it is loaded from a csv file) and then retrieve the row of information when the user clicks on the row. I do not see a “native” mechanism to do this in processin…

---

## [Perlin Noise in Static Sketch Examples](https://discourse.processing.org/t/perlin-noise-in-static-sketch-examples/38711)

<div class="topic-metadata">

**Author:** [@i-draw-monkeys](https://discourse.processing.org/u/i-draw-monkeys)\
**Replies:** 5\
**Last updated:** [September 13, 2022, 2:25pm UTC](https://discourse.processing.org/t/perlin-noise-in-static-sketch-examples/38711 "2022-09-13T14:25:54Z")

</div>

I am learning and using Processing to build files for my pen plotter. I love using the random function and want to start subbing in the noise function and see what happens. However, as it is not a one to one substitution…

---

## [Problem with using Hebrew characters](https://discourse.processing.org/t/problem-with-using-hebrew-characters/38541)

<div class="topic-metadata">

**Author:** [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Replies:** 1\
**Last updated:** [September 13, 2022, 8:29am UTC](https://discourse.processing.org/t/problem-with-using-hebrew-characters/38541 "2022-09-13T08:29:40Z")

</div>

Hello I am working on a project where I need to use Hebrew characters. When I work in JAVA mode, any Hebrew text that I use in a text string is recognized as Hebrew text and is displayed correctly when I run the sketc…

---

## [Pro Question: get ALL in-between points from beginShape curveVertex() endShape](https://discourse.processing.org/t/pro-question-get-all-in-between-points-from-beginshape-curvevertex-endshape/38693)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 5\
**Last updated:** [September 12, 2022, 3:35pm UTC](https://discourse.processing.org/t/pro-question-get-all-in-between-points-from-beginshape-curvevertex-endshape/38693 "2022-09-12T15:35:09Z")

</div>

Hello all! as we all know, we can use beginShape curveVertex() endShape to make long complex curves. See Reference / Processing.org But it’s pretty much a black box. How can I receive ALL points that are shown by cu…

---

## [Does loadStrings() load from the Browser cache?](https://discourse.processing.org/t/does-loadstrings-load-from-the-browser-cache/38700)

<div class="topic-metadata">

**Author:** [@Jan](https://discourse.processing.org/u/Jan)\
**Replies:** 2\
**Last updated:** [September 12, 2022, 1:25pm UTC](https://discourse.processing.org/t/does-loadstrings-load-from-the-browser-cache/38700 "2022-09-12T13:25:37Z")

</div>

Hello everyone, this is happening to me: I’m loading a txt file (only one line) once every 10 seconds with loadStrings() Works. Loaded it already a hundred times. Then the txt file on the server has changed. But loadS…

---

## [Getting enum inside a class constructor](https://discourse.processing.org/t/getting-enum-inside-a-class-constructor/38722)

<div class="topic-metadata">

**Author:** [@iudividnal](https://discourse.processing.org/u/iudividnal)\
**Replies:** 1\
**Last updated:** [September 12, 2022, 11:13am UTC](https://discourse.processing.org/t/getting-enum-inside-a-class-constructor/38722 "2022-09-12T11:13:01Z")

</div>

Hello, I ran into this problem while working on simple object check box / onoff button. I wanted to be able to determin the type(looks) of my button in the costructor by an enum for example: checkbox\_box, checkbox\_cir…

---

## [Detect collision side for balls and rectangles](https://discourse.processing.org/t/detect-collision-side-for-balls-and-rectangles/38699)

<div class="topic-metadata">

**Author:** [@turke1034](https://discourse.processing.org/u/turke1034)\
**Replies:** 11\
**Last updated:** [September 12, 2022, 12:55am UTC](https://discourse.processing.org/t/detect-collision-side-for-balls-and-rectangles/38699 "2022-09-12T00:55:18Z")

</div>

I am creating a “physics simulation” with objects that are affected by gravity, friction and wind. The main object is a ball that bounces around the screen, in realistic ways according to the physics modifiers the user c…

---

## [Coding a system with sun moon and earth realistically](https://discourse.processing.org/t/coding-a-system-with-sun-moon-and-earth-realistically/38712)

<div class="topic-metadata">

**Author:** [@Beppo](https://discourse.processing.org/u/Beppo)\
**Replies:** 1\
**Last updated:** [September 11, 2022, 4:08pm UTC](https://discourse.processing.org/t/coding-a-system-with-sun-moon-and-earth-realistically/38712 "2022-09-11T16:08:29Z")

</div>

Hi, I am asking my question again because i still couldnt improve: Hello, for a scool project I have to code the in the reality existing system containing sun, moon and earth as realistically as possible. In my opinion …

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

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