# Processing

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

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

**Page:** 314

---

## [Recreating Breakout](https://discourse.processing.org/t/recreating-breakout/9356)

<div class="topic-metadata">

**Author:** [@DM\_Slippin](https://discourse.processing.org/u/DM_Slippin)\
**Replies:** 7\
**Last updated:** [March 21, 2019, 11:42pm UTC](https://discourse.processing.org/t/recreating-breakout/9356 "2019-03-21T23:42:19Z")

</div>

Hey there! I’ve been working on recreating the classic game, Breakout. As I’ve been working on it, I started working with creating the properties for the ball such that it would stick to the walls, could be aimed, and fi…

---

## [Moving line markers in a GUI](https://discourse.processing.org/t/moving-line-markers-in-a-gui/9489)

<div class="topic-metadata">

**Author:** [@iampadik](https://discourse.processing.org/u/iampadik)\
**Replies:** 4\
**Last updated:** [March 21, 2019, 4:56pm UTC](https://discourse.processing.org/t/moving-line-markers-in-a-gui/9489 "2019-03-21T16:56:19Z")

</div>

Hi all. So, this is a GUI I have made using Processing 3.5.3 in Windows7 (64 bit). I have an issue with having a continuously moving marker along with the mouse in the rectangle where I see the data. Currently, I have …

---

## [Car controlled by Keys](https://discourse.processing.org/t/car-controlled-by-keys/9509)

<div class="topic-metadata">

**Author:** [@RC75018](https://discourse.processing.org/u/RC75018)\
**Replies:** 1\
**Last updated:** [March 21, 2019, 2:34pm UTC](https://discourse.processing.org/t/car-controlled-by-keys/9509 "2019-03-21T14:34:53Z")

</div>

Hi Everyone, I am a newbie in processing. I have this mouse attracted object that i am trying to convert into a key arrows controlled algorithm. I want to keep this notion in pointing in the direction of motion but don’…

---

## [FFT music analyser](https://discourse.processing.org/t/fft-music-analyser/9485)

<div class="topic-metadata">

**Author:** [@Staijn](https://discourse.processing.org/u/Staijn)\
**Replies:** 4\
**Last updated:** [March 21, 2019, 9:35am UTC](https://discourse.processing.org/t/fft-music-analyser/9485 "2019-03-21T09:35:02Z")

</div>

Hello everyone, I am very new to processing, and to programming at all really. I’ve done some basic things on my arduino with LED’s, and I am now trying to extend my bluetooth LED project on my arduino. I want to add t…

---

## [Delta time / day](https://discourse.processing.org/t/delta-time-day/9441)

<div class="topic-metadata">

**Author:** [@NAA](https://discourse.processing.org/u/NAA)\
**Replies:** 6\
**Last updated:** [March 21, 2019, 5:31am UTC](https://discourse.processing.org/t/delta-time-day/9441 "2019-03-21T05:31:45Z")

</div>

Hey everyone! Couple of newbie question here, I’ve look trough the forum but I didn’t find what I was looking for. I’m writing a simple countdown for a specific day. Question 1: Why processing doesn’t update the ima…

---

## [Trying to find a name in a table](https://discourse.processing.org/t/trying-to-find-a-name-in-a-table/9498)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 2\
**Last updated:** [March 21, 2019, 3:59am UTC](https://discourse.processing.org/t/trying-to-find-a-name-in-a-table/9498 "2019-03-21T03:59:06Z")

</div>

Hey, I’m making a card game & made a list of the cards in a table. I thought I could run through the list and match the card I want with the correct info in the table, but i’m getting the wrong info. I place Captain in, …

---

## [Color wheel / A self made function](https://discourse.processing.org/t/color-wheel-a-self-made-function/9281)

<div class="topic-metadata">

**Author:** [@Aryan\_Pandhare](https://discourse.processing.org/u/Aryan_Pandhare)\
**Replies:** 12\
**Last updated:** [March 20, 2019, 8:48pm UTC](https://discourse.processing.org/t/color-wheel-a-self-made-function/9281 "2019-03-20T20:48:26Z")

</div>

Hi everyone, I am new to processing and I want to know that how to we convert an angle to color of the circle in processing function. I already have a function that converts low-high to min-max, know as the linearScale(…

---

## [Electrical Circuit](https://discourse.processing.org/t/electrical-circuit/9483)

<div class="topic-metadata">

**Author:** [@TOMiKENi](https://discourse.processing.org/u/TOMiKENi)\
**Replies:** 5\
**Last updated:** [March 20, 2019, 7:34pm UTC](https://discourse.processing.org/t/electrical-circuit/9483 "2019-03-20T19:34:03Z")

</div>

I need help creating this electrical circuit but I do not understand how to make my ellipse follow my circuit rather than continuing in the one direction. Can anyone help me please? I have pasted my coding below: void s…

---

## [3D Textured rolling ball](https://discourse.processing.org/t/3d-textured-rolling-ball/9478)

<div class="topic-metadata">

**Author:** [@Thomzoy](https://discourse.processing.org/u/Thomzoy)\
**Replies:** 2\
**Last updated:** [March 20, 2019, 6:42pm UTC](https://discourse.processing.org/t/3d-textured-rolling-ball/9478 "2019-03-20T18:42:44Z")

</div>

Hi ! I’m trying to do a (seemingly) easy thing but I am having a lot of trouble doing it. I want to simulate a sphere rolling on a plane, with a texture on it. To do so I computed the vector around which the sphere sh…

---

## [Have an error when using OpenCV](https://discourse.processing.org/t/have-an-error-when-using-opencv/9469)

<div class="topic-metadata">

**Author:** [@Grisha](https://discourse.processing.org/u/Grisha)\
**Replies:** 9\
**Last updated:** [March 20, 2019, 4:46pm UTC](https://discourse.processing.org/t/have-an-error-when-using-opencv/9469 "2019-03-20T16:46:07Z")

</div>

UnsatisfiedLinkError: can’t load library gio-2.0 (gio-2.0|libgio-2.0|libgio-2.0-0) with -Djna.library.path=C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/librar…

---

## [Converting from Capture Video to Movie](https://discourse.processing.org/t/converting-from-capture-video-to-movie/9482)

<div class="topic-metadata">

**Author:** [@nathanimate](https://discourse.processing.org/u/nathanimate)\
**Replies:** 1\
**Last updated:** [March 20, 2019, 4:29pm UTC](https://discourse.processing.org/t/converting-from-capture-video-to-movie/9482 "2019-03-20T16:29:27Z")

</div>

Hello all, I have created a camera motion detection and particle trail sketch, which works fine by comparing the pixel colour of the current to previous frame, but I am now trying to convert it so that it works with movi…

---

## [Align for TextLabel in Processing](https://discourse.processing.org/t/align-for-textlabel-in-processing/9079)

<div class="topic-metadata">

**Author:** [@padmakn](https://discourse.processing.org/u/padmakn)\
**Replies:** 13\
**Last updated:** [March 16, 2019, 4:07pm UTC](https://discourse.processing.org/t/align-for-textlabel-in-processing/9079 "2019-03-16T16:07:19Z")

</div>

Hi, Can you please tell me how to use the .align(int, int , int, int) for textlabel in processing? Regards, Padma

---

## [Error Using Processing in Eclipse](https://discourse.processing.org/t/error-using-processing-in-eclipse/4720)

<div class="topic-metadata">

**Author:** [@Angle](https://discourse.processing.org/u/Angle)\
**Replies:** 16\
**Last updated:** [March 20, 2019, 9:51am UTC](https://discourse.processing.org/t/error-using-processing-in-eclipse/4720 "2019-03-20T09:51:51Z")

</div>

I’m trying to use processing in eclipse, and am getting an error. After making my main class extend PApplet, regardless of whether I change anything else or not, I get: “Exception in thread “main” java.lang.ExceptionIn…

---

## [Moving Around And Shooting](https://discourse.processing.org/t/moving-around-and-shooting/8652)

<div class="topic-metadata">

**Author:** [@Brandeeenie](https://discourse.processing.org/u/Brandeeenie)\
**Replies:** 42\
**Last updated:** [March 20, 2019, 7:02am UTC](https://discourse.processing.org/t/moving-around-and-shooting/8652 "2019-03-20T07:02:05Z")

</div>

//0: GUI //1: GamePlay //2: GameOver ArrayList\<astroid\> astroids = new ArrayList\<astroid\>(); ArrayList \<shot\> shots = new ArrayList \<shot\> (); PVector player, playerSpeed; float maxSpeed = 3; int Scene = 0; int astroid\_…

---

## [Cannot get processsing 3 core.jar to work with eclipse](https://discourse.processing.org/t/cannot-get-processsing-3-core-jar-to-work-with-eclipse/1112)

<div class="topic-metadata">

**Author:** [@zejton](https://discourse.processing.org/u/zejton)\
**Replies:** 3\
**Last updated:** [March 19, 2019, 10:07pm UTC](https://discourse.processing.org/t/cannot-get-processsing-3-core-jar-to-work-with-eclipse/1112 "2019-03-19T22:07:11Z")

</div>

Issue description So I have tried for a couple of days to get processing 3 to work with eclipe without any luck. I have opened a thread on stackoverflow and i did not fully understand the answers i got there. Really tha…

---

## [Notify user about installation : PR Review needed](https://discourse.processing.org/t/notify-user-about-installation-pr-review-needed/9376)

<div class="topic-metadata">

**Author:** [@deerajtheepshi](https://discourse.processing.org/u/deerajtheepshi)\
**Replies:** 0\
**Last updated:** [March 17, 2019, 11:38am UTC](https://discourse.processing.org/t/notify-user-about-installation-pr-review-needed/9376 "2019-03-17T11:38:13Z")

</div>

Hey guys , I have made a small PR (https://github.com/processing/processing/pull/5818) on processing/processing repo . It would be great if anyone could review it . Thanks , Deeraj

---

## [PSurfaceFX.java getRenderScale() and getUIScale() not defined](https://discourse.processing.org/t/psurfacefx-java-getrenderscale-and-getuiscale-not-defined/9450)

<div class="topic-metadata">

**Author:** [@lightningundies](https://discourse.processing.org/u/lightningundies)\
**Replies:** 1\
**Last updated:** [March 19, 2019, 5:48pm UTC](https://discourse.processing.org/t/psurfacefx-java-getrenderscale-and-getuiscale-not-defined/9450 "2019-03-19T17:48:01Z")

</div>

In the Processing source code in PSurfaceFX.java (processing.core.awt.PSurfaceFX.java) around line 250 there are 2 calls to getRenderScale() on an object of type Screen, and 1 call to getUIScale() again on an object of t…

---

## [Need Help Animating This Drawing](https://discourse.processing.org/t/need-help-animating-this-drawing/9446)

<div class="topic-metadata">

**Author:** [@Mahubis](https://discourse.processing.org/u/Mahubis)\
**Replies:** 1\
**Last updated:** [March 19, 2019, 4:51pm UTC](https://discourse.processing.org/t/need-help-animating-this-drawing/9446 "2019-03-19T16:51:04Z")

</div>

float x; float theta =0; void setup() { size(600, 600); } void draw() { background(255); fill(0); strokeWeight(2); rect(30, 200, 100, 100); line(30, 200, 400, 200); line(50, 300, 400, 300); line(30, …

---

## [Exporting sketch - crash on startup (MAC)](https://discourse.processing.org/t/exporting-sketch-crash-on-startup-mac/9230)

<div class="topic-metadata">

**Author:** [@has\_sanity](https://discourse.processing.org/u/has_sanity)\
**Replies:** 19\
**Last updated:** [March 18, 2019, 5:15pm UTC](https://discourse.processing.org/t/exporting-sketch-crash-on-startup-mac/9230 "2019-03-18T17:15:06Z")

</div>

Hi, I’m really new to Processing but starting to get into it. Currently I’m stuck trying to export my sketch. I’m using three libraries: opencv, processing video and java.awt. The sketch is supposed to start the built i…

---

## [Error in Video librarie](https://discourse.processing.org/t/error-in-video-librarie/2580)

<div class="topic-metadata">

**Author:** [@lisandro.lanfranco](https://discourse.processing.org/u/lisandro.lanfranco)\
**Replies:** 16\
**Last updated:** [March 19, 2019, 1:16am UTC](https://discourse.processing.org/t/error-in-video-librarie/2580 "2019-03-19T01:16:40Z")

</div>

I try the example “GettingStartedCapture” and the following line throws error String cameras = Capture.list(); UnsatisfiedLinkError: Error looking up function ‘gst\_date\_get\_type’: /usr/lib/x86\_64-linux-gnu/libgstre…

---

## [How to fix a suuuper slow sketch?](https://discourse.processing.org/t/how-to-fix-a-suuuper-slow-sketch/9412)

<div class="topic-metadata">

**Author:** [@Qualitykittenpainter](https://discourse.processing.org/u/Qualitykittenpainter)\
**Replies:** 1\
**Last updated:** [March 18, 2019, 2:21pm UTC](https://discourse.processing.org/t/how-to-fix-a-suuuper-slow-sketch/9412 "2019-03-18T14:21:36Z")

</div>

He guys, I made this sketch which is an animation with animals. Somehow it got really slow, and i know line 199 till 203 makes it slow down but i dont know how to fix it. what can i change to make it go normal speed. A…

---

## [Error in playing sound](https://discourse.processing.org/t/error-in-playing-sound/8908)

<div class="topic-metadata">

**Author:** [@CodeTime](https://discourse.processing.org/u/CodeTime)\
**Replies:** 2\
**Last updated:** [March 18, 2019, 5:21am UTC](https://discourse.processing.org/t/error-in-playing-sound/8908 "2019-03-18T05:21:47Z")

</div>

So I just started learning on how to add sound into the program but ran into a problem that I can’t exactly understand. I had this code import processing.sound.\*; SoundFile file; void setup() { size(500,500); back…

---

## [Be Aware : Useful project](https://discourse.processing.org/t/be-aware-useful-project/9330)

<div class="topic-metadata">

**Author:** [@Gamal](https://discourse.processing.org/u/Gamal)\
**Replies:** 10\
**Last updated:** [March 18, 2019, 2:00am UTC](https://discourse.processing.org/t/be-aware-useful-project/9330 "2019-03-18T02:00:24Z")

</div>

Be aware, it is a program that includes all kinds of science in all its departments. The purpose of this program is to make people educated, knowledgeable and aware of everything in an easy and accessible way. If we wan…

---

## [How to check x,y of object?](https://discourse.processing.org/t/how-to-check-x-y-of-object/9345)

<div class="topic-metadata">

**Author:** [@Shadowoftime](https://discourse.processing.org/u/Shadowoftime)\
**Replies:** 4\
**Last updated:** [March 17, 2019, 11:29pm UTC](https://discourse.processing.org/t/how-to-check-x-y-of-object/9345 "2019-03-17T23:29:53Z")

</div>

Hello, I’m working on a game in processing and for the game I need to know each time the X and Y of a certain object, the same object constantly changing location and therefore I need you to tell me through which he will…

---

## [Error in when trying to use minim BeatDetect](https://discourse.processing.org/t/error-in-when-trying-to-use-minim-beatdetect/9317)

<div class="topic-metadata">

**Author:** [@SoundGuy](https://discourse.processing.org/u/SoundGuy)\
**Replies:** 4\
**Last updated:** [March 17, 2019, 7:57pm UTC](https://discourse.processing.org/t/error-in-when-trying-to-use-minim-beatdetect/9317 "2019-03-17T19:57:50Z")

</div>

I’m trying to use the code to detect beats in a song. I looked a Minim.BeatDetect class that i found in several examples: but when i try this sketch it gives me an error in the detect() function call: The function d…

---

## [Animate QuadGrid](https://discourse.processing.org/t/animate-quadgrid/9242)

<div class="topic-metadata">

**Author:** [@sjespers](https://discourse.processing.org/u/sjespers)\
**Replies:** 21\
**Last updated:** [March 17, 2019, 7:20pm UTC](https://discourse.processing.org/t/animate-quadgrid/9242 "2019-03-17T19:20:47Z")

</div>

Hello! I found @quark’s QuadGrid on the old forum (https://forum.processing.org/two/discussion/11549/texture-on-a-deformed-plane-is-bent-how-do-i-fix-it) and it was exactly what I was looking for but now I’d like to ani…

---

## [Apple Pencil on Processing](https://discourse.processing.org/t/apple-pencil-on-processing/2167)

<div class="topic-metadata">

**Author:** [@cesarks](https://discourse.processing.org/u/cesarks)\
**Replies:** 1\
**Last updated:** [March 17, 2019, 4:03pm UTC](https://discourse.processing.org/t/apple-pencil-on-processing/2167 "2019-03-17T16:03:39Z")

</div>

Hello, I was looking for web applications that support the use of the Apple Pencil, but I did not find any. Then I wondered if Processing would be able to do that. I did not find anything related to that on the search,…

---

## [How to developia1200morepowerfritl](https://discourse.processing.org/t/how-to-developia1200morepowerfritl/9370)

<div class="topic-metadata">

**Author:** [@UNAY](https://discourse.processing.org/u/UNAY)\
**Replies:** 1\
**Last updated:** [March 17, 2019, 6:48am UTC](https://discourse.processing.org/t/how-to-developia1200morepowerfritl/9370 "2019-03-17T06:48:24Z")

</div>

DataManager:public class DataManager { private Connection connection; private PreparedStatement preparedStatement; private ResultSet resultSet; public void connect() throws ClassNotFoundException, SQLException { …

---

## [Image in for loop not showing](https://discourse.processing.org/t/image-in-for-loop-not-showing/9358)

<div class="topic-metadata">

**Author:** [@Orbital](https://discourse.processing.org/u/Orbital)\
**Replies:** 8\
**Last updated:** [March 17, 2019, 2:09am UTC](https://discourse.processing.org/t/image-in-for-loop-not-showing/9358 "2019-03-17T02:09:16Z")

</div>

So sorry for a stupid question, I’m quite new. I’ve looked around online but found no answer. For whatever reason, no image is getting displayed when running this. //variables PImage img; Boolean trainmode = true; Str…

---

## [Trigonometry: Compute a point location on an arc](https://discourse.processing.org/t/trigonometry-compute-a-point-location-on-an-arc/9191)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 14\
**Last updated:** [March 16, 2019, 9:12pm UTC](https://discourse.processing.org/t/trigonometry-compute-a-point-location-on-an-arc/9191 "2019-03-16T21:12:13Z")

</div>

Hi all, I would like to find a way to compute the location of p4 on the picture below. All I have is: the location of p1, p2 and p3 the radius (length of segment p2 - p3) the angle between segment p1-p2 and segmen…

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

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