# Latest

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

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

**Page:** 454

---

## [How to clean this JSON?](https://discourse.processing.org/t/how-to-clean-this-json/13511)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 6\
**Last updated:** [August 21, 2019, 5:56pm UTC](https://discourse.processing.org/t/how-to-clean-this-json/13511 "2019-08-21T17:56:37Z")

</div>

Hellooo! im using google Apis to request data from a blog. I want to be able to acces the content of a post, but in the json file the body of the text is between html code. how can i remove it ? in orden to get only the…

---

## [Unexpected OutOfBoundsException thrown](https://discourse.processing.org/t/unexpected-outofboundsexception-thrown/13526)

<div class="topic-metadata">

**Author:** [@Anosen](https://discourse.processing.org/u/Anosen)\
**Replies:** 1\
**Last updated:** [August 21, 2019, 7:49pm UTC](https://discourse.processing.org/t/unexpected-outofboundsexception-thrown/13526 "2019-08-21T19:49:10Z")

</div>

Hi, my problem is I can’t find from where the OutOfBoundsException error below comes from. Processing and Arduino code attached. Using Processing debugger I think the issue appears at line 81, with “try”. java.lang.Arr…

---

## [Dragging canvas out of the browser (as an image)](https://discourse.processing.org/t/dragging-canvas-out-of-the-browser-as-an-image/13183)

<div class="topic-metadata">

**Author:** [@thirstydude](https://discourse.processing.org/u/thirstydude)\
**Replies:** 7\
**Last updated:** [August 21, 2019, 6:27pm UTC](https://discourse.processing.org/t/dragging-canvas-out-of-the-browser-as-an-image/13183 "2019-08-21T18:27:22Z")

</div>

Hi everyone! this is my first post and i hope i am in the right section here. Also, i am very new to p5 and coding in general so please bear with me :slight\_smile: i am kind of stuck in a very simple project i’m doing.…

---

## [Processing x Kinect v2: Getting depth data and tracking moving object in 3D world](https://discourse.processing.org/t/processing-x-kinect-v2-getting-depth-data-and-tracking-moving-object-in-3d-world/13525)

<div class="topic-metadata">

**Author:** [@farahfairy](https://discourse.processing.org/u/farahfairy)\
**Replies:** 0\
**Last updated:** [August 21, 2019, 4:42pm UTC](https://discourse.processing.org/t/processing-x-kinect-v2-getting-depth-data-and-tracking-moving-object-in-3d-world/13525 "2019-08-21T16:42:35Z")

</div>

Hi, struggling with my Processing code… parts are taken from the Thomas Sanchez KinectPV2 examples… So my object is to access the Kinect V2 point cloud data and depth image and then to tracking small moving objects as bl…

---

## [Small projectors for gallery display](https://discourse.processing.org/t/small-projectors-for-gallery-display/13486)

<div class="topic-metadata">

**Author:** [@esc746](https://discourse.processing.org/u/esc746)\
**Replies:** 3\
**Last updated:** [August 21, 2019, 4:13pm UTC](https://discourse.processing.org/t/small-projectors-for-gallery-display/13486 "2019-08-21T16:13:18Z")

</div>

Has anyone here used small portable projectors for displaying their Processing work in ad-hoc exhibitions? It seems to me that the most important criteria would be a) the lag time, and b) the brightness if projecting in…

---

## [OpenGL processing shader sheet](https://discourse.processing.org/t/opengl-processing-shader-sheet/13432)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 5\
**Last updated:** [August 21, 2019, 2:09pm UTC](https://discourse.processing.org/t/opengl-processing-shader-sheet/13432 "2019-08-21T14:09:23Z")

</div>

I made a google docs about what variables are used in what shader. It might be usefull to someone some day.

---

## [Kinect and Processing](https://discourse.processing.org/t/kinect-and-processing/12972)

<div class="topic-metadata">

**Author:** [@farahfairy](https://discourse.processing.org/u/farahfairy)\
**Replies:** 4\
**Last updated:** [August 21, 2019, 9:22am UTC](https://discourse.processing.org/t/kinect-and-processing/12972 "2019-08-21T09:22:59Z")

</div>

Hi, I am trying to use Porcessing with Kinect to product point cloud data… I followed Daniel Shiffman’s youtube tutorial and link to github with source code but unfortunately having some library troubles… i have this e…

---

## [Rotating camera around a sketch as it draws, without effecting the drawing](https://discourse.processing.org/t/rotating-camera-around-a-sketch-as-it-draws-without-effecting-the-drawing/13500)

<div class="topic-metadata">

**Author:** [@edhull94](https://discourse.processing.org/u/edhull94)\
**Replies:** 1\
**Last updated:** [August 20, 2019, 7:49pm UTC](https://discourse.processing.org/t/rotating-camera-around-a-sketch-as-it-draws-without-effecting-the-drawing/13500 "2019-08-20T19:49:48Z")

</div>

Hi there, Wondering if someone could help me, I am new to processing and programming in general. I have created a random walker that walks a point around a 3D space. Please see code below. Now I would like to be able …

---

## [Use of saveStrings](https://discourse.processing.org/t/use-of-savestrings/13482)

<div class="topic-metadata">

**Author:** [@BeginnerForever](https://discourse.processing.org/u/BeginnerForever)\
**Replies:** 5\
**Last updated:** [August 20, 2019, 4:20pm UTC](https://discourse.processing.org/t/use-of-savestrings/13482 "2019-08-20T16:20:09Z")

</div>

Hi ! I’m very new to processing and java, and for one of my first programs i need to create data file in .txt to store some variables… but when i use the syntax below, in the .txt file i have this : -2097152 red … i …

---

## [Animation with 5 balls](https://discourse.processing.org/t/animation-with-5-balls/13413)

<div class="topic-metadata">

**Author:** [@Francisco](https://discourse.processing.org/u/Francisco)\
**Replies:** 5\
**Last updated:** [August 20, 2019, 4:09pm UTC](https://discourse.processing.org/t/animation-with-5-balls/13413 "2019-08-20T16:09:55Z")

</div>

I have tried this code to iterate an array in a circular way and assign the y values to five circles. But I suspect it is not the most efficient way. Are there other ways to do it? int\[\] secuencia = {0, 5, 10, 15, 20, 2…

---

## [3D terrain standalone display project](https://discourse.processing.org/t/3d-terrain-standalone-display-project/4162)

<div class="topic-metadata">

**Author:** [@stirman](https://discourse.processing.org/u/stirman)\
**Replies:** 14\
**Last updated:** [August 20, 2019, 3:15pm UTC](https://discourse.processing.org/t/3d-terrain-standalone-display-project/4162 "2019-08-20T15:15:23Z")

</div>

Hey friends, I have an idea… but could use a little wisdom of the crowd to get me going in the right direction. I would like to create a 3d terrain flyover similar to this but on a small standalone, framed display with a…

---

## [Error Code on Startup](https://discourse.processing.org/t/error-code-on-startup/13491)

<div class="topic-metadata">

**Author:** [@yucky](https://discourse.processing.org/u/yucky)\
**Replies:** 0\
**Last updated:** [August 20, 2019, 5:27am UTC](https://discourse.processing.org/t/error-code-on-startup/13491 "2019-08-20T05:27:48Z")

</div>

Hi all, I had processing downloaded on my computer for a while, but I hadn’t opened it in a couple months and now when I try to run it I get an error code. I’m running mac OS 10.12.6. I tried uninstalling and reinstalli…

---

## [I am unable to save my processing sketch](https://discourse.processing.org/t/i-am-unable-to-save-my-processing-sketch/13489)

<div class="topic-metadata">

**Author:** [@skrrt.exe](https://discourse.processing.org/u/skrrt.exe)\
**Replies:** 2\
**Last updated:** [August 20, 2019, 1:56pm UTC](https://discourse.processing.org/t/i-am-unable-to-save-my-processing-sketch/13489 "2019-08-20T13:56:14Z")

</div>

Whenever I attempt to save one of my sketches, I get a long error. This is the error I get: java.io.IOException: The system cannot find the file specified at java.io.WinNTFileSystem.createFileExclusively(Native Method…

---

## [Saveframe() fails when exported application is emailed and run](https://discourse.processing.org/t/saveframe-fails-when-exported-application-is-emailed-and-run/13477)

<div class="topic-metadata">

**Author:** [@JPoc](https://discourse.processing.org/u/JPoc)\
**Replies:** 5\
**Last updated:** [August 20, 2019, 1:25pm UTC](https://discourse.processing.org/t/saveframe-fails-when-exported-application-is-emailed-and-run/13477 "2019-08-20T13:25:04Z")

</div>

Bit of an odd bug this one. If I export an application for OS X in 3.4 that uses saveframe() (see example code), and then run that application from my machine, the app functions correctly. If I zip that exported applicat…

---

## [Trig question, drawing an arrow head on an arc](https://discourse.processing.org/t/trig-question-drawing-an-arrow-head-on-an-arc/13354)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 14\
**Last updated:** [August 20, 2019, 11:57am UTC](https://discourse.processing.org/t/trig-question-drawing-an-arrow-head-on-an-arc/13354 "2019-08-20T11:57:40Z")

</div>

How can I define points t1 and t2 by their angle from point a, relative to the tangent of the arc? I would like to draw lines from point a up to line cb by specifying an angle such as 30 or 45 degrees relative to the ar…

---

## [Save int when you exit from the software](https://discourse.processing.org/t/save-int-when-you-exit-from-the-software/13484)

<div class="topic-metadata">

**Author:** [@Shadowoftime](https://discourse.processing.org/u/Shadowoftime)\
**Replies:** 4\
**Last updated:** [August 20, 2019, 10:34am UTC](https://discourse.processing.org/t/save-int-when-you-exit-from-the-software/13484 "2019-08-20T10:34:26Z")

</div>

hello, I’m a game programmer using Processing And I want the home screen to have a score table that shows the user what their highest score is. I tried all kinds of ways to save a file, but didn’t quite understand. So…

---

## [How to use controlP5 in second window using python mode](https://discourse.processing.org/t/how-to-use-controlp5-in-second-window-using-python-mode/13253)

<div class="topic-metadata">

**Author:** [@rumidita](https://discourse.processing.org/u/rumidita)\
**Replies:** 6\
**Last updated:** [August 20, 2019, 2:42am UTC](https://discourse.processing.org/t/how-to-use-controlp5-in-second-window-using-python-mode/13253 "2019-08-20T02:42:03Z")

</div>

Hello, I want to put a button in the second window using ‘bang’ function from controlP5 library. I managed to do it in the main window, but it fails when I try to put in the second window. Instead of appearing in the s…

---

## [Implementing Merge Sort in Pixel Sorting](https://discourse.processing.org/t/implementing-merge-sort-in-pixel-sorting/13454)

<div class="topic-metadata">

**Author:** [@fschober](https://discourse.processing.org/u/fschober)\
**Replies:** 3\
**Last updated:** [August 19, 2019, 8:48pm UTC](https://discourse.processing.org/t/implementing-merge-sort-in-pixel-sorting/13454 "2019-08-19T20:48:42Z")

</div>

My brothers and sisters. I found you here today for I am not coming any further in thinking about this logic puzzle. I want to implement the merge sort in Shiffmans pixelsorting sketch, but I after a few days of thinki…

---

## [First coded with blockly then P5](https://discourse.processing.org/t/first-coded-with-blockly-then-p5/13402)

<div class="topic-metadata">

**Author:** [@deseingalt](https://discourse.processing.org/u/deseingalt)\
**Replies:** 3\
**Last updated:** [August 19, 2019, 8:33pm UTC](https://discourse.processing.org/t/first-coded-with-blockly-then-p5/13402 "2019-08-19T20:33:38Z")

</div>

https://editor.p5js.org/Deseingalt/present/LQK2Uvgn2

---

## [gl\_PointSize in Vertex Shader not working with PGL](https://discourse.processing.org/t/gl-pointsize-in-vertex-shader-not-working-with-pgl/10191)

<div class="topic-metadata">

**Author:** [@kesson](https://discourse.processing.org/u/kesson)\
**Replies:** 2\
**Last updated:** [August 19, 2019, 6:57pm UTC](https://discourse.processing.org/t/gl-pointsize-in-vertex-shader-not-working-with-pgl/10191 "2019-08-19T18:57:39Z")

</div>

Hello everyone, I am trying to use Shaders in Processing for some real time intensive rendering projects and I am writing some shaders to run it. It is a particle system, and when I try to run gl\_PointSize = 10.0; the…

---

## [How to have a p5 sketch continue to run while not in the selected tab?](https://discourse.processing.org/t/how-to-have-a-p5-sketch-continue-to-run-while-not-in-the-selected-tab/13476)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 2\
**Last updated:** [August 19, 2019, 5:47pm UTC](https://discourse.processing.org/t/how-to-have-a-p5-sketch-continue-to-run-while-not-in-the-selected-tab/13476 "2019-08-19T17:47:30Z")

</div>

I am making a p5 sketch, and I want it to be able to run while it is in the background, but whenever its tab is not selected, it pauses. How do I fix this?

---

## [Making p5.js downloadable again (solved)](https://discourse.processing.org/t/making-p5-js-downloadable-again-solved/13457)

<div class="topic-metadata">

**Author:** [@EnderArchery](https://discourse.processing.org/u/EnderArchery)\
**Replies:** 5\
**Last updated:** [August 19, 2019, 3:27pm UTC](https://discourse.processing.org/t/making-p5-js-downloadable-again-solved/13457 "2019-08-19T15:27:41Z")

</div>

Well, as you might have noticed, every download link on the p5js.org page takes you to their support page. And that’s it unfortunately. You apparently can’t download it.

---

## [I am not sure why i am getting "unexpected token: void" any help with this would be greatly appreaciated](https://discourse.processing.org/t/i-am-not-sure-why-i-am-getting-unexpected-token-void-any-help-with-this-would-be-greatly-appreaciated/13462)

<div class="topic-metadata">

**Author:** [@Heatwave87](https://discourse.processing.org/u/Heatwave87)\
**Replies:** 2\
**Last updated:** [August 19, 2019, 3:24pm UTC](https://discourse.processing.org/t/i-am-not-sure-why-i-am-getting-unexpected-token-void-any-help-with-this-would-be-greatly-appreaciated/13462 "2019-08-19T15:24:51Z")

</div>

I believe I have done this code correctly bet I am new to processing so it might be wrong the code is here if anyone can help. I am trying to make a dog face and the background changes to a random colour when I click. c…

---

## [Rendering a 3D shape from a File](https://discourse.processing.org/t/rendering-a-3d-shape-from-a-file/13458)

<div class="topic-metadata">

**Author:** [@GuilhermeVolker](https://discourse.processing.org/u/GuilhermeVolker)\
**Replies:** 3\
**Last updated:** [August 19, 2019, 12:51pm UTC](https://discourse.processing.org/t/rendering-a-3d-shape-from-a-file/13458 "2019-08-19T12:51:09Z")

</div>

Hello! I would like to know if there is some how to render a 3D shape on .svg or .obj, like any file from this website: https://www.tinkercad.com/things I try’d to use Pshape object but didan’t work properly PShape s;…

---

## [Python mode tutorials seem to be missing](https://discourse.processing.org/t/python-mode-tutorials-seem-to-be-missing/13398)

<div class="topic-metadata">

**Author:** [@proc8888](https://discourse.processing.org/u/proc8888)\
**Replies:** 5\
**Last updated:** [August 19, 2019, 8:07am UTC](https://discourse.processing.org/t/python-mode-tutorials-seem-to-be-missing/13398 "2019-08-19T08:07:04Z")

</div>

I used to be able to access a set of tutorials online using this link https://py.processing.org/tutorials/ but they are no longer there. Does anyone have the same problem?

---

## [Inconsistent collision detection using 'fisica' wrapper for JBox2d in Processing.py sketch](https://discourse.processing.org/t/inconsistent-collision-detection-using-fisica-wrapper-for-jbox2d-in-processing-py-sketch/13467)

<div class="topic-metadata">

**Author:** [@gytmas](https://discourse.processing.org/u/gytmas)\
**Replies:** 0\
**Last updated:** [August 19, 2019, 5:59am UTC](https://discourse.processing.org/t/inconsistent-collision-detection-using-fisica-wrapper-for-jbox2d-in-processing-py-sketch/13467 "2019-08-19T05:59:36Z")

</div>

Hi There. I am using processing.py to model some fairly rudimentary evacuation simulations. I am using Fisica as the physics engine to handle the collisions, however, it does not seem to be working. The collision detect…

---

## [How to change text color in the PDE sketch console](https://discourse.processing.org/t/how-to-change-text-color-in-the-pde-sketch-console/13405)

<div class="topic-metadata">

**Author:** [@cathcarter](https://discourse.processing.org/u/cathcarter)\
**Replies:** 7\
**Last updated:** [August 19, 2019, 5:56am UTC](https://discourse.processing.org/t/how-to-change-text-color-in-the-pde-sketch-console/13405 "2019-08-19T05:56:28Z")

</div>

How can I change the text color from red to white? I have bad eyes and I cannot read the contents of the console.

---

## [Pie Chart with only 5 datasets/arrays (Noob)](https://discourse.processing.org/t/pie-chart-with-only-5-datasets-arrays-noob/13464)

<div class="topic-metadata">

**Author:** [@harlo1](https://discourse.processing.org/u/harlo1)\
**Replies:** 2\
**Last updated:** [August 19, 2019, 5:24am UTC](https://discourse.processing.org/t/pie-chart-with-only-5-datasets-arrays-noob/13464 "2019-08-19T05:24:17Z")

</div>

I’m just getting started (noob) - I’m confused about using the pie chart to represent data - I converted data into 360 degrees but it still doesn’t seem to be working. Any advice? Here’s the code for reference: let ang…

---

## [PCD 2019 1:1 feedback](https://discourse.processing.org/t/pcd-2019-1-1-feedback/13459)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 0\
**Last updated:** [August 18, 2019, 11:38pm UTC](https://discourse.processing.org/t/pcd-2019-1-1-feedback/13459 "2019-08-18T23:38:51Z")

</div>

Hi everyone, I am still looking to gather more feedback about how PCD 2019 and get some feedback on our plan for PCD 2020. I have blocked out some time on my calendar next week to do so. You can reserve a time here. Ke…

---

## [How do I keep the fishes in the pond?](https://discourse.processing.org/t/how-do-i-keep-the-fishes-in-the-pond/13430)

<div class="topic-metadata">

**Author:** [@Leonhard](https://discourse.processing.org/u/Leonhard)\
**Replies:** 8\
**Last updated:** [August 18, 2019, 8:45pm UTC](https://discourse.processing.org/t/how-do-i-keep-the-fishes-in-the-pond/13430 "2019-08-18T20:45:37Z")

</div>

Hi, I’m new in this “Processing World”. I’m trying to keep the fishes in the pond. I’m using this code by Nicholas Tang --\> https://www.openprocessing.org/sketch/20105/. Please help me!

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

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