# Latest

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

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

**Page:** 574

---

## [How to create a opening flap or opening window?](https://discourse.processing.org/t/how-to-create-a-opening-flap-or-opening-window/4520)

<div class="topic-metadata">

**Author:** [@dennisreyes](https://discourse.processing.org/u/dennisreyes)\
**Replies:** 3\
**Last updated:** [October 17, 2018, 11:47am UTC](https://discourse.processing.org/t/how-to-create-a-opening-flap-or-opening-window/4520 "2018-10-17T11:47:50Z")

</div>

Hello everyone, I’m stuck in a project right now and I wanted to create a flap that’ll reveal some images underneath. It’s supposed to open when the user hovers is mouse on it yet I don’t know where and how to start.

---

## [Vertex, loop and draw along a vertex path](https://discourse.processing.org/t/vertex-loop-and-draw-along-a-vertex-path/4545)

<div class="topic-metadata">

**Author:** [@greg500](https://discourse.processing.org/u/greg500)\
**Replies:** 5\
**Last updated:** [October 17, 2018, 10:38am UTC](https://discourse.processing.org/t/vertex-loop-and-draw-along-a-vertex-path/4545 "2018-10-17T10:38:46Z")

</div>

Hi, I’m trying to adapt the code which has been written in java by Daniel Shiffman on his youtube channel into P5.js and I’ve met some problems. The loop which I used to draw the shape doesn’t work properly. In object w…

---

## [Processing Community Day @ Porto](https://discourse.processing.org/t/processing-community-day-porto/4554)

<div class="topic-metadata">

**Author:** [@pedamado](https://discourse.processing.org/u/pedamado)\
**Replies:** 0\
**Last updated:** [October 17, 2018, 9:47am UTC](https://discourse.processing.org/t/processing-community-day-porto/4554 "2018-10-17T09:47:48Z")

</div>

Hello everyone! My name is Pedro Amado, I am a professor of digital media design (in lack of a better definition) at the Faculty of Fine Arts of the University of Porto (FBAUP). I’m planning on organizing a community da…

---

## [Game Control Plus - trouble with config](https://discourse.processing.org/t/game-control-plus-trouble-with-config/2143)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 3\
**Last updated:** [October 16, 2018, 9:52pm UTC](https://discourse.processing.org/t/game-control-plus-trouble-with-config/2143 "2018-10-16T21:52:27Z")

</div>

Hello. I’ve been able to use GCP to connect a Logitech game controller to Processing, mostly. I have been trying to set up the configuration file so that it only recognizes 4 buttons. I started with the “joystick” examp…

---

## [Rectangle should grow then stop (resolved)](https://discourse.processing.org/t/rectangle-should-grow-then-stop-resolved/4541)

<div class="topic-metadata">

**Author:** [@singenya](https://discourse.processing.org/u/singenya)\
**Replies:** 2\
**Last updated:** [October 16, 2018, 5:30pm UTC](https://discourse.processing.org/t/rectangle-should-grow-then-stop-resolved/4541 "2018-10-16T17:30:01Z")

</div>

hello, i’m a beginner on processing and I want to make something simple but I don’t really understand why it don’t work. here’s my code : void setup() { size(600, 600); background(255); } void draw() { for (int …

---

## [Sketch performance](https://discourse.processing.org/t/sketch-performance/4376)

<div class="topic-metadata">

**Author:** [@stirman](https://discourse.processing.org/u/stirman)\
**Replies:** 6\
**Last updated:** [October 16, 2018, 4:28pm UTC](https://discourse.processing.org/t/sketch-performance/4376 "2018-10-16T16:28:51Z")

</div>

Heya, I got this sketch running on my new Pi, but it’s barely moving. Maybe 2 or 3 frames/sec. Is there anything I can do to make this sketch run smoother? I’m new to Pi, so many thanks in advance for any help! Pi 3 B…

---

## [Getting unexpected return value when appending to array](https://discourse.processing.org/t/getting-unexpected-return-value-when-appending-to-array/4498)

<div class="topic-metadata">

**Author:** [@LethalShadow](https://discourse.processing.org/u/LethalShadow)\
**Replies:** 5\
**Last updated:** [October 16, 2018, 3:36pm UTC](https://discourse.processing.org/t/getting-unexpected-return-value-when-appending-to-array/4498 "2018-10-16T15:36:53Z")

</div>

Hello programmers, I am trying to write a program for a school excercise and it’s actually coming along quite nicely. It’s supposed to be a game called subset (a lighter version of a game called “set”). The game consi…

---

## [Game Control Plus: using a joystick with switches instead of sliders](https://discourse.processing.org/t/game-control-plus-using-a-joystick-with-switches-instead-of-sliders/4534)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 2\
**Last updated:** [October 16, 2018, 3:19pm UTC](https://discourse.processing.org/t/game-control-plus-using-a-joystick-with-switches-instead-of-sliders/4534 "2018-10-16T15:19:35Z")

</div>

Hi! I’m wondering if anyone has suggestions about using an oldschool joystick with Game Control Plus. The difference is that the stick returns only -1.0, 0.0 or 1.0. In this case it would be convenient to have events, bu…

---

## [\[SOLVED\] Two questions: Printing and Screen](https://discourse.processing.org/t/solved-two-questions-printing-and-screen/4538)

<div class="topic-metadata">

**Author:** [@hngkong](https://discourse.processing.org/u/hngkong)\
**Replies:** 2\
**Last updated:** [October 16, 2018, 2:51pm UTC](https://discourse.processing.org/t/solved-two-questions-printing-and-screen/4538 "2018-10-16T14:51:14Z")

</div>

Hello! I was hoping for some help with two things. The first is that I was hoping to print out a drawing I created in Processing. I know how to print out the code, but I was hoping to print the actual picture that was…

---

## [About taking a photo with the webcam](https://discourse.processing.org/t/about-taking-a-photo-with-the-webcam/3816)

<div class="topic-metadata">

**Author:** [@willianxz](https://discourse.processing.org/u/willianxz)\
**Replies:** 6\
**Last updated:** [October 16, 2018, 2:19pm UTC](https://discourse.processing.org/t/about-taking-a-photo-with-the-webcam/3816 "2018-10-16T14:19:49Z")

</div>

Hello my friends, I made an algorithm in which I have two buttons, one to take photo and one to save the photo taken. I purposely did that, because I like to complicate things, you understand me, right? haha ha The iss…

---

## [Help! Clocks! - Minutes & For Loops](https://discourse.processing.org/t/help-clocks-minutes-for-loops/4527)

<div class="topic-metadata">

**Author:** [@madiMcD](https://discourse.processing.org/u/madiMcD)\
**Replies:** 3\
**Last updated:** [October 16, 2018, 1:26pm UTC](https://discourse.processing.org/t/help-clocks-minutes-for-loops/4527 "2018-10-16T13:26:39Z")

</div>

Hello! I’m in the process currently of trying to make a program that runs a type of clock. I am using images in my program, but for the purposes of my question, I have substituted ellipses. I understand how to use a nes…

---

## [oscP5 library, sending data with network](https://discourse.processing.org/t/oscp5-library-sending-data-with-network/3244)

<div class="topic-metadata">

**Author:** [@netphysicist](https://discourse.processing.org/u/netphysicist)\
**Replies:** 23\
**Last updated:** [October 16, 2018, 12:40pm UTC](https://discourse.processing.org/t/oscp5-library-sending-data-with-network/3244 "2018-10-16T12:40:11Z")

</div>

Hello, Is there a way to send a csv file about 200KB within oscP5 library? Does someone know a similar programm about sending these files from an Android phone to a Pc through processing? Thanks

---

## [Processing Community Day @ 🇮🇹](https://discourse.processing.org/t/processing-community-day/4531)

<div class="topic-metadata">

**Author:** [@vvz3n](https://discourse.processing.org/u/vvz3n)\
**Replies:** 0\
**Last updated:** [October 16, 2018, 9:03am UTC](https://discourse.processing.org/t/processing-community-day/4531 "2018-10-16T09:03:09Z")

</div>

Hi guys! I’m Valerio, the node organiser for Rome. Together with Codice Inutile, we’re organising 3 community days in Italy, for Milan, Rome and Bari, which will happen in different dates. The common idea for these 3 …

---

## [Record audio and video simultaneously](https://discourse.processing.org/t/record-audio-and-video-simultaneously/4529)

<div class="topic-metadata">

**Author:** [@bitCrasher](https://discourse.processing.org/u/bitCrasher)\
**Replies:** 0\
**Last updated:** [October 16, 2018, 8:10am UTC](https://discourse.processing.org/t/record-audio-and-video-simultaneously/4529 "2018-10-16T08:10:02Z")

</div>

hi guys, is there a way to record audio and video simultaneously? I ask because when I go to recompose a video adding the audio afterwards I always have problems with synchronization. I created a class that performs th…

---

## [Nf() issue with decimal point](https://discourse.processing.org/t/nf-issue-with-decimal-point/4125)

<div class="topic-metadata">

**Author:** [@gyula](https://discourse.processing.org/u/gyula)\
**Replies:** 20\
**Last updated:** [October 16, 2018, 7:46am UTC](https://discourse.processing.org/t/nf-issue-with-decimal-point/4125 "2018-10-16T07:46:59Z")

</div>

Hi, The following prints 1,2 (with comma) instead of 1.2: float f = 1.23; String s = nf(f, 0, 1); println(s); // Prints "1,2" That behaviour was already reported in April 2016, yet contiues to contradict the descript…

---

## [請教各位大大教導如何寫顏色變數](https://discourse.processing.org/t/topic/4519)

<div class="topic-metadata">

**Author:** [@alk5603](https://discourse.processing.org/u/alk5603)\
**Replies:** 4\
**Last updated:** [October 16, 2018, 7:14am UTC](https://discourse.processing.org/t/topic/4519 "2018-10-16T07:14:46Z")

</div>

各位大大好 小弟想請教一下,關於球類的問題 只要球有連一條線就變色 二條線又變另一種顏色 三條線又變一種色 那我的代碼要怎麼打比較好 請各位大大指教 1.一條線變藍 2.二條線變紅 3.三條線變黃 int num = 50, radius = 50; int\[\] posX, posY, speedX, speedY; void setup() { size(800, 600); stroke(255); …

---

## [\[SOLVED\] How to install android sdk](https://discourse.processing.org/t/solved-how-to-install-android-sdk/4514)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 1\
**Last updated:** [October 16, 2018, 1:40am UTC](https://discourse.processing.org/t/solved-how-to-install-android-sdk/4514 "2018-10-16T01:40:26Z")

</div>

I am having trouble installing the android sdk automatically, and when I tried to download it manually from the android website, processing couldn’t find an sdk in the folder. Am i supposed to run a file from the sdk fol…

---

## [P5 JS random/shuffle pixels](https://discourse.processing.org/t/p5-js-random-shuffle-pixels/4508)

<div class="topic-metadata">

**Author:** [@sanson](https://discourse.processing.org/u/sanson)\
**Replies:** 6\
**Last updated:** [October 15, 2018, 10:09pm UTC](https://discourse.processing.org/t/p5-js-random-shuffle-pixels/4508 "2018-10-15T22:09:13Z")

</div>

Hello, I’m new in P5JS. I’m trying to convert my Processing code to P5JS. The question is this: I made a Processing code that loads all pixels of an image, apprends the colors of that pixels and then shuffle them. Th…

---

## [USB comm from an Android device](https://discourse.processing.org/t/usb-comm-from-an-android-device/4501)

<div class="topic-metadata">

**Author:** [@rva1945](https://discourse.processing.org/u/rva1945)\
**Replies:** 0\
**Last updated:** [October 15, 2018, 6:24pm UTC](https://discourse.processing.org/t/usb-comm-from-an-android-device/4501 "2018-10-15T18:24:03Z")

</div>

HI: I have already tried to control my layout from Processing running on a PC with W7. Of course I now want to run it on an Android device for the same purpose. It sends commands to the Arduino via USB serial port. My …

---

## [Help, Just learned this library. Im stuck, project due in two days](https://discourse.processing.org/t/help-just-learned-this-library-im-stuck-project-due-in-two-days/4472)

<div class="topic-metadata">

**Author:** [@TylerD07](https://discourse.processing.org/u/TylerD07)\
**Replies:** 8\
**Last updated:** [October 15, 2018, 5:15pm UTC](https://discourse.processing.org/t/help-just-learned-this-library-im-stuck-project-due-in-two-days/4472 "2018-10-15T17:15:58Z")

</div>

So i recreated a matrix rain background that was on a tutorial given on youtube. I cannot figure out how to get the rain to redraw when the screen resizes. It is fully adaptable if you initially open the screen in full s…

---

## [Visuals AND music with Processing?](https://discourse.processing.org/t/visuals-and-music-with-processing/3855)

<div class="topic-metadata">

**Author:** [@CrouchingPython](https://discourse.processing.org/u/CrouchingPython)\
**Replies:** 27\
**Last updated:** [October 15, 2018, 4:37pm UTC](https://discourse.processing.org/t/visuals-and-music-with-processing/3855 "2018-10-15T16:37:05Z")

</div>

Hi all. First time poster here. I teach MS computer science and am looking for a platform my classes can use to combine visuals and music to make multimedia performances, preferably live code. Since it’s middle school, i…

---

## [Opengl shader error](https://discourse.processing.org/t/opengl-shader-error/4493)

<div class="topic-metadata">

**Author:** [@aaditya99983](https://discourse.processing.org/u/aaditya99983)\
**Replies:** 0\
**Last updated:** [October 15, 2018, 3:25pm UTC](https://discourse.processing.org/t/opengl-shader-error/4493 "2018-10-15T15:25:12Z")

</div>

I am getting this error while trying some saved examples from processing ide : Cannot compile vertex shader: 0:1(10): error: GLSL 0.00 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES can someone help …

---

## [CC Fest NYC - Nov 10 - ITP-NYU](https://discourse.processing.org/t/cc-fest-nyc-nov-10-itp-nyu/4491)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 0\
**Last updated:** [October 15, 2018, 1:48pm UTC](https://discourse.processing.org/t/cc-fest-nyc-nov-10-itp-nyu/4491 "2018-10-15T13:48:20Z")

</div>

Hi everyone, I am excited to share that CC Fest NYC is back on November 10, Saturday, at ITP-NYU. It will be another fun, free, and inclusive day of coding for students and teachers. If you are in the area consider comi…

---

## [Sketch does not run; P2D Error (\[...\] Please call TIS/TSM in main thread) - Looking for workaround](https://discourse.processing.org/t/sketch-does-not-run-p2d-error-please-call-tis-tsm-in-main-thread-looking-for-workaround/4488)

<div class="topic-metadata">

**Author:** [@polispace](https://discourse.processing.org/u/polispace)\
**Replies:** 2\
**Last updated:** [October 15, 2018, 1:06pm UTC](https://discourse.processing.org/t/sketch-does-not-run-p2d-error-please-call-tis-tsm-in-main-thread-looking-for-workaround/4488 "2018-10-15T13:06:35Z")

</div>

Hi there I’ve already seen questions about this topic and I’m aware there is still not a real solution for this error. I couldn’t find a workaround to allow my sketch to run. Wondering if form the community here I can g…

---

## [Creative Machines 2 exhibition (London)](https://discourse.processing.org/t/creative-machines-2-exhibition-london/4485)

<div class="topic-metadata">

**Author:** [@marinero](https://discourse.processing.org/u/marinero)\
**Replies:** 0\
**Last updated:** [October 15, 2018, 12:11pm UTC](https://discourse.processing.org/t/creative-machines-2-exhibition-london/4485 "2018-10-15T12:11:45Z")

</div>

Hi everyone, a new show is coming up at Goldsmiths hosting works on the theme of computational creativity / generative art. The exhibition shows works by selected artists linked to Goldsmiths and artists from the CYLAN…

---

## [Changing Images on Click?](https://discourse.processing.org/t/changing-images-on-click/4479)

<div class="topic-metadata">

**Author:** [@emmytime](https://discourse.processing.org/u/emmytime)\
**Replies:** 4\
**Last updated:** [October 15, 2018, 7:48am UTC](https://discourse.processing.org/t/changing-images-on-click/4479 "2018-10-15T07:48:34Z")

</div>

Hey gang, My names Emmy and i’ve been tasked to do a data visualisation on processing as one of my uni classes, and am portraying the different items accessible from the Mario 64 prize boxes. I am envisioning to click o…

---

## [Nedd help with a class](https://discourse.processing.org/t/nedd-help-with-a-class/4409)

<div class="topic-metadata">

**Author:** [@EricSaumier](https://discourse.processing.org/u/EricSaumier)\
**Replies:** 4\
**Last updated:** [October 15, 2018, 1:23am UTC](https://discourse.processing.org/t/nedd-help-with-a-class/4409 "2018-10-15T01:23:55Z")

</div>

Hello! I’m getting back into coding after 20 some years.. I’ve been toying around with processing for a year now, doing simple things.. but this time, I want to learn classes I have followed this tutorial Objects by…

---

## [Terrain.js sketch](https://discourse.processing.org/t/terrain-js-sketch/4457)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 6\
**Last updated:** [October 14, 2018, 5:55pm UTC](https://discourse.processing.org/t/terrain-js-sketch/4457 "2018-10-14T17:55:58Z")

</div>

Here I attempt to create terrain as per Shiffman challenge Web Editor Can’t use CLOSE on endShape like in vanilla processing or JRubyArt, adds spurious lines.

---

## [Extending the mouse range past the screen size](https://discourse.processing.org/t/extending-the-mouse-range-past-the-screen-size/4431)

<div class="topic-metadata">

**Author:** [@Tsskyx](https://discourse.processing.org/u/Tsskyx)\
**Replies:** 12\
**Last updated:** [October 14, 2018, 4:15pm UTC](https://discourse.processing.org/t/extending-the-mouse-range-past-the-screen-size/4431 "2018-10-14T16:15:22Z")

</div>

You see this in a lot of games, this kind of infinite mouse movement, where you can move your mouse around as much as you want, without ever getting stopped by the edges of your screen. I’ve made something like this, an…

---

## [\[SOLVED\] Build for android fail (windows)](https://discourse.processing.org/t/solved-build-for-android-fail-windows/3805)

<div class="topic-metadata">

**Author:** [@Bunnygamers](https://discourse.processing.org/u/Bunnygamers)\
**Replies:** 3\
**Last updated:** [October 14, 2018, 1:52pm UTC](https://discourse.processing.org/t/solved-build-for-android-fail-windows/3805 "2018-10-14T13:52:25Z")

</div>

When I try to build or run on device for android with processing 3 android mode, I don’t have problems with: void draw() { println(“test”) } but i do with: int cr = 255; int cb = 255; int cg = 255; int nb = 0; …

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

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