# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=277

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

**Page:** 278

---

## [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…

---

## [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…

---

## [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…

---

## [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;…

---

## [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.

---

## [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!

---

## [Any experience with yFiles](https://discourse.processing.org/t/any-experience-with-yfiles/13410)

<div class="topic-metadata">

**Author:** [@bask185](https://discourse.processing.org/u/bask185)\
**Replies:** 2\
**Last updated:** [August 18, 2019, 8:10pm UTC](https://discourse.processing.org/t/any-experience-with-yfiles/13410 "2019-08-18T20:10:41Z")

</div>

I want to try out yFiles. It is a software library with which I should be able to create state diagrams with custom features. I am not going to do html and I am not going to do .NET. I can download yFiles library for jav…

---

## [Choosing a kinect](https://discourse.processing.org/t/choosing-a-kinect/13451)

<div class="topic-metadata">

**Author:** [@Omri](https://discourse.processing.org/u/Omri)\
**Replies:** 0\
**Last updated:** [August 18, 2019, 10:29am UTC](https://discourse.processing.org/t/choosing-a-kinect/13451 "2019-08-18T10:29:28Z")

</div>

Hey, I want to start working with kinect in processing, but i can’t figure out which version to buy. Im working on the newest processing and windows 10, which version of kinect will work best with this? Thank you all …

---

## [My Sketch just randomly stops/disappears without a trace](https://discourse.processing.org/t/my-sketch-just-randomly-stops-disappears-without-a-trace/13239)

<div class="topic-metadata">

**Author:** [@wakewatcher](https://discourse.processing.org/u/wakewatcher)\
**Replies:** 6\
**Last updated:** [August 18, 2019, 3:43pm UTC](https://discourse.processing.org/t/my-sketch-just-randomly-stops-disappears-without-a-trace/13239 "2019-08-18T15:43:56Z")

</div>

I’ve got a processing sketch that has been merrily humming along for a few months. (This is not some fancy graphics sketch just something I’m using/learning to monitor my HVAC system.) Recently about once a day it just …

---

## [Exponential Impulse not working](https://discourse.processing.org/t/exponential-impulse-not-working/13397)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 3\
**Last updated:** [August 17, 2019, 2:21pm UTC](https://discourse.processing.org/t/exponential-impulse-not-working/13397 "2019-08-17T14:21:48Z")

</div>

I’m working on this page: And I try to get Exponential Impulse to work: Exponential Impulse Great for triggering behaviours or making envelopes for music or animation, and for anything that grows fast and then slowl…

---

## [Import java.net.URI doesn't work](https://discourse.processing.org/t/import-java-net-uri-doesnt-work/13425)

<div class="topic-metadata">

**Author:** [@devlogerio](https://discourse.processing.org/u/devlogerio)\
**Replies:** 2\
**Last updated:** [August 17, 2019, 10:41am UTC](https://discourse.processing.org/t/import-java-net-uri-doesnt-work/13425 "2019-08-17T10:41:24Z")

</div>

I am going to make a URI using java.net.URI, it gives me the following error Unhandled exception type URISyntaxException, Im wondering why (import java.net.URI) is not working! Can anyone suggest anything? Error: Unha…

---

## [TimedEvents library problem](https://discourse.processing.org/t/timedevents-library-problem/13406)

<div class="topic-metadata">

**Author:** [@aledante](https://discourse.processing.org/u/aledante)\
**Replies:** 2\
**Last updated:** [August 16, 2019, 10:20pm UTC](https://discourse.processing.org/t/timedevents-library-problem/13406 "2019-08-16T22:20:57Z")

</div>

Hi everyone, Excuse my poor english. I´m having problems with TimedEvents library. I can not get it to draw anything. Even examples doesn´t work. Nothing inside void onTimerEvent() draw anything. import org.multiply.p…

---

## [Combine different projects](https://discourse.processing.org/t/combine-different-projects/13422)

<div class="topic-metadata">

**Author:** [@joakox98](https://discourse.processing.org/u/joakox98)\
**Replies:** 2\
**Last updated:** [August 16, 2019, 8:33pm UTC](https://discourse.processing.org/t/combine-different-projects/13422 "2019-08-16T20:33:28Z")

</div>

Hello, this is my first post, and my english maybe it’s bad. But i need help I have 3 different projects that I’m working, but i have to create a menu to go to all of them, like they are levels, and also, go from one l…

---

## [Complex Boundaries](https://discourse.processing.org/t/complex-boundaries/12088)

<div class="topic-metadata">

**Author:** [@LordCacops](https://discourse.processing.org/u/LordCacops)\
**Replies:** 7\
**Last updated:** [August 16, 2019, 3:49pm UTC](https://discourse.processing.org/t/complex-boundaries/12088 "2019-08-16T15:49:59Z")

</div>

Hello! Here we have a simple system for vehicles to avoid a demarcated boundary. // The Nature of Code // Daniel Shiffman // http://natureofcode.com // Stay Within Walls // "Made-up" Steering behavior to stay within w…

---

## [Trying to use save() to save an image to absolute path folder](https://discourse.processing.org/t/trying-to-use-save-to-save-an-image-to-absolute-path-folder/13293)

<div class="topic-metadata">

**Author:** [@jeffmarc](https://discourse.processing.org/u/jeffmarc)\
**Replies:** 16\
**Last updated:** [August 16, 2019, 1:29pm UTC](https://discourse.processing.org/t/trying-to-use-save-to-save-an-image-to-absolute-path-folder/13293 "2019-08-16T13:29:29Z")

</div>

save(“C:/myfolder/image.png”); It doesn’t get written to the C:/myfolder directory. After searching C:/ it appears in Windows recent folder save() description says it is saved by default in the sketch folder. If i do…

---

## [Processing and FTP](https://discourse.processing.org/t/processing-and-ftp/13381)

<div class="topic-metadata">

**Author:** [@Freiherrfrank](https://discourse.processing.org/u/Freiherrfrank)\
**Replies:** 2\
**Last updated:** [August 16, 2019, 11:26am UTC](https://discourse.processing.org/t/processing-and-ftp/13381 "2019-08-16T11:26:12Z")

</div>

Hallo, maybe someone can help me. I wrote a FTP Software with Processing and a FTP Library from enterprisedt.com. It is running very well but i can not looking for the Speed of Downloading or Uploading while this transfe…

---

## [Opacity with blending](https://discourse.processing.org/t/opacity-with-blending/13292)

<div class="topic-metadata">

**Author:** [@jeffthompson](https://discourse.processing.org/u/jeffthompson)\
**Replies:** 13\
**Last updated:** [August 15, 2019, 6:35pm UTC](https://discourse.processing.org/t/opacity-with-blending/13292 "2019-08-15T18:35:07Z")

</div>

I’m implementing a divide blend mode by hand to do background removal from a bunch of images. In Photoshop, I can also set the opacity of the background layer to make it a little less harsh, like this: But I can’t fig…

---

## [Drawing the inverse of a circle in a bounding rectangle](https://discourse.processing.org/t/drawing-the-inverse-of-a-circle-in-a-bounding-rectangle/13333)

<div class="topic-metadata">

**Author:** [@LoliProcessor](https://discourse.processing.org/u/LoliProcessor)\
**Replies:** 2\
**Last updated:** [August 15, 2019, 4:17pm UTC](https://discourse.processing.org/t/drawing-the-inverse-of-a-circle-in-a-bounding-rectangle/13333 "2019-08-15T16:17:14Z")

</div>

I am trying to draw an overlay for the rounded corner of cards. There is the rounded corners mode by drawing regular rectangles, but the cards are stored in images. Is there a more efficient method in processing other …

---

## [About map and error checking and preventing](https://discourse.processing.org/t/about-map-and-error-checking-and-preventing/13211)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 3\
**Last updated:** [August 15, 2019, 2:18pm UTC](https://discourse.processing.org/t/about-map-and-error-checking-and-preventing/13211 "2019-08-15T14:18:12Z")

</div>

map was once a simple function 4 times faster that looked like this: static public float map(float value, float istart, float istop, float ostart, float ostop) { return ostart + (ostop - ostart) \* ((value - istart) …

---

## [Different values for position when rotating around a circle](https://discourse.processing.org/t/different-values-for-position-when-rotating-around-a-circle/13395)

<div class="topic-metadata">

**Author:** [@fedpep](https://discourse.processing.org/u/fedpep)\
**Replies:** 8\
**Last updated:** [August 15, 2019, 1:39pm UTC](https://discourse.processing.org/t/different-values-for-position-when-rotating-around-a-circle/13395 "2019-08-15T13:39:28Z")

</div>

Hello, I was refactoring some old code and I noticed a problem with this sketch. It starts getting weird when there are 7 or 11, 13 (ad so on…) values in the array. I’m sure that’s because there are floating variables bu…

---

## [Need help - changeable text screen output](https://discourse.processing.org/t/need-help-changeable-text-screen-output/13374)

<div class="topic-metadata">

**Author:** [@waffi](https://discourse.processing.org/u/waffi)\
**Replies:** 5\
**Last updated:** [August 15, 2019, 9:04am UTC](https://discourse.processing.org/t/need-help-changeable-text-screen-output/13374 "2019-08-15T09:04:12Z")

</div>

how can you output a changing text, which comes via a serial interface on the screen output? the problem is that the first text always stops and then it runs into each other. example: textSize(100); fill(0, 139, 0,…

---

## [Experiencing lots of lag](https://discourse.processing.org/t/experiencing-lots-of-lag/13387)

<div class="topic-metadata">

**Author:** [@skrrt.exe](https://discourse.processing.org/u/skrrt.exe)\
**Replies:** 8\
**Last updated:** [August 15, 2019, 2:06am UTC](https://discourse.processing.org/t/experiencing-lots-of-lag/13387 "2019-08-15T02:06:23Z")

</div>

I just started using Processing today and kind of just jumped right into it. I used it a lot on Khan Academy but never with an Arduino. I have a book that taught me a little bit about how to use processing and using it w…

---

## [P3D Formula : opposite of screenX and screenY is ...?](https://discourse.processing.org/t/p3d-formula-opposite-of-screenx-and-screeny-is/10121)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 5\
**Last updated:** [August 14, 2019, 7:21pm UTC](https://discourse.processing.org/t/p3d-formula-opposite-of-screenx-and-screeny-is/10121 "2019-08-14T19:21:20Z")

</div>

Hello all, can someone do me a favour and post the code from screenX and screenY from the repository? I would like to see how it works. Thanks! Chrisir

---

## [Fighting game java](https://discourse.processing.org/t/fighting-game-java/13295)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 6\
**Last updated:** [August 14, 2019, 7:11pm UTC](https://discourse.processing.org/t/fighting-game-java/13295 "2019-08-14T19:11:37Z")

</div>

I’m making a fighting game where warriors come from both sides and meet in the middle. ATM I placed them in the middle because the map not done yet. Anyways I was trying to set up the fight but the way i’m trying to do i…

---

## [Trouble with keyCode](https://discourse.processing.org/t/trouble-with-keycode/13376)

<div class="topic-metadata">

**Author:** [@abigail](https://discourse.processing.org/u/abigail)\
**Replies:** 3\
**Last updated:** [August 14, 2019, 6:51pm UTC](https://discourse.processing.org/t/trouble-with-keycode/13376 "2019-08-14T18:51:47Z")

</div>

Hi, so I’m trying to move a square around the screen using the arrow keys. I have the code written for the square to move right when the right arrow key is pressed, but the square keeps moving once the key is released. H…

[Previous page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=276)

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=278)
