# Latest

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

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

**Page:** 537

---

## [Player movement laggy](https://discourse.processing.org/t/player-movement-laggy/7366)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 1\
**Last updated:** [January 9, 2019, 7:27pm UTC](https://discourse.processing.org/t/player-movement-laggy/7366 "2019-01-09T19:27:35Z")

</div>

Where I move player: def keyPressed(self): if keyPressed: if key == 'a' or key == 'A': self.state = "LEFT" elif key == 'd' or key == 'D': self.state = …

---

## [I'm trying to use arrarys to make circles fall](https://discourse.processing.org/t/im-trying-to-use-arrarys-to-make-circles-fall/7371)

<div class="topic-metadata">

**Author:** [@squirrel1969](https://discourse.processing.org/u/squirrel1969)\
**Replies:** 5\
**Last updated:** [January 9, 2019, 9:53pm UTC](https://discourse.processing.org/t/im-trying-to-use-arrarys-to-make-circles-fall/7371 "2019-01-09T21:53:51Z")

</div>

Hello! I’m new to processing and coding in general and for our final project I want to make a game where circles move across the screen horizontally and you have to avoid them. We didn’t learn how to use arrays, but I w…

---

## [P5.js: Save only part of the canvas](https://discourse.processing.org/t/p5-js-save-only-part-of-the-canvas/7286)

<div class="topic-metadata">

**Author:** [@TheWizardBear](https://discourse.processing.org/u/TheWizardBear)\
**Replies:** 4\
**Last updated:** [January 9, 2019, 7:53pm UTC](https://discourse.processing.org/t/p5-js-save-only-part-of-the-canvas/7286 "2019-01-09T19:53:15Z")

</div>

How can I save/download only a part of the canvas (save a cropped part of the whole image)? e.g. function setup() { createCanvas(windowWidth, windowHeight); background(255); } function draw() { ellipse(mouseX, mou…

---

## [Having trouble running pde file from command line](https://discourse.processing.org/t/having-trouble-running-pde-file-from-command-line/7344)

<div class="topic-metadata">

**Author:** [@karims99](https://discourse.processing.org/u/karims99)\
**Replies:** 2\
**Last updated:** [January 9, 2019, 7:07pm UTC](https://discourse.processing.org/t/having-trouble-running-pde-file-from-command-line/7344 "2019-01-09T19:07:50Z")

</div>

Hi. I’m trying to get a pde file to run from command line (cygwin installed on windows). I have processing-java installed and I’m in the correct directory. My pde file is called genflag and I run the following processin…

---

## [Why doesn't show markers in processing using unfoldingmaps?](https://discourse.processing.org/t/why-doesnt-show-markers-in-processing-using-unfoldingmaps/1685)

<div class="topic-metadata">

**Author:** [@zbd](https://discourse.processing.org/u/zbd)\
**Replies:** 3\
**Last updated:** [January 9, 2019, 6:29pm UTC](https://discourse.processing.org/t/why-doesnt-show-markers-in-processing-using-unfoldingmaps/1685 "2019-01-09T18:29:00Z")

</div>

Hi, its the first time i’m writing a Processing sketch and i want to make an interactive map to show a position ( GPS coordinates) . I want to display a marker to show destination in the map. I use Windows 10 and Proc…

---

## [I wanted to make a object move to a target when mouse is clicked how would i do this](https://discourse.processing.org/t/i-wanted-to-make-a-object-move-to-a-target-when-mouse-is-clicked-how-would-i-do-this/7365)

<div class="topic-metadata">

**Author:** [@redFoa](https://discourse.processing.org/u/redFoa)\
**Replies:** 1\
**Last updated:** [January 9, 2019, 6:20pm UTC](https://discourse.processing.org/t/i-wanted-to-make-a-object-move-to-a-target-when-mouse-is-clicked-how-would-i-do-this/7365 "2019-01-09T18:20:07Z")

</div>

void setup(){ size(500,500); } void draw(){ fill(0); rect(100, 200, 40, 40); fill(255,0,5); rect(400, 400, 40, 40); }

---

## [Java equivalent of js object\[key\] lookup](https://discourse.processing.org/t/java-equivalent-of-js-object-key-lookup/7345)

<div class="topic-metadata">

**Author:** [@PHuzzeyMusic](https://discourse.processing.org/u/PHuzzeyMusic)\
**Replies:** 1\
**Last updated:** [January 9, 2019, 5:38pm UTC](https://discourse.processing.org/t/java-equivalent-of-js-object-key-lookup/7345 "2019-01-09T17:38:53Z")

</div>

Just started making this Java Swing interface to control lots of parameters in a separate window from my sketch. Is there a way in Java to make references closer to this old jQuery code I made a while ago with ToneJS: t…

---

## [So I need some help lol EDIT: Answered!](https://discourse.processing.org/t/so-i-need-some-help-lol-edit-answered/7361)

<div class="topic-metadata">

**Author:** [@Typhoon](https://discourse.processing.org/u/Typhoon)\
**Replies:** 2\
**Last updated:** [January 9, 2019, 5:16pm UTC](https://discourse.processing.org/t/so-i-need-some-help-lol-edit-answered/7361 "2019-01-09T17:16:04Z")

</div>

Hey, So Im trying to make my animation only run through once, it is repeating. Im trying to make it only go through once and be done. (Im making a castlevaniaesk game) (Its also for my grade 12 final project) class Alu…

---

## [Pathfinder library diagonal path](https://discourse.processing.org/t/pathfinder-library-diagonal-path/7353)

<div class="topic-metadata">

**Author:** [@Whahahahaha](https://discourse.processing.org/u/Whahahahaha)\
**Replies:** 2\
**Last updated:** [January 9, 2019, 4:32pm UTC](https://discourse.processing.org/t/pathfinder-library-diagonal-path/7353 "2019-01-09T16:32:05Z")

</div>

hi, I’m having a certain problem with my code. It’s a program with certain points (obstacles) and a robot which should find a path around it. eventually the follower class will be a physical robot with a LiDAR sensor w…

---

## [Pimage array: How to avoid OutOfBoundsException](https://discourse.processing.org/t/pimage-array-how-to-avoid-outofboundsexception/7356)

<div class="topic-metadata">

**Author:** [@amaia](https://discourse.processing.org/u/amaia)\
**Replies:** 3\
**Last updated:** [January 9, 2019, 3:35pm UTC](https://discourse.processing.org/t/pimage-array-how-to-avoid-outofboundsexception/7356 "2019-01-09T15:35:36Z")

</div>

Hello: I have 16 images in the array repeated 4 times each and I can put them in an 8x8 board without problems. The magic is from anchnk in this link. I dont understand how but I suppose the expression that makes it po…

---

## [Connect two sketches on two computers](https://discourse.processing.org/t/connect-two-sketches-on-two-computers/7338)

<div class="topic-metadata">

**Author:** [@f.m](https://discourse.processing.org/u/f.m)\
**Replies:** 5\
**Last updated:** [January 9, 2019, 1:36pm UTC](https://discourse.processing.org/t/connect-two-sketches-on-two-computers/7338 "2019-01-09T13:36:32Z")

</div>

Hey everyone! I just got a little question for you. Right now I work for a project where I have to connect two Processing sketches on two computers, to send an integer between those two computers. I still found some lib…

---

## [How to find information in 'Processing Core Javadoc'?](https://discourse.processing.org/t/how-to-find-information-in-processing-core-javadoc/7236)

<div class="topic-metadata">

**Author:** [@amaia](https://discourse.processing.org/u/amaia)\
**Replies:** 2\
**Last updated:** [January 9, 2019, 1:08pm UTC](https://discourse.processing.org/t/how-to-find-information-in-processing-core-javadoc/7236 "2019-01-09T13:08:50Z")

</div>

Hello: In ‘Processing Core Javadoc’ I can read about IntList, PImage, or Table even if I don’t understand everything (I´m newbie…), but sometimes it is very difficult to find what I want Imagine the last scenario: I…

---

## [Create a movie from PImages and SoundFile](https://discourse.processing.org/t/create-a-movie-from-pimages-and-soundfile/7307)

<div class="topic-metadata">

**Author:** [@FurryNightShade](https://discourse.processing.org/u/FurryNightShade)\
**Replies:** 3\
**Last updated:** [January 9, 2019, 12:46pm UTC](https://discourse.processing.org/t/create-a-movie-from-pimages-and-soundfile/7307 "2019-01-09T12:46:35Z")

</div>

Hello, I am working on an audio visualizer. I used to just run the visualizer and record it with XBox recorder, but that created a lot of lag and sometimes other sounds in a system played, so it sometimes took many trie…

---

## [Why is the above grammar not showing up?](https://discourse.processing.org/t/why-is-the-above-grammar-not-showing-up/7341)

<div class="topic-metadata">

**Author:** [@alk5603](https://discourse.processing.org/u/alk5603)\
**Replies:** 4\
**Last updated:** [January 9, 2019, 12:43pm UTC](https://discourse.processing.org/t/why-is-the-above-grammar-not-showing-up/7341 "2019-01-09T12:43:49Z")

</div>

var mass = \[\]; var positionX = \[\]; var positionY = \[\]; var velocityX = \[\]; var velocityY = \[\]; ///////////////////////////////////////////////////////////////////////////////////////////////////// function setup() …

---

## [Perform a AABB hit test in 3D](https://discourse.processing.org/t/perform-a-aabb-hit-test-in-3d/7319)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 4\
**Last updated:** [January 9, 2019, 9:42am UTC](https://discourse.processing.org/t/perform-a-aabb-hit-test-in-3d/7319 "2019-01-09T09:42:47Z")

</div>

Is it possible to do a point hit test on a axis aligned bounding box after things like rotation are applied? Here is one of my current attempts, but i’m not sure if i’m after something that is possible at all. int w =…

---

## [Proceesing noob/amataeur help forum: Creating a specific program that involves an invisible square](https://discourse.processing.org/t/proceesing-noob-amataeur-help-forum-creating-a-specific-program-that-involves-an-invisible-square/7332)

<div class="topic-metadata">

**Author:** [@Sparktrooper55](https://discourse.processing.org/u/Sparktrooper55)\
**Replies:** 10\
**Last updated:** [January 9, 2019, 8:03am UTC](https://discourse.processing.org/t/proceesing-noob-amataeur-help-forum-creating-a-specific-program-that-involves-an-invisible-square/7332 "2019-01-09T08:03:28Z")

</div>

In processing, when it comes to creating projects or programs, I am not an expert whatsoever and I am more of a complete noob when it comes to this program and so I am trying to figure out a way to create a sketch where …

---

## [Communications between Processing and Arduino IDE](https://discourse.processing.org/t/communications-between-processing-and-arduino-ide/7346)

<div class="topic-metadata">

**Author:** [@ArduinoKer](https://discourse.processing.org/u/ArduinoKer)\
**Replies:** 1\
**Last updated:** [January 9, 2019, 7:44am UTC](https://discourse.processing.org/t/communications-between-processing-and-arduino-ide/7346 "2019-01-09T07:44:40Z")

</div>

Hello everyone, I am trying to learn how to communicate between my Processing application and my Arduino code together. I want to ask a simple question and that is, is it possible to use the exact same variable name wit…

---

## [How do I change the color of the rectangle after hitting a bounce?](https://discourse.processing.org/t/how-do-i-change-the-color-of-the-rectangle-after-hitting-a-bounce/7335)

<div class="topic-metadata">

**Author:** [@anon98404100](https://discourse.processing.org/u/anon98404100)\
**Replies:** 2\
**Last updated:** [January 9, 2019, 7:26am UTC](https://discourse.processing.org/t/how-do-i-change-the-color-of-the-rectangle-after-hitting-a-bounce/7335 "2019-01-09T07:26:01Z")

</div>

For a school project I am learning P5.Js at the moment. one of my assignments is that I have a moving rectangle. It bounces of the walls from the xPosition and yPosition, so it can go any direction. My assignment is tha…

---

## [Noob help: trying to create a certain program in pde](https://discourse.processing.org/t/noob-help-trying-to-create-a-certain-program-in-pde/7311)

<div class="topic-metadata">

**Author:** [@Captainsparkles](https://discourse.processing.org/u/Captainsparkles)\
**Replies:** 7\
**Last updated:** [January 9, 2019, 7:17am UTC](https://discourse.processing.org/t/noob-help-trying-to-create-a-certain-program-in-pde/7311 "2019-01-09T07:17:30Z")

</div>

I’m a total noob when it comes to processing and so I am trying to figure out a way to create a sketch where an invisible square exists, and the user must find it by hovering the mouse throughout the canvas. When the mou…

---

## [Trouble you greatly help thanks](https://discourse.processing.org/t/trouble-you-greatly-help-thanks/7342)

<div class="topic-metadata">

**Author:** [@alk5603](https://discourse.processing.org/u/alk5603)\
**Replies:** 1\
**Last updated:** [January 9, 2019, 3:47am UTC](https://discourse.processing.org/t/trouble-you-greatly-help-thanks/7342 "2019-01-09T03:47:10Z")

</div>

Randomly generate 5,000 balls with a diameter of 10, random colors, and bouncing within the canvas. When the mouse clicks, a fixed ball (which does not run) is generated at the position where the mouse clicks. Whe…

---

## [Render grass like Minecraft, Zelda OOT](https://discourse.processing.org/t/render-grass-like-minecraft-zelda-oot/7340)

<div class="topic-metadata">

**Author:** [@BennyHacker](https://discourse.processing.org/u/BennyHacker)\
**Replies:** 0\
**Last updated:** [January 9, 2019, 2:06am UTC](https://discourse.processing.org/t/render-grass-like-minecraft-zelda-oot/7340 "2019-01-09T02:06:49Z")

</div>

Hello Forum. I am trying to render grass and other visuals similar to the method used in Minecraft and Zelda Ocarina of Time. Normally in P3D the invisible part of the image renders over top of the the other images, …

---

## [Retrieve model vertices](https://discourse.processing.org/t/retrieve-model-vertices/7339)

<div class="topic-metadata">

**Author:** [@Sudev](https://discourse.processing.org/u/Sudev)\
**Replies:** 0\
**Last updated:** [January 9, 2019, 1:20am UTC](https://discourse.processing.org/t/retrieve-model-vertices/7339 "2019-01-09T01:20:41Z")

</div>

Is there a way to retrieve vertex coordinates of a model ? Am trying to find out the equivalent of getVertex() in P5JS.

---

## [Building a Walker in p5](https://discourse.processing.org/t/building-a-walker-in-p5/7336)

<div class="topic-metadata">

**Author:** [@pers0n](https://discourse.processing.org/u/pers0n)\
**Replies:** 1\
**Last updated:** [January 9, 2019, 1:17am UTC](https://discourse.processing.org/t/building-a-walker-in-p5/7336 "2019-01-09T01:17:30Z")

</div>

I’m having trouble writing a Walker in P5, mostly due to Classes/Objects. I’ve tried it 2 ways, but am not having any luck :frowning: https://editor.p5js.org/pers0n/sketches/HyFphoMzV https://editor.p5js.org/pers0n/ske…

---

## [File Listing Order](https://discourse.processing.org/t/file-listing-order/7148)

<div class="topic-metadata">

**Author:** [@philspitler](https://discourse.processing.org/u/philspitler)\
**Replies:** 41\
**Last updated:** [January 8, 2019, 11:26pm UTC](https://discourse.processing.org/t/file-listing-order/7148 "2019-01-08T23:26:18Z")

</div>

Hi, I’m curious how Processing decides the order of files in a directory listing and if there is a way to sort alphabetical. I’m using the sample code below and the listing doesn’t seem to be alphabetical or by date mod…

---

## [I'd like to know about your studies since high school 🤔](https://discourse.processing.org/t/id-like-to-know-about-your-studies-since-high-school/7324)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 1\
**Last updated:** [January 8, 2019, 10:01pm UTC](https://discourse.processing.org/t/id-like-to-know-about-your-studies-since-high-school/7324 "2019-01-08T22:01:31Z")

</div>

I’m interested in what have you studied/are stu-dying (subjects, kind of school you attended) , in what are you doing now and achieved :thinking::thinking: Thanks for replying and sorry for bad engl in advance :wink:

---

## [Processing won't open after Win 10 updates! DELETING PREFERENCES FIXED IT!](https://discourse.processing.org/t/processing-wont-open-after-win-10-updates-deleting-preferences-fixed-it/6958)

<div class="topic-metadata">

**Author:** [@jeffmarc](https://discourse.processing.org/u/jeffmarc)\
**Replies:** 4\
**Last updated:** [January 8, 2019, 7:26pm UTC](https://discourse.processing.org/t/processing-wont-open-after-win-10-updates-deleting-preferences-fixed-it/6958 "2019-01-08T19:26:39Z")

</div>

Been using this same computer for over a year. normally not connected to internet. connected yesterday and it asked to run updates this morning. After it restarted Processing logo 2.2.1 comes up , then goes away , task…

---

## [Better grid Performance](https://discourse.processing.org/t/better-grid-performance/7314)

<div class="topic-metadata">

**Author:** [@blue-man](https://discourse.processing.org/u/blue-man)\
**Replies:** 16\
**Last updated:** [January 8, 2019, 6:17pm UTC](https://discourse.processing.org/t/better-grid-performance/7314 "2019-01-08T18:17:42Z")

</div>

Hello there, I createt a scaleable grid, that have no funktion at the Moment. But it is Scaleable and you can move it. Now my problem. I want to generate a Grid with 1000\*1000 rectangles (or more), but 1 000 000 rect…

---

## [noFill() not working in processing 3.4](https://discourse.processing.org/t/nofill-not-working-in-processing-3-4/7275)

<div class="topic-metadata">

**Author:** [@formap](https://discourse.processing.org/u/formap)\
**Replies:** 6\
**Last updated:** [January 8, 2019, 4:13pm UTC](https://discourse.processing.org/t/nofill-not-working-in-processing-3-4/7275 "2019-01-08T16:13:44Z")

</div>

I’m testing the example found in this link where I create either a rectangle or a box and try to draw it without a fill but it doesn’t seem to be working for me. Instead of transparent, I see it filled up with colours. I…

---

## [\[HELP\]\[ Python vs Java \] size(width,height)](https://discourse.processing.org/t/help-python-vs-java-size-width-height/7320)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 2\
**Last updated:** [January 8, 2019, 3:35pm UTC](https://discourse.processing.org/t/help-python-vs-java-size-width-height/7320 "2019-01-08T15:35:36Z")

</div>

:coffee::snake::coffee::snake::coffee::snake::coffee::snake::coffee::snake::coffee::snake::coffee::snake::coffee::snake::coffee::snake::coffee::snake::coffee::snake::coffee::snake::coffee::snake::coffee::snake::coffee: W…

---

## [Olympic rings, how to make them problems?](https://discourse.processing.org/t/olympic-rings-how-to-make-them-problems/7321)

<div class="topic-metadata">

**Author:** [@thatone](https://discourse.processing.org/u/thatone)\
**Replies:** 1\
**Last updated:** [January 8, 2019, 2:49pm UTC](https://discourse.processing.org/t/olympic-rings-how-to-make-them-problems/7321 "2019-01-08T14:49:23Z")

</div>

Hello, I’m trying to make the Olympic rings but I don’t know why the rings doesn’t make around just the stroke and instead just filling up. Would be honored if anybody could explain what I’m doing wrong? (Newbie still) …

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

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