# Latest

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

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

**Page:** 279

---

## [A simple 0-filling program](https://discourse.processing.org/t/a-simple-0-filling-program/25983)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 6\
**Last updated:** [December 5, 2020, 9:31pm UTC](https://discourse.processing.org/t/a-simple-0-filling-program/25983 "2020-12-05T21:31:34Z")

</div>

Hi! Isn’t it annoying that the “hour()”, “minute()”, “second()”, … functions output unorganised integers? (For example, if the time is 21:05:09, than the second() function would return “9” instead of “09”) Here is a s…

---

## [How do I make variations of variables?](https://discourse.processing.org/t/how-do-i-make-variations-of-variables/25936)

<div class="topic-metadata">

**Author:** [@olaf000olaf](https://discourse.processing.org/u/olaf000olaf)\
**Replies:** 19\
**Last updated:** [December 5, 2020, 4:47pm UTC](https://discourse.processing.org/t/how-do-i-make-variations-of-variables/25936 "2020-12-05T16:47:20Z")

</div>

stay with me but u know these brackets \[\] sometimes in other’s code I see it before the variable and idk what it does but I think it means you can have many variables that mean are the same in value but not exactly the s…

---

## [Text input division](https://discourse.processing.org/t/text-input-division/25942)

<div class="topic-metadata">

**Author:** [@Hamsoon22](https://discourse.processing.org/u/Hamsoon22)\
**Replies:** 2\
**Last updated:** [December 5, 2020, 10:13am UTC](https://discourse.processing.org/t/text-input-division/25942 "2020-12-05T10:13:41Z")

</div>

Hi! I am new here. I am now creating a text input and output. I could show the text input on the screen but I don’t know how can I divide the text and just go to the next line automatically. (Because the text input wil…

---

## [System for saving objects](https://discourse.processing.org/t/system-for-saving-objects/25935)

<div class="topic-metadata">

**Author:** [@Rafsing](https://discourse.processing.org/u/Rafsing)\
**Replies:** 9\
**Last updated:** [December 5, 2020, 1:26am UTC](https://discourse.processing.org/t/system-for-saving-objects/25935 "2020-12-05T01:26:40Z")

</div>

I want to create a system for saving objects. I have three classes, that I want to save, to json format, but I don’t want to write by hand every variables. Is there any way that I can move the entire object to json form…

---

## [Drawing with text to points](https://discourse.processing.org/t/drawing-with-text-to-points/24210)

<div class="topic-metadata">

**Author:** [@GreenCell](https://discourse.processing.org/u/GreenCell)\
**Replies:** 2\
**Last updated:** [December 5, 2020, 12:27am UTC](https://discourse.processing.org/t/drawing-with-text-to-points/24210 "2020-12-05T00:27:26Z")

</div>

Hi! I’m using font’s textToPoints method so later on I can manipulate the points the deform the text, but I have 3 issues. I’m absolutely not asking for complete code here, just ideas that I can try out. I sort of so…

---

## [ControlP5 in Proclipsing](https://discourse.processing.org/t/controlp5-in-proclipsing/25901)

<div class="topic-metadata">

**Author:** [@MouseEars](https://discourse.processing.org/u/MouseEars)\
**Replies:** 3\
**Last updated:** [December 4, 2020, 11:18pm UTC](https://discourse.processing.org/t/controlp5-in-proclipsing/25901 "2020-12-04T23:18:38Z")

</div>

Hi! I’ve been using the Proclipsing plugin to Eclipse to import some code that was originally written in the Processing IDE so that I can work with it more like regular Java. The code works fine in the Processing IDE, b…

---

## [G4P library with GUI builder - Can I make Sliders in an Child applet?](https://discourse.processing.org/t/g4p-library-with-gui-builder-can-i-make-sliders-in-an-child-applet/25646)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 13\
**Last updated:** [December 4, 2020, 10:41pm UTC](https://discourse.processing.org/t/g4p-library-with-gui-builder-can-i-make-sliders-in-an-child-applet/25646 "2020-12-04T22:41:50Z")

</div>

please format code with \</\> button \* homework policy \* asking questions First of all , I love the GUI builder. Saved me lots of trouble… Thank you authors. I am using the Demos/Tests/MultipleWindows sketch and I go…

---

## [Passing (boolean) values from cell to cell in a grid](https://discourse.processing.org/t/passing-boolean-values-from-cell-to-cell-in-a-grid/25967)

<div class="topic-metadata">

**Author:** [@Namrad](https://discourse.processing.org/u/Namrad)\
**Replies:** 1\
**Last updated:** [December 4, 2020, 10:38pm UTC](https://discourse.processing.org/t/passing-boolean-values-from-cell-to-cell-in-a-grid/25967 "2020-12-04T22:38:56Z")

</div>

Hello, I’m having trouble solving a problem which I don’t think should be very difficult, yet I haven’t been able to come close to how to figure it out. The simplified version of my idea starts with a grid of objects, …

---

## [Collision detection with walls and objects](https://discourse.processing.org/t/collision-detection-with-walls-and-objects/25856)

<div class="topic-metadata">

**Author:** [@millionish](https://discourse.processing.org/u/millionish)\
**Replies:** 8\
**Last updated:** [December 4, 2020, 9:44pm UTC](https://discourse.processing.org/t/collision-detection-with-walls-and-objects/25856 "2020-12-04T21:44:38Z")

</div>

I’m making a 2D shooter game where a player navigates through the house (as shown in image). I want to add collision detection with walls and objects so that the player doesn’t go over it. Any simple ways to accompli…

---

## [I need help with a project](https://discourse.processing.org/t/i-need-help-with-a-project/25952)

<div class="topic-metadata">

**Author:** [@psn](https://discourse.processing.org/u/psn)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 8:00pm UTC](https://discourse.processing.org/t/i-need-help-with-a-project/25952 "2020-12-04T20:00:28Z")

</div>

Hello! I have made a sketch with bouncing balls, where every time i click, a new ball appears. I want every new ball to have a random colour. Thank you! //GLOBAL VARIABLES Ball myBall; Text myText; Cursor myCursor; fina…

---

## [P5.js highPass is not working as expected](https://discourse.processing.org/t/p5-js-highpass-is-not-working-as-expected/25950)

<div class="topic-metadata">

**Author:** [@exactspace](https://discourse.processing.org/u/exactspace)\
**Replies:** 0\
**Last updated:** [December 4, 2020, 6:46pm UTC](https://discourse.processing.org/t/p5-js-highpass-is-not-working-as-expected/25950 "2020-12-04T18:46:53Z")

</div>

I thought highPass would only let frequencies pass above a set frequency. For example, if I have a tone at 1000 Hz, and I set the high pass 18000, I still hear frequencies well below 18000 Hz. It changes the sound overa…

---

## [Serial with Hardware Flow Control](https://discourse.processing.org/t/serial-with-hardware-flow-control/25795)

<div class="topic-metadata">

**Author:** [@gerrikoio](https://discourse.processing.org/u/gerrikoio)\
**Replies:** 5\
**Last updated:** [December 4, 2020, 4:10pm UTC](https://discourse.processing.org/t/serial-with-hardware-flow-control/25795 "2020-12-04T16:10:51Z")

</div>

Every now and then you need to interface with a device via the computer serial port that asks for Hardware Flow Control (RTS/CTS). I had a look at the documentation: https://processing.org/reference/libraries/serial/Ser…

---

## [Button with changing fading text](https://discourse.processing.org/t/button-with-changing-fading-text/25926)

<div class="topic-metadata">

**Author:** [@jenk](https://discourse.processing.org/u/jenk)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 4:01pm UTC](https://discourse.processing.org/t/button-with-changing-fading-text/25926 "2020-12-04T16:01:31Z")

</div>

Hi. I know there’s something blindingly obvious wrong with this - but I’m too blind to know what it is. Would love some help if you can spare the time. The objective is for a button to have text that fades in and out …

---

## [Fixed position with createGraphics](https://discourse.processing.org/t/fixed-position-with-creategraphics/25887)

<div class="topic-metadata">

**Author:** [@juju](https://discourse.processing.org/u/juju)\
**Replies:** 12\
**Last updated:** [December 4, 2020, 10:22am UTC](https://discourse.processing.org/t/fixed-position-with-creategraphics/25887 "2020-12-04T10:22:15Z")

</div>

wanna create an always on top fixed position ellipse with createGraphics without being scrolled out of screen, tried position(0,0,'fixed'); but doesn’t work, code below, ideas? thanks. let dot; function setup() { cre…

---

## [Sound library no longer works?](https://discourse.processing.org/t/sound-library-no-longer-works/25110)

<div class="topic-metadata">

**Author:** [@Electronix](https://discourse.processing.org/u/Electronix)\
**Replies:** 30\
**Last updated:** [December 4, 2020, 9:53am UTC](https://discourse.processing.org/t/sound-library-no-longer-works/25110 "2020-12-04T09:53:31Z")

</div>

Hi everyone, I’m looking for a soundlibrary to use in Android mode. I use usually Minim library in Java mode but Minim don’t work in Android mode. So I would like to use the Sound library because It looks like Sound w…

---

## [How can I make a program that hits balls in processing?](https://discourse.processing.org/t/how-can-i-make-a-program-that-hits-balls-in-processing/25893)

<div class="topic-metadata">

**Author:** [@hahahajayden](https://discourse.processing.org/u/hahahajayden)\
**Replies:** 4\
**Last updated:** [December 4, 2020, 12:00am UTC](https://discourse.processing.org/t/how-can-i-make-a-program-that-hits-balls-in-processing/25893 "2020-12-04T00:00:29Z")

</div>

please format code with \</\> button \* homework policy \* asking questions hello! I am a novice processing programmer living in Korea. I used Google Translator, so I hope you understand even if the words are strange. T…

---

## [How to put github dependencyob p5.js](https://discourse.processing.org/t/how-to-put-github-dependencyob-p5-js/25915)

<div class="topic-metadata">

**Author:** [@jumbleview](https://discourse.processing.org/u/jumbleview)\
**Replies:** 2\
**Last updated:** [December 3, 2020, 8:11pm UTC](https://discourse.processing.org/t/how-to-put-github-dependencyob-p5-js/25915 "2020-12-03T20:11:15Z")

</div>

I am new to p5.js (my experience with JavaScript is very limited as well). I am going to create public guthub repository with sketch and I would like that anybody who clone it will have the ability to run it. That would…

---

## [How do I make a 2 dimensional array?](https://discourse.processing.org/t/how-do-i-make-a-2-dimensional-array/25934)

<div class="topic-metadata">

**Author:** [@MisledWater079](https://discourse.processing.org/u/MisledWater079)\
**Replies:** 3\
**Last updated:** [December 3, 2020, 5:05pm UTC](https://discourse.processing.org/t/how-do-i-make-a-2-dimensional-array/25934 "2020-12-03T17:05:46Z")

</div>

I’m watching a Coding Train video “ Coding Challenge #11: 3D Terrain Generation with Perlin Noise in Processing” and he uses float\[\]\[\]; and it doesn’t work on p5.js and I was wondering if they changed it and what I can u…

---

## [Can we get new light engine?](https://discourse.processing.org/t/can-we-get-new-light-engine/25911)

<div class="topic-metadata">

**Author:** [@WilliamL](https://discourse.processing.org/u/WilliamL)\
**Replies:** 1\
**Last updated:** [December 3, 2020, 4:53pm UTC](https://discourse.processing.org/t/can-we-get-new-light-engine/25911 "2020-12-03T16:53:48Z")

</div>

Hi all! I’m new to the forum but not new to processing, in fact a long time user. I’m calling out to you devs who are doing an astonishing work with Processing! I was coding a project the other night and was playing a…

---

## [Library for cardboard-like display generation for windows](https://discourse.processing.org/t/library-for-cardboard-like-display-generation-for-windows/25928)

<div class="topic-metadata">

**Author:** [@Johan](https://discourse.processing.org/u/Johan)\
**Replies:** 2\
**Last updated:** [December 3, 2020, 3:09pm UTC](https://discourse.processing.org/t/library-for-cardboard-like-display-generation-for-windows/25928 "2020-12-03T15:09:28Z")

</div>

Is there a library for windows that performs some stereoscopic rendering as seen in Android/Google cardboards? Also called split stereoscopic images I believe…

---

## [Creating a button and makin it work!](https://discourse.processing.org/t/creating-a-button-and-makin-it-work/25840)

<div class="topic-metadata">

**Author:** [@denis](https://discourse.processing.org/u/denis)\
**Replies:** 4\
**Last updated:** [December 3, 2020, 2:55pm UTC](https://discourse.processing.org/t/creating-a-button-and-makin-it-work/25840 "2020-12-03T14:55:43Z")

</div>

Hi everyone, I created a button with lp5 control but I can’t get it to work. I want it to function as a start button and click on it to start the code I already create. Thank you! This is what i have in the botton code: …

---

## [Image Slideshow based on folder + QR code triggers /Performance](https://discourse.processing.org/t/image-slideshow-based-on-folder-qr-code-triggers-performance/25895)

<div class="topic-metadata">

**Author:** [@patrickBEL](https://discourse.processing.org/u/patrickBEL)\
**Replies:** 2\
**Last updated:** [December 3, 2020, 7:05am UTC](https://discourse.processing.org/t/image-slideshow-based-on-folder-qr-code-triggers-performance/25895 "2020-12-03T07:05:30Z")

</div>

Hello, I’m a starter and i’m very happy where i got with my code, it does work, but the performance is not optimal, the fps drops significantly, and it makes the fade not nice. And i don’t see how i can ‘simplify’ or m…

---

## [SVG (not always vector format?)](https://discourse.processing.org/t/svg-not-always-vector-format/25885)

<div class="topic-metadata">

**Author:** [@bdon](https://discourse.processing.org/u/bdon)\
**Replies:** 3\
**Last updated:** [December 3, 2020, 2:21am UTC](https://discourse.processing.org/t/svg-not-always-vector-format/25885 "2020-12-03T02:21:35Z")

</div>

hi there - i’m using processing’s SVG library to export SVG files from still images. i’ve noticed that this output is somewhat erratic, though. while it more-or-less always exports the image as i expect, different draw…

---

## [Whats the best way to connect a processing sketch to a minecraft server](https://discourse.processing.org/t/whats-the-best-way-to-connect-a-processing-sketch-to-a-minecraft-server/25910)

<div class="topic-metadata">

**Author:** [@capbap](https://discourse.processing.org/u/capbap)\
**Replies:** 0\
**Last updated:** [December 3, 2020, 12:37am UTC](https://discourse.processing.org/t/whats-the-best-way-to-connect-a-processing-sketch-to-a-minecraft-server/25910 "2020-12-03T00:37:55Z")

</div>

i have a bukkit server running on ubuntu 20 i would like to have a processing sketch automatically trigger commands to make various games on the server i could do this by simply using java.awt.robot to paste commands i…

---

## [How to turn color from get() function into an RGB value](https://discourse.processing.org/t/how-to-turn-color-from-get-function-into-an-rgb-value/25908)

<div class="topic-metadata">

**Author:** [@perrywinkle](https://discourse.processing.org/u/perrywinkle)\
**Replies:** 2\
**Last updated:** [December 2, 2020, 11:41pm UTC](https://discourse.processing.org/t/how-to-turn-color-from-get-function-into-an-rgb-value/25908 "2020-12-02T23:41:28Z")

</div>

I’m having the user pick a color to use in a generated artwork by clicking on a point on an image of a color wheel. This is my code: def mousePressed(): if pick\_color: c = get(mouseX, mouseY) print© pick\_color = Fal…

---

## [Help a newbie create a particle system that follows my player movement](https://discourse.processing.org/t/help-a-newbie-create-a-particle-system-that-follows-my-player-movement/25905)

<div class="topic-metadata">

**Author:** [@Cal\_codes](https://discourse.processing.org/u/Cal_codes)\
**Replies:** 0\
**Last updated:** [December 2, 2020, 10:43pm UTC](https://discourse.processing.org/t/help-a-newbie-create-a-particle-system-that-follows-my-player-movement/25905 "2020-12-02T22:43:32Z")

</div>

Hey guys, I am making a geometrical game for some fun right now and have been pondering for a while how to make sure my “users” would be able to see the direction they are moving in. Right now I have a line that shows t…

---

## [Why do I get the min can only expected only 2 argument but received 4 even though it works like a dream?](https://discourse.processing.org/t/why-do-i-get-the-min-can-only-expected-only-2-argument-but-received-4-even-though-it-works-like-a-dream/25896)

<div class="topic-metadata">

**Author:** [@olaf000olaf](https://discourse.processing.org/u/olaf000olaf)\
**Replies:** 3\
**Last updated:** [December 2, 2020, 8:01pm UTC](https://discourse.processing.org/t/why-do-i-get-the-min-can-only-expected-only-2-argument-but-received-4-even-though-it-works-like-a-dream/25896 "2020-12-02T20:01:01Z")

</div>

I made a function that rounds numbers to the nearest number of your choice using dist and min, whenever the program does the min math it tells me that min can only receive 2 arguments, but it still works? It’s not a prob…

---

## [Processing IDE scale variables](https://discourse.processing.org/t/processing-ide-scale-variables/25825)

<div class="topic-metadata">

**Author:** [@Pr0tonX](https://discourse.processing.org/u/Pr0tonX)\
**Replies:** 2\
**Last updated:** [December 2, 2020, 3:46pm UTC](https://discourse.processing.org/t/processing-ide-scale-variables/25825 "2020-12-02T15:46:32Z")

</div>

Hi there, my laptop has a 4K screen and I have searched quite a bit in processing source code to modify the scale of display without a complete success ; I found how to scale correctly the "coding part "of the window an…

---

## [Processing Game](https://discourse.processing.org/t/processing-game/25890)

<div class="topic-metadata">

**Author:** [@Wengi](https://discourse.processing.org/u/Wengi)\
**Replies:** 1\
**Last updated:** [December 2, 2020, 1:15pm UTC](https://discourse.processing.org/t/processing-game/25890 "2020-12-02T13:15:27Z")

</div>

Hi guys Does anyone here know how to program this game? It doesn’t have to be exactly the same … Would appreciate your help Lg Wengi😉 The game: https://future-games.itch.io/meteor-run (these blue flying things don’t…

---

## [It keeps me waiting](https://discourse.processing.org/t/it-keeps-me-waiting/25883)

<div class="topic-metadata">

**Author:** [@muffininwinter](https://discourse.processing.org/u/muffininwinter)\
**Replies:** 2\
**Last updated:** [December 2, 2020, 12:17pm UTC](https://discourse.processing.org/t/it-keeps-me-waiting/25883 "2020-12-02T12:17:01Z")

</div>

It keeps loading, but never get the program running. Anyone knows what’s wrong with it? Thanks a lot!

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

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