# Processing

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

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

**Page:** 290

---

## [Serial cannot be resolved to a type](https://discourse.processing.org/t/serial-cannot-be-resolved-to-a-type/12167)

<div class="topic-metadata">

**Author:** [@VernH](https://discourse.processing.org/u/VernH)\
**Replies:** 3\
**Last updated:** [June 19, 2019, 6:10pm UTC](https://discourse.processing.org/t/serial-cannot-be-resolved-to-a-type/12167 "2019-06-19T18:10:40Z")

</div>

I have a program that uses processing to communicate with and Arduino. I have downlaoaded Processing and installed core 3.5.3 (and all other jars) into eclipse on Windows 8.1. I have import processing.serial.\* but then w…

---

## [Moving a Vehicle](https://discourse.processing.org/t/moving-a-vehicle/12107)

<div class="topic-metadata">

**Author:** [@marcholman23](https://discourse.processing.org/u/marcholman23)\
**Replies:** 7\
**Last updated:** [June 19, 2019, 4:26pm UTC](https://discourse.processing.org/t/moving-a-vehicle/12107 "2019-06-19T16:26:15Z")

</div>

Hi, I’m trying to create a program that allows the user to move a car with the up down right and left arrow keys. I want the up and down keys to accelerate backwards and forwards. I want the left and right keys to con…

---

## [Avoid 'clunky' sketch/framerate](https://discourse.processing.org/t/avoid-clunky-sketch-framerate/12041)

<div class="topic-metadata">

**Author:** [@OptOut](https://discourse.processing.org/u/OptOut)\
**Replies:** 24\
**Last updated:** [June 19, 2019, 4:10pm UTC](https://discourse.processing.org/t/avoid-clunky-sketch-framerate/12041 "2019-06-19T16:10:42Z")

</div>

Hi everybody, I am currently working on a project where I have an image wall 5 x 5 grid. The project selects and display random images from data folder after each iteration. I have hacked together a working demo over t…

---

## [Hover color change](https://discourse.processing.org/t/hover-color-change/12169)

<div class="topic-metadata">

**Author:** [@srishtiverma](https://discourse.processing.org/u/srishtiverma)\
**Replies:** 3\
**Last updated:** [June 19, 2019, 3:04pm UTC](https://discourse.processing.org/t/hover-color-change/12169 "2019-06-19T15:04:19Z")

</div>

Hello! I’m a Processing beginner. Trying to make (a few) circles and rectangles in the 100 pixel radius of the mouse coordinates change color (and maybe even move, once I have the color change down) It says “b cannot b…

---

## [\[REPORTED\] PMatrix3D cannot be cast to PMatrix2D](https://discourse.processing.org/t/reported-pmatrix3d-cannot-be-cast-to-pmatrix2d/7779)

<div class="topic-metadata">

**Author:** [@BennyHacker](https://discourse.processing.org/u/BennyHacker)\
**Replies:** 3\
**Last updated:** [June 18, 2019, 4:21pm UTC](https://discourse.processing.org/t/reported-pmatrix3d-cannot-be-cast-to-pmatrix2d/7779 "2019-06-18T16:21:31Z")

</div>

Hello forum I’ve run into an unexpected exception while trying to rotate a PShape in the Z axis, even though it works fine in the X and Y axis. Has anyone else gotten this problem? It only started happening after instal…

---

## [Syphone - no JSyphon in java.library.path](https://discourse.processing.org/t/syphone-no-jsyphon-in-java-library-path/12160)

<div class="topic-metadata">

**Author:** [@DiscoErgoSum](https://discourse.processing.org/u/DiscoErgoSum)\
**Replies:** 2\
**Last updated:** [June 19, 2019, 2:12pm UTC](https://discourse.processing.org/t/syphone-no-jsyphon-in-java-library-path/12160 "2019-06-19T14:12:39Z")

</div>

Hi, I use Intellij to write my processing code. In my current project I like to use Syphone and it don’t will be work. The processing IDEA this thing works perfectly. I found some solutions but there won’t work. What I…

---

## [Save Data from Arduino to .txt with Processing](https://discourse.processing.org/t/save-data-from-arduino-to-txt-with-processing/12144)

<div class="topic-metadata">

**Author:** [@arpe](https://discourse.processing.org/u/arpe)\
**Replies:** 7\
**Last updated:** [June 19, 2019, 1:57pm UTC](https://discourse.processing.org/t/save-data-from-arduino-to-txt-with-processing/12144 "2019-06-19T13:57:13Z")

</div>

Hi, I’m trying to save my sensor data from the Arduino in a text-file with Processing. Now I really struggle with the Code for Processing. All I want is to save several data from the Arduino into .txt. With my actual Co…

---

## [ThrustMaster Joystick with Game Control Plus?](https://discourse.processing.org/t/thrustmaster-joystick-with-game-control-plus/12038)

<div class="topic-metadata">

**Author:** [@plux](https://discourse.processing.org/u/plux)\
**Replies:** 2\
**Last updated:** [June 19, 2019, 1:43pm UTC](https://discourse.processing.org/t/thrustmaster-joystick-with-game-control-plus/12038 "2019-06-19T13:43:03Z")

</div>

Hi, apologize for the very silly type of questions but I need to buy a Joystick and before I do that I need to make sure it actually works with Processing (otherwise my uni won’t buy it ). I was looking at this ThrustM…

---

## [Double to float](https://discourse.processing.org/t/double-to-float/12178)

<div class="topic-metadata">

**Author:** [@programmingNoob](https://discourse.processing.org/u/programmingNoob)\
**Replies:** 2\
**Last updated:** [June 19, 2019, 11:52am UTC](https://discourse.processing.org/t/double-to-float/12178 "2019-06-19T11:52:02Z")

</div>

I’m having issues with finding total velocity instead of having xVelocity and yVelocity. Would the correct strategy be to find the square root of the squares added, like with hypotenuses, or some other strategy? Here’s m…

---

## [\[SOLVED\] How to add ID to a shape (Java)?](https://discourse.processing.org/t/solved-how-to-add-id-to-a-shape-java/12155)

<div class="topic-metadata">

**Author:** [@NadeW](https://discourse.processing.org/u/NadeW)\
**Replies:** 4\
**Last updated:** [June 19, 2019, 5:09am UTC](https://discourse.processing.org/t/solved-how-to-add-id-to-a-shape-java/12155 "2019-06-19T05:09:12Z")

</div>

Hello I am unsure how to assign an ID to a specific shape. The idea is that every mousePressed will draw a circle in a grid, and I want to be able to tell which circle was drawn 1st, 2nd, 3rd etc. This is because I want …

---

## [Simple client server interaction](https://discourse.processing.org/t/simple-client-server-interaction/12105)

<div class="topic-metadata">

**Author:** [@BlinkY](https://discourse.processing.org/u/BlinkY)\
**Replies:** 3\
**Last updated:** [June 18, 2019, 11:46pm UTC](https://discourse.processing.org/t/simple-client-server-interaction/12105 "2019-06-18T23:46:39Z")

</div>

Hi guys, making my way through the processing book and got to the client server chapter which is fantastic. I haven’t gone as far as Daniel has suggested by creating a pong game but close enough. I am moving a rect aro…

---

## [Need my triangle to point to my mouse](https://discourse.processing.org/t/need-my-triangle-to-point-to-my-mouse/12053)

<div class="topic-metadata">

**Author:** [@Pan](https://discourse.processing.org/u/Pan)\
**Replies:** 2\
**Last updated:** [June 14, 2019, 9:34am UTC](https://discourse.processing.org/t/need-my-triangle-to-point-to-my-mouse/12053 "2019-06-14T09:34:19Z")

</div>

Hi, I’m using the google translator … I need the tip of my triangle to point to the coordinates of my mouse, here I leave what I could find out and do about it void setup(){ size(500, 500); } void draw(){ PVector …

---

## [Serial Write - print more than one byte?](https://discourse.processing.org/t/serial-write-print-more-than-one-byte/12159)

<div class="topic-metadata">

**Author:** [@Col\_John\_Matrix](https://discourse.processing.org/u/Col_John_Matrix)\
**Replies:** 2\
**Last updated:** [June 18, 2019, 5:07pm UTC](https://discourse.processing.org/t/serial-write-print-more-than-one-byte/12159 "2019-06-18T17:07:09Z")

</div>

Hello there, I’m very new to Processing, so forgive me if this is an overly simple question or whatever. I have created a Toggle button that I’m using to toggle an LED on/off on an Arduino. In the code below, when the …

---

## [Display JSON contents as text?](https://discourse.processing.org/t/display-json-contents-as-text/12139)

<div class="topic-metadata">

**Author:** [@RealDwayneJ](https://discourse.processing.org/u/RealDwayneJ)\
**Replies:** 4\
**Last updated:** [June 18, 2019, 3:42pm UTC](https://discourse.processing.org/t/display-json-contents-as-text/12139 "2019-06-18T15:42:25Z")

</div>

I’ve seen countless examples so far where the contents of a JSON file are displayed with println. But how would one run those contents through a simple text() in processing? Because I’ve been trying to get the array bel…

---

## [SSH library for Processing](https://discourse.processing.org/t/ssh-library-for-processing/12080)

<div class="topic-metadata">

**Author:** [@KTibow](https://discourse.processing.org/u/KTibow)\
**Replies:** 2\
**Last updated:** [June 18, 2019, 1:59pm UTC](https://discourse.processing.org/t/ssh-library-for-processing/12080 "2019-06-18T13:59:00Z")

</div>

Hi! I’m working on some code that requires the ability to SSH into another computer. Does anybody know of one or how to make a Java library work with Processing? Thanks! (By the way, I’m happy to provide more informatio…

---

## [Drawing a 2D tile based map](https://discourse.processing.org/t/drawing-a-2d-tile-based-map/12101)

<div class="topic-metadata">

**Author:** [@InferNova](https://discourse.processing.org/u/InferNova)\
**Replies:** 2\
**Last updated:** [June 18, 2019, 12:13am UTC](https://discourse.processing.org/t/drawing-a-2d-tile-based-map/12101 "2019-06-18T00:13:10Z")

</div>

Hey guys, I have a problem with drawing large tile maps as this has performance issues. Any take’s ? Sorry for the vague description but in a rush. I am talking about a 2D tile grid like showcased with my Hiscapes game d…

---

## [Program stops running at some point](https://discourse.processing.org/t/program-stops-running-at-some-point/11985)

<div class="topic-metadata">

**Author:** [@Hjtunfgb](https://discourse.processing.org/u/Hjtunfgb)\
**Replies:** 5\
**Last updated:** [June 17, 2019, 10:10pm UTC](https://discourse.processing.org/t/program-stops-running-at-some-point/11985 "2019-06-17T22:10:17Z")

</div>

I have a program that searches for all the frames in a 864.000 frame video to spot the different ones and save them for me. But for some reason, the program stops running at around 10% of the progress. The video is the f…

---

## [Rotating LaserBeam](https://discourse.processing.org/t/rotating-laserbeam/12134)

<div class="topic-metadata">

**Author:** [@Not\_River](https://discourse.processing.org/u/Not_River)\
**Replies:** 1\
**Last updated:** [June 17, 2019, 9:22pm UTC](https://discourse.processing.org/t/rotating-laserbeam/12134 "2019-06-17T21:22:02Z")

</div>

In my class we are trying to design a video game, and I’m trying to use code a laser beam that an enemy shoots. The laser is meant to start at the eye, and rotate 90 degrees in the direction of of player. In my code, I’v…

---

## [Looks like your mixing static and active modes](https://discourse.processing.org/t/looks-like-your-mixing-static-and-active-modes/12137)

<div class="topic-metadata">

**Author:** [@er45](https://discourse.processing.org/u/er45)\
**Replies:** 2\
**Last updated:** [June 17, 2019, 8:58pm UTC](https://discourse.processing.org/t/looks-like-your-mixing-static-and-active-modes/12137 "2019-06-17T20:58:19Z")

</div>

I cannot get processing three to put text on the screen. I get "looks like your mixing static and active modes. Can any one help? Thanks! Ed Code: int rainfall\[\] = {2, 3, 5, 1, 4, 6, 7, 2, 1}; float average(int\[\] dat…

---

## [3D camera view: TOP VIEW](https://discourse.processing.org/t/3d-camera-view-top-view/12019)

<div class="topic-metadata">

**Author:** [@alice](https://discourse.processing.org/u/alice)\
**Replies:** 3\
**Last updated:** [June 12, 2019, 7:20pm UTC](https://discourse.processing.org/t/3d-camera-view-top-view/12019 "2019-06-12T19:20:59Z")

</div>

Hello everybody, Someone knows how to set the camera in processing in order to have the TOP view? and move It in x or y to find the object ? Thanks!

---

## [Pdf Limitations? how to produced highest quality output?](https://discourse.processing.org/t/pdf-limitations-how-to-produced-highest-quality-output/12104)

<div class="topic-metadata">

**Author:** [@Rolf](https://discourse.processing.org/u/Rolf)\
**Replies:** 3\
**Last updated:** [June 17, 2019, 6:31pm UTC](https://discourse.processing.org/t/pdf-limitations-how-to-produced-highest-quality-output/12104 "2019-06-17T18:31:16Z")

</div>

Hi there just written a program that draws tens of thousands of lines and exports the result to pdf. everything works fine, but when I open the pdf file with edge, nothing appears, when I open the file with Firefox, th…

---

## [Use keyboard on madmapper projection](https://discourse.processing.org/t/use-keyboard-on-madmapper-projection/11882)

<div class="topic-metadata">

**Author:** [@simone](https://discourse.processing.org/u/simone)\
**Replies:** 2\
**Last updated:** [June 17, 2019, 1:39pm UTC](https://discourse.processing.org/t/use-keyboard-on-madmapper-projection/11882 "2019-06-17T13:39:56Z")

</div>

Hello. I apologize for my poor English. I would like to know: is it possible to use a keyboard on a projection with madmapper, and how to make it happen?

---

## [Working with PImages in a 2D-array](https://discourse.processing.org/t/working-with-pimages-in-a-2d-array/12099)

<div class="topic-metadata">

**Author:** [@TTG](https://discourse.processing.org/u/TTG)\
**Replies:** 1\
**Last updated:** [June 17, 2019, 1:38pm UTC](https://discourse.processing.org/t/working-with-pimages-in-a-2d-array/12099 "2019-06-17T13:38:37Z")

</div>

Hi team. I have images in a 2d-array. each image is representing a colored image and acts as a timestamp having the colors representing a value The images contain 12 months and for each month 16 hrs ( 2D-array= \[12\]…

---

## [Error: "Problem while trying to get the sketchbook"](https://discourse.processing.org/t/error-problem-while-trying-to-get-the-sketchbook/6956)

<div class="topic-metadata">

**Author:** [@Hillskiller](https://discourse.processing.org/u/Hillskiller)\
**Replies:** 7\
**Last updated:** [June 17, 2019, 11:53am UTC](https://discourse.processing.org/t/error-problem-while-trying-to-get-the-sketchbook/6956 "2019-06-17T11:53:33Z")

</div>

Hi im getting error when I ever open Processing 3.4 and its saying: The messege title is: No sketchbook What the messege says: Problem while trying to get the sketchbook Here is a pic of the messege: https://imgur.com…

---

## [Errors with P3D on macOS](https://discourse.processing.org/t/errors-with-p3d-on-macos/10893)

<div class="topic-metadata">

**Author:** [@expora](https://discourse.processing.org/u/expora)\
**Replies:** 6\
**Last updated:** [June 17, 2019, 11:45am UTC](https://discourse.processing.org/t/errors-with-p3d-on-macos/10893 "2019-06-17T11:45:18Z")

</div>

Hello everybody. I’m getting some error messages whenever I use the P3D renderer. Do you know anything about this? This is what I’m getting: 0 AppKit 0x00007fff2d476e63 -\[NSWindow(NSWindow\_Th…

---

## [Controlling Proscene's camera with OSCP5 controls](https://discourse.processing.org/t/controlling-proscenes-camera-with-oscp5-controls/12114)

<div class="topic-metadata">

**Author:** [@LuisFerreira](https://discourse.processing.org/u/LuisFerreira)\
**Replies:** 0\
**Last updated:** [June 17, 2019, 9:25am UTC](https://discourse.processing.org/t/controlling-proscenes-camera-with-oscp5-controls/12114 "2019-06-17T09:25:54Z")

</div>

Hello, i recently started using the Proscene library in my sketches, and now i want to have control over the camera without using the mouse. I am also using the OSCP5 library, and i want to use a XY Pad to control the c…

---

## [Progress bar from inside draw()](https://discourse.processing.org/t/progress-bar-from-inside-draw/12091)

<div class="topic-metadata">

**Author:** [@toby](https://discourse.processing.org/u/toby)\
**Replies:** 8\
**Last updated:** [June 17, 2019, 8:38am UTC](https://discourse.processing.org/t/progress-bar-from-inside-draw/12091 "2019-06-17T08:38:45Z")

</div>

Hello fellow Processing enthusiasts. Inside my draw() I have a tight loop working on pixels (I’m drawing fractals) and I’d like to have a progress bar reflecting how far draw() has got in its loop. I can do this fine if…

---

## [Gauge or meter graphics?](https://discourse.processing.org/t/gauge-or-meter-graphics/12087)

<div class="topic-metadata">

**Author:** [@alan856](https://discourse.processing.org/u/alan856)\
**Replies:** 2\
**Last updated:** [June 17, 2019, 12:04am UTC](https://discourse.processing.org/t/gauge-or-meter-graphics/12087 "2019-06-17T00:04:40Z")

</div>

Would like to send numerical data from an Arduino to Processing and use “canned” meter or speedometer type graphic to display it. Are there any such files or libraries available? Guess I could draw it myself, but a cool …

---

## [Web scrapper refresh/re-fetch question](https://discourse.processing.org/t/web-scrapper-refresh-re-fetch-question/12086)

<div class="topic-metadata">

**Author:** [@zara2355](https://discourse.processing.org/u/zara2355)\
**Replies:** 8\
**Last updated:** [June 16, 2019, 8:51pm UTC](https://discourse.processing.org/t/web-scrapper-refresh-re-fetch-question/12086 "2019-06-16T20:51:49Z")

</div>

Hey all, super new to Processing, so apologies if this is a dumb question… With the help of a few folks here on the forum, Ive cobbled together a web scrapper (code below) One of the things i would like to do is regula…

---

## [Create a random image wall](https://discourse.processing.org/t/create-a-random-image-wall/11992)

<div class="topic-metadata">

**Author:** [@OptOut](https://discourse.processing.org/u/OptOut)\
**Replies:** 6\
**Last updated:** [June 16, 2019, 4:25pm UTC](https://discourse.processing.org/t/create-a-random-image-wall/11992 "2019-06-16T16:25:57Z")

</div>

Hey everybody, So a bit of a newbie (not totally). I have a project/installation that I am trying to develop and am wondering if it is possible to do it with Processing. I have a large selection of images (50,000 +, jp…

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

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