# Latest

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

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

**Page:** 525

---

## [Help with speeding up a fractal calculation](https://discourse.processing.org/t/help-with-speeding-up-a-fractal-calculation/8232)

<div class="topic-metadata">

**Author:** [@Dan](https://discourse.processing.org/u/Dan)\
**Replies:** 7\
**Last updated:** [February 13, 2019, 9:10pm UTC](https://discourse.processing.org/t/help-with-speeding-up-a-fractal-calculation/8232 "2019-02-13T21:10:27Z")

</div>

Hi everyone, I’ve used p5.js to render a fractal image by running Newton’s method on each pixel in a 600 by 600 grid. This works well enough for rendering the image once, and my result looks like this: But, this ima…

---

## [Deadlock? (main thread keeps waiting)](https://discourse.processing.org/t/deadlock-main-thread-keeps-waiting/8371)

<div class="topic-metadata">

**Author:** [@maxhawaii](https://discourse.processing.org/u/maxhawaii)\
**Replies:** 0\
**Last updated:** [February 13, 2019, 7:17pm UTC](https://discourse.processing.org/t/deadlock-main-thread-keeps-waiting/8371 "2019-02-13T19:17:43Z")

</div>

Hi everyone, I’m pretty sure that my processing sketch deadlocks and I’m having trouble debugging it. Most of the time, the sketch runs fine but once in a while - sometimes after 10 minutes, sometimes after 6 hours of …

---

## [Tweak mode not working?](https://discourse.processing.org/t/tweak-mode-not-working/7972)

<div class="topic-metadata">

**Author:** [@jdarias](https://discourse.processing.org/u/jdarias)\
**Replies:** 5\
**Last updated:** [February 13, 2019, 6:42pm UTC](https://discourse.processing.org/t/tweak-mode-not-working/7972 "2019-02-13T18:42:33Z")

</div>

Whenever i try the tweak functionality i get a red bar and this in the console: java.lang.ClassCastException: processing.app.RunnerListenerEdtAdapter cannot be cast to processing.mode.java.JavaEditor at processing.mode…

---

## [Suggest : translating code of conducts to various languages in github repo](https://discourse.processing.org/t/suggest-translating-code-of-conducts-to-various-languages-in-github-repo/8354)

<div class="topic-metadata">

**Author:** [@icq4ever](https://discourse.processing.org/u/icq4ever)\
**Replies:** 0\
**Last updated:** [February 13, 2019, 3:12pm UTC](https://discourse.processing.org/t/suggest-translating-code-of-conducts-to-various-languages-in-github-repo/8354 "2019-02-13T15:12:23Z")

</div>

hello all! I’m a donghoon, who one of the moderator in PCD 2019 Seoul event. other moderator @Youjin translated PCD code of conduct to korean for this event. although it’s bit hard to translating with proper and natura…

---

## [Creating an Array](https://discourse.processing.org/t/creating-an-array/8334)

<div class="topic-metadata">

**Author:** [@Awal](https://discourse.processing.org/u/Awal)\
**Replies:** 8\
**Last updated:** [February 13, 2019, 5:04pm UTC](https://discourse.processing.org/t/creating-an-array/8334 "2019-02-13T17:04:06Z")

</div>

Hi, I am working on a class assignment but I am stuck. The assignment is Create an int array called salesFigure that will hold 5 elements. Use a for loop to print all the elements. (They should all be 0 since no info…

---

## [“Sketch launched on the device”, but black screen on the phone](https://discourse.processing.org/t/sketch-launched-on-the-device-but-black-screen-on-the-phone/8338)

<div class="topic-metadata">

**Author:** [@lf.parra](https://discourse.processing.org/u/lf.parra)\
**Replies:** 2\
**Last updated:** [February 13, 2019, 2:12pm UTC](https://discourse.processing.org/t/sketch-launched-on-the-device-but-black-screen-on-the-phone/8338 "2019-02-13T14:12:21Z")

</div>

Hi! I have a code working at all. It runs everything and finds sketch’s data. The only error is a deprecated method, but it is underlined yellow, so I think it should not affect. It says Sketch launched on the device , …

---

## [Processing libraries in android studio](https://discourse.processing.org/t/processing-libraries-in-android-studio/8350)

<div class="topic-metadata">

**Author:** [@hunter](https://discourse.processing.org/u/hunter)\
**Replies:** 1\
**Last updated:** [February 13, 2019, 1:31pm UTC](https://discourse.processing.org/t/processing-libraries-in-android-studio/8350 "2019-02-13T13:31:45Z")

</div>

Is there any way to import Ketai library in android studio? I added processing-core dependency to my project and core functions work, but I also need to import Ketai library. Is it possible and if so, how to do it?

---

## [Number Tile Game](https://discourse.processing.org/t/number-tile-game/8342)

<div class="topic-metadata">

**Author:** [@o0804337](https://discourse.processing.org/u/o0804337)\
**Replies:** 5\
**Last updated:** [February 13, 2019, 5:09am UTC](https://discourse.processing.org/t/number-tile-game/8342 "2019-02-13T05:09:12Z")

</div>

\`I am trying to make a tile game where you are supposed to put the numbers in order. So I couldn’t get the numbers into the last row and I trying to get them to move. There isn’t supposed to be a square on the bottom rig…

---

## [Why text label upon mouseover doesn't work in this p5 code?](https://discourse.processing.org/t/why-text-label-upon-mouseover-doesnt-work-in-this-p5-code/8339)

<div class="topic-metadata">

**Author:** [@blkpanther](https://discourse.processing.org/u/blkpanther)\
**Replies:** 1\
**Last updated:** [February 13, 2019, 3:04am UTC](https://discourse.processing.org/t/why-text-label-upon-mouseover-doesnt-work-in-this-p5-code/8339 "2019-02-13T03:04:52Z")

</div>

I have a code drawing ellipses based on input data, and there is supposed to be text label on the ellipses upon mouse rollover, but so far that doesn’t work. If I remove if (this.over) condition, the label shows. If…

---

## [\[SOLVED\] Interpolating a continuous bezier curve](https://discourse.processing.org/t/solved-interpolating-a-continuous-bezier-curve/7905)

<div class="topic-metadata">

**Author:** [@Aleksi](https://discourse.processing.org/u/Aleksi)\
**Replies:** 6\
**Last updated:** [February 12, 2019, 11:25pm UTC](https://discourse.processing.org/t/solved-interpolating-a-continuous-bezier-curve/7905 "2019-02-12T23:25:56Z")

</div>

It’s relatively straightforward interpolating a single bezier curve. What I’m looking for is a way to interpolate a continuous bezier curve. I’m assuming it’s possible, and if I wasn’t pressed for time I’d probably figur…

---

## [Use Serial over USB](https://discourse.processing.org/t/use-serial-over-usb/8296)

<div class="topic-metadata">

**Author:** [@Waldhuhn](https://discourse.processing.org/u/Waldhuhn)\
**Replies:** 2\
**Last updated:** [February 12, 2019, 9:17pm UTC](https://discourse.processing.org/t/use-serial-over-usb/8296 "2019-02-12T21:17:24Z")

</div>

Hi, I want to use the USB(OTG) of my mobile to connect an external sensor. I downloaded the inventit serial lib and imported it. Following error: Build folder: /tmp/android3025816262146606534sketch :app:preBuild UP-…

---

## [Udp recreiving multiple ports](https://discourse.processing.org/t/udp-recreiving-multiple-ports/7516)

<div class="topic-metadata">

**Author:** [@jimfah](https://discourse.processing.org/u/jimfah)\
**Replies:** 6\
**Last updated:** [February 11, 2019, 8:45pm UTC](https://discourse.processing.org/t/udp-recreiving-multiple-ports/7516 "2019-02-11T20:45:28Z")

</div>

I would like to extend the UDP object to allow for listening to multiple ports. Note the use of extends in the class definition. public class myUDP extends UDP{ String myIp; int myPort; String inMsg; boole…

---

## [Problem dividing face of a WETriangleMesh (bug in toxiclibs ?)](https://discourse.processing.org/t/problem-dividing-face-of-a-wetrianglemesh-bug-in-toxiclibs/7790)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 1\
**Last updated:** [February 12, 2019, 7:46pm UTC](https://discourse.processing.org/t/problem-dividing-face-of-a-wetrianglemesh-bug-in-toxiclibs/7790 "2019-02-12T19:46:07Z")

</div>

Dear all, In the following example code I’m trying to add 3 new faces on top of one of the original 4 faces of a tetrahedron mesh. The mesh vertices are connected by springs. My problem is that the vertices of the newl…

---

## [Processing Education Community Director](https://discourse.processing.org/t/processing-education-community-director/8331)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 0\
**Last updated:** [February 12, 2019, 6:54pm UTC](https://discourse.processing.org/t/processing-education-community-director/8331 "2019-02-12T18:54:56Z")

</div>

Hi everyone, I wanted to reintroduce myself in my new role with the Processing Foundation, Education Community Director. The goal for the position is to help support educators and students more widely. Towards that end,…

---

## [Gallery with some images](https://discourse.processing.org/t/gallery-with-some-images/8295)

<div class="topic-metadata">

**Author:** [@akjunior](https://discourse.processing.org/u/akjunior)\
**Replies:** 4\
**Last updated:** [February 12, 2019, 5:55pm UTC](https://discourse.processing.org/t/gallery-with-some-images/8295 "2019-02-12T17:55:02Z")

</div>

ir, can i ask u a question? I wrote this code in processing, where you have something like gallery with some images. And if you click on one picture its enlarges. But right now, where ever I click, it is same picture whi…

---

## [Driving Effect / Moving Dividing Line](https://discourse.processing.org/t/driving-effect-moving-dividing-line/8316)

<div class="topic-metadata">

**Author:** [@hexe43](https://discourse.processing.org/u/hexe43)\
**Replies:** 3\
**Last updated:** [February 12, 2019, 5:21pm UTC](https://discourse.processing.org/t/driving-effect-moving-dividing-line/8316 "2019-02-12T17:21:37Z")

</div>

Hi, I want to create a “car avoiding game”. To make it look like the cars are driving I want to make the dividing line move constantly from top to bottom in a loop. How is that possible? Hopefully, someone is able to hel…

---

## [Processing not run in python mode](https://discourse.processing.org/t/processing-not-run-in-python-mode/8320)

<div class="topic-metadata">

**Author:** [@pisigor](https://discourse.processing.org/u/pisigor)\
**Replies:** 8\
**Last updated:** [February 12, 2019, 3:16pm UTC](https://discourse.processing.org/t/processing-not-run-in-python-mode/8320 "2019-02-12T15:16:30Z")

</div>

hi.processing is working perfect in java but not in python mode.i open examples or write a basic code and when i click run, nothing happens.no show errors.the run button turn yellow while i click and turn grey again.what…

---

## ["Sketch launched on the device", but black screen on the phone](https://discourse.processing.org/t/sketch-launched-on-the-device-but-black-screen-on-the-phone/8325)

<div class="topic-metadata">

**Author:** [@lf.parra](https://discourse.processing.org/u/lf.parra)\
**Replies:** 3\
**Last updated:** [February 12, 2019, 3:05pm UTC](https://discourse.processing.org/t/sketch-launched-on-the-device-but-black-screen-on-the-phone/8325 "2019-02-12T15:05:00Z")

</div>

Hi! I have a code working at all. It runs everything and finds sketch’s data. The only error is a deprecated method, but it is underlined yellow, then I think it should not affect. It says Sketch launched on the device,…

---

## [Gesture recognition](https://discourse.processing.org/t/gesture-recognition/8211)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 5\
**Last updated:** [February 12, 2019, 12:51pm UTC](https://discourse.processing.org/t/gesture-recognition/8211 "2019-02-12T12:51:28Z")

</div>

Hi, there is way to recognize gesture ? I would like to know when the mouse make lines, infinite, circle (his speed and direction : clockwise or not), … There is a old library but doesn’t work with current processing.

---

## [Timer that ends with a song](https://discourse.processing.org/t/timer-that-ends-with-a-song/8270)

<div class="topic-metadata">

**Author:** [@juliastar](https://discourse.processing.org/u/juliastar)\
**Replies:** 4\
**Last updated:** [February 12, 2019, 7:56am UTC](https://discourse.processing.org/t/timer-that-ends-with-a-song/8270 "2019-02-12T07:56:28Z")

</div>

Hi, I’m very new to processing. Right now I’m trying to create a game for kids. The thing is that I’m trying to create a timer and when it is equal to 0 a song will go off. So thanks to this forum and Youtube I manage t…

---

## [Displaying HTML in JFrame](https://discourse.processing.org/t/displaying-html-in-jframe/8307)

<div class="topic-metadata">

**Author:** [@lmccandless](https://discourse.processing.org/u/lmccandless)\
**Replies:** 1\
**Last updated:** [February 12, 2019, 5:55am UTC](https://discourse.processing.org/t/displaying-html-in-jframe/8307 "2019-02-12T05:55:39Z")

</div>

I’d like to get some HTML from a page and display it instead of writing my own parsing and trying to display it all with text(); I’ve cobbled this together from examples I’ve found on the old forum and stackoverflow, b…

---

## [Clicked() function? \[Resolved\]](https://discourse.processing.org/t/clicked-function-resolved/8179)

<div class="topic-metadata">

**Author:** [@laurenstrader](https://discourse.processing.org/u/laurenstrader)\
**Replies:** 2\
**Last updated:** [February 12, 2019, 5:33am UTC](https://discourse.processing.org/t/clicked-function-resolved/8179 "2019-02-12T05:33:59Z")

</div>

Hello, I am following the Coding Train 7.4 tutorial, if anyone has seen this, and I am unable to allow the program to recognize when I click inside the circles. In the video, the functions are formatted like this: funct…

---

## [Sketch works with P2D but doesn't update with JAVA2D](https://discourse.processing.org/t/sketch-works-with-p2d-but-doesnt-update-with-java2d/8312)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 0\
**Last updated:** [February 12, 2019, 4:02am UTC](https://discourse.processing.org/t/sketch-works-with-p2d-but-doesnt-update-with-java2d/8312 "2019-02-12T04:02:22Z")

</div>

Hi! Any ideas on why this program fails to draw different lines when clicking the mouse on JAVA2D, but does work with P2D? (on Processing 0269). Maybe it works on previous versions? In JAVA2D it seems to draw always the…

---

## [\[SOLVED\] Combined Strings not == single string](https://discourse.processing.org/t/solved-combined-strings-not-single-string/8310)

<div class="topic-metadata">

**Author:** [@kandles11](https://discourse.processing.org/u/kandles11)\
**Replies:** 2\
**Last updated:** [February 12, 2019, 3:57am UTC](https://discourse.processing.org/t/solved-combined-strings-not-single-string/8310 "2019-02-12T03:57:18Z")

</div>

Hello, I am having some troubles merging two strings to equal one. I want the two strings, once added together, to be able to == another string. I tried it, but its not printing the line. Any help would be appreciated :s…

---

## [\[SOLVED\] PVector in py.processing problem](https://discourse.processing.org/t/solved-pvector-in-py-processing-problem/8306)

<div class="topic-metadata">

**Author:** [@warsoldier011](https://discourse.processing.org/u/warsoldier011)\
**Replies:** 2\
**Last updated:** [February 12, 2019, 1:56am UTC](https://discourse.processing.org/t/solved-pvector-in-py-processing-problem/8306 "2019-02-12T01:56:50Z")

</div>

Hello there, I’ve currently run into a problem using PVector’s in py.processing. I’m trying to make a bouncing ball program using PVectors instead of plain old x, y , xspeed, yspeed, etc. However, when I try to add the c…

---

## [Unable to open the Javascript console in windows 10 PC using chrome](https://discourse.processing.org/t/unable-to-open-the-javascript-console-in-windows-10-pc-using-chrome/8303)

<div class="topic-metadata">

**Author:** [@nisthesecond](https://discourse.processing.org/u/nisthesecond)\
**Replies:** 5\
**Last updated:** [February 12, 2019, 12:59am UTC](https://discourse.processing.org/t/unable-to-open-the-javascript-console-in-windows-10-pc-using-chrome/8303 "2019-02-12T00:59:42Z")

</div>

I am unable to open the Javascript console in a PC running Windows 10 using chrome Browser. I get the following error message after pressing Control+Shift+J. I get this error message: Failed to load resource: the serv…

---

## [Projects a PVector onto camera](https://discourse.processing.org/t/projects-a-pvector-onto-camera/7908)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 3\
**Last updated:** [February 11, 2019, 9:31pm UTC](https://discourse.processing.org/t/projects-a-pvector-onto-camera/7908 "2019-02-11T21:31:07Z")

</div>

Hello! in three.js exist a function calls Projects (onto a camera): .project ( camera : Camera ) : this camera — camera to use in the projection. project: function ( camera ) { return this.applyMatrix4( camera.matri…

---

## [Getting pull requests merged into processing-video project](https://discourse.processing.org/t/getting-pull-requests-merged-into-processing-video-project/7891)

<div class="topic-metadata">

**Author:** [@alexmiller](https://discourse.processing.org/u/alexmiller)\
**Replies:** 5\
**Last updated:** [February 11, 2019, 8:46pm UTC](https://discourse.processing.org/t/getting-pull-requests-merged-into-processing-video-project/7891 "2019-02-11T20:46:06Z")

</div>

I recently submitted a pull request to the processing video library. I took a peek at the other outstanding pull requests against the library and was concerned to see that there doesn’t seem to be any progress on getting…

---

## [How to adjust tab size - GPanel - G4P library](https://discourse.processing.org/t/how-to-adjust-tab-size-gpanel-g4p-library/8285)

<div class="topic-metadata">

**Author:** [@fvoiron](https://discourse.processing.org/u/fvoiron)\
**Replies:** 4\
**Last updated:** [February 11, 2019, 8:19pm UTC](https://discourse.processing.org/t/how-to-adjust-tab-size-gpanel-g4p-library/8285 "2019-02-11T20:19:23Z")

</div>

Is there any way to control the width of the tab of a GPanel / G4P library? Indeed when changing the font (setFont()) / or the text (setText()) set to the tab after creation of the GPanel, the tab width dosen’t resize p…

---

## [Why are if AND else being executed at the same time?](https://discourse.processing.org/t/why-are-if-and-else-being-executed-at-the-same-time/8246)

<div class="topic-metadata">

**Author:** [@Schred](https://discourse.processing.org/u/Schred)\
**Replies:** 3\
**Last updated:** [February 11, 2019, 6:49pm UTC](https://discourse.processing.org/t/why-are-if-and-else-being-executed-at-the-same-time/8246 "2019-02-11T18:49:11Z")

</div>

Hi! I’m working on a collision system at the moment and everything seemed to work fine (actually not but I want to solve all the other problems on my own lol :sweat\_smile:) but then I realised that a boolean in the code…

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

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