# Latest

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

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

**Page:** 419

---

## [Video Game using inputs from serial](https://discourse.processing.org/t/video-game-using-inputs-from-serial/16024)

<div class="topic-metadata">

**Author:** [@richardw1102](https://discourse.processing.org/u/richardw1102)\
**Replies:** 1\
**Last updated:** [December 1, 2019, 11:07pm UTC](https://discourse.processing.org/t/video-game-using-inputs-from-serial/16024 "2019-12-01T23:07:49Z")

</div>

So I am creating a video game, similar to this https://circuitdigest.com/microcontroller-projects/ping-pong-game-using-arduino-accelerometer#comment-30863 I currently have a button thats an input to my arduino and whene…

---

## [Project generative design](https://discourse.processing.org/t/project-generative-design/15805)

<div class="topic-metadata">

**Author:** [@marcoo](https://discourse.processing.org/u/marcoo)\
**Replies:** 2\
**Last updated:** [December 1, 2019, 7:25pm UTC](https://discourse.processing.org/t/project-generative-design/15805 "2019-12-01T19:25:58Z")

</div>

hello again. I am starting a new project development about generative design on processing. The idea is produce a generative silhouette of an image. More detailed, i’m trying to represent dynamically spider man “webs” on…

---

## [Adding Color and music to Ripple effect](https://discourse.processing.org/t/adding-color-and-music-to-ripple-effect/16009)

<div class="topic-metadata">

**Author:** [@Swagific](https://discourse.processing.org/u/Swagific)\
**Replies:** 4\
**Last updated:** [December 1, 2019, 6:37pm UTC](https://discourse.processing.org/t/adding-color-and-music-to-ripple-effect/16009 "2019-12-01T18:37:57Z")

</div>

Hi im trying to create a ripple using mouse dragged. i have the code but i dont know how to change the color im hopping to have it be random whenever its dragged across, and for it to play music and stop once the mouse …

---

## [I have my coordinates, can I zoom in?](https://discourse.processing.org/t/i-have-my-coordinates-can-i-zoom-in/16013)

<div class="topic-metadata">

**Author:** [@libensvivit](https://discourse.processing.org/u/libensvivit)\
**Replies:** 3\
**Last updated:** [December 1, 2019, 3:48pm UTC](https://discourse.processing.org/t/i-have-my-coordinates-can-i-zoom-in/16013 "2019-12-01T15:48:19Z")

</div>

Hi everyone… I’m using discrete fourier transform to draw epicycles with processing library in Java. It looks like this : It is basically bunch of circles rotating in harmony to draw something. I have an ArrayList p…

---

## [Best way to make selection options](https://discourse.processing.org/t/best-way-to-make-selection-options/15993)

<div class="topic-metadata">

**Author:** [@keeg23](https://discourse.processing.org/u/keeg23)\
**Replies:** 4\
**Last updated:** [December 1, 2019, 3:30pm UTC](https://discourse.processing.org/t/best-way-to-make-selection-options/15993 "2019-12-01T15:30:47Z")

</div>

I need help with coding my paint program so I am able to switch between colors. But not sure the best way to set it up. Anything will help.

---

## [Other library right](https://discourse.processing.org/t/other-library-right/15945)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 3\
**Last updated:** [December 1, 2019, 2:40pm UTC](https://discourse.processing.org/t/other-library-right/15945 "2019-12-01T14:40:15Z")

</div>

Hi, I’m programming my own library and I would like to use a part of other library as toxiclib. Can I modify the .jar to use only the class I need ? Can I take some part of the code and writing the author in comments …

---

## [P5.js goes Virtual Reality](https://discourse.processing.org/t/p5-js-goes-virtual-reality/16002)

<div class="topic-metadata">

**Author:** [@kappaxbeta](https://discourse.processing.org/u/kappaxbeta)\
**Replies:** 1\
**Last updated:** [December 1, 2019, 12:52pm UTC](https://discourse.processing.org/t/p5-js-goes-virtual-reality/16002 "2019-12-01T12:52:40Z")

</div>

Hey folk, Im a Virtual Reality enthusiast and P5.js fan. For the future I think it would be great to also View our creation in the new Medias as Mixed Reality and Virtual Reality. https://www.w3.org/TR/webxr/ I wo…

---

## [\[SOLVED\] Use the keyboard to make a design appear](https://discourse.processing.org/t/solved-use-the-keyboard-to-make-a-design-appear/16004)

<div class="topic-metadata">

**Author:** [@P3t3R08](https://discourse.processing.org/u/P3t3R08)\
**Replies:** 7\
**Last updated:** [December 1, 2019, 5:23am UTC](https://discourse.processing.org/t/solved-use-the-keyboard-to-make-a-design-appear/16004 "2019-12-01T05:23:41Z")

</div>

Hello, I am trying to write a program where if I press the letter ‘c’ on the keyboard a design similar to one that is already programmed for, will appear and continue to go in a circle. The only issue is that the design…

---

## [Make object array move as one unit](https://discourse.processing.org/t/make-object-array-move-as-one-unit/15994)

<div class="topic-metadata">

**Author:** [@samm](https://discourse.processing.org/u/samm)\
**Replies:** 1\
**Last updated:** [December 1, 2019, 2:43am UTC](https://discourse.processing.org/t/make-object-array-move-as-one-unit/15994 "2019-12-01T02:43:08Z")

</div>

I am fairly new to P5.js and am trying to make an entity of lines move around the screen and rotate (like a twirling motion). I have the array of lines created but I can’t figure out how to make a statement that will app…

---

## [Objects not disappearing when new screen selected](https://discourse.processing.org/t/objects-not-disappearing-when-new-screen-selected/15778)

<div class="topic-metadata">

**Author:** [@unique\_username](https://discourse.processing.org/u/unique_username)\
**Replies:** 12\
**Last updated:** [December 1, 2019, 2:39am UTC](https://discourse.processing.org/t/objects-not-disappearing-when-new-screen-selected/15778 "2019-12-01T02:39:38Z")

</div>

I’m a bit new to processing, and I’m trying to make a game using multiple levels. Levels are either locked or unlocked, and are represented by either a button or a lock. When a button is pressed, the background does inde…

---

## [Getting data from strain guages](https://discourse.processing.org/t/getting-data-from-strain-guages/15978)

<div class="topic-metadata">

**Author:** [@shariqqureshi](https://discourse.processing.org/u/shariqqureshi)\
**Replies:** 13\
**Last updated:** [December 1, 2019, 2:10am UTC](https://discourse.processing.org/t/getting-data-from-strain-guages/15978 "2019-12-01T02:10:52Z")

</div>

hello guys… i am facing problem regarding processing 3… we are doing final year project in which we are doing structural health monitoring by using strain guages. now being a civil engineer i am not capable of writing c…

---

## [Font error once python sketch is exported (Mac)](https://discourse.processing.org/t/font-error-once-python-sketch-is-exported-mac/16005)

<div class="topic-metadata">

**Author:** [@pip](https://discourse.processing.org/u/pip)\
**Replies:** 2\
**Last updated:** [December 1, 2019, 12:33am UTC](https://discourse.processing.org/t/font-error-once-python-sketch-is-exported-mac/16005 "2019-12-01T00:33:49Z")

</div>

As the title implies, this problem did not occur before the sketch was exported. The specific error is: java.lang.RuntimeException: Could not load font typewrite.vlw. Make sure that the font has been copied to the dat…

---

## [What devices will this work with?](https://discourse.processing.org/t/what-devices-will-this-work-with/15073)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 28\
**Last updated:** [December 1, 2019, 12:30am UTC](https://discourse.processing.org/t/what-devices-will-this-work-with/15073 "2019-12-01T00:30:32Z")

</div>

Can the apps be installed on older devices like Nook, or Amazon Fire tablets directly with USB transfer? Or do they have to go through the Google play store?

---

## [Random rectangle](https://discourse.processing.org/t/random-rectangle/16000)

<div class="topic-metadata">

**Author:** [@elcougario](https://discourse.processing.org/u/elcougario)\
**Replies:** 1\
**Last updated:** [November 30, 2019, 11:33pm UTC](https://discourse.processing.org/t/random-rectangle/16000 "2019-11-30T23:33:49Z")

</div>

Hey guys. Im trying to make rectangles be inside a quad shape I’ve created. How do we do this. I would want them not to touch as well (like not overlap). I’ve though of using a Boolean or and array but I cant figure it o…

---

## [Arduino to Processing String Comparison Error](https://discourse.processing.org/t/arduino-to-processing-string-comparison-error/15968)

<div class="topic-metadata">

**Author:** [@HAOZOO](https://discourse.processing.org/u/HAOZOO)\
**Replies:** 13\
**Last updated:** [November 30, 2019, 10:00pm UTC](https://discourse.processing.org/t/arduino-to-processing-string-comparison-error/15968 "2019-11-30T22:00:07Z")

</div>

Hello, I am trying to have an Arduino use six different buttons to play six different playlists based off of comparing strings sent by Arduino to the value of a string in Processing, but am consistently running into a wa…

---

## [10 Random red blocks on a grid](https://discourse.processing.org/t/10-random-red-blocks-on-a-grid/15814)

<div class="topic-metadata">

**Author:** [@San](https://discourse.processing.org/u/San)\
**Replies:** 6\
**Last updated:** [November 30, 2019, 9:06pm UTC](https://discourse.processing.org/t/10-random-red-blocks-on-a-grid/15814 "2019-11-30T21:06:24Z")

</div>

Hey! I made this 60x40 grid and I am trying to make 10 of the squares red. And it has to be 10 random squares each time I run the program. I have tried a lot but can’t figure it out… Can anyone please tell me who to do…

---

## [ABOUT.... solar system simulation](https://discourse.processing.org/t/about-solar-system-simulation/15969)

<div class="topic-metadata">

**Author:** [@O-O](https://discourse.processing.org/u/O-O)\
**Replies:** 3\
**Last updated:** [November 30, 2019, 9:01pm UTC](https://discourse.processing.org/t/about-solar-system-simulation/15969 "2019-11-30T21:01:18Z")

</div>

Planet\[\] planets=new Planet\[8\]; void setup(){ size(200,200); for(int i=0;i\<planets.length;i++){ planets\[i\]=new Planet(20+i\*10,i+8); } } void draw(){ background(255); pushMatrix(); translate(width/2,height…

---

## [Background Image won't load](https://discourse.processing.org/t/background-image-wont-load/15964)

<div class="topic-metadata">

**Author:** [@thegoodnunes](https://discourse.processing.org/u/thegoodnunes)\
**Replies:** 2\
**Last updated:** [November 30, 2019, 8:55pm UTC](https://discourse.processing.org/t/background-image-wont-load/15964 "2019-11-30T20:55:00Z")

</div>

Hi All- I’m attempting to get this fork process, to run over the top of a background image, instead of the default neutral single color. I’ve loaded the image into the sketch data file, and attempted to set it up and d…

---

## [\[SOLVED\] Using the keyboard to change the direction a moving circle](https://discourse.processing.org/t/solved-using-the-keyboard-to-change-the-direction-a-moving-circle/15991)

<div class="topic-metadata">

**Author:** [@P3t3R08](https://discourse.processing.org/u/P3t3R08)\
**Replies:** 2\
**Last updated:** [November 30, 2019, 8:28pm UTC](https://discourse.processing.org/t/solved-using-the-keyboard-to-change-the-direction-a-moving-circle/15991 "2019-11-30T20:28:24Z")

</div>

Hello, I am trying to write a program that causes the circle to go in one direction but when I press the letter ‘a’ on the keyboard it will go the opposite direction. Additionally, if the circle reaches a boundary it wi…

---

## [Draw rectangles with the mouse, background refresh](https://discourse.processing.org/t/draw-rectangles-with-the-mouse-background-refresh/15961)

<div class="topic-metadata">

**Author:** [@antang](https://discourse.processing.org/u/antang)\
**Replies:** 4\
**Last updated:** [November 30, 2019, 8:21pm UTC](https://discourse.processing.org/t/draw-rectangles-with-the-mouse-background-refresh/15961 "2019-11-30T20:21:17Z")

</div>

hello everybody, I’m new to processing. I am looking to write a program in which I select an area of an image ( like “rect selection” in Photoshop for example…), this area has a red stroke and is slightly opaque, once t…

---

## [Circle/ Square Packing Tips](https://discourse.processing.org/t/circle-square-packing-tips/15929)

<div class="topic-metadata">

**Author:** [@K3N](https://discourse.processing.org/u/K3N)\
**Replies:** 5\
**Last updated:** [November 30, 2019, 8:07pm UTC](https://discourse.processing.org/t/circle-square-packing-tips/15929 "2019-11-30T20:07:16Z")

</div>

Hello I am new here so I hope I follow the rules and am able to get some help :stuck\_out\_tongue: I have this code from my Prof that was originally for circle packing and i just slightly adjusted it to be square packing …

---

## [Accumulate rotation with snapping](https://discourse.processing.org/t/accumulate-rotation-with-snapping/15609)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 30\
**Last updated:** [November 30, 2019, 7:55pm UTC](https://discourse.processing.org/t/accumulate-rotation-with-snapping/15609 "2019-11-30T19:55:47Z")

</div>

For a few weeks I have been having trouble finding a clean way to measure the accumulated angle of a circular drag while snapping the result to seconds on a clock. This is as close as I have come but it is still not wor…

---

## [Ignore the first point in a Line (Kinect Depth)](https://discourse.processing.org/t/ignore-the-first-point-in-a-line-kinect-depth/15985)

<div class="topic-metadata">

**Author:** [@wilsown](https://discourse.processing.org/u/wilsown)\
**Replies:** 0\
**Last updated:** [November 30, 2019, 4:55pm UTC](https://discourse.processing.org/t/ignore-the-first-point-in-a-line-kinect-depth/15985 "2019-11-30T16:55:36Z")

</div>

Hey Guys, i’d like to draw lines similar to the infamous “Unknown Pleasure” Album cover but with a Kinect v2 as source for the line positioning and the depth measured by the Kinect for the elevation of the lines. Like …

---

## [Error during download and install of \<library.name\>](https://discourse.processing.org/t/error-during-download-and-install-of-library-name/15801)

<div class="topic-metadata">

**Author:** [@Pisicandru](https://discourse.processing.org/u/Pisicandru)\
**Replies:** 5\
**Last updated:** [November 30, 2019, 4:44pm UTC](https://discourse.processing.org/t/error-during-download-and-install-of-library-name/15801 "2019-11-30T16:44:20Z")

</div>

Hi, I am a beginner and I am starting small - like - how to install a library. I run Processing 3.5.3 and using Menu - Import Library - Add Library. I am getting the following error: Error during download and install of…

---

## [Album cover for Floating Spectrum](https://discourse.processing.org/t/album-cover-for-floating-spectrum/14943)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 22\
**Last updated:** [November 30, 2019, 4:09pm UTC](https://discourse.processing.org/t/album-cover-for-floating-spectrum/14943 "2019-11-30T16:09:31Z")

</div>

In the beginning of this year I created a Processing application to paint the artwork for an album. You can read about the “making of” in this blog post: https://hamoid.com/code/2019-a-point-between/ The album was re…

---

## [Rotate() weird behaviour](https://discourse.processing.org/t/rotate-weird-behaviour/15937)

<div class="topic-metadata">

**Author:** [@kalab](https://discourse.processing.org/u/kalab)\
**Replies:** 6\
**Last updated:** [November 30, 2019, 2:46pm UTC](https://discourse.processing.org/t/rotate-weird-behaviour/15937 "2019-11-30T14:46:07Z")

</div>

Hey folks, So i have a simple block of code here where i am placing a bunch of triangles on the screen and rotating them randomly in multiples of 90 degrees at every draw. It starts off all right but tends to get a grad…

---

## [Visually show beam in processing](https://discourse.processing.org/t/visually-show-beam-in-processing/15979)

<div class="topic-metadata">

**Author:** [@shariqqureshi](https://discourse.processing.org/u/shariqqureshi)\
**Replies:** 11\
**Last updated:** [November 30, 2019, 2:44pm UTC](https://discourse.processing.org/t/visually-show-beam-in-processing/15979 "2019-11-30T14:44:15Z")

</div>

in our final year project our wants us to show beam in processing software… i.e if we apply load on he beam in reality it will be visible in processing software also show us deformation recorded by strain guages … can …

---

## [How to implement LowShelf filter or Bass Effect in P5.js?](https://discourse.processing.org/t/how-to-implement-lowshelf-filter-or-bass-effect-in-p5-js/15982)

<div class="topic-metadata">

**Author:** [@aadarshvelu](https://discourse.processing.org/u/aadarshvelu)\
**Replies:** 0\
**Last updated:** [November 30, 2019, 2:40pm UTC](https://discourse.processing.org/t/how-to-implement-lowshelf-filter-or-bass-effect-in-p5-js/15982 "2019-11-30T14:40:33Z")

</div>

Hi, I’m new to p5.js! and I’m looking to implement bass effect in project So I need a filter called “LowShelf” filter which exists in web audio API… There are filters like bandpass, lowpass, highpass which exists in p5.…

---

## [I need tips about num input:)](https://discourse.processing.org/t/i-need-tips-about-num-input/15973)

<div class="topic-metadata">

**Author:** [@24stevek](https://discourse.processing.org/u/24stevek)\
**Replies:** 11\
**Last updated:** [November 30, 2019, 12:01pm UTC](https://discourse.processing.org/t/i-need-tips-about-num-input/15973 "2019-11-30T12:01:55Z")

</div>

HI! I need to get a number input, but it’s all mixed up. I’ve tried Keypressed - that doesn’t work well because it notices spacebar as input too and using virtual buttons like a calculator - that works well but is inc…

---

## [Changing WiFi network on Android](https://discourse.processing.org/t/changing-wifi-network-on-android/12352)

<div class="topic-metadata">

**Author:** [@KTibow](https://discourse.processing.org/u/KTibow)\
**Replies:** 8\
**Last updated:** [November 30, 2019, 9:48am UTC](https://discourse.processing.org/t/changing-wifi-network-on-android/12352 "2019-11-30T09:48:41Z")

</div>

Hi! I need to change my WiFi network in my app, but I don’t know how. Can you tell me how? If I haven’t searched enough, it’s okay if you let me know. Thanks!

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

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