# Latest

**URL:** https://discourse.processing.org/latest.md?page=491

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

**Page:** 492

---

## [\[TASK\] Recreate blackjack in graphic module](https://discourse.processing.org/t/task-recreate-blackjack-in-graphic-module/10810)

<div class="topic-metadata">

**Author:** [@SoupDumpling](https://discourse.processing.org/u/SoupDumpling)\
**Replies:** 8\
**Last updated:** [May 5, 2019, 2:39pm UTC](https://discourse.processing.org/t/task-recreate-blackjack-in-graphic-module/10810 "2019-05-05T14:39:29Z")

</div>

As stated in the title, i want the blackjack game, it doesn’t need to be well made at all, it just need to work, and i have failed to do it myself :man\_shrugging:. Can pay $15 in PayPal or other forms of giftcards

---

## [Need help with fill() on Bezier](https://discourse.processing.org/t/need-help-with-fill-on-bezier/10603)

<div class="topic-metadata">

**Author:** [@Sudev](https://discourse.processing.org/u/Sudev)\
**Replies:** 14\
**Last updated:** [May 5, 2019, 12:14pm UTC](https://discourse.processing.org/t/need-help-with-fill-on-bezier/10603 "2019-05-05T12:14:43Z")

</div>

For some reason/s, am unable to set fill to my Bezier (3D). Here’s my code : let p0 = createVector(0, 20, 0); let p1 = createVector(0, 0, 40); let p2 = createVector(0, -60, 0); let p3 = createVector(0, 0, -40); …

---

## [My Labyrinth Game](https://discourse.processing.org/t/my-labyrinth-game/8965)

<div class="topic-metadata">

**Author:** [@Skys](https://discourse.processing.org/u/Skys)\
**Replies:** 5\
**Last updated:** [May 5, 2019, 11:23am UTC](https://discourse.processing.org/t/my-labyrinth-game/8965 "2019-05-05T11:23:03Z")

</div>

I still make my experience with Processing scince August 2018. Now my Game get a new function, a build in editor. At this time the game is only availible in german language. its a difficould game, i hope, but…

---

## [How to reset a loop and better edge detection](https://discourse.processing.org/t/how-to-reset-a-loop-and-better-edge-detection/10927)

<div class="topic-metadata">

**Author:** [@blu](https://discourse.processing.org/u/blu)\
**Replies:** 2\
**Last updated:** [May 5, 2019, 11:09am UTC](https://discourse.processing.org/t/how-to-reset-a-loop-and-better-edge-detection/10927 "2019-05-05T11:09:04Z")

</div>

Trying to make my game where all the balls go into the bottom right "basket then their x,y cord is reset 0. Or maybe the loop restarts, I’m really not sure how to approach it. Also, my collision is based on the distance …

---

## [16bit grayscale images](https://discourse.processing.org/t/16bit-grayscale-images/10795)

<div class="topic-metadata">

**Author:** [@Cerald](https://discourse.processing.org/u/Cerald)\
**Replies:** 6\
**Last updated:** [May 5, 2019, 9:27am UTC](https://discourse.processing.org/t/16bit-grayscale-images/10795 "2019-05-05T09:27:44Z")

</div>

As I understand it right now Processing uses a 32bit value for each pixel in an image, devided into 8bits for each color plus an alpha channel. However I would like load, modify and save grayscale images with a single 1…

---

## [How to prevent a PShape object to close?](https://discourse.processing.org/t/how-to-prevent-a-pshape-object-to-close/2340)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 11\
**Last updated:** [May 5, 2019, 9:24am UTC](https://discourse.processing.org/t/how-to-prevent-a-pshape-object-to-close/2340 "2019-05-05T09:24:03Z")

</div>

Hi everyone, I’d like to display a TRIANGLE\_STRIP mesh as a PShape object but when doing so the mesh “closes” on itself (lines connecting the last points to the first points of the mesh appear) Here’s an example to be …

---

## [Changing the Color](https://discourse.processing.org/t/changing-the-color/10925)

<div class="topic-metadata">

**Author:** [@elangit](https://discourse.processing.org/u/elangit)\
**Replies:** 4\
**Last updated:** [May 5, 2019, 4:05am UTC](https://discourse.processing.org/t/changing-the-color/10925 "2019-05-05T04:05:23Z")

</div>

I’m trying to change the color of each circle depending on the magnitude. However, they all remain blue. This is the assignment: Determine what color the circle for this earthquake should be: If the magnitude is less…

---

## [Gl video present view on PI](https://discourse.processing.org/t/gl-video-present-view-on-pi/10888)

<div class="topic-metadata">

**Author:** [@sfickel](https://discourse.processing.org/u/sfickel)\
**Replies:** 3\
**Last updated:** [May 4, 2019, 10:07pm UTC](https://discourse.processing.org/t/gl-video-present-view-on-pi/10888 "2019-05-04T22:07:45Z")

</div>

Hello! This is my first time posting on here and using processing with a raspberry pi. I have got my video playing with glvideo but I would like to use the present tool to show it. However it doesn’t seem to work with m…

---

## [Mapping every value of an array to a color spectrum](https://discourse.processing.org/t/mapping-every-value-of-an-array-to-a-color-spectrum/10868)

<div class="topic-metadata">

**Author:** [@lavina](https://discourse.processing.org/u/lavina)\
**Replies:** 5\
**Last updated:** [May 4, 2019, 9:32pm UTC](https://discourse.processing.org/t/mapping-every-value-of-an-array-to-a-color-spectrum/10868 "2019-05-04T21:32:03Z")

</div>

I have an array called numbers of incrementing values from 0 to n. I want to create an array of colors so that each value in numbers has its own color, and then later draw a line for each element in numbers, with the cor…

---

## [More rows of eyes, with rectangle pupils](https://discourse.processing.org/t/more-rows-of-eyes-with-rectangle-pupils/10905)

<div class="topic-metadata">

**Author:** [@Mikalaen](https://discourse.processing.org/u/Mikalaen)\
**Replies:** 18\
**Last updated:** [May 4, 2019, 7:18pm UTC](https://discourse.processing.org/t/more-rows-of-eyes-with-rectangle-pupils/10905 "2019-05-04T19:18:20Z")

</div>

Hey guys, I want to make this code more advanced. I would like to have more rows of eyes both the horisontal and vertical way. How do i do that? Should i use the “for (int …)” ?? And then i want the pupils in the eye t…

---

## [Find multiple arc edge?](https://discourse.processing.org/t/find-multiple-arc-edge/10847)

<div class="topic-metadata">

**Author:** [@pastuh](https://discourse.processing.org/u/pastuh)\
**Replies:** 9\
**Last updated:** [May 4, 2019, 6:07pm UTC](https://discourse.processing.org/t/find-multiple-arc-edge/10847 "2019-05-04T18:07:37Z")

</div>

Hello. I can’t understand how i can find arc() edge. Currently i control White line with mouse. And goal is to change that line to Red, if mouse is outside Yellow zone. I draw multiple arcs (on top of each) and real s…

---

## [More serial open at a time](https://discourse.processing.org/t/more-serial-open-at-a-time/10884)

<div class="topic-metadata">

**Author:** [@Frank-95](https://discourse.processing.org/u/Frank-95)\
**Replies:** 3\
**Last updated:** [May 4, 2019, 4:16pm UTC](https://discourse.processing.org/t/more-serial-open-at-a-time/10884 "2019-05-04T16:16:57Z")

</div>

Hello, does anyone knows if processing is able to communicate with two arduinos simultaneously? At the moment I don’t have two arduino to test the code but I’m trying to write it to progress with my work in the while. …

---

## [Trouble running P3D on MacBook](https://discourse.processing.org/t/trouble-running-p3d-on-macbook/9342)

<div class="topic-metadata">

**Author:** [@Maestr0](https://discourse.processing.org/u/Maestr0)\
**Replies:** 9\
**Last updated:** [May 4, 2019, 4:02pm UTC](https://discourse.processing.org/t/trouble-running-p3d-on-macbook/9342 "2019-05-04T16:02:32Z")

</div>

Running latest versions of Java, MacOS etc. Error I get on start up: 0 AppKit 0x00007fff456832e3 -\[NSWindow(NSWindow\_Theme) \_postWindowNeedsToResetDragMarginsUnlessPostingDisabled\] + 386 …

---

## [Full screen not filling second monitor in MacOS Mojave](https://discourse.processing.org/t/full-screen-not-filling-second-monitor-in-macos-mojave/8163)

<div class="topic-metadata">

**Author:** [@scottmetoyer](https://discourse.processing.org/u/scottmetoyer)\
**Replies:** 2\
**Last updated:** [May 4, 2019, 4:00pm UTC](https://discourse.processing.org/t/full-screen-not-filling-second-monitor-in-macos-mojave/8163 "2019-05-04T16:00:25Z")

</div>

I’m just starting out with Processing and trying to get a basic full screen window displaying on a second monitor on MacOS Mojave with this code (Processing 3.5.3, P3D renderer): void setup() { fullScreen(P3D, 2); } …

---

## [Where should my size(640, 480) go in my py.processing code?](https://discourse.processing.org/t/where-should-my-size-640-480-go-in-my-py-processing-code/10858)

<div class="topic-metadata">

**Author:** [@SanguineL](https://discourse.processing.org/u/SanguineL)\
**Replies:** 5\
**Last updated:** [May 4, 2019, 12:33pm UTC](https://discourse.processing.org/t/where-should-my-size-640-480-go-in-my-py-processing-code/10858 "2019-05-04T12:33:22Z")

</div>

Hello, I am having some confusion about where my size() code will go. \` Balls = \[\] class Ball: def \_\_init\_\_(self, x, y, xvel, yvel, radius): global Balls self.x = x self.y = y self.x…

---

## [2D perlin with smooth transition](https://discourse.processing.org/t/2d-perlin-with-smooth-transition/10897)

<div class="topic-metadata">

**Author:** [@Capt.Sloth](https://discourse.processing.org/u/Capt.Sloth)\
**Replies:** 8\
**Last updated:** [May 4, 2019, 9:43am UTC](https://discourse.processing.org/t/2d-perlin-with-smooth-transition/10897 "2019-05-04T09:43:21Z")

</div>

Simple project to understand Perlin noise better, I plan to have each cell have a certain grey-scale value with the help of perlin noise which I managed to attain in 2D. Now i would also like to add the z offset to the n…

---

## [Processing pool game bug](https://discourse.processing.org/t/processing-pool-game-bug/10559)

<div class="topic-metadata">

**Author:** [@mrblue216](https://discourse.processing.org/u/mrblue216)\
**Replies:** 4\
**Last updated:** [May 4, 2019, 9:25am UTC](https://discourse.processing.org/t/processing-pool-game-bug/10559 "2019-05-04T09:25:44Z")

</div>

Hello guys, I need help for a processing project. Here my code: When i shoot with tail the ball do not go straight and make a curve. I want to stop the ball Thanks ! //VARIABLES float y = 0; float w = 150; float h = …

---

## [Help me with my thesis database UI](https://discourse.processing.org/t/help-me-with-my-thesis-database-ui/10737)

<div class="topic-metadata">

**Author:** [@greggy](https://discourse.processing.org/u/greggy)\
**Replies:** 7\
**Last updated:** [May 4, 2019, 6:02am UTC](https://discourse.processing.org/t/help-me-with-my-thesis-database-ui/10737 "2019-05-04T06:02:39Z")

</div>

So this is my last resort, all my IT graduate friends are busy and cannot help me right now. First of all, i dont really have much knowledge about coding specially java. this project is my thesis for school. (im taking …

---

## [How to get rid of click at the beginning of an Audiosample?](https://discourse.processing.org/t/how-to-get-rid-of-click-at-the-beginning-of-an-audiosample/10864)

<div class="topic-metadata">

**Author:** [@Aeggy](https://discourse.processing.org/u/Aeggy)\
**Replies:** 5\
**Last updated:** [May 4, 2019, 12:05am UTC](https://discourse.processing.org/t/how-to-get-rid-of-click-at-the-beginning-of-an-audiosample/10864 "2019-05-04T00:05:39Z")

</div>

Hi. I noticed that audiosamples I play always have a click in the beginning, which is not a good quality for use. To demonstrate it, I play an inaudible 1hz sinewave below. Press d to play the wave and you hear the click…

---

## [Issue on my Sketch](https://discourse.processing.org/t/issue-on-my-sketch/10877)

<div class="topic-metadata">

**Author:** [@realmeteo](https://discourse.processing.org/u/realmeteo)\
**Replies:** 1\
**Last updated:** [May 3, 2019, 9:11pm UTC](https://discourse.processing.org/t/issue-on-my-sketch/10877 "2019-05-03T21:11:33Z")

</div>

I resolved by myself: Because the screen is updated only at the end of draw() Hello, I’m newbie on processung: I start my processing job from a fine working example that is this: Gauge second, minute, hour; int secol…

---

## [How to take input in the canvas drawn by the user](https://discourse.processing.org/t/how-to-take-input-in-the-canvas-drawn-by-the-user/10829)

<div class="topic-metadata">

**Author:** [@Procoder](https://discourse.processing.org/u/Procoder)\
**Replies:** 4\
**Last updated:** [May 3, 2019, 9:07pm UTC](https://discourse.processing.org/t/how-to-take-input-in-the-canvas-drawn-by-the-user/10829 "2019-05-03T21:07:50Z")

</div>

How can i use an input like a drawing as an object drawn by the user

---

## [Need Help With Ray Casting](https://discourse.processing.org/t/need-help-with-ray-casting/10833)

<div class="topic-metadata">

**Author:** [@TheBigCx](https://discourse.processing.org/u/TheBigCx)\
**Replies:** 1\
**Last updated:** [May 3, 2019, 8:42pm UTC](https://discourse.processing.org/t/need-help-with-ray-casting/10833 "2019-05-03T20:42:22Z")

</div>

I’m currently developing a Minecraft clone, and I’m stuck on block editing. I need to be able to break and place blocks, but can’t figure it out with Ray Casting. I am using QueasyCam to take care of movement.

---

## [P5.localmessage (testing, feedback, & discussion)](https://discourse.processing.org/t/p5-localmessage-testing-feedback-discussion/10889)

<div class="topic-metadata">

**Author:** [@bmoren](https://discourse.processing.org/u/bmoren)\
**Replies:** 0\
**Last updated:** [May 3, 2019, 6:49pm UTC](https://discourse.processing.org/t/p5-localmessage-testing-feedback-discussion/10889 "2019-05-03T18:49:55Z")

</div>

Hello! I’m releasing a new library for p5.js today. I’m hoping that this thread can encourage other people to try it out, and test if before I add it officially to the p5.js homepage. Github Repository: https://github.c…

---

## [Using a PVector](https://discourse.processing.org/t/using-a-pvector/10866)

<div class="topic-metadata">

**Author:** [@Process321](https://discourse.processing.org/u/Process321)\
**Replies:** 18\
**Last updated:** [May 3, 2019, 4:47pm UTC](https://discourse.processing.org/t/using-a-pvector/10866 "2019-05-03T16:47:45Z")

</div>

Looking to adapt the code below

---

## [Launcher seems to be ignored in the preferences](https://discourse.processing.org/t/launcher-seems-to-be-ignored-in-the-preferences/10840)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 8\
**Last updated:** [May 3, 2019, 4:39pm UTC](https://discourse.processing.org/t/launcher-seems-to-be-ignored-in-the-preferences/10840 "2019-05-03T16:39:49Z")

</div>

Hi! In my preferences.txt I have a line like this: launcher=/home/user/bin/showDirectory.fish This used to work fie in the past but not anymore. When I press CTRL+K it opens a terminal window which closes immediately. …

---

## [Epic 24 x 24 matrix designs](https://discourse.processing.org/t/epic-24-x-24-matrix-designs/10861)

<div class="topic-metadata">

**Author:** [@mattbrowningnz](https://discourse.processing.org/u/mattbrowningnz)\
**Replies:** 3\
**Last updated:** [May 3, 2019, 2:53pm UTC](https://discourse.processing.org/t/epic-24-x-24-matrix-designs/10861 "2019-05-03T14:53:27Z")

</div>

We are building a giant light display to teach kids how to code at our local library. The display is 3.5 metres high and 3.5 metres wide - made up of a matrix of 24 x 24 block pixels, and powered by sending Processing co…

---

## [Rotated polygons with collision detection](https://discourse.processing.org/t/rotated-polygons-with-collision-detection/10755)

<div class="topic-metadata">

**Author:** [@JoeM](https://discourse.processing.org/u/JoeM)\
**Replies:** 9\
**Last updated:** [May 3, 2019, 1:36pm UTC](https://discourse.processing.org/t/rotated-polygons-with-collision-detection/10755 "2019-05-03T13:36:59Z")

</div>

How can i detect the collision between two polygons with different rotations? i use the p5.collide2d Lib, but it don´t know how to apply rotation to it.

---

## [Conditional inside an IF](https://discourse.processing.org/t/conditional-inside-an-if/10790)

<div class="topic-metadata">

**Author:** [@chaps421](https://discourse.processing.org/u/chaps421)\
**Replies:** 4\
**Last updated:** [May 3, 2019, 2:15pm UTC](https://discourse.processing.org/t/conditional-inside-an-if/10790 "2019-05-03T14:15:49Z")

</div>

is there a way to put a conditional inside an of stament? for for (int i=0; i\<10; i++){ if(i==col(i).size ){//col1 or col2... col 9 depending on the i //whatever you want } } what i am currently using is t…

---

## [Problem using VideoExport in Eclipse](https://discourse.processing.org/t/problem-using-videoexport-in-eclipse/7374)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 8\
**Last updated:** [May 3, 2019, 11:19am UTC](https://discourse.processing.org/t/problem-using-videoexport-in-eclipse/7374 "2019-05-03T11:19:47Z")

</div>

hello @hamoid! im trying to use your librarie in Eclipse… but the console show me this error: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/jna/platform/win32/Wincon at processing.opengl.PSurfaceJ…

---

## [Issue with using array after splitTokens()](https://discourse.processing.org/t/issue-with-using-array-after-splittokens/10826)

<div class="topic-metadata">

**Author:** [@eezJerome](https://discourse.processing.org/u/eezJerome)\
**Replies:** 5\
**Last updated:** [May 3, 2019, 10:46am UTC](https://discourse.processing.org/t/issue-with-using-array-after-splittokens/10826 "2019-05-03T10:46:52Z")

</div>

Hello. This can be considered an extension of my previous thread here Using two different readStringUntil "characters" Now, I am working on a basic Arduino project, but for understand Processing, I am now using a poten…

[Previous page](https://discourse.processing.org/latest.md?page=490)

[Next page](https://discourse.processing.org/latest.md?page=492)
