# Latest

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

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

**Page:** 498

---

## [How to make an object move in a circle, as in revolving around a center](https://discourse.processing.org/t/how-to-make-an-object-move-in-a-circle-as-in-revolving-around-a-center/9965)

<div class="topic-metadata">

**Author:** [@Neo\_Wang](https://discourse.processing.org/u/Neo_Wang)\
**Replies:** 4\
**Last updated:** [April 20, 2019, 3:07pm UTC](https://discourse.processing.org/t/how-to-make-an-object-move-in-a-circle-as-in-revolving-around-a-center/9965 "2019-04-20T15:07:03Z")

</div>

what I am trying to do is to create a solar system. several ellipses revolve around a central point to simulate solar system. i know that i could use translate function to make it happen. however, what I am hoping to is…

---

## [The friction acting on a particle is the same , no matter the size](https://discourse.processing.org/t/the-friction-acting-on-a-particle-is-the-same-no-matter-the-size/10491)

<div class="topic-metadata">

**Author:** [@Capt.Sloth](https://discourse.processing.org/u/Capt.Sloth)\
**Replies:** 1\
**Last updated:** [April 20, 2019, 3:00pm UTC](https://discourse.processing.org/t/the-friction-acting-on-a-particle-is-the-same-no-matter-the-size/10491 "2019-04-20T15:00:18Z")

</div>

I have set the value of friction acting on a particle based on its size, yet it appears as if the small ones and the large ones come to a halt at the same rate.I plan on having the large circles come to a halt much quick…

---

## [Processing Python error](https://discourse.processing.org/t/processing-python-error/10492)

<div class="topic-metadata">

**Author:** [@Kabir](https://discourse.processing.org/u/Kabir)\
**Replies:** 1\
**Last updated:** [April 20, 2019, 2:58pm UTC](https://discourse.processing.org/t/processing-python-error/10492 "2019-04-20T14:58:24Z")

</div>

I am using Processing 3.4. I installed the python module in processing. It installed well. But when I wanted to run a sketch it said - Failed to install ‘’: java.nio.charset.UnsupportedCharsetException: cp0. Please help…

---

## [Processing 3 & SuperCollider Interaction](https://discourse.processing.org/t/processing-3-supercollider-interaction/10432)

<div class="topic-metadata">

**Author:** [@thedurf18](https://discourse.processing.org/u/thedurf18)\
**Replies:** 6\
**Last updated:** [April 20, 2019, 1:43pm UTC](https://discourse.processing.org/t/processing-3-supercollider-interaction/10432 "2019-04-20T13:43:10Z")

</div>

I’m working on a SuperCollider, Processing 3 interaction. Whenever a certain frequency is played from a synth, a shape appears in the Processing window, but when the frequency is not being played, the shape does not appe…

---

## [I need help for processing task](https://discourse.processing.org/t/i-need-help-for-processing-task/10252)

<div class="topic-metadata">

**Author:** [@derecH](https://discourse.processing.org/u/derecH)\
**Replies:** 5\
**Last updated:** [April 20, 2019, 11:44am UTC](https://discourse.processing.org/t/i-need-help-for-processing-task/10252 "2019-04-20T11:44:05Z")

</div>

Hi all! I need help for processing task. Condition: setup{} draw{} own Section drawing{} other own functions{} mousepressed{} keypressed{} project: Section Sketching Function (Incremental Algorithm or Midpoint A…

---

## [How to avoid that the background() call erase a previously drawn object?](https://discourse.processing.org/t/how-to-avoid-that-the-background-call-erase-a-previously-drawn-object/10444)

<div class="topic-metadata">

**Author:** [@danielrpma](https://discourse.processing.org/u/danielrpma)\
**Replies:** 4\
**Last updated:** [April 20, 2019, 11:06am UTC](https://discourse.processing.org/t/how-to-avoid-that-the-background-call-erase-a-previously-drawn-object/10444 "2019-04-20T11:06:39Z")

</div>

Hello, everyone! I want to make an animation where there are two circles orbiting some point, and I want to draw a line between the circles each 10 frames for example. The thing is, these lines are erased in the next fr…

---

## [Why does my int give me 3 results?](https://discourse.processing.org/t/why-does-my-int-give-me-3-results/10479)

<div class="topic-metadata">

**Author:** [@dewwolf](https://discourse.processing.org/u/dewwolf)\
**Replies:** 4\
**Last updated:** [April 20, 2019, 9:03am UTC](https://discourse.processing.org/t/why-does-my-int-give-me-3-results/10479 "2019-04-20T09:03:55Z")

</div>

Hello! I am re-entering the world of processing, and have hit a learning snag. With what I have right now, It is giving me 10, 11, and 12 as an answer. I understand the 11, but not the other 2. Can anyone explain? Thank …

---

## [2d platformer game, dont know how to implement a few features](https://discourse.processing.org/t/2d-platformer-game-dont-know-how-to-implement-a-few-features/10412)

<div class="topic-metadata">

**Author:** [@dakito](https://discourse.processing.org/u/dakito)\
**Replies:** 4\
**Last updated:** [April 20, 2019, 2:25am UTC](https://discourse.processing.org/t/2d-platformer-game-dont-know-how-to-implement-a-few-features/10412 "2019-04-20T02:25:59Z")

</div>

I dont know how to make proper collision with jumping and how to not allow the player to jump more than once. https://github.com/dakiito/platformer1

---

## [PDF export won't save with background for my 3d sketch](https://discourse.processing.org/t/pdf-export-wont-save-with-background-for-my-3d-sketch/10460)

<div class="topic-metadata">

**Author:** [@sorenkirk](https://discourse.processing.org/u/sorenkirk)\
**Replies:** 1\
**Last updated:** [April 20, 2019, 2:22am UTC](https://discourse.processing.org/t/pdf-export-wont-save-with-background-for-my-3d-sketch/10460 "2019-04-20T02:22:24Z")

</div>

I have read the Processing docs on PDF export for 3d sketches. For some reason, my sketch won’t save as a PDF with the specified background. It only saves on a white background. //Stuff for saving stage import processin…

---

## [Uncaught TypeError: Cannot read property 'x' of undefined (sketch: line 36)](https://discourse.processing.org/t/uncaught-typeerror-cannot-read-property-x-of-undefined-sketch-line-36/10462)

<div class="topic-metadata">

**Author:** [@replicant2021](https://discourse.processing.org/u/replicant2021)\
**Replies:** 1\
**Last updated:** [April 20, 2019, 1:05am UTC](https://discourse.processing.org/t/uncaught-typeerror-cannot-read-property-x-of-undefined-sketch-line-36/10462 "2019-04-20T01:05:41Z")

</div>

Hello there. I am making a code for Travel Salesman Problem but i got this issue function draw() { background(0); for (var i = 0; i \< cities.length; i++) { ellipse(cities\[i\].x , cities\[i\].y, 8, 8); } stroke(255) s…

---

## [\[Processing 3\] Moving through a map bigger than the screen](https://discourse.processing.org/t/processing-3-moving-through-a-map-bigger-than-the-screen/10393)

<div class="topic-metadata">

**Author:** [@whedz](https://discourse.processing.org/u/whedz)\
**Replies:** 6\
**Last updated:** [April 20, 2019, 12:35am UTC](https://discourse.processing.org/t/processing-3-moving-through-a-map-bigger-than-the-screen/10393 "2019-04-20T00:35:27Z")

</div>

Hello, I’m currently trying to make a arcade video game, with a vertical scrolling. I use eclipse and processing 3 as a library import into java classes and I don’t face any issue about it. I now get two variables for …

---

## [Questions about code that involves curveVertex](https://discourse.processing.org/t/questions-about-code-that-involves-curvevertex/10405)

<div class="topic-metadata">

**Author:** [@Mikalaen](https://discourse.processing.org/u/Mikalaen)\
**Replies:** 2\
**Last updated:** [April 19, 2019, 11:44pm UTC](https://discourse.processing.org/t/questions-about-code-that-involves-curvevertex/10405 "2019-04-19T23:44:18Z")

</div>

Hi guys! I need some help here. I got a code sent to me by my teacher, so that i could “evolve” on it, but my problem is that i don’t understand the code and what the different factors and statements do?? I commented o…

---

## [Reading from multiple textfields and saving into .txt file](https://discourse.processing.org/t/reading-from-multiple-textfields-and-saving-into-txt-file/10372)

<div class="topic-metadata">

**Author:** [@AwreetusAwrightus](https://discourse.processing.org/u/AwreetusAwrightus)\
**Replies:** 11\
**Last updated:** [April 19, 2019, 7:56pm UTC](https://discourse.processing.org/t/reading-from-multiple-textfields-and-saving-into-txt-file/10372 "2019-04-19T19:56:31Z")

</div>

Hello, it’s me once again! I’ve made some progress into my code, but now I’m thinking a little bit ahead and decided to share some questions with the community (ask for help, actually) I’m prompting the user with a ser…

---

## [Can't create a PShape in class constructor](https://discourse.processing.org/t/cant-create-a-pshape-in-class-constructor/10463)

<div class="topic-metadata">

**Author:** [@cyanblue](https://discourse.processing.org/u/cyanblue)\
**Replies:** 2\
**Last updated:** [April 19, 2019, 6:18pm UTC](https://discourse.processing.org/t/cant-create-a-pshape-in-class-constructor/10463 "2019-04-19T18:18:36Z")

</div>

I’ve created a “Star” class that allows me to create a star shape given inner and outer radii and number of points. I’ve written a load of code in the constructor that works out the vertices of the star, and saves each t…

---

## [Variable/interactive beginShape() kind?](https://discourse.processing.org/t/variable-interactive-beginshape-kind/10354)

<div class="topic-metadata">

**Author:** [@cyanblue](https://discourse.processing.org/u/cyanblue)\
**Replies:** 3\
**Last updated:** [April 19, 2019, 5:35pm UTC](https://discourse.processing.org/t/variable-interactive-beginshape-kind/10354 "2019-04-19T17:35:49Z")

</div>

I have a set of vertices I’m drawing within beginShape(), and I wanted to cycle through the different options each time the mouse is clicked i.e. beginShape(TRIANGLES), beginShape(POINTS), beginShape(LINES) etc. I’ve ma…

---

## [Unregcognized app bt Windows when export to application](https://discourse.processing.org/t/unregcognized-app-bt-windows-when-export-to-application/10352)

<div class="topic-metadata">

**Author:** [@Mixitsoft](https://discourse.processing.org/u/Mixitsoft)\
**Replies:** 2\
**Last updated:** [April 19, 2019, 5:23pm UTC](https://discourse.processing.org/t/unregcognized-app-bt-windows-when-export-to-application/10352 "2019-04-19T17:23:10Z")

</div>

How to fix Unregcognized app bt Windows when export to application issue? There’s also unknown publisher when starting app. Thanks in advance. I know just press More info and run it but some user dont know this I wa…

---

## [GSoC 2019: p5py ideas and improvements](https://discourse.processing.org/t/gsoc-2019-p5py-ideas-and-improvements/9668)

<div class="topic-metadata">

**Author:** [@redboot](https://discourse.processing.org/u/redboot)\
**Replies:** 12\
**Last updated:** [April 19, 2019, 4:52pm UTC](https://discourse.processing.org/t/gsoc-2019-p5py-ideas-and-improvements/9668 "2019-04-19T16:52:22Z")

</div>

Hello everyone! My name is Lev, and I love Processing! I have been working with it for almost 3 years, but I never got a chance to contribute to this project, and I am very interested in doing so. In particular, I was l…

---

## [Some variable overflow?](https://discourse.processing.org/t/some-variable-overflow/10449)

<div class="topic-metadata">

**Author:** [@Alexstrinda](https://discourse.processing.org/u/Alexstrinda)\
**Replies:** 2\
**Last updated:** [April 19, 2019, 3:46pm UTC](https://discourse.processing.org/t/some-variable-overflow/10449 "2019-04-19T15:46:45Z")

</div>

Hello! To make my first steps in creating a photo filter I decided to write a script that will take every pixel of some photo and redraw it to the left of the original. This way I planned to see two identical photos. S…

---

## [Exclude child from PShape to create mask is it possible?](https://discourse.processing.org/t/exclude-child-from-pshape-to-create-mask-is-it-possible/10425)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 5\
**Last updated:** [April 19, 2019, 9:30am UTC](https://discourse.processing.org/t/exclude-child-from-pshape-to-create-mask-is-it-possible/10425 "2019-04-19T09:30:05Z")

</div>

I try to create a donnut with PShape, but this mission is more difficult than I think, I I don’t find a methode like pshape.exclude(group\_a) or pshape.remove(group\_a) or something like that there is a way do to that? PV…

---

## [Theres must be a way of doing this more effectively!](https://discourse.processing.org/t/theres-must-be-a-way-of-doing-this-more-effectively/10430)

<div class="topic-metadata">

**Author:** [@peachman](https://discourse.processing.org/u/peachman)\
**Replies:** 3\
**Last updated:** [April 19, 2019, 7:58am UTC](https://discourse.processing.org/t/theres-must-be-a-way-of-doing-this-more-effectively/10430 "2019-04-19T07:58:49Z")

</div>

Hi all, At the moment I have a tile based system and I want to move either North, East, South or West of a tile, depending on what tile the ‘player’ is in. Done this fine. However my problems comes because of walls in t…

---

## [General Advice on HTTP GET Request](https://discourse.processing.org/t/general-advice-on-http-get-request/10175)

<div class="topic-metadata">

**Author:** [@jmorri36](https://discourse.processing.org/u/jmorri36)\
**Replies:** 11\
**Last updated:** [April 19, 2019, 7:27am UTC](https://discourse.processing.org/t/general-advice-on-http-get-request/10175 "2019-04-19T07:27:28Z")

</div>

I have about 50 get requests to run at a the same time every time I iterate through the draw loop, and I’m trying to speed things up when connecting to them. One thing that takes about 100 milliseconds is the “c = new C…

---

## [Unclick and it goes back as it started -- a beginner needs help](https://discourse.processing.org/t/unclick-and-it-goes-back-as-it-started-a-beginner-needs-help/10448)

<div class="topic-metadata">

**Author:** [@dianap](https://discourse.processing.org/u/dianap)\
**Replies:** 3\
**Last updated:** [April 19, 2019, 5:11am UTC](https://discourse.processing.org/t/unclick-and-it-goes-back-as-it-started-a-beginner-needs-help/10448 "2019-04-19T05:11:13Z")

</div>

I´ve literally been an hour into Processing and I´ve made this void setup(){ size(500,400); background(#FA9E8D);} void draw(){ stroke(#FAD5BD); fill(#FAD5BD); ellipse(250, 200, 350, 350); stroke(#FA5D5D); fill(#FA5D…

---

## [Movie not available()](https://discourse.processing.org/t/movie-not-available/8171)

<div class="topic-metadata">

**Author:** [@stirman](https://discourse.processing.org/u/stirman)\
**Replies:** 4\
**Last updated:** [April 19, 2019, 3:39am UTC](https://discourse.processing.org/t/movie-not-available/8171 "2019-04-19T03:39:51Z")

</div>

Any idea why this movie won’t play? available() continually returns false. Seems like I’m missing something obvious, but can’t figure it out! AD1.mov is in the “data” folder. import processing.video.\*; Movie AD1; void …

---

## [Changing Image transparency](https://discourse.processing.org/t/changing-image-transparency/10439)

<div class="topic-metadata">

**Author:** [@wom1998](https://discourse.processing.org/u/wom1998)\
**Replies:** 1\
**Last updated:** [April 18, 2019, 9:57pm UTC](https://discourse.processing.org/t/changing-image-transparency/10439 "2019-04-18T21:57:24Z")

</div>

I’m working on a project where image transparency is scaled with the viewers’ proximity to an Arduino ultrasonic sensor. I’ve been following a tutorial that scales image size with proximity. Here is my code so far. Ardu…

---

## [Hallo! Can you explain me why my text doesn't spinning?](https://discourse.processing.org/t/hallo-can-you-explain-me-why-my-text-doesnt-spinning/10288)

<div class="topic-metadata">

**Author:** [@fwtini](https://discourse.processing.org/u/fwtini)\
**Replies:** 22\
**Last updated:** [April 18, 2019, 6:17pm UTC](https://discourse.processing.org/t/hallo-can-you-explain-me-why-my-text-doesnt-spinning/10288 "2019-04-18T18:17:37Z")

</div>

PFont myFont; String s1= ("OBECALP PHARMACY "); float angleSpeed= TWO\_PI/s1.length(); float letterX,letterY; int i,cntX,cntY; int radius =260; float z=random(TWO\_PI); float x; float y; //float rotX,rotY,rotZ; float r…

---

## [Now it stops spinning but it’s in the center haha now can i do to spinning =/](https://discourse.processing.org/t/now-it-stops-spinning-but-it-s-in-the-center-haha-now-can-i-do-to-spinning/10347)

<div class="topic-metadata">

**Author:** [@fwtini](https://discourse.processing.org/u/fwtini)\
**Replies:** 0\
**Last updated:** [April 16, 2019, 9:44am UTC](https://discourse.processing.org/t/now-it-stops-spinning-but-it-s-in-the-center-haha-now-can-i-do-to-spinning/10347 "2019-04-16T09:44:41Z")

</div>

Now it stops spinning but it’s in the center haha now can i do to spinning =/ PFont myFont; String s1= ("OBECALP PHARMACY "); float angleSpeed= TWO\_PI/s1.length(); float letterX,letterY; int i,cntX,cntY; int radius =26…

---

## [How to draw a static PointCloud from Kinect?](https://discourse.processing.org/t/how-to-draw-a-static-pointcloud-from-kinect/10401)

<div class="topic-metadata">

**Author:** [@zly1994411](https://discourse.processing.org/u/zly1994411)\
**Replies:** 2\
**Last updated:** [April 18, 2019, 4:53pm UTC](https://discourse.processing.org/t/how-to-draw-a-static-pointcloud-from-kinect/10401 "2019-04-18T16:53:42Z")

</div>

Hey guys, I’m working on a project that use Kinect. My idea is when event happened, the canvas will draw the PointCloud at that moment. I was trying to make an object , and when mouse clicked, pass the current depth arra…

---

## [Processing Freezes when it runs through a specific if statement](https://discourse.processing.org/t/processing-freezes-when-it-runs-through-a-specific-if-statement/10423)

<div class="topic-metadata">

**Author:** [@Vynarel](https://discourse.processing.org/u/Vynarel)\
**Replies:** 9\
**Last updated:** [April 18, 2019, 3:50pm UTC](https://discourse.processing.org/t/processing-freezes-when-it-runs-through-a-specific-if-statement/10423 "2019-04-18T15:50:51Z")

</div>

Hey there, I’m new to Processing and have been trying to do an assignment for it about swatting flies, I have the fly swatter and a fly appearing on the screen and managed to get the fly swatter to follow my mouse positi…

---

## [Nervous System OBJ Export](https://discourse.processing.org/t/nervous-system-obj-export/10286)

<div class="topic-metadata">

**Author:** [@kirstee\_baxt](https://discourse.processing.org/u/kirstee_baxt)\
**Replies:** 6\
**Last updated:** [April 18, 2019, 3:38pm UTC](https://discourse.processing.org/t/nervous-system-obj-export/10286 "2019-04-18T15:38:17Z")

</div>

Hello! Wondering if anyone is knowledgeable around using nervoussystem library for obj export from Processing. I used it on one file and it worked - now trying it on a different file and it’s creating the obj, says there…

---

## [Mousedrag objects](https://discourse.processing.org/t/mousedrag-objects/10403)

<div class="topic-metadata">

**Author:** [@b\_and\_z](https://discourse.processing.org/u/b_and_z)\
**Replies:** 4\
**Last updated:** [April 18, 2019, 3:23pm UTC](https://discourse.processing.org/t/mousedrag-objects/10403 "2019-04-18T15:23:33Z")

</div>

I recently started looking into classes with a little help from the coding train, so I’m trying to rewrite a project with classes in hopes of making it simpler. Now I’m stuck with this problem: I want the user to drag ar…

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

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