# Latest

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

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

**Page:** 474

---

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

---

## [P5.js with Divi in wordpress?](https://discourse.processing.org/t/p5-js-with-divi-in-wordpress/12148)

<div class="topic-metadata">

**Author:** [@othernode](https://discourse.processing.org/u/othernode)\
**Replies:** 1\
**Last updated:** [June 18, 2019, 2:25pm UTC](https://discourse.processing.org/t/p5-js-with-divi-in-wordpress/12148 "2019-06-18T14:25:04Z")

</div>

Hi guys, I am looking for a way to use p5.js inside the Divi builder in wordpress. does anyone have an idea if this would be possible and how to go about it? Thanks!

---

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

---

## [Help understanding properties](https://discourse.processing.org/t/help-understanding-properties/12108)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 1\
**Last updated:** [June 17, 2019, 8:34pm UTC](https://discourse.processing.org/t/help-understanding-properties/12108 "2019-06-17T20:34:17Z")

</div>

I’m trying to understand the behavior of properties in this function. I’ve created entirely by accident, or rather I have not read any documentation prior to coding this. I know vaguely how properties work, but the behav…

---

## [Html contdown timer](https://discourse.processing.org/t/html-contdown-timer/12123)

<div class="topic-metadata">

**Author:** [@Elite](https://discourse.processing.org/u/Elite)\
**Replies:** 1\
**Last updated:** [June 17, 2019, 8:31pm UTC](https://discourse.processing.org/t/html-contdown-timer/12123 "2019-06-17T20:31:29Z")

</div>

Hello, i want to set a timer on my html website that can use a selected value as the counter value, i created a js code that runs the timer but everytime i reload it, it runs the timer again. HTML \<select name="ddsele…

---

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

---

## [Save int for Android program](https://discourse.processing.org/t/save-int-for-android-program/12092)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.processing.org/u/Nick1)\
**Replies:** 9\
**Last updated:** [June 17, 2019, 8:38am UTC](https://discourse.processing.org/t/save-int-for-android-program/12092 "2019-06-17T08:38:16Z")

</div>

hey, i want that counter is saved when somebody restart the app or something. I tried it with a string but idk how i can do it. I think you dont need the pictures. thanks for help here the code: PImage yo\_oli, kind,…

---

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

---

## [\[SOLVED\] S4P best movement for the player in the world](https://discourse.processing.org/t/solved-s4p-best-movement-for-the-player-in-the-world/12051)

<div class="topic-metadata">

**Author:** [@InferNova](https://discourse.processing.org/u/InferNova)\
**Replies:** 7\
**Last updated:** [June 16, 2019, 3:14pm UTC](https://discourse.processing.org/t/solved-s4p-best-movement-for-the-player-in-the-world/12051 "2019-06-16T15:14:01Z")

</div>

Hey Guys ! I am working on a game. And I have been incorporating S4P and I was thinking what is the best to move the player within the world. Currently I keep the player in the middle of the screen and just used S4P.mov…

---

## [Analog Video Synthesis](https://discourse.processing.org/t/analog-video-synthesis/12085)

<div class="topic-metadata">

**Author:** [@anon57009815](https://discourse.processing.org/u/anon57009815)\
**Replies:** 2\
**Last updated:** [June 16, 2019, 10:20am UTC](https://discourse.processing.org/t/analog-video-synthesis/12085 "2019-06-16T10:20:29Z")

</div>

Hello everyone!! Any project like VSynth on processing?? GLSL also counts :slight\_smile: Best!

---

## [Fast approximate square root](https://discourse.processing.org/t/fast-approximate-square-root/12074)

<div class="topic-metadata">

**Author:** [@seanc4s](https://discourse.processing.org/u/seanc4s)\
**Replies:** 9\
**Last updated:** [June 16, 2019, 9:12am UTC](https://discourse.processing.org/t/fast-approximate-square-root/12074 "2019-06-16T09:12:59Z")

</div>

I’m thinking about fast nonlinear functions for neural networks. There are bit hacks on the floating point format that are useful. // Bit hack fast approximate square root void setup(){ background(0); size(500,500…

---

## [Buffer switching between Processing and pdf (export)](https://discourse.processing.org/t/buffer-switching-between-processing-and-pdf-export/12090)

<div class="topic-metadata">

**Author:** [@raron](https://discourse.processing.org/u/raron)\
**Replies:** 0\
**Last updated:** [June 16, 2019, 8:27am UTC](https://discourse.processing.org/t/buffer-switching-between-processing-and-pdf-export/12090 "2019-06-16T08:27:14Z")

</div>

Just thought this was kind of handy. I needed to export my processing window to pdf, but didn’t really want to make a new drawing function specifically for it (at least I wanted to try without first). I stumbled upon Pr…

---

## [Cyclical Path Following](https://discourse.processing.org/t/cyclical-path-following/12072)

<div class="topic-metadata">

**Author:** [@LordCacops](https://discourse.processing.org/u/LordCacops)\
**Replies:** 2\
**Last updated:** [June 16, 2019, 12:03am UTC](https://discourse.processing.org/t/cyclical-path-following/12072 "2019-06-16T00:03:40Z")

</div>

Hello! I have the following code written by Daniel Shiffman. It makes vehicles follow a complex path. I thought that by joining the vertices of the shape I would have the vehicles go round the path cyclically, but inste…

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

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