# Latest

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

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

**Page:** 469

---

## [\[SOLVED\] Ordering items on canvas](https://discourse.processing.org/t/solved-ordering-items-on-canvas/12421)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 6\
**Last updated:** [July 4, 2019, 7:24pm UTC](https://discourse.processing.org/t/solved-ordering-items-on-canvas/12421 "2019-07-04T19:24:30Z")

</div>

Hi, I’m having trouble ordering drawn items on canvas, I’m looking to draw the path and the info table on top of the fill, however this is causing some issues. This is the function which draws, the items on canvas, f…

---

## [\[SOLVED\] Class problem with ArrayList](https://discourse.processing.org/t/solved-class-problem-with-arraylist/12475)

<div class="topic-metadata">

**Author:** [@Zephyr](https://discourse.processing.org/u/Zephyr)\
**Replies:** 7\
**Last updated:** [July 4, 2019, 6:14pm UTC](https://discourse.processing.org/t/solved-class-problem-with-arraylist/12475 "2019-07-04T18:14:46Z")

</div>

Hi, I’m a beginner on Processing (thanks to Coding Train btw). I love it and I’ve just achieved a prog about the Fourier decomposition (3Blue1Brown’s videos are really inspiring). I want now to “draw” in this Fourier sty…

---

## [Choppy/Jittery fast motion - hardware or code?](https://discourse.processing.org/t/choppy-jittery-fast-motion-hardware-or-code/12448)

<div class="topic-metadata">

**Author:** [@gudmundursteinn](https://discourse.processing.org/u/gudmundursteinn)\
**Replies:** 7\
**Last updated:** [July 4, 2019, 11:39am UTC](https://discourse.processing.org/t/choppy-jittery-fast-motion-hardware-or-code/12448 "2019-07-04T11:39:11Z")

</div>

Hello. In the following example there is a stripped down version of everything I do in processing or have been doing since 2009, things moving across the screen at equal speed. All this time I have never seen a movemen…

---

## [How to code XML processing using Processing(Python mode)](https://discourse.processing.org/t/how-to-code-xml-processing-using-processing-python-mode/12484)

<div class="topic-metadata">

**Author:** [@proc8888](https://discourse.processing.org/u/proc8888)\
**Replies:** 2\
**Last updated:** [July 4, 2019, 8:39am UTC](https://discourse.processing.org/t/how-to-code-xml-processing-using-processing-python-mode/12484 "2019-07-04T08:39:54Z")

</div>

Hello, I am new to posting in this forum and currently learning Processing (Python mode). I would like to convert the following code from Processing(tested and working) to Python mode but not sure what’s the syntax. Chec…

---

## [Empty p5js Template File (Link to GitHub download)](https://discourse.processing.org/t/empty-p5js-template-file-link-to-github-download/7352)

<div class="topic-metadata">

**Author:** [@faxinadu](https://discourse.processing.org/u/faxinadu)\
**Replies:** 1\
**Last updated:** [July 3, 2019, 10:17pm UTC](https://discourse.processing.org/t/empty-p5js-template-file-link-to-github-download/7352 "2019-07-03T22:17:07Z")

</div>

Empty template for a p5js project with ready to use html, css and js files. Expands a bit on the other empty project examples. Includes a reference to css class for the sketch, preload-setup-draw functions with some qui…

---

## [Delay in Generating Moving Boxes](https://discourse.processing.org/t/delay-in-generating-moving-boxes/12379)

<div class="topic-metadata">

**Author:** [@Bigp0ppa](https://discourse.processing.org/u/Bigp0ppa)\
**Replies:** 23\
**Last updated:** [July 3, 2019, 6:46pm UTC](https://discourse.processing.org/t/delay-in-generating-moving-boxes/12379 "2019-07-03T18:46:46Z")

</div>

I’m attempting to make a game where boxes fly in from the left of the screen and the player must move the cursor to dodge them. However, when I add the delay where I believe it should go, the game stops working. Here is…

---

## [Permission problems on raspberry PI](https://discourse.processing.org/t/permission-problems-on-raspberry-pi/12477)

<div class="topic-metadata">

**Author:** [@Noais](https://discourse.processing.org/u/Noais)\
**Replies:** 2\
**Last updated:** [July 3, 2019, 5:30pm UTC](https://discourse.processing.org/t/permission-problems-on-raspberry-pi/12477 "2019-07-03T17:30:57Z")

</div>

Hello ! I recently get a raspberry PI 3 B+, and one of my first project was to make a server with my RPI. For that, i choose “processing” and the “network” library… but when i try to initiate my server, i get this err…

---

## [Oroga cubix! \[3D GAME\]](https://discourse.processing.org/t/oroga-cubix-3d-game/12141)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 7\
**Last updated:** [July 3, 2019, 5:23pm UTC](https://discourse.processing.org/t/oroga-cubix-3d-game/12141 "2019-07-03T17:23:42Z")

</div>

hello people, I bring you a game that I’m doing, I’ve been building the framework for a long time and it’s finally finished, with the limitations in performance that it tries to process but saving this works quite well. …

---

## [Como puedo exportar captura de pantalla desde processing a mi blog web](https://discourse.processing.org/t/como-puedo-exportar-captura-de-pantalla-desde-processing-a-mi-blog-web/12188)

<div class="topic-metadata">

**Author:** [@Yisus](https://discourse.processing.org/u/Yisus)\
**Replies:** 3\
**Last updated:** [July 3, 2019, 4:59pm UTC](https://discourse.processing.org/t/como-puedo-exportar-captura-de-pantalla-desde-processing-a-mi-blog-web/12188 "2019-07-03T16:59:15Z")

</div>

Buenas tardes. Quiero plantear una cuestión. ¿Como podría hacer para que una captura de pantalla desde processing con la webcam y que se subiese y guardase automaticamnete en un sitio web? Gracias, es importante para u…

---

## [Networking: Processing Client to PHP Server](https://discourse.processing.org/t/networking-processing-client-to-php-server/12466)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 0\
**Last updated:** [July 3, 2019, 12:08am UTC](https://discourse.processing.org/t/networking-processing-client-to-php-server/12466 "2019-07-03T00:08:50Z")

</div>

A very simple example of a Processing network client communicating with a PHP server. I used the WAMP server: An “update” increments a counter (Processing) and is sent to a server( with c.write()) and stored in a fi…

---

## [Losing decimals](https://discourse.processing.org/t/losing-decimals/12442)

<div class="topic-metadata">

**Author:** [@Waboqueox](https://discourse.processing.org/u/Waboqueox)\
**Replies:** 2\
**Last updated:** [July 3, 2019, 7:14am UTC](https://discourse.processing.org/t/losing-decimals/12442 "2019-07-03T07:14:08Z")

</div>

Hi people!! I’m getting mad trying to get some points with a lot of decimals… Maybe this is a stupid question or I’m crazy… but I remember using lot of decimals, with float or double variable types (in java). I’m usin…

---

## [Using Emulators](https://discourse.processing.org/t/using-emulators/12262)

<div class="topic-metadata">

**Author:** [@shedMusic](https://discourse.processing.org/u/shedMusic)\
**Replies:** 2\
**Last updated:** [July 3, 2019, 6:31am UTC](https://discourse.processing.org/t/using-emulators/12262 "2019-07-03T06:31:19Z")

</div>

Just checking what I think I have understood from elsewhere … although I have various emulators working in AS, these cannot be used from within Processing … is that correct? Thanks Mark

---

## [loadImage of android mode in android studio](https://discourse.processing.org/t/loadimage-of-android-mode-in-android-studio/12446)

<div class="topic-metadata">

**Author:** [@T-matsumoto](https://discourse.processing.org/u/T-matsumoto)\
**Replies:** 2\
**Last updated:** [July 3, 2019, 6:11am UTC](https://discourse.processing.org/t/loadimage-of-android-mode-in-android-studio/12446 "2019-07-03T06:11:02Z")

</div>

Hello, I am developing processing android app in android studio, but I can’t load image from loadImage(). I wrote below codes and enabled permission “WRITE\_EXTERNAL\_STORAGE”, “READ\_EXTERNAL\_STORAGE”. I understood that…

---

## [Having random select from limited choices](https://discourse.processing.org/t/having-random-select-from-limited-choices/12451)

<div class="topic-metadata">

**Author:** [@pauldefazio](https://discourse.processing.org/u/pauldefazio)\
**Replies:** 3\
**Last updated:** [July 3, 2019, 5:54am UTC](https://discourse.processing.org/t/having-random-select-from-limited-choices/12451 "2019-07-03T05:54:23Z")

</div>

Hello! This is a pretty basic question but I haven’t found the answer yet. I’m working with some code from the loop tutorial to fill a screen with gray rectangles, each assigned a random lightness. I’ve posted my code b…

---

## [Input Data from Command Line](https://discourse.processing.org/t/input-data-from-command-line/12344)

<div class="topic-metadata">

**Author:** [@dlerner](https://discourse.processing.org/u/dlerner)\
**Replies:** 9\
**Last updated:** [July 3, 2019, 5:30am UTC](https://discourse.processing.org/t/input-data-from-command-line/12344 "2019-07-03T05:30:02Z")

</div>

I am trying to create a system to test motors and propellers and include a nice GUI using Processing. I am using an Arduino to measure some data but am also using certain other measurement tools that need to be plugged d…

---

## [P5.js en Android](https://discourse.processing.org/t/p5-js-en-android/12304)

<div class="topic-metadata">

**Author:** [@Waboqueox](https://discourse.processing.org/u/Waboqueox)\
**Replies:** 3\
**Last updated:** [July 3, 2019, 5:13am UTC](https://discourse.processing.org/t/p5-js-en-android/12304 "2019-07-03T05:13:17Z")

</div>

Hola, saludos gente; Si os quereís saltar toda esta “introducción”, mi pregunta importante va al final, pero os comento mi caso por si sabéis de otra alternativa o una manera mejor de hacer las cosas. Llevo como casi u…

---

## [Zooming in on specific point. (Translate and scale)](https://discourse.processing.org/t/zooming-in-on-specific-point-translate-and-scale/12310)

<div class="topic-metadata">

**Author:** [@Kiwipai](https://discourse.processing.org/u/Kiwipai)\
**Replies:** 5\
**Last updated:** [July 3, 2019, 4:36am UTC](https://discourse.processing.org/t/zooming-in-on-specific-point-translate-and-scale/12310 "2019-07-03T04:36:12Z")

</div>

So I’m fairly new to graphical programming and I’m stuck at something that I’m guessing has a simple solution. I want to make some lines out of points and then translate and scale so that my lines will be visible no mat…

---

## [save serial data to .txt file on Mac](https://discourse.processing.org/t/save-serial-data-to-txt-file-on-mac/12459)

<div class="topic-metadata">

**Author:** [@jasone](https://discourse.processing.org/u/jasone)\
**Replies:** 1\
**Last updated:** [July 3, 2019, 3:58am UTC](https://discourse.processing.org/t/save-serial-data-to-txt-file-on-mac/12459 "2019-07-03T03:58:25Z")

</div>

I state that I don’t know how to use processing. I need to save data sent via serial from Arduino to a .txt file on my mac. Can anyone help me?

---

## [Menubar with P3D](https://discourse.processing.org/t/menubar-with-p3d/12462)

<div class="topic-metadata">

**Author:** [@brcreswell](https://discourse.processing.org/u/brcreswell)\
**Replies:** 1\
**Last updated:** [July 3, 2019, 3:55am UTC](https://discourse.processing.org/t/menubar-with-p3d/12462 "2019-07-03T03:55:00Z")

</div>

Wondering if it’s possible to implement a system menubar while utilizing P3D. I’ve found ways of doing it with JFrame but this obviously doesn’t help me. I’ve been searching for hours but can’t seem to find anything. If…

---

## [Exception handling in processing.net.\* -- why can't I catch exceptions?](https://discourse.processing.org/t/exception-handling-in-processing-net-why-cant-i-catch-exceptions/12192)

<div class="topic-metadata">

**Author:** [@barryfagin](https://discourse.processing.org/u/barryfagin)\
**Replies:** 5\
**Last updated:** [July 3, 2019, 12:17am UTC](https://discourse.processing.org/t/exception-handling-in-processing-net-why-cant-i-catch-exceptions/12192 "2019-07-03T00:17:04Z")

</div>

ME: Computer science professor. Reasonably adept at processing, though not a guru. GOAL: To handle the exception in the code below, because I figure this is something my students will run into: import processing.net.…

---

## [Processing control of Ethernet to serial board](https://discourse.processing.org/t/processing-control-of-ethernet-to-serial-board/4562)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 7\
**Last updated:** [July 3, 2019, 12:13am UTC](https://discourse.processing.org/t/processing-control-of-ethernet-to-serial-board/4562 "2019-07-03T00:13:09Z")

</div>

Hello, I would like to use Processing to communicate with an Ethernet to serial device: https://www.usriot.com/products/serial-ttl-to-ethernet-module.html “serial to Ethernet” or “Ethernet to serial” references below …

---

## [Looking to hire someone experienced with Processing Python mode](https://discourse.processing.org/t/looking-to-hire-someone-experienced-with-processing-python-mode/12465)

<div class="topic-metadata">

**Author:** [@Raums](https://discourse.processing.org/u/Raums)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 11:30pm UTC](https://discourse.processing.org/t/looking-to-hire-someone-experienced-with-processing-python-mode/12465 "2019-07-02T23:30:19Z")

</div>

I’ve been working on a large project for a while in processing python mode and it’d be nice to have some help, so I’m looking to hire a freelancer who can do a few hours work. If you’re interested please message me your …

---

## [Wire library missing in Hardware I/0 for use dht22 in processing 3?](https://discourse.processing.org/t/wire-library-missing-in-hardware-i-0-for-use-dht22-in-processing-3/12436)

<div class="topic-metadata">

**Author:** [@Lucas68](https://discourse.processing.org/u/Lucas68)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 7:50pm UTC](https://discourse.processing.org/t/wire-library-missing-in-hardware-i-0-for-use-dht22-in-processing-3/12436 "2019-07-02T19:50:00Z")

</div>

hi, I need some help, I have to connect a dht22 sensor to the rasberry pi 3b + wire port, but in the i / O hardware libraries the wire is not managed by processing 3, someone has developed a separate library, I have a sh…

---

## [Poster Generator: Sketch should not automatically redraw (p5js + p5gui)](https://discourse.processing.org/t/poster-generator-sketch-should-not-automatically-redraw-p5js-p5gui/12437)

<div class="topic-metadata">

**Author:** [@kr1schiii](https://discourse.processing.org/u/kr1schiii)\
**Replies:** 5\
**Last updated:** [July 2, 2019, 6:40pm UTC](https://discourse.processing.org/t/poster-generator-sketch-should-not-automatically-redraw-p5js-p5gui/12437 "2019-07-02T18:40:45Z")

</div>

Hey guys, I’m trying to build a simple pattern generator to create posters for some design idea. I’m using mainly p5.js and also the p5.gui library to have an interface to control some functions. During this process I …

---

## [\[SOLVED\] Virtual Reality Centring an Image](https://discourse.processing.org/t/solved-virtual-reality-centring-an-image/4239)

<div class="topic-metadata">

**Author:** [@RockyHawk](https://discourse.processing.org/u/RockyHawk)\
**Replies:** 3\
**Last updated:** [July 2, 2019, 5:40pm UTC](https://discourse.processing.org/t/solved-virtual-reality-centring-an-image/4239 "2019-07-02T17:40:39Z")

</div>

So I have a basic processing VR script for the daydream headset, I have it below. import processing.vr.\*; PImage title; void setup() { fullScreen(STEREO); title = loadImage("title.png"); title.resize(width/2,heigh…

---

## [Communication with Sense HAT through i2c](https://discourse.processing.org/t/communication-with-sense-hat-through-i2c/12355)

<div class="topic-metadata">

**Author:** [@pbp](https://discourse.processing.org/u/pbp)\
**Replies:** 1\
**Last updated:** [July 2, 2019, 4:48pm UTC](https://discourse.processing.org/t/communication-with-sense-hat-through-i2c/12355 "2019-07-02T16:48:35Z")

</div>

Hello, I have written some code to implement functionalities for the I2C devices in the Sense HAT. You can find it here: I posted the link some time ago in the old forum: but I have recently corrected some thing…

---

## [Changing colours](https://discourse.processing.org/t/changing-colours/12390)

<div class="topic-metadata">

**Author:** [@karan26](https://discourse.processing.org/u/karan26)\
**Replies:** 4\
**Last updated:** [July 2, 2019, 2:45pm UTC](https://discourse.processing.org/t/changing-colours/12390 "2019-07-02T14:45:23Z")

</div>

hii,i want to change the colour of square with respect to change in the size of the square .i want dark colour in the centre and light colour on the edges. here is my code can anybody tell me what should i do? int squar…

---

## [Interface wire and dht22 missing library Hardware I/O in processing 3](https://discourse.processing.org/t/interface-wire-and-dht22-missing-library-hardware-i-o-in-processing-3/12435)

<div class="topic-metadata">

**Author:** [@Lucas68](https://discourse.processing.org/u/Lucas68)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 7:38am UTC](https://discourse.processing.org/t/interface-wire-and-dht22-missing-library-hardware-i-o-in-processing-3/12435 "2019-07-02T07:38:17Z")

</div>

hi, I need some help, I have to connect a dht22 sensor to the rasberry pi 3b + wire port, but in the i / O hardware libraries the wire is not managed by processing 3, someone has developed a separate library, I have a sh…

---

## [Visualizing resultant forces](https://discourse.processing.org/t/visualizing-resultant-forces/12423)

<div class="topic-metadata">

**Author:** [@ele](https://discourse.processing.org/u/ele)\
**Replies:** 4\
**Last updated:** [July 2, 2019, 7:40am UTC](https://discourse.processing.org/t/visualizing-resultant-forces/12423 "2019-07-02T07:40:27Z")

</div>

Hello! I am trying to create a visualizer that shows the resultant force of three forces each angeled at 60 degrees from eachother. However - something is off, and I would love to get some help. The forces are values …

---

## [I want to use two-dimensional array to sort the score by the largest to smallest](https://discourse.processing.org/t/i-want-to-use-two-dimensional-array-to-sort-the-score-by-the-largest-to-smallest/12425)

<div class="topic-metadata">

**Author:** [@henry](https://discourse.processing.org/u/henry)\
**Replies:** 2\
**Last updated:** [July 2, 2019, 6:07am UTC](https://discourse.processing.org/t/i-want-to-use-two-dimensional-array-to-sort-the-score-by-the-largest-to-smallest/12425 "2019-07-02T06:07:39Z")

</div>

String\[\]score=loadStrings(“score.csv”); for (int i=1; i\<score.length; i++) { String \[\]\[\]tokens=split(score\[i\]\[\], “,”); int scores=Integer.parseInt(tokens\[i\]\[1\]); } //a = sort(a); //a=reverse(a); scores\[i\]\[1\]=so…

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

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