# Latest

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

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

**Page:** 595

---

## [Java to Python conversion](https://discourse.processing.org/t/java-to-python-conversion/2723)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 4\
**Last updated:** [August 17, 2018, 4:35pm UTC](https://discourse.processing.org/t/java-to-python-conversion/2723 "2018-08-17T16:35:20Z")

</div>

Hi again, I’m currently trying to port a Java script to Python but I’m stuck on something that goes like this: class Agent { float x, y; float t; Agent() { findStart(); } void findStart() { ... O…

---

## [\[SOLVED\] I'm failing at drawing multiple quads in a loop](https://discourse.processing.org/t/solved-im-failing-at-drawing-multiple-quads-in-a-loop/2700)

<div class="topic-metadata">

**Author:** [@delsey](https://discourse.processing.org/u/delsey)\
**Replies:** 7\
**Last updated:** [August 17, 2018, 3:53pm UTC](https://discourse.processing.org/t/solved-im-failing-at-drawing-multiple-quads-in-a-loop/2700 "2018-08-17T15:53:15Z")

</div>

I am trying to draw multiple quads in a for-loop. It looks like this: for(int i = 0; i \< o.getAllObjects().length; i++) { float\[\] objects = o.getAllObjects(); println(objects\[i\]); fill(255); noStroke(); quad(o…

---

## [Fill() function for negative space](https://discourse.processing.org/t/fill-function-for-negative-space/2706)

<div class="topic-metadata">

**Author:** [@emilyhroderick](https://discourse.processing.org/u/emilyhroderick)\
**Replies:** 9\
**Last updated:** [August 17, 2018, 3:02pm UTC](https://discourse.processing.org/t/fill-function-for-negative-space/2706 "2018-08-17T15:02:36Z")

</div>

Hi there, I’m looking for a simple way to fill the space AROUND a shape rather than the space WITHIN a shape. Ideally I’m wanting this function so that when I use OpenCV on a webcam feed, processing puts a square around…

---

## [Problem with Mysql library : dbconnection.getString()](https://discourse.processing.org/t/problem-with-mysql-library-dbconnection-getstring/2681)

<div class="topic-metadata">

**Author:** [@Andress](https://discourse.processing.org/u/Andress)\
**Replies:** 2\
**Last updated:** [August 17, 2018, 2:34pm UTC](https://discourse.processing.org/t/problem-with-mysql-library-dbconnection-getstring/2681 "2018-08-17T14:34:43Z")

</div>

hi all, i’m trying to change the text “g” to “7” but the code doesn’t get in the if condition and when i use println, “g” appears.

---

## [Importing Depth Map data (XEF)?](https://discourse.processing.org/t/importing-depth-map-data-xef/2619)

<div class="topic-metadata">

**Author:** [@rcargb](https://discourse.processing.org/u/rcargb)\
**Replies:** 2\
**Last updated:** [August 17, 2018, 2:34pm UTC](https://discourse.processing.org/t/importing-depth-map-data-xef/2619 "2018-08-17T14:34:24Z")

</div>

Is there a way to import Depth Map data and/or XEF files into processing for use in a point cloud? I’ve seen a few topics on exporting, next to nothing on importing. I’ve not got a working Kinect atm and plan on using …

---

## [Images in PDF Export](https://discourse.processing.org/t/images-in-pdf-export/2693)

<div class="topic-metadata">

**Author:** [@freudje](https://discourse.processing.org/u/freudje)\
**Replies:** 1\
**Last updated:** [August 17, 2018, 8:32am UTC](https://discourse.processing.org/t/images-in-pdf-export/2693 "2018-08-17T08:32:52Z")

</div>

Relative newbie question. As the library states, images in PDF export don’t look very good: \* Images don’t look great, mostly because of the difference of expectations in how a PDF should look (scalable and high res) ve…

---

## [Multiple images to video](https://discourse.processing.org/t/multiple-images-to-video/2703)

<div class="topic-metadata">

**Author:** [@barekatf](https://discourse.processing.org/u/barekatf)\
**Replies:** 6\
**Last updated:** [August 16, 2018, 10:46pm UTC](https://discourse.processing.org/t/multiple-images-to-video/2703 "2018-08-16T22:46:33Z")

</div>

Hi I have 140 folders, each having 35 pictures. All the images have the exact same resolution. I would like to make a video of all pictures in a way that each picture is shown for only 1/30th of a second. I need help …

---

## [Pattern Attractors](https://discourse.processing.org/t/pattern-attractors/2535)

<div class="topic-metadata">

**Author:** [@jakejake](https://discourse.processing.org/u/jakejake)\
**Replies:** 21\
**Last updated:** [August 16, 2018, 8:54pm UTC](https://discourse.processing.org/t/pattern-attractors/2535 "2018-08-16T20:54:30Z")

</div>

Trying figure out how to get this functionality with processing. I know how to map distance from a single point to something like a circle width / height, but I have no idea how to tackle this. Is there an example sc…

---

## [Saving data and timestamps to csv (noob)](https://discourse.processing.org/t/saving-data-and-timestamps-to-csv-noob/2674)

<div class="topic-metadata">

**Author:** [@ripple18](https://discourse.processing.org/u/ripple18)\
**Replies:** 3\
**Last updated:** [August 16, 2018, 6:56pm UTC](https://discourse.processing.org/t/saving-data-and-timestamps-to-csv-noob/2674 "2018-08-16T18:56:42Z")

</div>

Hello! I’m trying to save data from my Arduino to a csv file using Processing. I’ve successfully saved the raw data (one number at a time) to a txt file, but my goal is to save both that data and timestamps to a csv. I …

---

## [\[SOLVED\] Problem running exported jar on linux](https://discourse.processing.org/t/solved-problem-running-exported-jar-on-linux/2672)

<div class="topic-metadata">

**Author:** [@SimJ](https://discourse.processing.org/u/SimJ)\
**Replies:** 6\
**Last updated:** [August 16, 2018, 5:02pm UTC](https://discourse.processing.org/t/solved-problem-running-exported-jar-on-linux/2672 "2018-08-16T17:02:33Z")

</div>

Hi, I exported my sketch for linux successfully, but I can’t find a way to run it now. I got 4 folders after the export, for different architectures, the one interesting me being application.linux64. It contains a fold…

---

## [textSize causing OutOfMemoryError](https://discourse.processing.org/t/textsize-causing-outofmemoryerror/2678)

<div class="topic-metadata">

**Author:** [@geek96boolean10](https://discourse.processing.org/u/geek96boolean10)\
**Replies:** 2\
**Last updated:** [August 16, 2018, 4:39pm UTC](https://discourse.processing.org/t/textsize-causing-outofmemoryerror/2678 "2018-08-16T16:39:03Z")

</div>

I have a program that requires textSize to increase over time. When running it gradually, i.e. textSize(4),5,6,7,etc., the number can reach a very high value without anything bad happening. However, if I try to start off…

---

## [Getting Data From a .txt File](https://discourse.processing.org/t/getting-data-from-a-txt-file/2625)

<div class="topic-metadata">

**Author:** [@dtools22](https://discourse.processing.org/u/dtools22)\
**Replies:** 5\
**Last updated:** [August 16, 2018, 11:23am UTC](https://discourse.processing.org/t/getting-data-from-a-txt-file/2625 "2018-08-16T11:23:15Z")

</div>

Hello, I am having some trouble with the logic for a project. I am trying to extract data from a .txt file. The data comes in chunks within a single text file. As an example, a text document might look like this: Th…

---

## [Movement of shapes in an orbit](https://discourse.processing.org/t/movement-of-shapes-in-an-orbit/2688)

<div class="topic-metadata">

**Author:** [@Kirrat](https://discourse.processing.org/u/Kirrat)\
**Replies:** 4\
**Last updated:** [August 16, 2018, 10:47am UTC](https://discourse.processing.org/t/movement-of-shapes-in-an-orbit/2688 "2018-08-16T10:47:32Z")

</div>

Hi I’m trying to make a shape appear and start moving in an orbit whenever any of the shape above is clicked. So far i’m able to make shapes appear but i want a single shape to appear on a single click but as you can se…

---

## [Load sounds with an array of SoundFile](https://discourse.processing.org/t/load-sounds-with-an-array-of-soundfile/2659)

<div class="topic-metadata">

**Author:** [@math](https://discourse.processing.org/u/math)\
**Replies:** 2\
**Last updated:** [August 16, 2018, 9:18am UTC](https://discourse.processing.org/t/load-sounds-with-an-array-of-soundfile/2659 "2018-08-16T09:18:52Z")

</div>

I try to load multiple sounds with an array of SoundFile, but I keep getting a Error: Soundfile doesn't exist. Pleae check path when I try to initalize the array. Here’s my function (I want it to return a SoundFile arra…

---

## [What is the difference between bezierVertex() and curveVertex()?](https://discourse.processing.org/t/what-is-the-difference-between-beziervertex-and-curvevertex/2683)

<div class="topic-metadata">

**Author:** [@tony](https://discourse.processing.org/u/tony)\
**Replies:** 1\
**Last updated:** [August 16, 2018, 8:02am UTC](https://discourse.processing.org/t/what-is-the-difference-between-beziervertex-and-curvevertex/2683 "2018-08-16T08:02:00Z")

</div>

More specifically, when would I use one over the other? I’ve used bezier() more recently, so I’m familiar with it’s mechanics and the concept of control points, but curveVertex() remains more opaque. I have yet to come …

---

## [Adding Math Plugin to Discourse?](https://discourse.processing.org/t/adding-math-plugin-to-discourse/2682)

<div class="topic-metadata">

**Author:** [@dan850](https://discourse.processing.org/u/dan850)\
**Replies:** 0\
**Last updated:** [August 16, 2018, 6:50am UTC](https://discourse.processing.org/t/adding-math-plugin-to-discourse/2682 "2018-08-16T06:50:55Z")

</div>

Hi guys, one of users was wondering if discourse allows math formulas to be entered and it seems there is no button for this feature. But there is somthing on GitHub - https://meta.discourse.org/t/discourse-math-plugin/6…

---

## [Text added letter by letter](https://discourse.processing.org/t/text-added-letter-by-letter/2660)

<div class="topic-metadata">

**Author:** [@Luke](https://discourse.processing.org/u/Luke)\
**Replies:** 1\
**Last updated:** [August 15, 2018, 2:14pm UTC](https://discourse.processing.org/t/text-added-letter-by-letter/2660 "2018-08-15T14:14:05Z")

</div>

Hey, so here is a quick sketch as an example. I have added text to the screen all at once, just wondering if its possible to make the text appear letter by letter on the screen and how would this be achieved? Thanks. v…

---

## [How to add stroke/fill/colour options to svg shape](https://discourse.processing.org/t/how-to-add-stroke-fill-colour-options-to-svg-shape/2666)

<div class="topic-metadata">

**Author:** [@12345](https://discourse.processing.org/u/12345)\
**Replies:** 3\
**Last updated:** [August 16, 2018, 4:57am UTC](https://discourse.processing.org/t/how-to-add-stroke-fill-colour-options-to-svg-shape/2666 "2018-08-16T04:57:30Z")

</div>

Hi, I’m new to this and currently trying to figure out how to add stroke fill and colour options to my shape? this is my code so far

---

## [Installation on pi 0 W](https://discourse.processing.org/t/installation-on-pi-0-w/2648)

<div class="topic-metadata">

**Author:** [@gwenn](https://discourse.processing.org/u/gwenn)\
**Replies:** 4\
**Last updated:** [August 16, 2018, 4:45am UTC](https://discourse.processing.org/t/installation-on-pi-0-w/2648 "2018-08-16T04:45:04Z")

</div>

Dear all I am a little late in the game, but… Processing should work on the pi zero w (albeit slowly) right? Well I can’t install it. I am trying to run the command line from the terminal \`\`\` curl https://processing.…

---

## [Display Window does not load if proxy server set](https://discourse.processing.org/t/display-window-does-not-load-if-proxy-server-set/2652)

<div class="topic-metadata">

**Author:** [@LibraryIT](https://discourse.processing.org/u/LibraryIT)\
**Replies:** 2\
**Last updated:** [August 15, 2018, 11:49pm UTC](https://discourse.processing.org/t/display-window-does-not-load-if-proxy-server-set/2652 "2018-08-15T23:49:02Z")

</div>

Hi Our organization is looking at offering processing workshops on our Learning Centre computers. However on the Windows 10 PCs with a proxy server set processing v3.4 will not load the Display Window. As soon as the p…

---

## [How to get the position of moving pixel with camera](https://discourse.processing.org/t/how-to-get-the-position-of-moving-pixel-with-camera/2494)

<div class="topic-metadata">

**Author:** [@l-q-s](https://discourse.processing.org/u/l-q-s)\
**Replies:** 9\
**Last updated:** [August 15, 2018, 9:09pm UTC](https://discourse.processing.org/t/how-to-get-the-position-of-moving-pixel-with-camera/2494 "2018-08-15T21:09:12Z")

</div>

I tried to convert the code on this url into the code that processing could run. MotionDetectionTest In order to capture the position of multiple moving pixels with the camera, I completed the conversion of some of the…

---

## [Stuff I do late at night - The Game of Life](https://discourse.processing.org/t/stuff-i-do-late-at-night-the-game-of-life/2645)

<div class="topic-metadata">

**Author:** [@Otimsis](https://discourse.processing.org/u/Otimsis)\
**Replies:** 5\
**Last updated:** [August 15, 2018, 8:24pm UTC](https://discourse.processing.org/t/stuff-i-do-late-at-night-the-game-of-life/2645 "2018-08-15T20:24:02Z")

</div>

So I have been doing some veeery simple stuff lately I adapted the “Game of Life” that is in the examples of Processing.org /////////////////////////////////////////////////////////////////////////////////////////////…

---

## [Control servos with SSC-32U \[URGENT\]](https://discourse.processing.org/t/control-servos-with-ssc-32u-urgent/2662)

<div class="topic-metadata">

**Author:** [@parvinFrzd](https://discourse.processing.org/u/parvinFrzd)\
**Replies:** 2\
**Last updated:** [August 15, 2018, 1:49pm UTC](https://discourse.processing.org/t/control-servos-with-ssc-32u-urgent/2662 "2018-08-15T13:49:18Z")

</div>

Hi I’m trying to move a servo from a position to another position. I’m using SSC-32U and Processing. the function seems very easy but when I run it, it stays at the minimum position and never goes to the maximum position…

---

## [Alternative to using get() in a big PGraphics](https://discourse.processing.org/t/alternative-to-using-get-in-a-big-pgraphics/2654)

<div class="topic-metadata">

**Author:** [@Extension\_Shoe](https://discourse.processing.org/u/Extension_Shoe)\
**Replies:** 5\
**Last updated:** [August 15, 2018, 8:49am UTC](https://discourse.processing.org/t/alternative-to-using-get-in-a-big-pgraphics/2654 "2018-08-15T08:49:39Z")

</div>

Hey so I am trying to write a simple space fighting game that can be played on LAN I am using PGraphics to generate a map that has a size of 10000x10000 (I know a bit overkill but I also tried 5000x5000 and increasing di…

---

## [Multiplayer game stops working when i use background();](https://discourse.processing.org/t/multiplayer-game-stops-working-when-i-use-background/2628)

<div class="topic-metadata">

**Author:** [@ville2008](https://discourse.processing.org/u/ville2008)\
**Replies:** 11\
**Last updated:** [August 15, 2018, 4:25am UTC](https://discourse.processing.org/t/multiplayer-game-stops-working-when-i-use-background/2628 "2018-08-15T04:25:03Z")

</div>

i have a multiplayer game that im working on but when i moved i got bigger instead off moving so i used background(); in draw and then the multiplayer aspect stopped working help i am using kinda messy code cus im just t…

---

## [Using custom \`main(String\[\] args)\` breaks file reading functions in Windows (e.g. \`loadShader()\`, \`loadImage()\`)](https://discourse.processing.org/t/using-custom-main-string-args-breaks-file-reading-functions-in-windows-e-g-loadshader-loadimage/2572)

<div class="topic-metadata">

**Author:** [@haschdl](https://discourse.processing.org/u/haschdl)\
**Replies:** 14\
**Last updated:** [August 14, 2018, 7:47pm UTC](https://discourse.processing.org/t/using-custom-main-string-args-breaks-file-reading-functions-in-windows-e-g-loadshader-loadimage/2572 "2018-08-14T19:47:33Z")

</div>

Hello, I’m using loadShader() and loading a file which is saved to the data folder. I changed my sketch to include a custom main() function, however the loadShader function doesn’t work after that (Processing 3.3.7, Wi…

---

## [How to deal with issues with freelancers - processing](https://discourse.processing.org/t/how-to-deal-with-issues-with-freelancers-processing/2635)

<div class="topic-metadata">

**Author:** [@divinity9111](https://discourse.processing.org/u/divinity9111)\
**Replies:** 2\
**Last updated:** [August 14, 2018, 5:54pm UTC](https://discourse.processing.org/t/how-to-deal-with-issues-with-freelancers-processing/2635 "2018-08-14T17:54:44Z")

</div>

I wanted to get some processing work done so I hired a freelancer for the same Before the contract started, I clearly mentioned 8 key things I want the code to do. I deposited the contract amount in an escrow account. …

---

## [Split screen in 4 (Processing 3.3.6 - Windows + Kinect v2)](https://discourse.processing.org/t/split-screen-in-4-processing-3-3-6-windows-kinect-v2/2570)

<div class="topic-metadata">

**Author:** [@Niubbie](https://discourse.processing.org/u/Niubbie)\
**Replies:** 6\
**Last updated:** [August 14, 2018, 2:24pm UTC](https://discourse.processing.org/t/split-screen-in-4-processing-3-3-6-windows-kinect-v2/2570 "2018-08-14T14:24:42Z")

</div>

Hi! I’m new in the Processing world, really new. I was looking on the web to find a way to split the screen in 4 parts, but i can’t find a code that helps me do this. Now i am using (or try to ahah) the 3.3.6 Processing…

---

## [Draw shiny lines](https://discourse.processing.org/t/draw-shiny-lines/2630)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 9\
**Last updated:** [August 14, 2018, 12:06pm UTC](https://discourse.processing.org/t/draw-shiny-lines/2630 "2018-08-14T12:06:18Z")

</div>

I friends, How can I do shiny lines like that in P2D mode (it’s an image from the last Aphex Twin clip) ?

---

## [How to duplicate the array within different size and location](https://discourse.processing.org/t/how-to-duplicate-the-array-within-different-size-and-location/2611)

<div class="topic-metadata">

**Author:** [@plum.jungwoo](https://discourse.processing.org/u/plum.jungwoo)\
**Replies:** 3\
**Last updated:** [August 14, 2018, 4:07am UTC](https://discourse.processing.org/t/how-to-duplicate-the-array-within-different-size-and-location/2611 "2018-08-14T04:07:20Z")

</div>

I am making a set of algorithms using the box2d library. I made 10 small boxes of p1 to p5. However, if you choose one of the following choices (p1 to p5), I hope it will appear in the middle of the screen, but I have no…

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

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