# Latest

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

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

**Page:** 587

---

## [Ghost Lines Appearing After some iterations](https://discourse.processing.org/t/ghost-lines-appearing-after-some-iterations/3450)

<div class="topic-metadata">

**Author:** [@mikeyj777](https://discourse.processing.org/u/mikeyj777)\
**Replies:** 2\
**Last updated:** [September 11, 2018, 5:19am UTC](https://discourse.processing.org/t/ghost-lines-appearing-after-some-iterations/3450 "2018-09-11T05:19:14Z")

</div>

I’m new to Processing, and am trying a short script to become familiar with it. The script draws and bisects right triangles. It works ok, but after the 5th iteration, it starts to print an extra line, and I can’t seem…

---

## [Selecting the nearest grid vertices with Delaunay triangulation](https://discourse.processing.org/t/selecting-the-nearest-grid-vertices-with-delaunay-triangulation/3370)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 3\
**Last updated:** [September 11, 2018, 4:14am UTC](https://discourse.processing.org/t/selecting-the-nearest-grid-vertices-with-delaunay-triangulation/3370 "2018-09-11T04:14:30Z")

</div>

Hi all, I’m displaying random points on a 2D canvas and would like (for each one of them) to get the coordinates of the nearest grid vertices. To find the nearest vertices I’m using Delaunay triangulation. I put a…

---

## [Control a crane system](https://discourse.processing.org/t/control-a-crane-system/3448)

<div class="topic-metadata">

**Author:** [@bill](https://discourse.processing.org/u/bill)\
**Replies:** 2\
**Last updated:** [September 11, 2018, 3:27am UTC](https://discourse.processing.org/t/control-a-crane-system/3448 "2018-09-11T03:27:26Z")

</div>

Hi there, I am working on a project of control crane system, and I have did the positioning of trolley which moves on the jib using Arduino, However, I have used a webcam which is located beneath the trolley to detect t…

---

## [Can't run P5.js code in Processing IDE (even in P5.js mode)](https://discourse.processing.org/t/cant-run-p5-js-code-in-processing-ide-even-in-p5-js-mode/3001)

<div class="topic-metadata">

**Author:** [@Sdespr](https://discourse.processing.org/u/Sdespr)\
**Replies:** 11\
**Last updated:** [September 10, 2018, 5:04pm UTC](https://discourse.processing.org/t/cant-run-p5-js-code-in-processing-ide-even-in-p5-js-mode/3001 "2018-09-10T17:04:06Z")

</div>

Hi, pretty new to Processing. I’m trying to run some P5.js code (in P5.js mode in the Processing IDE) that I found on OpenProcessing. When I run the code, it opens up a new web page, and I see that’s loading… but nothing…

---

## [Using TwelveMonkeys PSD plugin with Processing.org](https://discourse.processing.org/t/using-twelvemonkeys-psd-plugin-with-processing-org/2983)

<div class="topic-metadata">

**Author:** [@sulin](https://discourse.processing.org/u/sulin)\
**Replies:** 1\
**Last updated:** [September 10, 2018, 11:46pm UTC](https://discourse.processing.org/t/using-twelvemonkeys-psd-plugin-with-processing-org/2983 "2018-09-10T23:46:20Z")

</div>

Hi, I have just begun trying to use twelvemonkeys java ImageIO plugins with processing. ( link to git repo - https://github.com/haraldk/TwelveMonkeys) with processing-core in java. While I am able to get a psd in I want…

---

## [How to sort an array and keep track of the index](https://discourse.processing.org/t/how-to-sort-an-array-and-keep-track-of-the-index/3427)

<div class="topic-metadata">

**Author:** [@tefa](https://discourse.processing.org/u/tefa)\
**Replies:** 15\
**Last updated:** [September 10, 2018, 7:33pm UTC](https://discourse.processing.org/t/how-to-sort-an-array-and-keep-track-of-the-index/3427 "2018-09-10T19:33:39Z")

</div>

Hello, please someone teach me how to keep track of an item in an array and then the delete item when clicked, without using an arrayList.

---

## [Robot Delta - processing](https://discourse.processing.org/t/robot-delta-processing/2987)

<div class="topic-metadata">

**Author:** [@henryk167](https://discourse.processing.org/u/henryk167)\
**Replies:** 3\
**Last updated:** [September 10, 2018, 7:08pm UTC](https://discourse.processing.org/t/robot-delta-processing/2987 "2018-09-10T19:08:27Z")

</div>

Hello. I am looking for a person who would write soft for me to control the deltabot (manually and auto). Processing should work with arduino. I will be grateful for help. Henryk

---

## [Best Practices for Implementing Multiplayer](https://discourse.processing.org/t/best-practices-for-implementing-multiplayer/2952)

<div class="topic-metadata">

**Author:** [@Battlesquid](https://discourse.processing.org/u/Battlesquid)\
**Replies:** 3\
**Last updated:** [September 10, 2018, 6:34pm UTC](https://discourse.processing.org/t/best-practices-for-implementing-multiplayer/2952 "2018-09-10T18:34:00Z")

</div>

Hello all. I’ve been working with p5.js and p5.play for some time, and I’ve been interested in making some multiplayer games, but I don’t know if my implementation is well structured. I tried my hand at it with this game …

---

## [Balls fall then loop and restart at random position](https://discourse.processing.org/t/balls-fall-then-loop-and-restart-at-random-position/3403)

<div class="topic-metadata">

**Author:** [@amelia](https://discourse.processing.org/u/amelia)\
**Replies:** 2\
**Last updated:** [September 10, 2018, 5:31pm UTC](https://discourse.processing.org/t/balls-fall-then-loop-and-restart-at-random-position/3403 "2018-09-10T17:31:21Z")

</div>

Hi, For my assignment we have to program a agame and I am strugglung, it would be really helpful if you could help me with a code for when my balls fall down for them to loop and restart at a random position Thanks.

---

## [How to create an application that takes a picture and starts a video](https://discourse.processing.org/t/how-to-create-an-application-that-takes-a-picture-and-starts-a-video/3437)

<div class="topic-metadata">

**Author:** [@Alessandroc93](https://discourse.processing.org/u/Alessandroc93)\
**Replies:** 2\
**Last updated:** [September 10, 2018, 4:59pm UTC](https://discourse.processing.org/t/how-to-create-an-application-that-takes-a-picture-and-starts-a-video/3437 "2018-09-10T16:59:02Z")

</div>

Good morning I am a university student. For a university project I wanted to implement an application that has a basic function. The application starts with a button, which can be the logo of the project. When pressed, t…

---

## [Swap Function Won't Accept Correct Parameters](https://discourse.processing.org/t/swap-function-wont-accept-correct-parameters/3435)

<div class="topic-metadata">

**Author:** [@OrangeC7](https://discourse.processing.org/u/OrangeC7)\
**Replies:** 2\
**Last updated:** [September 10, 2018, 4:16pm UTC](https://discourse.processing.org/t/swap-function-wont-accept-correct-parameters/3435 "2018-09-10T16:16:58Z")

</div>

I’m trying to use a simple swap function, but for some reason it won’t accept the array of custom objects as a parameter even though that’s what I specified when making the function. I made sure the array I put in is the…

---

## [JS Live Coding language design for Machine Learning and Machine Listening](https://discourse.processing.org/t/js-live-coding-language-design-for-machine-learning-and-machine-listening/3426)

<div class="topic-metadata">

**Author:** [@thor](https://discourse.processing.org/u/thor)\
**Replies:** 0\
**Last updated:** [September 10, 2018, 1:37pm UTC](https://discourse.processing.org/t/js-live-coding-language-design-for-machine-learning-and-machine-listening/3426 "2018-09-10T13:37:37Z")

</div>

Hi all, As part of our MIMIC project (Musically Intelligent Machines Interacting Creatively) we are running a survey in order to help us designing a domain specific live coding language for the application of machine li…

---

## [Array of extruded shapes is too slow](https://discourse.processing.org/t/array-of-extruded-shapes-is-too-slow/3414)

<div class="topic-metadata">

**Author:** [@pop](https://discourse.processing.org/u/pop)\
**Replies:** 10\
**Last updated:** [September 10, 2018, 1:16pm UTC](https://discourse.processing.org/t/array-of-extruded-shapes-is-too-slow/3414 "2018-09-10T13:16:35Z")

</div>

Hello, this is my first post on here, so I hope I’m following the guidelines correctly. I want to orbit around an array of simple extrusions obtained through the extruder library. The code works in theory, but orbiting …

---

## [Problem with springs motion](https://discourse.processing.org/t/problem-with-springs-motion/3394)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 11\
**Last updated:** [September 10, 2018, 11:02am UTC](https://discourse.processing.org/t/problem-with-springs-motion/3394 "2018-09-10T11:02:12Z")

</div>

Hi, I’m working on a sketch where I’m moving specific particles on a grid. Each particle is connected to its neighbour by a spring. Goal: I would like the moving particle to drag/pull its neighbours as it is moving up …

---

## [Question about noise point reduction](https://discourse.processing.org/t/question-about-noise-point-reduction/3306)

<div class="topic-metadata">

**Author:** [@baoter](https://discourse.processing.org/u/baoter)\
**Replies:** 14\
**Last updated:** [September 10, 2018, 7:28am UTC](https://discourse.processing.org/t/question-about-noise-point-reduction/3306 "2018-09-10T07:28:28Z")

</div>

Hi, I’m working on a project with Kinect V2 and have some questions… I take the video from the depth camera of Kinect V2 and there are so many noise points!! I only need black and white color image. The idea is make the…

---

## [Fill a mesh Delaunay object](https://discourse.processing.org/t/fill-a-mesh-delaunay-object/3341)

<div class="topic-metadata">

**Author:** [@BrokenCode](https://discourse.processing.org/u/BrokenCode)\
**Replies:** 13\
**Last updated:** [September 10, 2018, 7:29am UTC](https://discourse.processing.org/t/fill-a-mesh-delaunay-object/3341 "2018-09-10T07:29:02Z")

</div>

Hi guys, maybe a silly question, but I can’t figure out how to fill a Delaunay object created with the mesh library http://leebyron.com/mesh/ Do I need to convert it into a PShape? Any idea? :slight\_smile: Thank you! …

---

## [Loop to move rectangle down](https://discourse.processing.org/t/loop-to-move-rectangle-down/3404)

<div class="topic-metadata">

**Author:** [@Processingn00b](https://discourse.processing.org/u/Processingn00b)\
**Replies:** 3\
**Last updated:** [September 10, 2018, 5:58am UTC](https://discourse.processing.org/t/loop-to-move-rectangle-down/3404 "2018-09-10T05:58:24Z")

</div>

hello i want the rectangles that are moving down to be in a loop moving downwards and i don’t know how to do that, so when it goes off screen it starts at the top and moves downwards and repeats that cycle over and over…

---

## [Can't handle the loop](https://discourse.processing.org/t/cant-handle-the-loop/3375)

<div class="topic-metadata">

**Author:** [@losferatos](https://discourse.processing.org/u/losferatos)\
**Replies:** 8\
**Last updated:** [September 10, 2018, 3:43am UTC](https://discourse.processing.org/t/cant-handle-the-loop/3375 "2018-09-10T03:43:52Z")

</div>

Hi guys! This is a pretty basic problem: I don’t fully understand how to use loops. I want to get comfortable with using arrays and other elementary stuff so I came up with the idea of creating some kind of licence plat…

---

## [Make a few rectangles fall](https://discourse.processing.org/t/make-a-few-rectangles-fall/3360)

<div class="topic-metadata">

**Author:** [@Processingn00b](https://discourse.processing.org/u/Processingn00b)\
**Replies:** 7\
**Last updated:** [September 10, 2018, 3:18am UTC](https://discourse.processing.org/t/make-a-few-rectangles-fall/3360 "2018-09-10T03:18:44Z")

</div>

Err hello, i have no idea if this is the right website be i need to figure out how of make a few rectangles fall from the bottom of the screen in a consistent loop but they fall at different or random locations every ti…

---

## [Processing Community Day @ Tokyo](https://discourse.processing.org/t/processing-community-day-tokyo/3393)

<div class="topic-metadata">

**Author:** [@micuat](https://discourse.processing.org/u/micuat)\
**Replies:** 1\
**Last updated:** [September 10, 2018, 3:07am UTC](https://discourse.processing.org/t/processing-community-day-tokyo/3393 "2018-09-10T03:07:53Z")

</div>

Hi! I’m Naoto Hieda, an organizer of PCD Tokyo. Please feel free to talk about ideas, format etc. for the upcoming PCD in Jan-Feb 2019. Although English is the primary language in this forum, we can also communicate in …

---

## [My Newest and Biggest project](https://discourse.processing.org/t/my-newest-and-biggest-project/2763)

<div class="topic-metadata">

**Author:** [@JuniorGenius](https://discourse.processing.org/u/JuniorGenius)\
**Replies:** 8\
**Last updated:** [September 10, 2018, 1:29am UTC](https://discourse.processing.org/t/my-newest-and-biggest-project/2763 "2018-09-10T01:29:07Z")

</div>

so I am working on a big project called “Dump truck SImulator”. If you have played a simulator game on Roblox, then you know what this will be like. I Just started on it today and would like some help, but I won’t ask fo…

---

## [Help with pixel permutation?](https://discourse.processing.org/t/help-with-pixel-permutation/3333)

<div class="topic-metadata">

**Author:** [@molo32](https://discourse.processing.org/u/molo32)\
**Replies:** 4\
**Last updated:** [September 8, 2018, 8:52pm UTC](https://discourse.processing.org/t/help-with-pixel-permutation/3333 "2018-09-08T20:52:24Z")

</div>

I want you to press a key the pixels of an image are disordered I thought of using pixels.\[i\] = img.pixels\[random(img.width \* img.height)\] but some pixels can be repeated eg if random () returns 2 and the next pixel…

---

## [Multiple constructors in a class](https://discourse.processing.org/t/multiple-constructors-in-a-class/3356)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 8\
**Last updated:** [September 10, 2018, 2:20am UTC](https://discourse.processing.org/t/multiple-constructors-in-a-class/3356 "2018-09-10T02:20:00Z")

</div>

I am trying to write a class that needs multiple constructors, and I would like some advice about whether one constructor can build off of another one. I’m really just looking for help understanding what’s possible when…

---

## [Log data from Arduino Serial to .txt file](https://discourse.processing.org/t/log-data-from-arduino-serial-to-txt-file/3363)

<div class="topic-metadata">

**Author:** [@beatrice94](https://discourse.processing.org/u/beatrice94)\
**Replies:** 5\
**Last updated:** [September 9, 2018, 3:52pm UTC](https://discourse.processing.org/t/log-data-from-arduino-serial-to-txt-file/3363 "2018-09-09T15:52:38Z")

</div>

Hi all, I know this question pops up on the web a lot but so fa I havent’ been able to find one solution than works for me. I am a complete newbie to Java and Processing, so please be patient with me. I have an Arduino…

---

## [How to read selected field in scrollableList?](https://discourse.processing.org/t/how-to-read-selected-field-in-scrollablelist/3390)

<div class="topic-metadata">

**Author:** [@iamthehype](https://discourse.processing.org/u/iamthehype)\
**Replies:** 3\
**Last updated:** [September 9, 2018, 3:46pm UTC](https://discourse.processing.org/t/how-to-read-selected-field-in-scrollablelist/3390 "2018-09-09T15:46:39Z")

</div>

Disclaimer: I have no prior Java experience and very little coding experience in general. I’m trying to write a simple GUI that takes user input from a dropdown and depending on that performs simple data analysis on sen…

---

## [Make a "world" bigger than the screen and a following camera](https://discourse.processing.org/t/make-a-world-bigger-than-the-screen-and-a-following-camera/3311)

<div class="topic-metadata">

**Author:** [@vincentstrebelle](https://discourse.processing.org/u/vincentstrebelle)\
**Replies:** 10\
**Last updated:** [September 9, 2018, 10:30am UTC](https://discourse.processing.org/t/make-a-world-bigger-than-the-screen-and-a-following-camera/3311 "2018-09-09T10:30:49Z")

</div>

Hi everyone i tried to make an ecosystem and for now its working great, mostly because i receive a lot of help from here. ( see topic : A pathfinding solution). But now my world gonna be too small for my ecosystem, so i…

---

## [Random Square on a grid](https://discourse.processing.org/t/random-square-on-a-grid/3382)

<div class="topic-metadata">

**Author:** [@KeremTurkyilmaz](https://discourse.processing.org/u/KeremTurkyilmaz)\
**Replies:** 4\
**Last updated:** [September 9, 2018, 9:02am UTC](https://discourse.processing.org/t/random-square-on-a-grid/3382 "2018-09-09T09:02:28Z")

</div>

Hi, I’m trying to create a random grid, the cella size define the grid size. I want to add a random movement, when the grid is 50 I want to move the rect one time on X and Y, but randomly (like a random walker). Is th…

---

## [Processing Forum Nagging](https://discourse.processing.org/t/processing-forum-nagging/3366)

<div class="topic-metadata">

**Author:** [@bprentice](https://discourse.processing.org/u/bprentice)\
**Replies:** 8\
**Last updated:** [September 9, 2018, 4:04am UTC](https://discourse.processing.org/t/processing-forum-nagging/3366 "2018-09-09T04:04:12Z")

</div>

I’m being nagged to sign up for an account. I can’t do this since the Forum has mixed up my user name and my real name. My real name is Brian Prentice and my user name is bprentice.

---

## [Trying to debug and verify port of c/c++ code](https://discourse.processing.org/t/trying-to-debug-and-verify-port-of-c-c-code/2941)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 12\
**Last updated:** [September 8, 2018, 10:31pm UTC](https://discourse.processing.org/t/trying-to-debug-and-verify-port-of-c-c-code/2941 "2018-09-08T22:31:46Z")

</div>

I’m working on some basic celestial navigation concepts, using Processing and Android. This particular problem is in Processing and is an attempt to port c/c++ code to Processing/Java. I started with reading a paper fr…

---

## [Making my biggest game using just Processing](https://discourse.processing.org/t/making-my-biggest-game-using-just-processing/3325)

<div class="topic-metadata">

**Author:** [@Bonilla](https://discourse.processing.org/u/Bonilla)\
**Replies:** 5\
**Last updated:** [September 8, 2018, 9:52pm UTC](https://discourse.processing.org/t/making-my-biggest-game-using-just-processing/3325 "2018-09-08T21:52:08Z")

</div>

Hi! My name is Diego Bonilla and with a comic artist we’re making a casual-battle game for PC/MAC/Android called “Versus Duck”. If anyone is interested or just wants to support (not with money, just sharing it) a new ind…

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

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