# Latest

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

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

**Page:** 306

---

## [GSoC'21 | Skills required](https://discourse.processing.org/t/gsoc21-skills-required/23798)

<div class="topic-metadata">

**Author:** [@DHAiRYA](https://discourse.processing.org/u/DHAiRYA)\
**Replies:** 1\
**Last updated:** [September 19, 2020, 7:34pm UTC](https://discourse.processing.org/t/gsoc21-skills-required/23798 "2020-09-19T19:34:39Z")

</div>

Hi there! I am planning to contribute to Sugar Labs in GSoC’21 if it participates as a mentor org. I have intermediate Python and HTML, CSS, JS experience. What other skills do I need to develop so that i can contribut…

---

## [Rect Overlap error](https://discourse.processing.org/t/rect-overlap-error/23871)

<div class="topic-metadata">

**Author:** [@tribblesontoast](https://discourse.processing.org/u/tribblesontoast)\
**Replies:** 5\
**Last updated:** [September 19, 2020, 5:38pm UTC](https://discourse.processing.org/t/rect-overlap-error/23871 "2020-09-19T17:38:08Z")

</div>

Hi, I’m building a program to add rectangles in random locations that don’t overlap. My issue is that for some reason I can’t see, the checking of the rectangles is happening incorrectly and then adding them with overl…

---

## [Loading multiple .tsp or plain .txt files 70+ located in a directory](https://discourse.processing.org/t/loading-multiple-tsp-or-plain-txt-files-70-located-in-a-directory/23908)

<div class="topic-metadata">

**Author:** [@ChipperActual](https://discourse.processing.org/u/ChipperActual)\
**Replies:** 1\
**Last updated:** [September 19, 2020, 5:02pm UTC](https://discourse.processing.org/t/loading-multiple-tsp-or-plain-txt-files-70-located-in-a-directory/23908 "2020-09-19T17:02:53Z")

</div>

Hey All Very green with JS, stuck on how to load/read multiple files located within a directory(over 70 of them) was able to load one with the preload function ‘loadStrings’, any assistance would be much appreciated.

---

## [Kinect with Windows 10 or any alternative?](https://discourse.processing.org/t/kinect-with-windows-10-or-any-alternative/23963)

<div class="topic-metadata">

**Author:** [@730](https://discourse.processing.org/u/730)\
**Replies:** 0\
**Last updated:** [September 19, 2020, 3:20pm UTC](https://discourse.processing.org/t/kinect-with-windows-10-or-any-alternative/23963 "2020-09-19T15:20:44Z")

</div>

Hi everyone, I’m about to start teaching Processing at an art academy and I would like to propose the students some interactive works with Kinect. It’s been some years I don’t use this device and as I should buy one to…

---

## [Yap5 Repo Release](https://discourse.processing.org/t/yap5-repo-release/23899)

<div class="topic-metadata">

**Author:** [@fenjalien](https://discourse.processing.org/u/fenjalien)\
**Replies:** 3\
**Last updated:** [September 19, 2020, 3:00pm UTC](https://discourse.processing.org/t/yap5-repo-release/23899 "2020-09-19T15:00:06Z")

</div>

Hi all, this is to announce that I have made the yap5 repository public. Its an experimental rewrite of p5py/p5 that instead uses pyglet as its graphics backend. Read the README in the repo for more details. Slight d…

---

## [Will the monetization of Java kill processing?](https://discourse.processing.org/t/will-the-monetization-of-java-kill-processing/23952)

<div class="topic-metadata">

**Author:** [@Leon](https://discourse.processing.org/u/Leon)\
**Replies:** 4\
**Last updated:** [September 19, 2020, 2:05pm UTC](https://discourse.processing.org/t/will-the-monetization-of-java-kill-processing/23952 "2020-09-19T14:05:59Z")

</div>

Isn’t Java supposed to be code once run everywhere? So how are we supposed to do that if we have to pay for the JRE that packages a JVM? Will this stop processing? I wonder if I am ever able to contribute to new librari…

---

## [Fractal zoom animation](https://discourse.processing.org/t/fractal-zoom-animation/23727)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 15\
**Last updated:** [September 17, 2020, 5:43pm UTC](https://discourse.processing.org/t/fractal-zoom-animation/23727 "2020-09-17T17:43:13Z")

</div>

Hi. I would like to code an animated fractal as shown as in this animation. My first thought was to just zoom in at every frame, but the result of this code was of course not the same, because you have to split the fra…

---

## [Not able to install processing](https://discourse.processing.org/t/not-able-to-install-processing/23957)

<div class="topic-metadata">

**Author:** [@Yuvaan](https://discourse.processing.org/u/Yuvaan)\
**Replies:** 3\
**Last updated:** [September 19, 2020, 1:21pm UTC](https://discourse.processing.org/t/not-able-to-install-processing/23957 "2020-09-19T13:21:00Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I am not being able to install processing on my windows 64 bit machine

---

## [Processing 4 Alpha 2 Release](https://discourse.processing.org/t/processing-4-alpha-2-release/23958)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 0\
**Last updated:** [September 19, 2020, 12:27pm UTC](https://discourse.processing.org/t/processing-4-alpha-2-release/23958 "2020-09-19T12:27:23Z")

</div>

Hello, Processing 4 Alpha 2 Release is available now… Announced on Twitter: Available here: This is an alpha release: Stable releases here: :)

---

## [Can I do boolean operation for PShape in processing?](https://discourse.processing.org/t/can-i-do-boolean-operation-for-pshape-in-processing/23955)

<div class="topic-metadata">

**Author:** [@Timi](https://discourse.processing.org/u/Timi)\
**Replies:** 1\
**Last updated:** [September 19, 2020, 12:22pm UTC](https://discourse.processing.org/t/can-i-do-boolean-operation-for-pshape-in-processing/23955 "2020-09-19T12:22:47Z")

</div>

Such as subtract, divide, union… The following effect is what I want, but this library is for javascript:

---

## [API compatibility for p5py](https://discourse.processing.org/t/api-compatibility-for-p5py/20492)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 10\
**Last updated:** [September 19, 2020, 11:39am UTC](https://discourse.processing.org/t/api-compatibility-for-p5py/20492 "2020-09-19T11:39:33Z")

</div>

@tabreturn has posted a great tutorial on how to use Thonny IDE with p5 (also known as p5py) here: Portable Thonny and p5 I find the p5py maintainers decision to forgo any attempt at API compatibility with Py.Processing…

---

## [How to draw a "three-quarter circle"?](https://discourse.processing.org/t/how-to-draw-a-three-quarter-circle/23448)

<div class="topic-metadata">

**Author:** [@Schred](https://discourse.processing.org/u/Schred)\
**Replies:** 8\
**Last updated:** [September 19, 2020, 8:21am UTC](https://discourse.processing.org/t/how-to-draw-a-three-quarter-circle/23448 "2020-09-19T08:21:21Z")

</div>

I am trying to draw the following in a Processing sketch: The lines are no problem, but I am searching for a way to implement the curves by also just using vertexes. Ideally, I would just have to tell the code the pos…

---

## [How can I create a SVG shape from a svg code?](https://discourse.processing.org/t/how-can-i-create-a-svg-shape-from-a-svg-code/23948)

<div class="topic-metadata">

**Author:** [@Timi](https://discourse.processing.org/u/Timi)\
**Replies:** 1\
**Last updated:** [September 19, 2020, 7:14am UTC](https://discourse.processing.org/t/how-can-i-create-a-svg-shape-from-a-svg-code/23948 "2020-09-19T07:14:06Z")

</div>

Hi everyone, I have a svg code: path class=“st0” d=“M39.28,4.19c0,0-40,19-36,61s26,72,55,82S39.28,4.19,39.28,4.19z”/\> I want to use this code to generate svg shapes, is there any function or library can I use? Current…

---

## [Null pointer error in thread](https://discourse.processing.org/t/null-pointer-error-in-thread/21499)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 49\
**Last updated:** [September 19, 2020, 2:53am UTC](https://discourse.processing.org/t/null-pointer-error-in-thread/21499 "2020-09-19T02:53:57Z")

</div>

I’m trying to implement threading, however anything that is called on the canvas results in a nullpointer error. String \[\] messages = {"Test string for secondary thread", "Here's another message.",…

---

## [On/off with keypressed and released](https://discourse.processing.org/t/on-off-with-keypressed-and-released/17211)

<div class="topic-metadata">

**Author:** [@floflopm](https://discourse.processing.org/u/floflopm)\
**Replies:** 2\
**Last updated:** [September 18, 2020, 9:49pm UTC](https://discourse.processing.org/t/on-off-with-keypressed-and-released/17211 "2020-09-18T21:49:02Z")

</div>

Hi, the following bit of my script I would like to activate only when a key is pressed and hold. I would like to deactivate it as soon as the key is released. How can I do this? Thanks, // (it is located at the end of…

---

## [P5 transparent image problem](https://discourse.processing.org/t/p5-transparent-image-problem/23891)

<div class="topic-metadata">

**Author:** [@yhlaskerimov](https://discourse.processing.org/u/yhlaskerimov)\
**Replies:** 5\
**Last updated:** [September 18, 2020, 8:06pm UTC](https://discourse.processing.org/t/p5-transparent-image-problem/23891 "2020-09-18T20:06:05Z")

</div>

Hi, everyone. I have problem. My problem is: I want to load an transparent image to my p5 sketch. I used texture and rect to do that. But I couldn’t get right effect. I wanted to get this effect: I get this one(no…

---

## [P5.js not working in IE11](https://discourse.processing.org/t/p5-js-not-working-in-ie11/23310)

<div class="topic-metadata">

**Author:** [@stevenraysimon](https://discourse.processing.org/u/stevenraysimon)\
**Replies:** 1\
**Last updated:** [September 18, 2020, 5:37pm UTC](https://discourse.processing.org/t/p5-js-not-working-in-ie11/23310 "2020-09-18T17:37:01Z")

</div>

Hi everyone, I’m having trouble getting p5.js to work in IE11 (Internet Explorer). I’m wondering if this is possible? Is there something within p5.js that is not supported in IE?

---

## [How to connect and "read" two light sensors (photoresistors)](https://discourse.processing.org/t/how-to-connect-and-read-two-light-sensors-photoresistors/23254)

<div class="topic-metadata">

**Author:** [@Mirzohid](https://discourse.processing.org/u/Mirzohid)\
**Replies:** 12\
**Last updated:** [September 18, 2020, 2:19pm UTC](https://discourse.processing.org/t/how-to-connect-and-read-two-light-sensors-photoresistors/23254 "2020-09-18T14:19:21Z")

</div>

Hi, everyone I wanted to connect 2 photoresistors and creat 2 rectangles which reflects lighting on that photoresistors seperatly. 1 st question is is it even possible 'cause i couldn’t find anything about it on the int…

---

## [Run a processing sketch on E Ink paper using Raspberry PI](https://discourse.processing.org/t/run-a-processing-sketch-on-e-ink-paper-using-raspberry-pi/15509)

<div class="topic-metadata">

**Author:** [@kalab](https://discourse.processing.org/u/kalab)\
**Replies:** 1\
**Last updated:** [September 18, 2020, 1:49pm UTC](https://discourse.processing.org/t/run-a-processing-sketch-on-e-ink-paper-using-raspberry-pi/15509 "2020-09-18T13:49:36Z")

</div>

Hi guys, i am trying to run a processing sketch on raspberry PI with its display on the E Ink paper HAT display by waveshare. Any help on how to get started.

---

## [CA air imitation issues](https://discourse.processing.org/t/ca-air-imitation-issues/23869)

<div class="topic-metadata">

**Author:** [@PinkyRng](https://discourse.processing.org/u/PinkyRng)\
**Replies:** 2\
**Last updated:** [September 18, 2020, 11:23am UTC](https://discourse.processing.org/t/ca-air-imitation-issues/23869 "2020-09-18T11:23:24Z")

</div>

Hey! So I’m trying to create and prototype a small simulation for fun. I’m using CA(Cellular Automata) in 2D environment to imitate air. Now I done some progress and ironed out some issues I think… My math is sub par and…

---

## [Fisica Library, how to avoid contact](https://discourse.processing.org/t/fisica-library-how-to-avoid-contact/23835)

<div class="topic-metadata">

**Author:** [@doloresgarcia](https://discourse.processing.org/u/doloresgarcia)\
**Replies:** 1\
**Last updated:** [September 18, 2020, 10:22am UTC](https://discourse.processing.org/t/fisica-library-how-to-avoid-contact/23835 "2020-09-18T10:22:40Z")

</div>

Hi, i have to do a project and i am having problems with my code. In my game i have to shoot a spear and it has to hit a fish. The problem is that the spear doesn´t have to collide with the plataforms. Can somebody help…

---

## [Platform game mechanics](https://discourse.processing.org/t/platform-game-mechanics/23889)

<div class="topic-metadata">

**Author:** [@koenterheegde57](https://discourse.processing.org/u/koenterheegde57)\
**Replies:** 3\
**Last updated:** [September 18, 2020, 10:22am UTC](https://discourse.processing.org/t/platform-game-mechanics/23889 "2020-09-18T10:22:39Z")

</div>

Hi guys, I’m trying to make a simple platform game but I can’t solve the problem of my Ball having a different y level after a jump. When my yvelocity is high, my Ball just goes through the platform, because it’s not de…

---

## [First project.. guidance with code for my music practice?](https://discourse.processing.org/t/first-project-guidance-with-code-for-my-music-practice/23836)

<div class="topic-metadata">

**Author:** [@HelloGoodPi](https://discourse.processing.org/u/HelloGoodPi)\
**Replies:** 1\
**Last updated:** [September 18, 2020, 10:11am UTC](https://discourse.processing.org/t/first-project-guidance-with-code-for-my-music-practice/23836 "2020-09-18T10:11:05Z")

</div>

Hey forum! Thanks for taking the time to read this! So i’m trying my first piece of code, with very little experience… My aim is to make a simple code that will show a letter/ note on screen (A to G) allong with an aud…

---

## [Refering to a class rather than an object for collision](https://discourse.processing.org/t/refering-to-a-class-rather-than-an-object-for-collision/23933)

<div class="topic-metadata">

**Author:** [@Dan999](https://discourse.processing.org/u/Dan999)\
**Replies:** 1\
**Last updated:** [September 18, 2020, 10:06am UTC](https://discourse.processing.org/t/refering-to-a-class-rather-than-an-object-for-collision/23933 "2020-09-18T10:06:54Z")

</div>

I want to refer to a class rather than an object, so I don’t need a seperate if statement for each object, does anybody know how to do this?

---

## [How to rewrite function without instancing random()](https://discourse.processing.org/t/how-to-rewrite-function-without-instancing-random/23840)

<div class="topic-metadata">

**Author:** [@bakursky](https://discourse.processing.org/u/bakursky)\
**Replies:** 3\
**Last updated:** [September 18, 2020, 9:49am UTC](https://discourse.processing.org/t/how-to-rewrite-function-without-instancing-random/23840 "2020-09-18T09:49:43Z")

</div>

I have the eye() function and I want to duplicate it several times that every eye look in a different direction (now random number copy to all function instances) let x=0; let y=0; function setup() { createCanvas…

---

## [Treeversity - Big Data Visualization](https://discourse.processing.org/t/treeversity-big-data-visualization/23905)

<div class="topic-metadata">

**Author:** [@Hyperion65](https://discourse.processing.org/u/Hyperion65)\
**Replies:** 4\
**Last updated:** [September 18, 2020, 9:43am UTC](https://discourse.processing.org/t/treeversity-big-data-visualization/23905 "2020-09-18T09:43:47Z")

</div>

http://black-moon.at Hello everyone ! I am very happy and proud to share my latest work with you which has been exhibited just a few days ago at the Ars Electronica Festival. Even more so as it has been developed almos…

---

## [Snapping the mouse to the center of the window?](https://discourse.processing.org/t/snapping-the-mouse-to-the-center-of-the-window/23896)

<div class="topic-metadata">

**Author:** [@sashakoshka](https://discourse.processing.org/u/sashakoshka)\
**Replies:** 2\
**Last updated:** [September 18, 2020, 8:36am UTC](https://discourse.processing.org/t/snapping-the-mouse-to-the-center-of-the-window/23896 "2020-09-18T08:36:23Z")

</div>

I am trying to snap the mouse cursor to the center of the window every frame. I tried using the robot class to do this, but the problem with that solution is it positions the cursor relative to the screen, not the window…

---

## [Use classes from JAR written in Scala](https://discourse.processing.org/t/use-classes-from-jar-written-in-scala/23644)

<div class="topic-metadata">

**Author:** [@psksvp](https://discourse.processing.org/u/psksvp)\
**Replies:** 2\
**Last updated:** [September 18, 2020, 8:23am UTC](https://discourse.processing.org/t/use-classes-from-jar-written-in-scala/23644 "2020-09-18T08:23:37Z")

</div>

Hi I would like use a class which was written in Scala. The class was package into a jar. The Jar has only one dependency: scala-library-2.13.2.jar. The scala-library-2.13.2.jar itself depends on rt.jar which was part o…

---

## [strokeWeight() function behaviour and renderers comparison. p5.js v/s Processing Java](https://discourse.processing.org/t/strokeweight-function-behaviour-and-renderers-comparison-p5-js-v-s-processing-java/19510)

<div class="topic-metadata">

**Author:** [@Lapov](https://discourse.processing.org/u/Lapov)\
**Replies:** 2\
**Last updated:** [September 18, 2020, 7:59am UTC](https://discourse.processing.org/t/strokeweight-function-behaviour-and-renderers-comparison-p5-js-v-s-processing-java/19510 "2020-09-18T07:59:32Z")

</div>

Hi there! I am trying to switch from Processing 3 to p5.js. I am ok with everything but dissatisfied a bit with quality of geometry lines/edges rendering. It seems that it vary significantly in standard Processing P2D …

---

## [Translating twice, Once to rotate around center, Again for placement on page](https://discourse.processing.org/t/translating-twice-once-to-rotate-around-center-again-for-placement-on-page/23881)

<div class="topic-metadata">

**Author:** [@tobie](https://discourse.processing.org/u/tobie)\
**Replies:** 2\
**Last updated:** [September 17, 2020, 6:49pm UTC](https://discourse.processing.org/t/translating-twice-once-to-rotate-around-center-again-for-placement-on-page/23881 "2020-09-17T18:49:23Z")

</div>

void setup() { background(240, 237, 235); size(500, 500); } void draw(){ background(240, 237, 235); noStroke(); int gap = 20; float mult = 2; for(int i = -width; i \<= width; i+=(gap\*mult)){ pushMatrix(…

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

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