# Latest

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

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

**Page:** 346

---

## [Help Needed: oscP5 sending null:0](https://discourse.processing.org/t/help-needed-oscp5-sending-null-0/21107)

<div class="topic-metadata">

**Author:** [@mattmorris](https://discourse.processing.org/u/mattmorris)\
**Replies:** 1\
**Last updated:** [May 23, 2020, 11:28pm UTC](https://discourse.processing.org/t/help-needed-oscp5-sending-null-0/21107 "2020-05-23T23:28:15Z")

</div>

Hi, I am currently working on a project where Processing and the oscP5 library will be used to send OSC messages to companion. I am sending an OSC string as follows: OscMessage message= new OscMessage("/press/bank/1/2"…

---

## [Glowing Geometry](https://discourse.processing.org/t/glowing-geometry/21116)

<div class="topic-metadata">

**Author:** [@Aleksi](https://discourse.processing.org/u/Aleksi)\
**Replies:** 5\
**Last updated:** [May 23, 2020, 11:20pm UTC](https://discourse.processing.org/t/glowing-geometry/21116 "2020-05-23T23:20:10Z")

</div>

For my next piece I really want a good glow, so I finally decided to tackle it seriously. I’ve long tried to achieve a good glow, without resorting to image processing or shader strategies. That is to say, I want to be …

---

## [Old Project, New Version](https://discourse.processing.org/t/old-project-new-version/20156)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 22\
**Last updated:** [May 23, 2020, 10:34pm UTC](https://discourse.processing.org/t/old-project-new-version/20156 "2020-05-23T22:34:49Z")

</div>

I’ve been fooling with this thing for ages and finally have a version that agrees with what I initially had in mind. That doesnt mean its great, just that it works ok. First thing you need to do is get a worldmap, any …

---

## [Converting this code from Celsius to Fahrenheit](https://discourse.processing.org/t/converting-this-code-from-celsius-to-fahrenheit/21221)

<div class="topic-metadata">

**Author:** [@bobcat21976](https://discourse.processing.org/u/bobcat21976)\
**Replies:** 1\
**Last updated:** [May 23, 2020, 9:49pm UTC](https://discourse.processing.org/t/converting-this-code-from-celsius-to-fahrenheit/21221 "2020-05-23T21:49:32Z")

</div>

import javax.swing.JOptionPane; int FREEZE\_F=32; int BOIL\_F=212; int temp ; String scale; String answer= JOptionPane.showInputDialog("Enter the temperature in degrees: "); temp= Integer.parseInt(answer); scale = JOption…

---

## [Image Array from non-sequential image names](https://discourse.processing.org/t/image-array-from-non-sequential-image-names/20990)

<div class="topic-metadata">

**Author:** [@clintsleeper](https://discourse.processing.org/u/clintsleeper)\
**Replies:** 4\
**Last updated:** [May 23, 2020, 6:55pm UTC](https://discourse.processing.org/t/image-array-from-non-sequential-image-names/20990 "2020-05-23T18:55:54Z")

</div>

Hi all, I’m hoping I have a simple question - I’m trying to populate an image array from a folder where images are stored but will not have sequential naming schemes (the folder is populated by a PHP uploader with a han…

---

## [My gameFramework for Processing with game example ;) We make a gameJam?](https://discourse.processing.org/t/my-gameframework-for-processing-with-game-example-we-make-a-gamejam/21174)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 3\
**Last updated:** [May 23, 2020, 6:05pm UTC](https://discourse.processing.org/t/my-gameframework-for-processing-with-game-example-we-make-a-gamejam/21174 "2020-05-23T18:05:39Z")

</div>

Hello community! I come to bring the work that has been taking me for 3 years, a framework for video games in processing. This is the game with which I am performing all the engine tests, it is a graphic adventure / arc…

---

## [Help with displaying video](https://discourse.processing.org/t/help-with-displaying-video/19006)

<div class="topic-metadata">

**Author:** [@TechMaster04](https://discourse.processing.org/u/TechMaster04)\
**Replies:** 36\
**Last updated:** [May 23, 2020, 3:21pm UTC](https://discourse.processing.org/t/help-with-displaying-video/19006 "2020-05-23T15:21:30Z")

</div>

Hello all, Currently working on porting my windows app to Android. The Windows app has a startup animation in the form of a video. I tried to use the built in video library of Processing, but that just crashes the app a…

---

## [Someone please help me: enemy shooting](https://discourse.processing.org/t/someone-please-help-me-enemy-shooting/21197)

<div class="topic-metadata">

**Author:** [@Nis](https://discourse.processing.org/u/Nis)\
**Replies:** 4\
**Last updated:** [May 23, 2020, 3:12pm UTC](https://discourse.processing.org/t/someone-please-help-me-enemy-shooting/21197 "2020-05-23T15:12:36Z")

</div>

https://editor.p5js.org/Nis\_Collect/sketches/U0p3GjOK1 Above is the link of my code. Please check it and please tell me how can I make the circular enemies (which are moving towards left), fire small circular bullets a…

---

## [Android camera .. save image](https://discourse.processing.org/t/android-camera-save-image/731)

<div class="topic-metadata">

**Author:** [@basher24](https://discourse.processing.org/u/basher24)\
**Replies:** 6\
**Last updated:** [May 23, 2020, 1:38pm UTC](https://discourse.processing.org/t/android-camera-save-image/731 "2020-05-23T13:38:27Z")

</div>

hi, Im trying to saving the image from my android camera … i search an found this code … its work to make a sub directory … but didnt save the image on it ! whats wrong with my code … help thanx import android.app.…

---

## [Converting my code into Android game?](https://discourse.processing.org/t/converting-my-code-into-android-game/21195)

<div class="topic-metadata">

**Author:** [@Nis](https://discourse.processing.org/u/Nis)\
**Replies:** 3\
**Last updated:** [May 23, 2020, 1:29pm UTC](https://discourse.processing.org/t/converting-my-code-into-android-game/21195 "2020-05-23T13:29:51Z")

</div>

Is there any way, using which I can convert my game developed in p5.js editor into an Android game.

---

## [How to move a figure without selecting others?](https://discourse.processing.org/t/how-to-move-a-figure-without-selecting-others/21145)

<div class="topic-metadata">

**Author:** [@yass](https://discourse.processing.org/u/yass)\
**Replies:** 2\
**Last updated:** [May 23, 2020, 12:40pm UTC](https://discourse.processing.org/t/how-to-move-a-figure-without-selecting-others/21145 "2020-05-23T12:40:48Z")

</div>

Hello, I am trying to create a game. i have a class that draw triangles and i select them through a circle that is inside. The problem is when I have several figures, the circles overlap and I cannot select them one by …

---

## [Player should move on drag, shouldn’t respond on click](https://discourse.processing.org/t/player-should-move-on-drag-shouldn-t-respond-on-click/21194)

<div class="topic-metadata">

**Author:** [@Nis](https://discourse.processing.org/u/Nis)\
**Replies:** 5\
**Last updated:** [May 23, 2020, 12:20pm UTC](https://discourse.processing.org/t/player-should-move-on-drag-shouldn-t-respond-on-click/21194 "2020-05-23T12:20:42Z")

</div>

https://editor.p5js.org/Nis\_Collect/sketches/U0p3GjOK1 Above is the link of my code in p5.js editor. As you can see in the code that the player which is in blue colour on the preview screen, moves on mouseX and mouseY. …

---

## [Question as drawing with pixels on Processing](https://discourse.processing.org/t/question-as-drawing-with-pixels-on-processing/21207)

<div class="topic-metadata">

**Author:** [@shinnn](https://discourse.processing.org/u/shinnn)\
**Replies:** 1\
**Last updated:** [May 23, 2020, 9:07am UTC](https://discourse.processing.org/t/question-as-drawing-with-pixels-on-processing/21207 "2020-05-23T09:07:56Z")

</div>

Hello Now I am trying to draw picture based on the data got from the original picture. It went quite successful on p5.js but it somehow did not work well on Processing. Am I doing wrong? and What is the problem? Thank y…

---

## [Please help with Perlin Noise problem](https://discourse.processing.org/t/please-help-with-perlin-noise-problem/21160)

<div class="topic-metadata">

**Author:** [@noob](https://discourse.processing.org/u/noob)\
**Replies:** 2\
**Last updated:** [May 23, 2020, 1:22am UTC](https://discourse.processing.org/t/please-help-with-perlin-noise-problem/21160 "2020-05-23T01:22:02Z")

</div>

Hi good people, I have been looking for this solutions in days now. I hope you can show me the light how to get it done. So I found this image in the internet: I try to replicate the image above using p5js, with pe…

---

## [Problem with box colliders in P3D](https://discourse.processing.org/t/problem-with-box-colliders-in-p3d/21166)

<div class="topic-metadata">

**Author:** [@Astroide](https://discourse.processing.org/u/Astroide)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 11:19pm UTC](https://discourse.processing.org/t/problem-with-box-colliders-in-p3d/21166 "2020-05-22T23:19:43Z")

</div>

I am trying to make a tridimensional game with P3D (a finite world of solid boxes of different colors). I always have the same problem: only the 9 center blocks seem to have a working collider. The code : float x=0; int…

---

## [All the permutations of a given string](https://discourse.processing.org/t/all-the-permutations-of-a-given-string/21172)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 11:07pm UTC](https://discourse.processing.org/t/all-the-permutations-of-a-given-string/21172 "2020-05-22T23:07:56Z")

</div>

Is there a way (in Processing) to find all the permutations of a given string? To be worthwhile, I think the string needs to be at least six characters long. This could be a candidate for \<http://www.rosettacode.org/wik…

---

## [Can you save multiple tables in a single csv file?](https://discourse.processing.org/t/can-you-save-multiple-tables-in-a-single-csv-file/21175)

<div class="topic-metadata">

**Author:** [@abdullahmq](https://discourse.processing.org/u/abdullahmq)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 10:52pm UTC](https://discourse.processing.org/t/can-you-save-multiple-tables-in-a-single-csv-file/21175 "2020-05-22T22:52:09Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I am trying to add and save multiples tables in a single CSV file, I have a car class and every car class inherits its own table but when I stop…

---

## [Mario game--adding ground and moving screen with player](https://discourse.processing.org/t/mario-game-adding-ground-and-moving-screen-with-player/21184)

<div class="topic-metadata">

**Author:** [@jasmine](https://discourse.processing.org/u/jasmine)\
**Replies:** 3\
**Last updated:** [May 22, 2020, 10:28pm UTC](https://discourse.processing.org/t/mario-game-adding-ground-and-moving-screen-with-player/21184 "2020-05-22T22:28:26Z")

</div>

int gameMode=0;//0 - menu, 1 - play game, 2 - instructions, 3 - character selection int selChar=1;//default character is "character 1" int level=1; color red=color(255, 0, 0); color green=color(0, 255, 0); color blue=col…

---

## [ArrayOutOfBounds in bonified Shiffman tutorial](https://discourse.processing.org/t/arrayoutofbounds-in-bonified-shiffman-tutorial/21144)

<div class="topic-metadata">

**Author:** [@clarbar9](https://discourse.processing.org/u/clarbar9)\
**Replies:** 6\
**Last updated:** [May 22, 2020, 9:55pm UTC](https://discourse.processing.org/t/arrayoutofbounds-in-bonified-shiffman-tutorial/21144 "2020-05-22T21:55:52Z")

</div>

I was following Dan Shiffman’s tutorial on Motion Detection and kept getting an ArrayOutOfBounds error. I couldn’t figure out why so I decided to test the exact same code copied directly from the Coding Train github acc…

---

## [Number box like Pure Data](https://discourse.processing.org/t/number-box-like-pure-data/21064)

<div class="topic-metadata">

**Author:** [@patricio1979](https://discourse.processing.org/u/patricio1979)\
**Replies:** 6\
**Last updated:** [May 22, 2020, 8:41pm UTC](https://discourse.processing.org/t/number-box-like-pure-data/21064 "2020-05-22T20:41:36Z")

</div>

Nailed it. Made a number box like Pure Data but it still needs some work, any suggestions? PFont f; // STEP 1 Declare PFont variable int boton1X, boton1Y, boton1Size; // Boton1 boolean boton1Over, boton1Presionado; …

---

## [Call contacts app](https://discourse.processing.org/t/call-contacts-app/21170)

<div class="topic-metadata">

**Author:** [@Bobby54](https://discourse.processing.org/u/Bobby54)\
**Replies:** 10\
**Last updated:** [May 22, 2020, 8:15pm UTC](https://discourse.processing.org/t/call-contacts-app/21170 "2020-05-22T20:15:35Z")

</div>

Hi, I want to be able to open the on-phone contacts app by clicking on a button in my sketch. I am mainly looking for packages to getting the code of the first answer to work. https://stackoverflow.com/questions/57870…

---

## [Advice on setting width of the slider to cm or inches](https://discourse.processing.org/t/advice-on-setting-width-of-the-slider-to-cm-or-inches/21118)

<div class="topic-metadata">

**Author:** [@cperezl](https://discourse.processing.org/u/cperezl)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 5:05pm UTC](https://discourse.processing.org/t/advice-on-setting-width-of-the-slider-to-cm-or-inches/21118 "2020-05-22T17:05:00Z")

</div>

Hi everyone, I have a very basic understanding of p5.js and I am working on a program using sliders for a psychological experiment. The sliders will be used to answer questions on a scale from “nothing” to “a lot”. When…

---

## [Send Value to slider in the index.html from p5sketch?](https://discourse.processing.org/t/send-value-to-slider-in-the-index-html-from-p5sketch/21157)

<div class="topic-metadata">

**Author:** [@ballinoates](https://discourse.processing.org/u/ballinoates)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 4:13pm UTC](https://discourse.processing.org/t/send-value-to-slider-in-the-index-html-from-p5sketch/21157 "2020-05-22T16:13:42Z")

</div>

Hi All- I have a slightly complex index.html page with additional js that allows the user to switch between different sketches. In each sketch I have coded 2 sliders that live in the index outside of the canvas. The ide…

---

## [How to embed processing sketch onto HTML web page?](https://discourse.processing.org/t/how-to-embed-processing-sketch-onto-html-web-page/21151)

<div class="topic-metadata">

**Author:** [@Java.SourceForger](https://discourse.processing.org/u/Java.SourceForger)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 3:42pm UTC](https://discourse.processing.org/t/how-to-embed-processing-sketch-onto-html-web-page/21151 "2020-05-22T15:42:41Z")

</div>

Hi. how to I embed my processing sketch directly onto a web page? My sketch uses P3D. libraries: Sound, Video and other miscellaneous libraries.

---

## [Hardcore-model(random placement and detachment of spheres on a grid, whereby neighbouring sites are blocked by the sphere)](https://discourse.processing.org/t/hardcore-model-random-placement-and-detachment-of-spheres-on-a-grid-whereby-neighbouring-sites-are-blocked-by-the-sphere/21029)

<div class="topic-metadata">

**Author:** [@QTPay](https://discourse.processing.org/u/QTPay)\
**Replies:** 3\
**Last updated:** [May 22, 2020, 1:30pm UTC](https://discourse.processing.org/t/hardcore-model-random-placement-and-detachment-of-spheres-on-a-grid-whereby-neighbouring-sites-are-blocked-by-the-sphere/21029 "2020-05-22T13:30:08Z")

</div>

hello, I’m trying now to do Simulation of Hard Core model (random placement and detachment of spheres on a grid, whereby neighbouring sites are blocked by the sphere) using Markov chain. the task is the following : W…

---

## [The color tracking program behaves differently when sized up; why?](https://discourse.processing.org/t/the-color-tracking-program-behaves-differently-when-sized-up-why/21162)

<div class="topic-metadata">

**Author:** [@calla\_balanescu](https://discourse.processing.org/u/calla_balanescu)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 1:23pm UTC](https://discourse.processing.org/t/the-color-tracking-program-behaves-differently-when-sized-up-why/21162 "2020-05-22T13:23:08Z")

</div>

Hello fellow processing enthusiasts!! I am currently working on a project for university and I am pretty much at the beginning with the code. In it, I am using color detection to avoid the walls of the maze you’re supp…

---

## [Printing the y coordinate is "undefined"](https://discourse.processing.org/t/printing-the-y-coordinate-is-undefined/21158)

<div class="topic-metadata">

**Author:** [@Nis](https://discourse.processing.org/u/Nis)\
**Replies:** 3\
**Last updated:** [May 22, 2020, 11:42am UTC](https://discourse.processing.org/t/printing-the-y-coordinate-is-undefined/21158 "2020-05-22T11:42:56Z")

</div>

The above the picture of my code, where it isn’t printing the y coordinate of the moving rectangles, instead it is printing “undefined”

---

## [Collision of the player with the moving rectangles](https://discourse.processing.org/t/collision-of-the-player-with-the-moving-rectangles/21124)

<div class="topic-metadata">

**Author:** [@Nis](https://discourse.processing.org/u/Nis)\
**Replies:** 18\
**Last updated:** [May 22, 2020, 11:41am UTC](https://discourse.processing.org/t/collision-of-the-player-with-the-moving-rectangles/21124 "2020-05-22T11:41:47Z")

</div>

https://editor.p5js.org/Nis\_Collect/sketches/U0p3GjOK1 Given above is the link of my project. Someone please help me by reviewing my code and telling me that how can I confirm the collision of the player with the movin…

---

## [Command Prompt wont take input paths](https://discourse.processing.org/t/command-prompt-wont-take-input-paths/21152)

<div class="topic-metadata">

**Author:** [@F53](https://discourse.processing.org/u/F53)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 5:07am UTC](https://discourse.processing.org/t/command-prompt-wont-take-input-paths/21152 "2020-05-22T05:07:28Z")

</div>

I am writing a program to automate an .exe file that takes file paths as arguments. Lets call this file we want to automatically call scale.exe The Strings scalarPath, inputPath, and outputPath are all made using the f…

---

## [Help on loops (I'm a beginner)](https://discourse.processing.org/t/help-on-loops-im-a-beginner/21155)

<div class="topic-metadata">

**Author:** [@lexy897](https://discourse.processing.org/u/lexy897)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 4:23am UTC](https://discourse.processing.org/t/help-on-loops-im-a-beginner/21155 "2020-05-22T04:23:03Z")

</div>

Hi there! I’m new to processing and this forum so please be patient haha. I need to make a processing code that moves 4 squares that touch each other down the screen in unison. I’ve figured out the speed and moving one …

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

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