# Latest

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

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

**Page:** 183

---

## [\[deep-vision-processing library\] Can I use it with new training?](https://discourse.processing.org/t/deep-vision-processing-library-can-i-use-it-with-new-training/33111)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [October 27, 2021, 9:17am UTC](https://discourse.processing.org/t/deep-vision-processing-library-can-i-use-it-with-new-training/33111 "2021-10-27T09:17:28Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Can I use it with new training? Object recognition is possible through ‘Deep Vision Processing’. I want to recognize another object. So, you n…

---

## [How to use static variables in Processing?](https://discourse.processing.org/t/how-to-use-static-variables-in-processing/32774)

<div class="topic-metadata">

**Author:** [@R1S8K](https://discourse.processing.org/u/R1S8K)\
**Replies:** 12\
**Last updated:** [October 27, 2021, 12:42am UTC](https://discourse.processing.org/t/how-to-use-static-variables-in-processing/32774 "2021-10-27T00:42:47Z")

</div>

Hi, I’m working on a LCD128x64 C code for an Arduino platform and doing my quick snippets with processing. Now, I need to use static variables inside a function, but apparently there are no static keyword in processing…

---

## [PImage Draw transparent .jpg keeps overwriting the newest mouseY, don't know how to fix](https://discourse.processing.org/t/pimage-draw-transparent-jpg-keeps-overwriting-the-newest-mousey-dont-know-how-to-fix/33092)

<div class="topic-metadata">

**Author:** [@Lott](https://discourse.processing.org/u/Lott)\
**Replies:** 3\
**Last updated:** [October 26, 2021, 9:49pm UTC](https://discourse.processing.org/t/pimage-draw-transparent-jpg-keeps-overwriting-the-newest-mousey-dont-know-how-to-fix/33092 "2021-10-26T21:49:28Z")

</div>

Hi!! Just started using Processing and I’m having a hard time with my transparent jpg… I have a code for interactive mouseY but because the background is transparant you can see the previous mouse movement (what I don’t…

---

## [Randomized lines on a grid - homework help - it's kinda due tonight](https://discourse.processing.org/t/randomized-lines-on-a-grid-homework-help-its-kinda-due-tonight/32964)

<div class="topic-metadata">

**Author:** [@Jamii](https://discourse.processing.org/u/Jamii)\
**Replies:** 3\
**Last updated:** [October 26, 2021, 4:55pm UTC](https://discourse.processing.org/t/randomized-lines-on-a-grid-homework-help-its-kinda-due-tonight/32964 "2021-10-26T16:55:40Z")

</div>

Hi, I’m really new to processing and I need some help on an idea I don’t really know where to start at. What I have now is a grid, and I’ll make it not visible later, it just acts as a guideline. I want a vertical line…

---

## [Processing throw syntax error when I define a function](https://discourse.processing.org/t/processing-throw-syntax-error-when-i-define-a-function/33041)

<div class="topic-metadata">

**Author:** [@isikoromochi](https://discourse.processing.org/u/isikoromochi)\
**Replies:** 3\
**Last updated:** [October 26, 2021, 11:08am UTC](https://discourse.processing.org/t/processing-throw-syntax-error-when-i-define-a-function/33041 "2021-10-26T11:08:19Z")

</div>

Hi all, I can’t define any function because of syntax error. void setup(){ size(1000,1000); } line(100,100,200,300); This code throws “Syntax Error - Missing operator, semicolon, or ‘}’ near ‘100’?” at line 5. I t…

---

## [Nice Shadertoy Sketch in py5](https://discourse.processing.org/t/nice-shadertoy-sketch-in-py5/33088)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 1\
**Last updated:** [October 26, 2021, 2:05pm UTC](https://discourse.processing.org/t/nice-shadertoy-sketch-in-py5/33088 "2021-10-26T14:05:40Z")

</div>

Previously I converted a recent shadertoy sketch to JRubyArt, for the benefit of py5 followers @tabreturn @villares @hx2A , here is same sketch translated to py5. import py5 from vec2d import vec2d # taste of noise 7 by…

---

## [Nice Shader Toy Sketch in JRubyArt](https://discourse.processing.org/t/nice-shader-toy-sketch-in-jrubyart/33060)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 0\
**Last updated:** [October 25, 2021, 2:06pm UTC](https://discourse.processing.org/t/nice-shader-toy-sketch-in-jrubyart/33060 "2021-10-25T14:06:07Z")

</div>

Previously I posted examples of my shadertoy2jruby\_art tool in action. But sometimes that’s not quite enough for some ShaderToy sketches like the example of the week by Leon Denise which I split into two shader files as …

---

## [Different pixel sizes in one image - radial small to big](https://discourse.processing.org/t/different-pixel-sizes-in-one-image-radial-small-to-big/33047)

<div class="topic-metadata">

**Author:** [@AntoniaVincenza](https://discourse.processing.org/u/AntoniaVincenza)\
**Replies:** 17\
**Last updated:** [October 26, 2021, 11:21am UTC](https://discourse.processing.org/t/different-pixel-sizes-in-one-image-radial-small-to-big/33047 "2021-10-26T11:21:55Z")

</div>

Hi! I would like to rasterize an image into pixels, but have struggles to find the right code for what I am looking for: I would like it to have a very high resolution in the middle and then kind of “fall apart” into bi…

---

## [Efficiently animated PShape groups](https://discourse.processing.org/t/efficiently-animated-pshape-groups/33068)

<div class="topic-metadata">

**Author:** [@BennyHacker](https://discourse.processing.org/u/BennyHacker)\
**Replies:** 0\
**Last updated:** [October 26, 2021, 12:31am UTC](https://discourse.processing.org/t/efficiently-animated-pshape-groups/33068 "2021-10-26T00:31:05Z")

</div>

Hello Forum. I’ve been working a lot with PShapes and PShape groups as they tend to be efficient when rendering lots of geometry. The main problem I had with this method was that textured PShapes were initiated and then…

---

## [Having trouble trying to implement bucket sort algorithm](https://discourse.processing.org/t/having-trouble-trying-to-implement-bucket-sort-algorithm/33066)

<div class="topic-metadata">

**Author:** [@systemCollapse](https://discourse.processing.org/u/systemCollapse)\
**Replies:** 2\
**Last updated:** [October 25, 2021, 7:34pm UTC](https://discourse.processing.org/t/having-trouble-trying-to-implement-bucket-sort-algorithm/33066 "2021-10-25T19:34:51Z")

</div>

Im trying to bucket sort an array and represent the sorting visually with processing functions. Found this bucket sort code to be rather common used in Java: import java.util.\*; import java.util.Collections; float\[\] ar…

---

## [How transform a value into a html element in p5?](https://discourse.processing.org/t/how-transform-a-value-into-a-html-element-in-p5/33050)

<div class="topic-metadata">

**Author:** [@letlet](https://discourse.processing.org/u/letlet)\
**Replies:** 4\
**Last updated:** [October 25, 2021, 7:11pm UTC](https://discourse.processing.org/t/how-transform-a-value-into-a-html-element-in-p5/33050 "2021-10-25T19:11:45Z")

</div>

Hi! I’m trying to make a single web page with p5.js, but at some moment I create an input and the value of the input I want to transform into a html tag (more specifically ‘h3’). I already tried the “.html()” as this exa…

---

## [Video loading problem](https://discourse.processing.org/t/video-loading-problem/33062)

<div class="topic-metadata">

**Author:** [@Rayenblue](https://discourse.processing.org/u/Rayenblue)\
**Replies:** 2\
**Last updated:** [October 25, 2021, 6:33pm UTC](https://discourse.processing.org/t/video-loading-problem/33062 "2021-10-25T18:33:54Z")

</div>

Hello everyone , i try to load a video in processing but i have the loading’s message erreur. import processing.video.\*; Movie video; void setup() { size(600, 400); video = new Movie(this,"intro.quizz"); video.l…

---

## [Recreating the Photoshop Pen Tool in Processing](https://discourse.processing.org/t/recreating-the-photoshop-pen-tool-in-processing/33042)

<div class="topic-metadata">

**Author:** [@sebest\_design](https://discourse.processing.org/u/sebest_design)\
**Replies:** 2\
**Last updated:** [October 25, 2021, 2:50pm UTC](https://discourse.processing.org/t/recreating-the-photoshop-pen-tool-in-processing/33042 "2021-10-25T14:50:49Z")

</div>

Hello. I am working on a school project. I am supposed to create a Snapchat filter. I am trying to create something close to the pen tool with Processing 3. So far I have not been able to figure out how to use arrays al…

---

## [Define a startingpoint from a .png file in processing](https://discourse.processing.org/t/define-a-startingpoint-from-a-png-file-in-processing/32896)

<div class="topic-metadata">

**Author:** [@sigbjorn](https://discourse.processing.org/u/sigbjorn)\
**Replies:** 15\
**Last updated:** [October 22, 2021, 4:31pm UTC](https://discourse.processing.org/t/define-a-startingpoint-from-a-png-file-in-processing/32896 "2021-10-22T16:31:25Z")

</div>

Hi! Im have a .png file with a black graph on it. (just a single black line on a complete white background) I would like to define two starting points from stroke-functions amongst this line. one stroke function which …

---

## [BREAKOUT Project - Help with collision detection](https://discourse.processing.org/t/breakout-project-help-with-collision-detection/16546)

<div class="topic-metadata">

**Author:** [@dunkinsa](https://discourse.processing.org/u/dunkinsa)\
**Replies:** 27\
**Last updated:** [December 30, 2019, 9:56am UTC](https://discourse.processing.org/t/breakout-project-help-with-collision-detection/16546 "2019-12-30T09:56:22Z")

</div>

Hello everyone! I’m new to Processing and attempting to create a version of Breakout. I am nearing the end of my project but I didn’t find any good way/solution to make my bricks disappear when the ball hits them. I feel…

---

## [Unfolding library in processing 2](https://discourse.processing.org/t/unfolding-library-in-processing-2/33052)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 0\
**Last updated:** [October 25, 2021, 9:38am UTC](https://discourse.processing.org/t/unfolding-library-in-processing-2/33052 "2021-10-25T09:38:50Z")

</div>

i have followed these instructions and put the unzipped library in the path in preferences but it does not work

---

## [How to run Processing code in Visual Studio?](https://discourse.processing.org/t/how-to-run-processing-code-in-visual-studio/33009)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 9\
**Last updated:** [October 25, 2021, 9:02am UTC](https://discourse.processing.org/t/how-to-run-processing-code-in-visual-studio/33009 "2021-10-25T09:02:10Z")

</div>

i installed the processing extension to visual studio, but when i run it i get this message when i then click on “find processing exstenstion” i get this how do i fix this?

---

## [After multiple installs Processing wont start, independent of version](https://discourse.processing.org/t/after-multiple-installs-processing-wont-start-independent-of-version/32325)

<div class="topic-metadata">

**Author:** [@Arago](https://discourse.processing.org/u/Arago)\
**Replies:** 0\
**Last updated:** [September 20, 2021, 4:06am UTC](https://discourse.processing.org/t/after-multiple-installs-processing-wont-start-independent-of-version/32325 "2021-09-20T04:06:01Z")

</div>

Context Im in college and for a class my teacher is using processing, everything was going fine until we needed to use the contributions manager to download a library for some assingments. At first I couldn’t use any of…

---

## [The get() function returns NullPointerException](https://discourse.processing.org/t/the-get-function-returns-nullpointerexception/33039)

<div class="topic-metadata">

**Author:** [@s31](https://discourse.processing.org/u/s31)\
**Replies:** 5\
**Last updated:** [October 24, 2021, 4:06pm UTC](https://discourse.processing.org/t/the-get-function-returns-nullpointerexception/33039 "2021-10-24T16:06:00Z")

</div>

Hello, I’ve been trying to use the get() function inside my sketch to get the colour of a pixel at a specific position. However, when I attempt to do this inside the sketch it returns NullPointerException, I think I’ve …

---

## [How to make another ball after a click](https://discourse.processing.org/t/how-to-make-another-ball-after-a-click/33038)

<div class="topic-metadata">

**Author:** [@Kenga123456](https://discourse.processing.org/u/Kenga123456)\
**Replies:** 5\
**Last updated:** [October 24, 2021, 1:06pm UTC](https://discourse.processing.org/t/how-to-make-another-ball-after-a-click/33038 "2021-10-24T13:06:26Z")

</div>

class Ball { float x = random(0, width); float y = 100; float ySpeed = 1; void move() { y += ySpeed } void show() { ellipse(x, y, 20, 20); } } Ball\[\] balls = new Ball \[1\]; void setup() { frameRate(60); si…

---

## [Collisions and arrays on Processing Java #2](https://discourse.processing.org/t/collisions-and-arrays-on-processing-java-2/33033)

<div class="topic-metadata">

**Author:** [@Locohogo12](https://discourse.processing.org/u/Locohogo12)\
**Replies:** 1\
**Last updated:** [October 24, 2021, 10:12am UTC](https://discourse.processing.org/t/collisions-and-arrays-on-processing-java-2/33033 "2021-10-24T10:12:44Z")

</div>

I’ve built my space game, but am unable to get my bullet to break my moon, not sure what to use in order to achieve this, tried everything!!!

---

## [Trying to do light refraction and reflection](https://discourse.processing.org/t/trying-to-do-light-refraction-and-reflection/33035)

<div class="topic-metadata">

**Author:** [@ceresnia](https://discourse.processing.org/u/ceresnia)\
**Replies:** 0\
**Last updated:** [October 24, 2021, 5:42am UTC](https://discourse.processing.org/t/trying-to-do-light-refraction-and-reflection/33035 "2021-10-24T05:42:34Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I am trying to do a light refraction simulation under the waves. I got the wave code so I can make wavey surface but I don’t know how to expre…

---

## [How to draw a shape based on time](https://discourse.processing.org/t/how-to-draw-a-shape-based-on-time/33023)

<div class="topic-metadata">

**Author:** [@Razoil](https://discourse.processing.org/u/Razoil)\
**Replies:** 2\
**Last updated:** [October 23, 2021, 11:21pm UTC](https://discourse.processing.org/t/how-to-draw-a-shape-based-on-time/33023 "2021-10-23T23:21:07Z")

</div>

Hi everyone. I was looking at this video on how to build a radial graph based on sound Is there any (easy) way to map the circle (1 full turn) to the duration of the audio file. In the video I see that the…

---

## [Triangle using angles](https://discourse.processing.org/t/triangle-using-angles/32994)

<div class="topic-metadata">

**Author:** [@Tay](https://discourse.processing.org/u/Tay)\
**Replies:** 9\
**Last updated:** [October 23, 2021, 11:21pm UTC](https://discourse.processing.org/t/triangle-using-angles/32994 "2021-10-23T23:21:06Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Please if anyone can help me, i only know how to draw a triangle using triangle(x1, y1, x2, y2, x3, y3); how would one draw a triangle using a…

---

## [General question on p5.js](https://discourse.processing.org/t/general-question-on-p5-js/33020)

<div class="topic-metadata">

**Author:** [@user101](https://discourse.processing.org/u/user101)\
**Replies:** 4\
**Last updated:** [October 23, 2021, 10:09pm UTC](https://discourse.processing.org/t/general-question-on-p5-js/33020 "2021-10-23T22:09:22Z")

</div>

Hi! I wanna create my one website and therefore want to learn programming with p5.js. I have e question, however. The p5.js library files have together have a size of eight MB. Does this mean, these 8 MB have to downloa…

---

## [Org.processing.wiki.triangulate missing libary!](https://discourse.processing.org/t/org-processing-wiki-triangulate-missing-libary/32977)

<div class="topic-metadata">

**Author:** [@valeri](https://discourse.processing.org/u/valeri)\
**Replies:** 1\
**Last updated:** [October 23, 2021, 1:55pm UTC](https://discourse.processing.org/t/org-processing-wiki-triangulate-missing-libary/32977 "2021-10-23T13:55:42Z")

</div>

Hello, I\`m new into the Processing, and have a major problem for more than one scripts. Here is the error: No library found for org.processing.wiki.triangulate Libraries must be installed in a folder named ‘libraries’…

---

## [Recursive Randomized Maze Generator](https://discourse.processing.org/t/recursive-randomized-maze-generator/32544)

<div class="topic-metadata">

**Author:** [@ImDaGr3en](https://discourse.processing.org/u/ImDaGr3en)\
**Replies:** 2\
**Last updated:** [October 23, 2021, 10:04am UTC](https://discourse.processing.org/t/recursive-randomized-maze-generator/32544 "2021-10-23T10:04:43Z")

</div>

Hello everyone! It’s been a while since I’ve posted something here, and the fact is that I didn’t come up with very creative ideas for good Processing projects, and when I came up with them they just were too complicate…

---

## [How to define custom planes in processing?](https://discourse.processing.org/t/how-to-define-custom-planes-in-processing/32918)

<div class="topic-metadata">

**Author:** [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Replies:** 5\
**Last updated:** [October 23, 2021, 1:00am UTC](https://discourse.processing.org/t/how-to-define-custom-planes-in-processing/32918 "2021-10-23T01:00:45Z")

</div>

I’m trying to recreate a kind of sphereical-planet like world, and when making the sky, I have to define sky and ground planes to change the sky and world colors. Using a PShape to represent the sky works, but it looks l…

---

## [Collisions and arrays on Processing Java](https://discourse.processing.org/t/collisions-and-arrays-on-processing-java/32986)

<div class="topic-metadata">

**Author:** [@Locohogo12](https://discourse.processing.org/u/Locohogo12)\
**Replies:** 4\
**Last updated:** [October 22, 2021, 11:17pm UTC](https://discourse.processing.org/t/collisions-and-arrays-on-processing-java/32986 "2021-10-22T23:17:09Z")

</div>

Need help with Collosions with moving objects, along with array backgrounds

---

## [Sound processing IN and OUT issues](https://discourse.processing.org/t/sound-processing-in-and-out-issues/33006)

<div class="topic-metadata">

**Author:** [@Travasso](https://discourse.processing.org/u/Travasso)\
**Replies:** 2\
**Last updated:** [October 22, 2021, 6:29pm UTC](https://discourse.processing.org/t/sound-processing-in-and-out-issues/33006 "2021-10-22T18:29:31Z")

</div>

Hi everyone, I am having some problems with my code, and maybe someone could help me. I am doing a code where I use sensors to start audio playback and to start some sound effects. When I separate the codes - audio play…

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

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