# Latest

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

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

**Page:** 153

---

## [Int wont be saved in my txt file](https://discourse.processing.org/t/int-wont-be-saved-in-my-txt-file/35598)

<div class="topic-metadata">

**Author:** [@Coder1](https://discourse.processing.org/u/Coder1)\
**Replies:** 20\
**Last updated:** [March 6, 2022, 10:02pm UTC](https://discourse.processing.org/t/int-wont-be-saved-in-my-txt-file/35598 "2022-03-06T22:02:58Z")

</div>

Hello. @TimeLex helped my with my data issue and it worked. Now I added two values. Int and String. The String is being saved but the Int doesnt want to be saved anymore. It always resets to 0 when I restart the program …

---

## [Web Audio doesn't work on iPhone's Safari and Chrome](https://discourse.processing.org/t/web-audio-doesnt-work-on-iphones-safari-and-chrome/35596)

<div class="topic-metadata">

**Author:** [@teemee](https://discourse.processing.org/u/teemee)\
**Replies:** 0\
**Last updated:** [March 6, 2022, 5:20pm UTC](https://discourse.processing.org/t/web-audio-doesnt-work-on-iphones-safari-and-chrome/35596 "2022-03-06T17:20:14Z")

</div>

I have made a website that plays audio after a user does the mousePressed(). The site works fine on all the platforms like, desktop Internet browser and Android’s browser but, not in iPhone’s Safari and Chrome. My audio …

---

## [How to save text to clipboard?](https://discourse.processing.org/t/how-to-save-text-to-clipboard/34504)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 2\
**Last updated:** [March 6, 2022, 10:12am UTC](https://discourse.processing.org/t/how-to-save-text-to-clipboard/34504 "2022-03-06T10:12:25Z")

</div>

Hi, I want to save a String of text to clipboard. Is it possible to do it while the program is running in the background? Thank you.

---

## [Generating 8k images in P3D](https://discourse.processing.org/t/generating-8k-images-in-p3d/35545)

<div class="topic-metadata">

**Author:** [@Raul](https://discourse.processing.org/u/Raul)\
**Replies:** 5\
**Last updated:** [March 6, 2022, 1:26am UTC](https://discourse.processing.org/t/generating-8k-images-in-p3d/35545 "2022-03-06T01:26:10Z")

</div>

Hi! I have a program that generates images, displays them (in a 3D space) and saves them. There is no problem if the images’ resolution is up to 4k, since my screen is 4k. But I can’t do the same with, for example, 8k …

---

## [Converting 2d output to 3d](https://discourse.processing.org/t/converting-2d-output-to-3d/35210)

<div class="topic-metadata">

**Author:** [@elonmusk](https://discourse.processing.org/u/elonmusk)\
**Replies:** 1\
**Last updated:** [March 5, 2022, 9:32pm UTC](https://discourse.processing.org/t/converting-2d-output-to-3d/35210 "2022-03-05T21:32:32Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello Team, I was given a task, I was able to get the output in 2D format, but I have to make use use of 3D perlin noise for my output. What i…

---

## [Trying to slow down ellipses in a small space](https://discourse.processing.org/t/trying-to-slow-down-ellipses-in-a-small-space/35562)

<div class="topic-metadata">

**Author:** [@Sevenylime](https://discourse.processing.org/u/Sevenylime)\
**Replies:** 4\
**Last updated:** [March 5, 2022, 12:21pm UTC](https://discourse.processing.org/t/trying-to-slow-down-ellipses-in-a-small-space/35562 "2022-03-05T12:21:59Z")

</div>

Hello everyone! I’m trying to make it so the “fireflies” in my code, while in the cup, move slower. So far, the fireflies bounce off the walls, and once the player presses ‘g’, a cup is grabbed, and if the cup makes co…

---

## [How to move the image with the arrows](https://discourse.processing.org/t/how-to-move-the-image-with-the-arrows/35536)

<div class="topic-metadata">

**Author:** [@cisky](https://discourse.processing.org/u/cisky)\
**Replies:** 3\
**Last updated:** [March 5, 2022, 10:57am UTC](https://discourse.processing.org/t/how-to-move-the-image-with-the-arrows/35536 "2022-03-05T10:57:38Z")

</div>

please format code with \</\> button \* homework policy \* asking questions i don’t know how i can not leave the last button on read, so let the image doing two movments at the same time. i mean i don’t know how the imag…

---

## [Accessing \`p5.js\` instance from Vue file](https://discourse.processing.org/t/accessing-p5-js-instance-from-vue-file/35537)

<div class="topic-metadata">

**Author:** [@sylcha](https://discourse.processing.org/u/sylcha)\
**Replies:** 5\
**Last updated:** [March 5, 2022, 10:00am UTC](https://discourse.processing.org/t/accessing-p5-js-instance-from-vue-file/35537 "2022-03-05T10:00:24Z")

</div>

Hi everyone, I’m currently working on an app involving Quasar framework (which works in top of Vue) and p5.js. I have a vue where I want to insert a sketch (please, have a look to the code below). Following these recomm…

---

## [Game Control Plus Configurator shows no connections after creating a file, then reopening the configurator](https://discourse.processing.org/t/game-control-plus-configurator-shows-no-connections-after-creating-a-file-then-reopening-the-configurator/35564)

<div class="topic-metadata">

**Author:** [@gameworn](https://discourse.processing.org/u/gameworn)\
**Replies:** 1\
**Last updated:** [March 5, 2022, 8:56am UTC](https://discourse.processing.org/t/game-control-plus-configurator-shows-no-connections-after-creating-a-file-then-reopening-the-configurator/35564 "2022-03-05T08:56:08Z")

</div>

When I open the Game Control Plus configurator file and select my processing.pde sketch and game controller, the configurator shows no connections made, such as using Button 2 to turn on an LED that I made earlier.…

---

## [How Can I Make A Circle Move Back And Forth Using Conditionals, And Freezing When the Mouse is Pressed?](https://discourse.processing.org/t/how-can-i-make-a-circle-move-back-and-forth-using-conditionals-and-freezing-when-the-mouse-is-pressed/35563)

<div class="topic-metadata">

**Author:** [@0\_0](https://discourse.processing.org/u/0_0)\
**Replies:** 2\
**Last updated:** [March 5, 2022, 2:10am UTC](https://discourse.processing.org/t/how-can-i-make-a-circle-move-back-and-forth-using-conditionals-and-freezing-when-the-mouse-is-pressed/35563 "2022-03-05T02:10:58Z")

</div>

I am trying to make a circle move back and forth on a line in processing, however I can’t seem to get the coding right to where the circle returns back after moving to the right on the line. I’m new to coding and I’ve tr…

---

## [Processing 4 not working in Python mode with Windows 10](https://discourse.processing.org/t/processing-4-not-working-in-python-mode-with-windows-10/35253)

<div class="topic-metadata">

**Author:** [@fransua](https://discourse.processing.org/u/fransua)\
**Replies:** 3\
**Last updated:** [March 4, 2022, 8:07pm UTC](https://discourse.processing.org/t/processing-4-not-working-in-python-mode-with-windows-10/35253 "2022-03-04T20:07:04Z")

</div>

Python mode for Processing 4 installed correctly. Execution mode with simple instruction gives : Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: 'java.lang.String processing.app.Sketch.getMainProgra…

---

## [How to do multiple touches on screen?](https://discourse.processing.org/t/how-to-do-multiple-touches-on-screen/35534)

<div class="topic-metadata">

**Author:** [@Coder1](https://discourse.processing.org/u/Coder1)\
**Replies:** 3\
**Last updated:** [March 4, 2022, 5:19pm UTC](https://discourse.processing.org/t/how-to-do-multiple-touches-on-screen/35534 "2022-03-04T17:19:42Z")

</div>

Hello I have been making a game on Android and I wanted to know how to make multiple touches on the screen. For example I created two buttons. The first is for running and the second is for jumping. I wanted to know how…

---

## [How to use PixelFlow to initialize a specific shape？](https://discourse.processing.org/t/how-to-use-pixelflow-to-initialize-a-specific-shape/35554)

<div class="topic-metadata">

**Author:** [@JawyZhang](https://discourse.processing.org/u/JawyZhang)\
**Replies:** 0\
**Last updated:** [March 4, 2022, 1:14pm UTC](https://discourse.processing.org/t/how-to-use-pixelflow-to-initialize-a-specific-shape/35554 "2022-03-04T13:14:24Z")

</div>

I’m learning the example ‘Fluid\_GetStarted’, and I wanna create a rectangle fluid at the beginning.This rectangle will only be generated once so I don’t put my code in the ‘fluid.update()’. I find that addDensity(process…

---

## [Calculator code](https://discourse.processing.org/t/calculator-code/35540)

<div class="topic-metadata">

**Author:** [@suarezl](https://discourse.processing.org/u/suarezl)\
**Replies:** 3\
**Last updated:** [March 4, 2022, 12:31am UTC](https://discourse.processing.org/t/calculator-code/35540 "2022-03-04T00:31:06Z")

</div>

Hello, I am starting in this world, I need help with the code of a calculator, the truth is that I still do not have the necessary knowledge to be able to carry it out, I wanted to see if someone could help me, thanks an…

---

## [No display on Windows, many student problems, any thoughts?](https://discourse.processing.org/t/no-display-on-windows-many-student-problems-any-thoughts/7529)

<div class="topic-metadata">

**Author:** [@mjadud](https://discourse.processing.org/u/mjadud)\
**Replies:** 16\
**Last updated:** [March 3, 2022, 5:57pm UTC](https://discourse.processing.org/t/no-display-on-windows-many-student-problems-any-thoughts/7529 "2022-03-03T17:57:53Z")

</div>

Dear all, I just deployed Processing to a class of 48 students. I have a lot of students with issues where their sketches will apparently run, but no drawing will appear. I have not yet had a chance to see this happen; …

---

## [Create colored circle based on midi note](https://discourse.processing.org/t/create-colored-circle-based-on-midi-note/35079)

<div class="topic-metadata">

**Author:** [@AMax](https://discourse.processing.org/u/AMax)\
**Replies:** 6\
**Last updated:** [March 3, 2022, 3:04pm UTC](https://discourse.processing.org/t/create-colored-circle-based-on-midi-note/35079 "2022-03-03T15:04:53Z")

</div>

I’m trying to create code that will let me input a musical note (via midi) and have a corresponding small circle appear that has an assigned color value. The circles will appear next to one another in succession, so that…

---

## [Why Isn't My Contributed Library Showing?](https://discourse.processing.org/t/why-isnt-my-contributed-library-showing/35521)

<div class="topic-metadata">

**Author:** [@JennyMcCreadie](https://discourse.processing.org/u/JennyMcCreadie)\
**Replies:** 5\
**Last updated:** [March 3, 2022, 3:00pm UTC](https://discourse.processing.org/t/why-isnt-my-contributed-library-showing/35521 "2022-03-03T15:00:03Z")

</div>

Hello, I’ve been wracking my brain with this issue. I’m trying to install the ‘SimpleOpenNI’ in Processing and I think I’ve followed the steps correctly? But I’m also not entirely sure and the error I keep getting says t…

---

## [\[SOLVED\] Py mode not working](https://discourse.processing.org/t/solved-py-mode-not-working/7483)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 9\
**Last updated:** [March 3, 2022, 1:48pm UTC](https://discourse.processing.org/t/solved-py-mode-not-working/7483 "2022-03-03T13:48:57Z")

</div>

SOLUTION: def setup(): size(500,500) def draw(): rect(100,100,100) Today I bought a notebook, where I installed Processing, Java projects work fine, but for python I run the code and it immediately stops

---

## [Having trouble with colorMode and WEBGL on OpenProcessing](https://discourse.processing.org/t/having-trouble-with-colormode-and-webgl-on-openprocessing/35531)

<div class="topic-metadata">

**Author:** [@brackish](https://discourse.processing.org/u/brackish)\
**Replies:** 2\
**Last updated:** [March 3, 2022, 12:00pm UTC](https://discourse.processing.org/t/having-trouble-with-colormode-and-webgl-on-openprocessing/35531 "2022-03-03T12:00:44Z")

</div>

I’m trying to build this sketch on openprocessing: it’s a fork of someone else’s sphere mapping sketch, which uses WEBGL. i’m trying to apply a lofi text mode filter over the top. i’ve copied some text mode code tha…

---

## [Can anyone help explain the following use of "this" and "PApplet"?](https://discourse.processing.org/t/can-anyone-help-explain-the-following-use-of-this-and-papplet/35436)

<div class="topic-metadata">

**Author:** [@leatherbird](https://discourse.processing.org/u/leatherbird)\
**Replies:** 9\
**Last updated:** [March 3, 2022, 10:06am UTC](https://discourse.processing.org/t/can-anyone-help-explain-the-following-use-of-this-and-papplet/35436 "2022-03-03T10:06:18Z")

</div>

Hello, I’m stumbling around using Benedikt Groß’s ANI library for processing, and was getting really confused. I’m probably in over my head. I was trying to create what his library calls AniSequences inside a class I c…

---

## [I'll start a coding channel for code newbies and CS educators](https://discourse.processing.org/t/ill-start-a-coding-channel-for-code-newbies-and-cs-educators/35490)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 1\
**Last updated:** [March 3, 2022, 5:04am UTC](https://discourse.processing.org/t/ill-start-a-coding-channel-for-code-newbies-and-cs-educators/35490 "2022-03-03T05:04:56Z")

</div>

I just want to announce that I decided to start a coding Youtube channel: What makes this channel special: I plan to teach JavaScript to absolute beginners through a series of an interactive live streams. If you …

---

## [Compute Shader Particle System in Processing](https://discourse.processing.org/t/compute-shader-particle-system-in-processing/26611)

<div class="topic-metadata">

**Author:** [@ElementMo](https://discourse.processing.org/u/ElementMo)\
**Replies:** 4\
**Last updated:** [March 3, 2022, 3:52am UTC](https://discourse.processing.org/t/compute-shader-particle-system-in-processing/26611 "2022-03-03T03:52:11Z")

</div>

I managed to implement a very simple particle system using compute shader. This example renders 1 million particles on an Intel Iris 640 integrated graphics card, which is pretty amazing. Since compute shader requires …

---

## [Switch expressions not working in Processing 4](https://discourse.processing.org/t/switch-expressions-not-working-in-processing-4/35486)

<div class="topic-metadata">

**Author:** [@Saaan](https://discourse.processing.org/u/Saaan)\
**Replies:** 4\
**Last updated:** [March 3, 2022, 12:22am UTC](https://discourse.processing.org/t/switch-expressions-not-working-in-processing-4/35486 "2022-03-03T00:22:38Z")

</div>

I’m using Processing 4 which is on Java 17.0.2, but for some reason it won’t allow switch expressions? This compiles in other IDEs so I’m not sure what’s going on here, does anyone know the reason for this, if it is fix…

---

## [Moving ellipse to opposite side of canvas](https://discourse.processing.org/t/moving-ellipse-to-opposite-side-of-canvas/35517)

<div class="topic-metadata">

**Author:** [@processingArthur](https://discourse.processing.org/u/processingArthur)\
**Replies:** 4\
**Last updated:** [March 2, 2022, 11:17pm UTC](https://discourse.processing.org/t/moving-ellipse-to-opposite-side-of-canvas/35517 "2022-03-02T23:17:34Z")

</div>

Hi. I was wondering how I can make a moving ellipse reappear on the opposite side of the canvas when it reaches the edge. I understand how to get it to reappear on the x axis and y axis individually ie if the xpos is gre…

---

## [Cannot read csv files in Android](https://discourse.processing.org/t/cannot-read-csv-files-in-android/35523)

<div class="topic-metadata">

**Author:** [@Coder1](https://discourse.processing.org/u/Coder1)\
**Replies:** 1\
**Last updated:** [March 2, 2022, 10:49pm UTC](https://discourse.processing.org/t/cannot-read-csv-files-in-android/35523 "2022-03-02T22:49:03Z")

</div>

Hello. I would like to know if I can read a csv file on Android. When I use the command: Table table = loadTable(Mappe.csv); In my programm code. I always get the error: Error reading table on line 1 By the way, the…

---

## [Can you help me fix problem in the code](https://discourse.processing.org/t/can-you-help-me-fix-problem-in-the-code/35512)

<div class="topic-metadata">

**Author:** [@Cuber1](https://discourse.processing.org/u/Cuber1)\
**Replies:** 4\
**Last updated:** [March 2, 2022, 10:18pm UTC](https://discourse.processing.org/t/can-you-help-me-fix-problem-in-the-code/35512 "2022-03-02T22:18:57Z")

</div>

\<\> please format code with \</\> button \* homework policy \* asking questions When my ball goes to the top of the rect, It will be put in the center rect. However, I want it bouncing. I don’t know how to fix it. Someone ca…

---

## [Why is this just creating a straight line from my CSV data?](https://discourse.processing.org/t/why-is-this-just-creating-a-straight-line-from-my-csv-data/35268)

<div class="topic-metadata">

**Author:** [@JennyMcCreadie](https://discourse.processing.org/u/JennyMcCreadie)\
**Replies:** 13\
**Last updated:** [March 2, 2022, 10:17pm UTC](https://discourse.processing.org/t/why-is-this-just-creating-a-straight-line-from-my-csv-data/35268 "2022-03-02T22:17:56Z")

</div>

Hello! I am using data from my CSV file to plot ellipses. It is working when I do it one by one, but when I add an array in to create ellipses from every row of the data, I’m just getting a straight line from them. Here…

---

## [Keeping track of previous position for collision detection](https://discourse.processing.org/t/keeping-track-of-previous-position-for-collision-detection/35515)

<div class="topic-metadata">

**Author:** [@tillmanjex](https://discourse.processing.org/u/tillmanjex)\
**Replies:** 3\
**Last updated:** [March 2, 2022, 7:56pm UTC](https://discourse.processing.org/t/keeping-track-of-previous-position-for-collision-detection/35515 "2022-03-02T19:56:36Z")

</div>

Hello all. So far all the gracious answers on this forum have kept me from posting, but this one is stumping me too hard. I have a class “Root”, which is an ellipse that gets drawn following a random and varying directi…

---

## [Two windows (Default and P3D) on macOS](https://discourse.processing.org/t/two-windows-default-and-p3d-on-macos/35509)

<div class="topic-metadata">

**Author:** [@Devostated](https://discourse.processing.org/u/Devostated)\
**Replies:** 5\
**Last updated:** [March 2, 2022, 5:49pm UTC](https://discourse.processing.org/t/two-windows-default-and-p3d-on-macos/35509 "2022-03-02T17:49:09Z")

</div>

Hello, I made a simple model viewer and wanted to use a Drop library for drag and drop. I had to use a second 2D window with default renderer in order to drag and drop. It works great on windows, but not on macOS. I us…

---

## [OctoPrint Network with Processing](https://discourse.processing.org/t/octoprint-network-with-processing/35519)

<div class="topic-metadata">

**Author:** [@xce](https://discourse.processing.org/u/xce)\
**Replies:** 0\
**Last updated:** [March 2, 2022, 3:16pm UTC](https://discourse.processing.org/t/octoprint-network-with-processing/35519 "2022-03-02T15:16:09Z")

</div>

I have set up an OctoPrint (https://octoprint.org/) instance running on a Raspberry Pi. OctoPrint allows for remote control of 3D printers but I wanted to add automation to the mix by using Processing to control OctoPrin…

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

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