# Latest

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

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

**Page:** 156

---

## [Can't run P5.js "This item needs to be recompiled for Java 8"](https://discourse.processing.org/t/cant-run-p5-js-this-item-needs-to-be-recompiled-for-java-8/35050)

<div class="topic-metadata">

**Author:** [@wageDu](https://discourse.processing.org/u/wageDu)\
**Replies:** 7\
**Last updated:** [February 20, 2022, 7:49pm UTC](https://discourse.processing.org/t/cant-run-p5-js-this-item-needs-to-be-recompiled-for-java-8/35050 "2022-02-20T19:49:27Z")

</div>

Hi all, I don’t know exactly what happened, but starting today “P5.js Mode” is missing in my Processing. I tried to re-add it, but after downloading it gives the above mentioned message “This item needs to be recompile…

---

## [Send 1 data from Processing to Python that changes in void draw() loop (NEED HELP)](https://discourse.processing.org/t/send-1-data-from-processing-to-python-that-changes-in-void-draw-loop-need-help/35241)

<div class="topic-metadata">

**Author:** [@finchle99](https://discourse.processing.org/u/finchle99)\
**Replies:** 4\
**Last updated:** [February 20, 2022, 6:08pm UTC](https://discourse.processing.org/t/send-1-data-from-processing-to-python-that-changes-in-void-draw-loop-need-help/35241 "2022-02-20T18:08:59Z")

</div>

Hi, I’m new in Processing. How can I send only 1 data from Processing to Python every time I use mousePressed == true, the data changes in void draw(). I tried and every time I press the mouse, the data that was sent …

---

## [Windows application export failing in python mode](https://discourse.processing.org/t/windows-application-export-failing-in-python-mode/35341)

<div class="topic-metadata">

**Author:** [@The\_Math\_Maniac1](https://discourse.processing.org/u/The_Math_Maniac1)\
**Replies:** 0\
**Last updated:** [February 20, 2022, 5:17pm UTC](https://discourse.processing.org/t/windows-application-export-failing-in-python-mode/35341 "2022-02-20T17:17:09Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I am having an issue right now where I am attempting to export my sketch in python mode as a windows application, but processing is consistently…

---

## [¿Cómo usar el Mouse en Processing?](https://discourse.processing.org/t/como-usar-el-mouse-en-processing/35280)

<div class="topic-metadata">

**Author:** [@juan\_esteban](https://discourse.processing.org/u/juan_esteban)\
**Replies:** 7\
**Last updated:** [February 20, 2022, 3:54pm UTC](https://discourse.processing.org/t/como-usar-el-mouse-en-processing/35280 "2022-02-20T15:54:08Z")

</div>

hola soy nuevo y quiero que me ayuden con lo siguiente :face\_with\_head\_bandage: Cuando se de clic con el botón derecho del mouse en el cuadro central, este debe cambiar a negro (solo mientras est…

---

## [\[Android\] Can you make a slide for the screen?](https://discourse.processing.org/t/android-can-you-make-a-slide-for-the-screen/35284)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 7\
**Last updated:** [February 20, 2022, 1:44am UTC](https://discourse.processing.org/t/android-can-you-make-a-slide-for-the-screen/35284 "2022-02-20T01:44:31Z")

</div>

Can you make a slide for the screen? Hello. I want to put a slide function on the screen like the picture above. Is it possible to create a slide view in ‘android’ using ‘processing’?

---

## [createGraphics combined with text and second()](https://discourse.processing.org/t/creategraphics-combined-with-text-and-second/35293)

<div class="topic-metadata">

**Author:** [@goldorak](https://discourse.processing.org/u/goldorak)\
**Replies:** 19\
**Last updated:** [February 20, 2022, 12:50am UTC](https://discourse.processing.org/t/creategraphics-combined-with-text-and-second/35293 "2022-02-20T00:50:11Z")

</div>

Hi, For debugging purposes, I’d like to display the time value in my canvas. To do so, I’d like to use createGraphics combined with text(); Unfortunately it looks like I can’t send the value from second() to my pg. It…

---

## [saveStrings + loadStrings problem](https://discourse.processing.org/t/savestrings-loadstrings-problem/35289)

<div class="topic-metadata">

**Author:** [@Flolo](https://discourse.processing.org/u/Flolo)\
**Replies:** 5\
**Last updated:** [February 19, 2022, 4:36pm UTC](https://discourse.processing.org/t/savestrings-loadstrings-problem/35289 "2022-02-19T16:36:26Z")

</div>

Hi, I want to save and load a String in my programm. I could use: saveStrings("filename.txt", new String\[\]{string}); loadStrings("filename.txt"); but the problem with these functions is (as far as I know) that they s…

---

## [How do I create a table inside p5 space?](https://discourse.processing.org/t/how-do-i-create-a-table-inside-p5-space/35283)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 11\
**Last updated:** [February 19, 2022, 4:15pm UTC](https://discourse.processing.org/t/how-do-i-create-a-table-inside-p5-space/35283 "2022-02-19T16:15:13Z")

</div>

How do I create a table inside p5 space? link : https://codepen.io/anon/pen/bNJeLO Like the picture above, I want to create a slide table. Is there any way to make a slide table in p5 space?

---

## [Image() function with 4 points](https://discourse.processing.org/t/image-function-with-4-points/35182)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 21\
**Last updated:** [February 19, 2022, 4:06pm UTC](https://discourse.processing.org/t/image-function-with-4-points/35182 "2022-02-19T16:06:55Z")

</div>

Hey, Is there any option to display an image in processing with 4 points coordinates? (top left, top right, bottom left, bottom right). in the references, I see with top left, bottom right thanks :slight\_smile:

---

## [Detect rectangle intersection in 3D](https://discourse.processing.org/t/detect-rectangle-intersection-in-3d/35201)

<div class="topic-metadata">

**Author:** [@bruno.pace](https://discourse.processing.org/u/bruno.pace)\
**Replies:** 5\
**Last updated:** [February 19, 2022, 3:50pm UTC](https://discourse.processing.org/t/detect-rectangle-intersection-in-3d/35201 "2022-02-19T15:50:12Z")

</div>

Hi there, I am writing a program to draw some white squares in 3D space and I would like that, where they intersect, a black line is shown. I can’t find an easy way to do that. However, if I use different colors for th…

---

## [Possible to simulate Photoshop Layer Styles?](https://discourse.processing.org/t/possible-to-simulate-photoshop-layer-styles/35288)

<div class="topic-metadata">

**Author:** [@derrotebaron](https://discourse.processing.org/u/derrotebaron)\
**Replies:** 2\
**Last updated:** [February 19, 2022, 3:41pm UTC](https://discourse.processing.org/t/possible-to-simulate-photoshop-layer-styles/35288 "2022-02-19T15:41:53Z")

</div>

Is it possible to simulate Photoshop layer styles within Processing? The example I’m thinking of would be applying different styles or graphic actions to an image, such as halftones or a glitch effect. Basically I’d ha…

---

## [Desktop ScrollBar Demo](https://discourse.processing.org/t/desktop-scrollbar-demo/27081)

<div class="topic-metadata">

**Author:** [@mgood7123](https://discourse.processing.org/u/mgood7123)\
**Replies:** 1\
**Last updated:** [February 19, 2022, 10:51am UTC](https://discourse.processing.org/t/desktop-scrollbar-demo/27081 "2022-02-19T10:51:35Z")

</div>

this is a demo project demonstrating the implementation and usage of desktop scroll bars NOTE: this is only meant to be a minimal example and as such, the following are NOT supported: buttons p…

---

## [Multi channel audio output using audio interface](https://discourse.processing.org/t/multi-channel-audio-output-using-audio-interface/35276)

<div class="topic-metadata">

**Author:** [@GSA\_IxD](https://discourse.processing.org/u/GSA_IxD)\
**Replies:** 0\
**Last updated:** [February 18, 2022, 8:42pm UTC](https://discourse.processing.org/t/multi-channel-audio-output-using-audio-interface/35276 "2022-02-18T20:42:48Z")

</div>

Hi – appreciate there are a couple of similar questions on this but couldn’t get a resolution that works for playing samples. Wondering if it’s just not possible so any steer appreciated. I am trying to build a simple 6…

---

## [ClickThrough\_mousePressed()](https://discourse.processing.org/t/clickthrough-mousepressed/35277)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 2\
**Last updated:** [February 19, 2022, 2:33am UTC](https://discourse.processing.org/t/clickthrough-mousepressed/35277 "2022-02-19T02:33:27Z")

</div>

The following demo illustrates ‘click through’; depending on where you click in the green rectangle, mousePressed() will report either two or three rectangles since they are overlapped. Is there a way to trap only the c…

---

## [\[p5.js\] Date search related](https://discourse.processing.org/t/p5-js-date-search-related/35196)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 8\
**Last updated:** [February 19, 2022, 12:49am UTC](https://discourse.processing.org/t/p5-js-date-search-related/35196 "2022-02-19T00:49:12Z")

</div>

Date search related. If you look at the image, you can select the date. within p5.js library If you have an example source code Do you have any content?

---

## [Setting max available memory - best practice?](https://discourse.processing.org/t/setting-max-available-memory-best-practice/35256)

<div class="topic-metadata">

**Author:** [@dy1](https://discourse.processing.org/u/dy1)\
**Replies:** 1\
**Last updated:** [February 19, 2022, 12:19am UTC](https://discourse.processing.org/t/setting-max-available-memory-best-practice/35256 "2022-02-19T00:19:45Z")

</div>

I’m running Processing 3 on my new MacBook Pro with an Apple M1 Max processor and 32 GB of memory. And I’m wondering if I should be setting Processing’s memory settings to be something other than the default. I see in p…

---

## [Storing and retrieving data in Processing for Android](https://discourse.processing.org/t/storing-and-retrieving-data-in-processing-for-android/35272)

<div class="topic-metadata">

**Author:** [@Sikorsky](https://discourse.processing.org/u/Sikorsky)\
**Replies:** 2\
**Last updated:** [February 19, 2022, 12:09am UTC](https://discourse.processing.org/t/storing-and-retrieving-data-in-processing-for-android/35272 "2022-02-19T00:09:23Z")

</div>

Hi, my name is Alex. I came in contact with Processing through Arduino a few years ago Since then I have been using processing for personal projects and a as a programming learning tool. A great experience. Now I deci…

---

## [Slider - adjust sound cp5](https://discourse.processing.org/t/slider-adjust-sound-cp5/15606)

<div class="topic-metadata">

**Author:** [@yty](https://discourse.processing.org/u/yty)\
**Replies:** 3\
**Last updated:** [February 19, 2022, 12:00am UTC](https://discourse.processing.org/t/slider-adjust-sound-cp5/15606 "2022-02-19T00:00:25Z")

</div>

How do I adjust the value of a slider in controlP5 in Processing? For example. I’ve made a slider using the cp5 library, and I would like to change the volume from low to high whenever I move the slider up and down. So …

---

## [Limitations of Processing?](https://discourse.processing.org/t/limitations-of-processing/35269)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 1\
**Last updated:** [February 18, 2022, 8:46pm UTC](https://discourse.processing.org/t/limitations-of-processing/35269 "2022-02-18T20:46:22Z")

</div>

In the last day I tried to write a little utility library for a friends. It was supposed to include easy access to features like compiling classes or serialization in testing the features in java worked fine but when cal…

---

## ["this" argument not working correctly](https://discourse.processing.org/t/this-argument-not-working-correctly/21880)

<div class="topic-metadata">

**Author:** [@Odermonicon](https://discourse.processing.org/u/Odermonicon)\
**Replies:** 3\
**Last updated:** [February 18, 2022, 7:07pm UTC](https://discourse.processing.org/t/this-argument-not-working-correctly/21880 "2022-02-18T19:07:08Z")

</div>

I’m using the processing.sound library to make a synth, but when I use the “this” keyword it gives me an error: The constructor "SinOsc(Timbre)" does not exist MCVEimport processing.sound.\*; class Timbre { SinOsc fr…

---

## [Removing class from code](https://discourse.processing.org/t/removing-class-from-code/35249)

<div class="topic-metadata">

**Author:** [@gvmrk](https://discourse.processing.org/u/gvmrk)\
**Replies:** 3\
**Last updated:** [February 18, 2022, 6:36pm UTC](https://discourse.processing.org/t/removing-class-from-code/35249 "2022-02-18T18:36:09Z")

</div>

Hello, I wrote this code a while ago. Now I need to get the methods loose and get the class out of the code, How do I do this? Thank you! int speelveldPosX, speelveldPosY; int speelveldSizeX, speelveldSizeY; int vakSi…

---

## [Teclear una letra y generar un objeto](https://discourse.processing.org/t/teclear-una-letra-y-generar-un-objeto/35271)

<div class="topic-metadata">

**Author:** [@AdriaCornell](https://discourse.processing.org/u/AdriaCornell)\
**Replies:** 2\
**Last updated:** [February 18, 2022, 6:28pm UTC](https://discourse.processing.org/t/teclear-una-letra-y-generar-un-objeto/35271 "2022-02-18T18:28:54Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Tengo una duda sobre como hacer para que una vez consigo asignar a una letra un objeto por ejemplo, al pulsar la letra C aparece un círculo dond…

---

## [Converting sketch from p5.js to Processing (Image art: Messy Curve Draw)](https://discourse.processing.org/t/converting-sketch-from-p5-js-to-processing-image-art-messy-curve-draw/26969)

<div class="topic-metadata">

**Author:** [@Marinus](https://discourse.processing.org/u/Marinus)\
**Replies:** 8\
**Last updated:** [February 18, 2022, 2:17pm UTC](https://discourse.processing.org/t/converting-sketch-from-p5-js-to-processing-image-art-messy-curve-draw/26969 "2022-02-18T14:17:55Z")

</div>

Hi, I’ve found a beautiful starting point for what I am intending to achieve: drawing a portrait of a face with curved lines and exporting it to SVG. However, it’s written in p5.js and the p5.js version doesn’t support …

---

## [Movie Freezes Upon Playback](https://discourse.processing.org/t/movie-freezes-upon-playback/35259)

<div class="topic-metadata">

**Author:** [@aminafoxdye](https://discourse.processing.org/u/aminafoxdye)\
**Replies:** 0\
**Last updated:** [February 18, 2022, 3:55am UTC](https://discourse.processing.org/t/movie-freezes-upon-playback/35259 "2022-02-18T03:55:16Z")

</div>

Howdy all- I’ve used Processing on and off for the past couple of years but am just now joining the forum. :slight\_smile: I’m building an occupancy detector for a museum that will pipe the current number of people in th…

---

## [Calling .selected(value) multiple times on a radio button does not change the selected option](https://discourse.processing.org/t/calling-selected-value-multiple-times-on-a-radio-button-does-not-change-the-selected-option/35194)

<div class="topic-metadata">

**Author:** [@fabiopettinati](https://discourse.processing.org/u/fabiopettinati)\
**Replies:** 6\
**Last updated:** [February 17, 2022, 8:47pm UTC](https://discourse.processing.org/t/calling-selected-value-multiple-times-on-a-radio-button-does-not-change-the-selected-option/35194 "2022-02-17T20:47:35Z")

</div>

I have a sketch where I create a radio button with 4 options, the last one being selected upon creation inside the setup() function. When the sketch runs and I resize the window, I want to force selecting the last optio…

---

## [Fill() not working in program](https://discourse.processing.org/t/fill-not-working-in-program/35239)

<div class="topic-metadata">

**Author:** [@nbrugger](https://discourse.processing.org/u/nbrugger)\
**Replies:** 3\
**Last updated:** [February 17, 2022, 7:14pm UTC](https://discourse.processing.org/t/fill-not-working-in-program/35239 "2022-02-17T19:14:16Z")

</div>

I am doing this code for a project in school and the fill function is not working. No matter what I do the rectangle always shows up as black. Could someone tell me what I am doing wrong? void Show(){ for(int y = …

---

## [Convert a primitive type array into a Object\[\] array](https://discourse.processing.org/t/convert-a-primitive-type-array-into-a-object-array/35245)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 1\
**Last updated:** [February 17, 2022, 6:50pm UTC](https://discourse.processing.org/t/convert-a-primitive-type-array-into-a-object-array/35245 "2022-02-17T18:50:43Z")

</div>

I’m currently writing a serialization-function and have been making progress for everything that doesn’t use an array with primitive types. Here is my code: import java.lang.reflect.Field; class BClass { int value; …

---

## [ How to connect my code with the key pressed event and what should I do to make my character jump? ( Processing 3.5.4)](https://discourse.processing.org/t/how-to-connect-my-code-with-the-key-pressed-event-and-what-should-i-do-to-make-my-character-jump-processing-3-5-4/35231)

<div class="topic-metadata">

**Author:** [@RafaDuarte](https://discourse.processing.org/u/RafaDuarte)\
**Replies:** 4\
**Last updated:** [February 17, 2022, 6:31pm UTC](https://discourse.processing.org/t/how-to-connect-my-code-with-the-key-pressed-event-and-what-should-i-do-to-make-my-character-jump-processing-3-5-4/35231 "2022-02-17T18:31:26Z")

</div>

I have been coding a simple game and I’m stuck in the key pressed events and my intention is to make my character move backwards, onwards, upwards and downwards. Where should I place the keypressed code to connect it wit…

---

## [How to connect my code with the key pressed event and what should I do to make my character jump? (Duplicate thread)](https://discourse.processing.org/t/how-to-connect-my-code-with-the-key-pressed-event-and-what-should-i-do-to-make-my-character-jump-duplicate-thread/35211)

<div class="topic-metadata">

**Author:** [@RafaDuarte](https://discourse.processing.org/u/RafaDuarte)\
**Replies:** 4\
**Last updated:** [February 17, 2022, 5:50pm UTC](https://discourse.processing.org/t/how-to-connect-my-code-with-the-key-pressed-event-and-what-should-i-do-to-make-my-character-jump-duplicate-thread/35211 "2022-02-17T17:50:10Z")

</div>

I have been coding a simple game and I’m stuck in the key pressed events and my intention is to make my character move backwards, onwards, upwards and downwards. Where should I place the keypressed code to connect it wit…

---

## [How to use mask with animation loop?](https://discourse.processing.org/t/how-to-use-mask-with-animation-loop/35244)

<div class="topic-metadata">

**Author:** [@ongo](https://discourse.processing.org/u/ongo)\
**Replies:** 0\
**Last updated:** [February 17, 2022, 5:03pm UTC](https://discourse.processing.org/t/how-to-use-mask-with-animation-loop/35244 "2022-02-17T17:03:59Z")

</div>

Code used to attempt this so far: I want to find a way to be able to slightly edit a mask on every loop to create an animated effect. Such as on each loop increasing the Y coordinate of where the ellipse is drawn over …

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

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