# Latest

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

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

**Page:** 512

---

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

---

## [Clarity Regarding the Migration of Codebase to ES6](https://discourse.processing.org/t/clarity-regarding-the-migration-of-codebase-to-es6/9419)

<div class="topic-metadata">

**Author:** [@JaiKotia](https://discourse.processing.org/u/JaiKotia)\
**Replies:** 3\
**Last updated:** [March 19, 2019, 4:20pm UTC](https://discourse.processing.org/t/clarity-regarding-the-migration-of-codebase-to-es6/9419 "2019-03-19T16:20:40Z")

</div>

Hey everyone! There was some uncertainty regarding the migration of the codebase to ES6, as pointed out by @limzykenneth here. This has been listed as a project idea under the GSoC project list, but there hasn’t been a…

---

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

---

## [touchEnded() clicks twice](https://discourse.processing.org/t/touchended-clicks-twice/9263)

<div class="topic-metadata">

**Author:** [@antocreo](https://discourse.processing.org/u/antocreo)\
**Replies:** 2\
**Last updated:** [March 19, 2019, 12:14pm UTC](https://discourse.processing.org/t/touchended-clicks-twice/9263 "2019-03-19T12:14:09Z")

</div>

Hi everyone, I am having some problem with touchEnded() function. I am using it to switch from a case to another and it works fine with the mouse on laptop. However, if I use a tablet it seems that the touch lasts lon…

---

## [Updating the p5.js library to ES6 for GSoC 2019](https://discourse.processing.org/t/updating-the-p5-js-library-to-es6-for-gsoc-2019/8814)

<div class="topic-metadata">

**Author:** [@JaiKotia](https://discourse.processing.org/u/JaiKotia)\
**Replies:** 5\
**Last updated:** [March 19, 2019, 6:12am UTC](https://discourse.processing.org/t/updating-the-p5-js-library-to-es6-for-gsoc-2019/8814 "2019-03-19T06:12:05Z")

</div>

Hey everyone! I am looking to work on the project for updating the p5,js library to ES6 for GSoC 2019. I have gone through the project description and the associated issues on GitHub. It seems to be an important part of…

---

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

---

## [Controlar la reproducción de video en P5.js](https://discourse.processing.org/t/controlar-la-reproduccion-de-video-en-p5-js/9269)

<div class="topic-metadata">

**Author:** [@JMEscribano](https://discourse.processing.org/u/JMEscribano)\
**Replies:** 2\
**Last updated:** [March 18, 2019, 4:58pm UTC](https://discourse.processing.org/t/controlar-la-reproduccion-de-video-en-p5-js/9269 "2019-03-18T16:58:20Z")

</div>

Estoy intentando moverme a lo largo de la reproducción de un video usando los cursores izquierdo y derecho de teclado. Para ello estoy intentando modificar la velocidad de reproducción pero obtengo el siguiente mensaje e…

---

## [Troubles with variables](https://discourse.processing.org/t/troubles-with-variables/9383)

<div class="topic-metadata">

**Author:** [@Raidzor](https://discourse.processing.org/u/Raidzor)\
**Replies:** 2\
**Last updated:** [March 18, 2019, 3:26pm UTC](https://discourse.processing.org/t/troubles-with-variables/9383 "2019-03-18T15:26:23Z")

</div>

Being a beginner, I struggle to understand the structure you have to put variables in to actually make them work. Let’s suppose I have to create an object, an ellipse, that moves with constant speed, or even acceleration…

---

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

---

## [Information about the project in Google Summer of code](https://discourse.processing.org/t/information-about-the-project-in-google-summer-of-code/9296)

<div class="topic-metadata">

**Author:** [@Gamal](https://discourse.processing.org/u/Gamal)\
**Replies:** 5\
**Last updated:** [March 18, 2019, 2:17am UTC](https://discourse.processing.org/t/information-about-the-project-in-google-summer-of-code/9296 "2019-03-18T02:17:09Z")

</div>

Hello My name is Jamal Salama from Egypt. I know the Java language well and I know its basics very well, and at the moment I’m studying the development and construction of Android, and I will finish it soon.I want to kn…

---

## [Android mode: Lost connection with device while installing](https://discourse.processing.org/t/android-mode-lost-connection-with-device-while-installing/9340)

<div class="topic-metadata">

**Author:** [@Schred](https://discourse.processing.org/u/Schred)\
**Replies:** 3\
**Last updated:** [March 18, 2019, 2:07am UTC](https://discourse.processing.org/t/android-mode-lost-connection-with-device-while-installing/9340 "2019-03-18T02:07:56Z")

</div>

Hi! I’m trying to get the android mode to work on my computer, but keep getting the errror message: “Lost connection with device while installing”. I’ve seen other people posting about this, but none of the answers work…

---

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

---

## [Storing PGraphics to List of Images?](https://discourse.processing.org/t/storing-pgraphics-to-list-of-images/9391)

<div class="topic-metadata">

**Author:** [@FSXAC](https://discourse.processing.org/u/FSXAC)\
**Replies:** 2\
**Last updated:** [March 18, 2019, 12:38am UTC](https://discourse.processing.org/t/storing-pgraphics-to-list-of-images/9391 "2019-03-18T00:38:18Z")

</div>

Hi all, I want to “pre-render” some PGraphics to a list of images, what is the function to copy the PImage as an image (similar to how image() treats PGraphics as parameter as an image). Here is what I want to do in co…

---

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

---

## [GSoC2019; looking for more info on the Devolopment Environment](https://discourse.processing.org/t/gsoc2019-looking-for-more-info-on-the-devolopment-environment/9394)

<div class="topic-metadata">

**Author:** [@AlZahraa](https://discourse.processing.org/u/AlZahraa)\
**Replies:** 1\
**Last updated:** [March 17, 2019, 11:00pm UTC](https://discourse.processing.org/t/gsoc2019-looking-for-more-info-on-the-devolopment-environment/9394 "2019-03-17T23:00:11Z")

</div>

Hi, my name is Fatma, and i’m a third year systems and computer engineering student at Al-Azhar university in Egypt.I’m super excited to apply to The Processing Foundation for GSOC this year. I checked the projects list…

---

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

---

## [Need suggestions](https://discourse.processing.org/t/need-suggestions/9372)

<div class="topic-metadata">

**Author:** [@abhinavsagar](https://discourse.processing.org/u/abhinavsagar)\
**Replies:** 1\
**Last updated:** [March 17, 2019, 7:06pm UTC](https://discourse.processing.org/t/need-suggestions/9372 "2019-03-17T19:06:01Z")

</div>

Hello guys, my name is Abhinav Sagar. I am an undergraduate student at VIT Vellore India. After going thorough the p5-JS website I feel there is a lot to be done. Some of the points which I feel are- -UI is just not qui…

---

## [Tetris Clone in Processing](https://discourse.processing.org/t/tetris-clone-in-processing/9363)

<div class="topic-metadata">

**Author:** [@Naeloob](https://discourse.processing.org/u/Naeloob)\
**Replies:** 1\
**Last updated:** [March 17, 2019, 6:52pm UTC](https://discourse.processing.org/t/tetris-clone-in-processing/9363 "2019-03-17T18:52:08Z")

</div>

Pretty new to Github and these forums but here’s my attempt to do Tetris alone:

---

## [Project Question](https://discourse.processing.org/t/project-question/9352)

<div class="topic-metadata">

**Author:** [@ixd](https://discourse.processing.org/u/ixd)\
**Replies:** 16\
**Last updated:** [March 17, 2019, 1:01am UTC](https://discourse.processing.org/t/project-question/9352 "2019-03-17T01:01:56Z")

</div>

Hi, I’m trying to make it so that the the numbers 1-36 (from the array up top) are listed inside each ellipse (so ellipse 1 would have the number 1, the ellipse next to it would have the number 2, etc. all the way up to…

---

## [Math and processing](https://discourse.processing.org/t/math-and-processing/9292)

<div class="topic-metadata">

**Author:** [@kmll](https://discourse.processing.org/u/kmll)\
**Replies:** 11\
**Last updated:** [March 17, 2019, 6:12pm UTC](https://discourse.processing.org/t/math-and-processing/9292 "2019-03-17T18:12:27Z")

</div>

I am working as a teacher and I would like to use Processing for solving simple mathematical equations. Eg. If one have the two equations: Y = 2X + 1 Y = - X + 4 I would like the students to make a program that finds …

---

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

---

## [Project Help Adding Sound](https://discourse.processing.org/t/project-help-adding-sound/9368)

<div class="topic-metadata">

**Author:** [@ixd](https://discourse.processing.org/u/ixd)\
**Replies:** 1\
**Last updated:** [March 17, 2019, 4:36am UTC](https://discourse.processing.org/t/project-help-adding-sound/9368 "2019-03-17T04:36:22Z")

</div>

Trying to make it so that when I press on number 1, the first sound (rollingsuitcase) is played. If you click again on the number 1, the sound should stop. Number 2 will make second sound (airportambiance) play. What’s t…

---

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

---

## [Problem with movement of ball and its speed](https://discourse.processing.org/t/problem-with-movement-of-ball-and-its-speed/9229)

<div class="topic-metadata">

**Author:** [@Michalis](https://discourse.processing.org/u/Michalis)\
**Replies:** 3\
**Last updated:** [March 16, 2019, 4:18pm UTC](https://discourse.processing.org/t/problem-with-movement-of-ball-and-its-speed/9229 "2019-03-16T16:18:09Z")

</div>

Hello, I’m really new to Processing and programming in general so I’m having some hard time to realize my project. I’m kinda lost right now and I’d really appreciate some help. So, I’m having this code, in which I want …

---

## [Help needed "the function add does not exist"](https://discourse.processing.org/t/help-needed-the-function-add-does-not-exist/9329)

<div class="topic-metadata">

**Author:** [@Qualitykittenpainter](https://discourse.processing.org/u/Qualitykittenpainter)\
**Replies:** 3\
**Last updated:** [March 16, 2019, 11:13am UTC](https://discourse.processing.org/t/help-needed-the-function-add-does-not-exist/9329 "2019-03-16T11:13:14Z")

</div>

Hi there, I’am trying to make a animation with animals increasing in number. But i run in to an error :frowning: i now have one animal that is increasing in number ( katten) . but i want the “paarden” to do the same. …

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

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