# Latest

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

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

**Page:** 577

---

## [Video loop question](https://discourse.processing.org/t/video-loop-question/4263)

<div class="topic-metadata">

**Author:** [@FerrariLuigi](https://discourse.processing.org/u/FerrariLuigi)\
**Replies:** 5\
**Last updated:** [October 9, 2018, 7:36pm UTC](https://discourse.processing.org/t/video-loop-question/4263 "2018-10-09T19:36:05Z")

</div>

Dear all, How to count the loop number of a playing video ? I want to repeat the video for 3 times. How to stop it ? thank you very much for your help and cooperation, regards.

---

## [Tutorial about using Camera in Processing on Pi](https://discourse.processing.org/t/tutorial-about-using-camera-in-processing-on-pi/4291)

<div class="topic-metadata">

**Author:** [@msurguy](https://discourse.processing.org/u/msurguy)\
**Replies:** 0\
**Last updated:** [October 9, 2018, 6:38pm UTC](https://discourse.processing.org/t/tutorial-about-using-camera-in-processing-on-pi/4291 "2018-10-09T18:38:34Z")

</div>

Hey all! As part of Google Summer of Code 2018, under supervision of @gohai, I made a website for http://pi.processing.org and wrote a couple of tutorials. One of them is about using PiCamera and USB Cameras in Processin…

---

## [Understanding the return](https://discourse.processing.org/t/understanding-the-return/4274)

<div class="topic-metadata">

**Author:** [@losferatos](https://discourse.processing.org/u/losferatos)\
**Replies:** 1\
**Last updated:** [October 9, 2018, 1:22pm UTC](https://discourse.processing.org/t/understanding-the-return/4274 "2018-10-09T13:22:24Z")

</div>

Hi guys! I’m just playing around processing to learn and understand it. But I stumbled upon a really basic problem: Where does the return function return to? After the function has done their job it should return the …

---

## [Latest Processing for Windows Reporting Virus](https://discourse.processing.org/t/latest-processing-for-windows-reporting-virus/4251)

<div class="topic-metadata">

**Author:** [@pacolux](https://discourse.processing.org/u/pacolux)\
**Replies:** 2\
**Last updated:** [October 9, 2018, 8:59am UTC](https://discourse.processing.org/t/latest-processing-for-windows-reporting-virus/4251 "2018-10-09T08:59:09Z")

</div>

Hi, Hate that this is my first post but when attempting to download the latest Windows version of Processing it is getting stopped by Windows Defender for… “TrojanDownloader:JS/Jasobfus.B!ml” I am unsure if this is a …

---

## [Problema dibujando líneas](https://discourse.processing.org/t/problema-dibujando-lineas/4188)

<div class="topic-metadata">

**Author:** [@fer650](https://discourse.processing.org/u/fer650)\
**Replies:** 3\
**Last updated:** [October 9, 2018, 8:15am UTC](https://discourse.processing.org/t/problema-dibujando-lineas/4188 "2018-10-09T08:15:49Z")

</div>

Hola, tengo datos almacenados que fueron capturados de la entrada ADC de un Arduino. Los datos están bien, pero cuando quiero graficarlos en pantalla como una línea seguida de otra línea y así hasta terminar el gráfico,…

---

## [Spherical Harmonics](https://discourse.processing.org/t/spherical-harmonics/4266)

<div class="topic-metadata">

**Author:** [@zepadovani](https://discourse.processing.org/u/zepadovani)\
**Replies:** 1\
**Last updated:** [October 9, 2018, 5:21am UTC](https://discourse.processing.org/t/spherical-harmonics/4266 "2018-10-09T05:21:21Z")

</div>

Hello, I would like to illustrate Ambisonics principles to my students and thought that would be nice to visualize spherical harmonics in 3d dynamically… Has anyone tried this? Any codes/tips? Thanks!

---

## [Circle will become larger when mouse moves on it (loop question)](https://discourse.processing.org/t/circle-will-become-larger-when-mouse-moves-on-it-loop-question/4231)

<div class="topic-metadata">

**Author:** [@xhqecho](https://discourse.processing.org/u/xhqecho)\
**Replies:** 6\
**Last updated:** [October 9, 2018, 1:31am UTC](https://discourse.processing.org/t/circle-will-become-larger-when-mouse-moves-on-it-loop-question/4231 "2018-10-09T01:31:08Z")

</div>

Hello, I want to create a project, when the mouse move on the circle, the circle will become larger. I can do it when it’s only one circle, but when I add a loop in it, it cannot work. int x=-45; int a; void setup() {…

---

## [Multiple Values from Processing to Arduino through Serial Port](https://discourse.processing.org/t/multiple-values-from-processing-to-arduino-through-serial-port/4152)

<div class="topic-metadata">

**Author:** [@Cai](https://discourse.processing.org/u/Cai)\
**Replies:** 2\
**Last updated:** [October 8, 2018, 11:04pm UTC](https://discourse.processing.org/t/multiple-values-from-processing-to-arduino-through-serial-port/4152 "2018-10-08T23:04:41Z")

</div>

I have managed to send one value from processing to arduino. (which maps mouseX and lights the respective LED on an LED strip of Neopixels) I went through a lot of forums and tried to send Mouse Position(2 values ) from …

---

## [p5.Js Web Editor](https://discourse.processing.org/t/p5-js-web-editor/4248)

<div class="topic-metadata">

**Author:** [@Pilou](https://discourse.processing.org/u/Pilou)\
**Replies:** 2\
**Last updated:** [October 8, 2018, 5:50pm UTC](https://discourse.processing.org/t/p5-js-web-editor/4248 "2018-10-08T17:50:22Z")

</div>

Does it possible for a visitor on a web site of a sketch done to input its own image for see a result of a program? If yes, how code that ? Say this one : https://editor.p5js.org/full/BktcoMOcm the code : https://edit…

---

## [Scrollablelist set Item selected from code](https://discourse.processing.org/t/scrollablelist-set-item-selected-from-code/2617)

<div class="topic-metadata">

**Author:** [@Dennis](https://discourse.processing.org/u/Dennis)\
**Replies:** 9\
**Last updated:** [October 8, 2018, 2:06pm UTC](https://discourse.processing.org/t/scrollablelist-set-item-selected-from-code/2617 "2018-10-08T14:06:54Z")

</div>

Hello everyone! i’m a new on processing forum. I make a Scrolablelist from ControlP5 library and I would like to change via code the selected item: import controlP5.\*; import java.util.\*; ControlP5 cp5; void setup() …

---

## [PCD cool example gallery](https://discourse.processing.org/t/pcd-cool-example-gallery/4222)

<div class="topic-metadata">

**Author:** [@phoebus](https://discourse.processing.org/u/phoebus)\
**Replies:** 5\
**Last updated:** [October 8, 2018, 2:00pm UTC](https://discourse.processing.org/t/pcd-cool-example-gallery/4222 "2018-10-08T14:00:00Z")

</div>

Hi there This is a post to try to gather what you think are cool example of Processing sketches or p5.js pages we could show in our PCD events . the PCDorganierKit proposes many variations around 10PRINT and some cool …

---

## [Using inheritance with ArrayList](https://discourse.processing.org/t/using-inheritance-with-arraylist/4246)

<div class="topic-metadata">

**Author:** [@Sarah](https://discourse.processing.org/u/Sarah)\
**Replies:** 3\
**Last updated:** [October 8, 2018, 1:37pm UTC](https://discourse.processing.org/t/using-inheritance-with-arraylist/4246 "2018-10-08T13:37:30Z")

</div>

Hi, I’ve been using inheritance for some of my classes, but I’ve run into some troubles when trying to do the same things with ArrayList's. If I have 2 classes class ObjectType1 { }, class ObjectType2 extends ObjectTy…

---

## [Unexcepted char \\](https://discourse.processing.org/t/unexcepted-char/4236)

<div class="topic-metadata">

**Author:** [@Darkar25](https://discourse.processing.org/u/Darkar25)\
**Replies:** 3\
**Last updated:** [October 8, 2018, 9:44am UTC](https://discourse.processing.org/t/unexcepted-char/4236 "2018-10-08T09:44:37Z")

</div>

Hello everyone.i have code,that encodes image to file with very small size…but it has bug,so output very buggy…but my question not that…on pc that code works fine,but on android its showing error see title of post on lin…

---

## [Adding pop-up messages and pictures](https://discourse.processing.org/t/adding-pop-up-messages-and-pictures/4234)

<div class="topic-metadata">

**Author:** [@srishtiverma](https://discourse.processing.org/u/srishtiverma)\
**Replies:** 5\
**Last updated:** [October 8, 2018, 9:59am UTC](https://discourse.processing.org/t/adding-pop-up-messages-and-pictures/4234 "2018-10-08T09:59:10Z")

</div>

This one’s on a time crunch for a class, so I’d really appreciate help fast. Issue is, I’m a beginner trying to execute an idea overly ambitious for me, but now I really need to complete it for class. I’d appreciate any …

---

## [Update Matrix row and column number in real time (ControlP5)](https://discourse.processing.org/t/update-matrix-row-and-column-number-in-real-time-controlp5/4232)

<div class="topic-metadata">

**Author:** [@anon57009815](https://discourse.processing.org/u/anon57009815)\
**Replies:** 3\
**Last updated:** [October 8, 2018, 8:56am UTC](https://discourse.processing.org/t/update-matrix-row-and-column-number-in-real-time-controlp5/4232 "2018-10-08T08:56:57Z")

</div>

CONTROLP5 Is there a way to update (change) row number and column number of a matrix in real time? Resources -\> ControlP5 -\> Controllers -\> ControlP5Matrix

---

## [Rectangle Follow (Using Mouse)](https://discourse.processing.org/t/rectangle-follow-using-mouse/4238)

<div class="topic-metadata">

**Author:** [@Daniel\_Tex](https://discourse.processing.org/u/Daniel_Tex)\
**Replies:** 1\
**Last updated:** [October 8, 2018, 8:12am UTC](https://discourse.processing.org/t/rectangle-follow-using-mouse/4238 "2018-10-08T08:12:27Z")

</div>

How would I make the rectangle look at the mouse but unable to move (Ex. such as the online browser game “diep.io”) thanks!

---

## [\[Updated\] Help output algorithms for complex numbers in Pascal Triangle](https://discourse.processing.org/t/updated-help-output-algorithms-for-complex-numbers-in-pascal-triangle/4074)

<div class="topic-metadata">

**Author:** [@ProsExplorer](https://discourse.processing.org/u/ProsExplorer)\
**Replies:** 5\
**Last updated:** [October 8, 2018, 12:55am UTC](https://discourse.processing.org/t/updated-help-output-algorithms-for-complex-numbers-in-pascal-triangle/4074 "2018-10-08T00:55:16Z")

</div>

I got this code example online for a Non-recursive version of Pascal’s Triangle and made modifications to it so that it limits the triangle size to an input n, prints the last line based on the int n=1+ 16 \[where +16 = t…

---

## [Virtual Keyboard doesn't work](https://discourse.processing.org/t/virtual-keyboard-doesnt-work/3445)

<div class="topic-metadata">

**Author:** [@kat](https://discourse.processing.org/u/kat)\
**Replies:** 8\
**Last updated:** [October 8, 2018, 4:05am UTC](https://discourse.processing.org/t/virtual-keyboard-doesnt-work/3445 "2018-10-08T04:05:28Z")

</div>

Hi all! I’m using Android Processing and I’m trying to use the virtual keyboard to type things into a text field from cp5 for a search bar. When I tap the text field, the keyboard shows up like I want it to, and if I m…

---

## [How to make the game continue playing, not just playing once](https://discourse.processing.org/t/how-to-make-the-game-continue-playing-not-just-playing-once/4215)

<div class="topic-metadata">

**Author:** [@applelovestree](https://discourse.processing.org/u/applelovestree)\
**Replies:** 6\
**Last updated:** [October 7, 2018, 10:41pm UTC](https://discourse.processing.org/t/how-to-make-the-game-continue-playing-not-just-playing-once/4215 "2018-10-07T22:41:55Z")

</div>

At the moment, the red color circle can be played only once, can the game continue to play maybe for 1 minute, then it will stop and show the scores? And when the following game continues, so the answer to the game will …

---

## [Neural network not working (Dan Shiffman, The Nature of Code 10)](https://discourse.processing.org/t/neural-network-not-working-dan-shiffman-the-nature-of-code-10/4226)

<div class="topic-metadata">

**Author:** [@adeleonardis](https://discourse.processing.org/u/adeleonardis)\
**Replies:** 3\
**Last updated:** [October 7, 2018, 9:01pm UTC](https://discourse.processing.org/t/neural-network-not-working-dan-shiffman-the-nature-of-code-10/4226 "2018-10-07T21:01:05Z")

</div>

Hello. I was following along with Dan’s Youtube series on neural networks and even though I’m only a beginner decided to write it with the added functionality of having multiple hidden layers instead of copying exactly w…

---

## [Problema con Java](https://discourse.processing.org/t/problema-con-java/4227)

<div class="topic-metadata">

**Author:** [@Barce](https://discourse.processing.org/u/Barce)\
**Replies:** 1\
**Last updated:** [October 7, 2018, 6:02pm UTC](https://discourse.processing.org/t/problema-con-java/4227 "2018-10-07T18:02:46Z")

</div>

Hola que tal? quería consultar si alguien puede orientarme con un problema que tengo en una computadora donde no puedo abrir Processing. Me da este error con Java, es una computadora con Windows 7. Reinstalé Java borrand…

---

## [Spirals that get smaller for school project](https://discourse.processing.org/t/spirals-that-get-smaller-for-school-project/4199)

<div class="topic-metadata">

**Author:** [@DesperateOak48](https://discourse.processing.org/u/DesperateOak48)\
**Replies:** 7\
**Last updated:** [October 7, 2018, 5:46pm UTC](https://discourse.processing.org/t/spirals-that-get-smaller-for-school-project/4199 "2018-10-07T17:46:52Z")

</div>

I’m in a class, and the current assignment is to create a complex pattern. I want to make spirals that start in the middle and extend outward, getting smaller as they go out. I’ve looked around the class to no avail. I f…

---

## [Spiral with connecting lines between adjacent points](https://discourse.processing.org/t/spiral-with-connecting-lines-between-adjacent-points/4170)

<div class="topic-metadata">

**Author:** [@oscie24](https://discourse.processing.org/u/oscie24)\
**Replies:** 17\
**Last updated:** [October 7, 2018, 5:37pm UTC](https://discourse.processing.org/t/spiral-with-connecting-lines-between-adjacent-points/4170 "2018-10-07T17:37:47Z")

</div>

Hi, I’m a newbie on here. I was wondering if I could get some help, please. I’ve been set a task of drawing a spiral made up from squares with lines connecting adjacent points and stuck on how to approach it. Heres wha…

---

## [Cant save as PDE](https://discourse.processing.org/t/cant-save-as-pde/4205)

<div class="topic-metadata">

**Author:** [@BigZi](https://discourse.processing.org/u/BigZi)\
**Replies:** 4\
**Last updated:** [October 7, 2018, 4:08pm UTC](https://discourse.processing.org/t/cant-save-as-pde/4205 "2018-10-07T16:08:12Z")

</div>

i am required to submit this project as a pde file but my codes only saves as the name i gave it. I do not see the pde at the end. Can someone please help me out.

---

## [Advantage of Processing Android?](https://discourse.processing.org/t/advantage-of-processing-android/4095)

<div class="topic-metadata">

**Author:** [@macarrony00](https://discourse.processing.org/u/macarrony00)\
**Replies:** 3\
**Last updated:** [October 7, 2018, 3:22pm UTC](https://discourse.processing.org/t/advantage-of-processing-android/4095 "2018-10-07T15:22:12Z")

</div>

Hello there, I am new to android development, however I already worked with processing. Processing needs to run the code each frame and draw everything every time, is a little bit resource consumable, no? My question i…

---

## [Put a void statement into a PGraphics layer](https://discourse.processing.org/t/put-a-void-statement-into-a-pgraphics-layer/4057)

<div class="topic-metadata">

**Author:** [@Lore](https://discourse.processing.org/u/Lore)\
**Replies:** 10\
**Last updated:** [October 7, 2018, 3:18pm UTC](https://discourse.processing.org/t/put-a-void-statement-into-a-pgraphics-layer/4057 "2018-10-07T15:18:01Z")

</div>

Hello, Is there anyway to put a void statement into a PGraphics layer? I mean something like this. circles.beginDraw(); circles.noStroke() circles.fill(col); circles.myArc(mouseX, mouseY); circles.e…

---

## [Arrays to draw lines](https://discourse.processing.org/t/arrays-to-draw-lines/4172)

<div class="topic-metadata">

**Author:** [@Merel](https://discourse.processing.org/u/Merel)\
**Replies:** 0\
**Last updated:** [October 5, 2018, 11:42pm UTC](https://discourse.processing.org/t/arrays-to-draw-lines/4172 "2018-10-05T23:42:58Z")

</div>

Hey there! I’ve got a question. I’m trying connect the flowers in my code with (curvy) lines behind them. In order to do that I have to determine the x and the y values of where my flowers are drawn, but since they are …

---

## [Using array's to animate shapes](https://discourse.processing.org/t/using-arrays-to-animate-shapes/4210)

<div class="topic-metadata">

**Author:** [@munixed](https://discourse.processing.org/u/munixed)\
**Replies:** 1\
**Last updated:** [October 7, 2018, 7:51am UTC](https://discourse.processing.org/t/using-arrays-to-animate-shapes/4210 "2018-10-07T07:51:36Z")

</div>

Hi, I’m trying to achieve a number based game where specific numbers move across a screen in a straight line (like invaders) and the user has to match the numbers with a “cannon”. A new invader spawns behind the first i…

---

## [Smooth edges on a surface](https://discourse.processing.org/t/smooth-edges-on-a-surface/4173)

<div class="topic-metadata">

**Author:** [@bryan](https://discourse.processing.org/u/bryan)\
**Replies:** 5\
**Last updated:** [October 7, 2018, 3:41am UTC](https://discourse.processing.org/t/smooth-edges-on-a-surface/4173 "2018-10-07T03:41:14Z")

</div>

Hi! i’m using the marching cubes algorithm for create surfaces. My goal is to create surfaces with a smooth looking. The algorithm creates a facet approximation of the surface following the explanation of Paul Bourke ( h…

---

## [Add mouseClicked moving to bicycle](https://discourse.processing.org/t/add-mouseclicked-moving-to-bicycle/4177)

<div class="topic-metadata">

**Author:** [@BigZi](https://discourse.processing.org/u/BigZi)\
**Replies:** 2\
**Last updated:** [October 7, 2018, 2:48am UTC](https://discourse.processing.org/t/add-mouseclicked-moving-to-bicycle/4177 "2018-10-07T02:48:13Z")

</div>

So i drew a bicycle with 2 ellipse and a few lines in my void body(). I also added a code whereby the bike is reduced size on the left and big on the right. All my code line were written using constant. I used mouseX and…

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

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