# Latest

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

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

**Page:** 546

---

## [VR help can it be done](https://discourse.processing.org/t/vr-help-can-it-be-done/6690)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 2\
**Last updated:** [December 18, 2018, 11:31pm UTC](https://discourse.processing.org/t/vr-help-can-it-be-done/6690 "2018-12-18T23:31:33Z")

</div>

Anyone know if it possible to create a VR in processing & what VR headset would i use if I even made one? Any suggestions will be great.

---

## [Trying to connect an ELP Camera , but i get an error](https://discourse.processing.org/t/trying-to-connect-an-elp-camera-but-i-get-an-error/6499)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 5\
**Last updated:** [December 18, 2018, 10:34pm UTC](https://discourse.processing.org/t/trying-to-connect-an-elp-camera-but-i-get-an-error/6499 "2018-12-18T22:34:53Z")

</div>

(java.exe:4496): GStreamer-CRITICAL \*\*: Trying to dispose element Video Capture, but it is in READY instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference,…

---

## [Problem writing number on stripes. Drone interface](https://discourse.processing.org/t/problem-writing-number-on-stripes-drone-interface/6698)

<div class="topic-metadata">

**Author:** [@jcduino](https://discourse.processing.org/u/jcduino)\
**Replies:** 5\
**Last updated:** [December 18, 2018, 8:21pm UTC](https://discourse.processing.org/t/problem-writing-number-on-stripes-drone-interface/6698 "2018-12-18T20:21:11Z")

</div>

Hello I am implementing an interface for my drone and I am blocked in the algorithm that draws the course. The idea is to make vertical stripes along a landscape rectangle. The long lines are every 50px and they have t…

---

## [Marking code parts](https://discourse.processing.org/t/marking-code-parts/6655)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 6\
**Last updated:** [December 18, 2018, 6:07pm UTC](https://discourse.processing.org/t/marking-code-parts/6655 "2018-12-18T18:07:09Z")

</div>

Hi, ive been coding for past 6 months and i have a questions; i dont know how how or if its possible to “color” certain parts of code. Like rect touching part of code is completley unrecognisable between X check and Y …

---

## [Rotate an image when it's moving with "if"](https://discourse.processing.org/t/rotate-an-image-when-its-moving-with-if/6633)

<div class="topic-metadata">

**Author:** [@Alexander](https://discourse.processing.org/u/Alexander)\
**Replies:** 3\
**Last updated:** [December 18, 2018, 5:25pm UTC](https://discourse.processing.org/t/rotate-an-image-when-its-moving-with-if/6633 "2018-12-18T17:25:43Z")

</div>

Hello! My name is Alex and i want to was a question. i’ ve been doing a race game the previous 2 days and i got to a serious problem. I have the menus, the track and a car, i made the car move.In the first place it’s hor…

---

## [Long, modulo and RSA-algorithm](https://discourse.processing.org/t/long-modulo-and-rsa-algorithm/6727)

<div class="topic-metadata">

**Author:** [@crizzer](https://discourse.processing.org/u/crizzer)\
**Replies:** 2\
**Last updated:** [December 18, 2018, 5:00pm UTC](https://discourse.processing.org/t/long-modulo-and-rsa-algorithm/6727 "2018-12-18T17:00:16Z")

</div>

As a school project, I have to make a program that can encrypt and decrypt code, whilst also registering the encoded code in a database. But I’ve encountered a problem: To encrypt a message using RSA, you need to lift …

---

## [Processing Community Day @ Denver/Colorado](https://discourse.processing.org/t/processing-community-day-denver-colorado/6719)

<div class="topic-metadata">

**Author:** [@figraham](https://discourse.processing.org/u/figraham)\
**Replies:** 2\
**Last updated:** [December 18, 2018, 4:37pm UTC](https://discourse.processing.org/t/processing-community-day-denver-colorado/6719 "2018-12-18T16:37:32Z")

</div>

I’d be up for organizing a Processing Community Day in Colorado. I’m actually in Fort Collins. So it would be easy for me find a place to hold it up here. But I’m happy to drive down to Denver if that works better for pe…

---

## [Instagram geolocate](https://discourse.processing.org/t/instagram-geolocate/6728)

<div class="topic-metadata">

**Author:** [@MarsatAE](https://discourse.processing.org/u/MarsatAE)\
**Replies:** 3\
**Last updated:** [December 18, 2018, 4:31pm UTC](https://discourse.processing.org/t/instagram-geolocate/6728 "2018-12-18T16:31:46Z")

</div>

Hello I want to work with instagram, and i want to know where someone will repost (or comment) my project. Do you know how to do it ? it’s easy with twitter but i have no clue about it on instagram :confused: Thank yo…

---

## [Help with school piano stairs project](https://discourse.processing.org/t/help-with-school-piano-stairs-project/5667)

<div class="topic-metadata">

**Author:** [@skNDstry](https://discourse.processing.org/u/skNDstry)\
**Replies:** 3\
**Last updated:** [November 20, 2018, 2:26am UTC](https://discourse.processing.org/t/help-with-school-piano-stairs-project/5667 "2018-11-20T02:26:22Z")

</div>

Hi all I am new to processing, but I need to use processing to complete a school electronic project. I am trying to clone a project by Helen Bang on Instructables (https://www.instructables.com/id/Arduino-IR-Musical-St…

---

## [P5.js Flappy bird](https://discourse.processing.org/t/p5-js-flappy-bird/5510)

<div class="topic-metadata">

**Author:** [@Stephcraft](https://discourse.processing.org/u/Stephcraft)\
**Replies:** 4\
**Last updated:** [December 18, 2018, 12:08pm UTC](https://discourse.processing.org/t/p5-js-flappy-bird/5510 "2018-12-18T12:08:36Z")

</div>

Hello, I made a flappy bird game using the p5.js library a while ago, Its posted on itch.io here: https://stephcraft.itch.io/flappy-bird Source code : var c; var sprite\_flappy; var sprite\_pipe; var sprite\_city; var…

---

## [Displaying Arabic text](https://discourse.processing.org/t/displaying-arabic-text/6710)

<div class="topic-metadata">

**Author:** [@Kata](https://discourse.processing.org/u/Kata)\
**Replies:** 2\
**Last updated:** [December 18, 2018, 10:28am UTC](https://discourse.processing.org/t/displaying-arabic-text/6710 "2018-12-18T10:28:59Z")

</div>

Hi Totally new and my first ever question in the forum . I tried to find a way to have arabic text appear when running my small example. It does work, and the Arabic word is displayed when running the sketch. But t…

---

## [G4P - playable preview of next version](https://discourse.processing.org/t/g4p-playable-preview-of-next-version/6628)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 2\
**Last updated:** [December 17, 2018, 9:57pm UTC](https://discourse.processing.org/t/g4p-playable-preview-of-next-version/6628 "2018-12-17T21:57:25Z")

</div>

This is a preview of the next version (4.2.0) of G4P and the latest control GView. GView allows you to embed 2D or 3D views into your sketch. These views also respond to mouse events so they can be programmed to perform…

---

## [Event called when canvas is resized](https://discourse.processing.org/t/event-called-when-canvas-is-resized/6643)

<div class="topic-metadata">

**Author:** [@Sarah](https://discourse.processing.org/u/Sarah)\
**Replies:** 9\
**Last updated:** [December 18, 2018, 7:39am UTC](https://discourse.processing.org/t/event-called-when-canvas-is-resized/6643 "2018-12-18T07:39:37Z")

</div>

Hi, Is there an event that is called when the canvas is resizable, and the canvas is resized? In p5.js there’s windowResized(), but I can’t seem to find anything for Processing besides using the native Java functions. T…

---

## [Seamlessly changing the render target from on-screen to a larger off-screen graphic](https://discourse.processing.org/t/seamlessly-changing-the-render-target-from-on-screen-to-a-larger-off-screen-graphic/6695)

<div class="topic-metadata">

**Author:** [@grege2](https://discourse.processing.org/u/grege2)\
**Replies:** 1\
**Last updated:** [December 18, 2018, 4:20am UTC](https://discourse.processing.org/t/seamlessly-changing-the-render-target-from-on-screen-to-a-larger-off-screen-graphic/6695 "2018-12-18T04:20:26Z")

</div>

Hi folks, Summary: I’d like to change my p5.js rendering target (ie. destination, or graphics buffer) from the on-screen physical window, to an off-screen graphics buffer, by just using some “setRenderTarget()” call, bu…

---

## [Face recognition](https://discourse.processing.org/t/face-recognition/6571)

<div class="topic-metadata">

**Author:** [@hadigh](https://discourse.processing.org/u/hadigh)\
**Replies:** 5\
**Last updated:** [December 18, 2018, 5:37am UTC](https://discourse.processing.org/t/face-recognition/6571 "2018-12-18T05:37:25Z")

</div>

Hello I have a project in image processing to detect faces from a webcam on you laptop and give ID or names to these face based on previous images saved Can anyone please help me? I’m done with the part where I can det…

---

## [Fuzziness when switching sketches](https://discourse.processing.org/t/fuzziness-when-switching-sketches/6717)

<div class="topic-metadata">

**Author:** [@Zuii](https://discourse.processing.org/u/Zuii)\
**Replies:** 2\
**Last updated:** [December 18, 2018, 3:17am UTC](https://discourse.processing.org/t/fuzziness-when-switching-sketches/6717 "2018-12-18T03:17:59Z")

</div>

Hello, I working on a kind of master sketch that can switch between sketches easily. The functionality is working great but for some reason when I switch to a different sketch it gets kinda fuzzy. My program is setup l…

---

## [Gradient color in Line](https://discourse.processing.org/t/gradient-color-in-line/6694)

<div class="topic-metadata">

**Author:** [@noob](https://discourse.processing.org/u/noob)\
**Replies:** 3\
**Last updated:** [December 18, 2018, 3:02am UTC](https://discourse.processing.org/t/gradient-color-in-line/6694 "2018-12-18T03:02:05Z")

</div>

Hello! It’s me again :blush: with the beginner question. So I was playing around with lines as you can see in the code below and I want to make the gradient color from black to white in the lines to give effect of depth…

---

## [I need help on Processing 3](https://discourse.processing.org/t/i-need-help-on-processing-3/6663)

<div class="topic-metadata">

**Author:** [@buddyduncan](https://discourse.processing.org/u/buddyduncan)\
**Replies:** 5\
**Last updated:** [December 18, 2018, 2:22am UTC](https://discourse.processing.org/t/i-need-help-on-processing-3/6663 "2018-12-18T02:22:21Z")

</div>

I am trying to create a maze but I can’t figure out how to make it so the ball doesn’t go through the walls. I have provided my code below, please help me by telling me what code to add. int x = 170; int y = 315; PImag…

---

## [Processing foundation 2017 report](https://discourse.processing.org/t/processing-foundation-2017-report/6590)

<div class="topic-metadata">

**Author:** [@kll](https://discourse.processing.org/u/kll)\
**Replies:** 8\
**Last updated:** [December 18, 2018, 12:46am UTC](https://discourse.processing.org/t/processing-foundation-2017-report/6590 "2018-12-18T00:46:28Z")

</div>

i read that article processing-foundation-2017-report and think it is good report and good promotion, i do miss a signature but at that graphic i got a bad feeling when i read t…

---

## [\[RESOLVED\] Platformer player unable to fall in pits](https://discourse.processing.org/t/resolved-platformer-player-unable-to-fall-in-pits/6706)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 1\
**Last updated:** [December 18, 2018, 12:30am UTC](https://discourse.processing.org/t/resolved-platformer-player-unable-to-fall-in-pits/6706 "2018-12-18T00:30:55Z")

</div>

I am trying to make a basic platformer game, but the player is unable to fall in pits. It falls off of platforms, but not into pits. Does anybody know how to fix this? I have several files, so I put the code on github. …

---

## [Can a PeasyCam cube have clickable faces? (Plus other small PeasyCam questions)](https://discourse.processing.org/t/can-a-peasycam-cube-have-clickable-faces-plus-other-small-peasycam-questions/6549)

<div class="topic-metadata">

**Author:** [@rumeauc1](https://discourse.processing.org/u/rumeauc1)\
**Replies:** 4\
**Last updated:** [December 17, 2018, 9:40pm UTC](https://discourse.processing.org/t/can-a-peasycam-cube-have-clickable-faces-plus-other-small-peasycam-questions/6549 "2018-12-17T21:40:11Z")

</div>

Hi guys, I;m pretty sure I haven’t seen any questions similar enough to my problem. I’m wondering if I can, using the PeasyCam library for Processing v3.4, make each face of the cube a clickable button? I’m familiar with…

---

## [Inserting a vertex into a PShape](https://discourse.processing.org/t/inserting-a-vertex-into-a-pshape/6620)

<div class="topic-metadata">

**Author:** [@William3954](https://discourse.processing.org/u/William3954)\
**Replies:** 3\
**Last updated:** [December 17, 2018, 8:51pm UTC](https://discourse.processing.org/t/inserting-a-vertex-into-a-pshape/6620 "2018-12-17T20:51:52Z")

</div>

Is it possible to insert a vertex into a PShape at a specific index point? Example, I have a PShape with 10 vertex, I want to add a vertex between v3 and v4 which would increase the PShape vertex count to 11. Currently,…

---

## [I need help with randomizing (javascript)](https://discourse.processing.org/t/i-need-help-with-randomizing-javascript/6704)

<div class="topic-metadata">

**Author:** [@Wuoahter](https://discourse.processing.org/u/Wuoahter)\
**Replies:** 1\
**Last updated:** [December 17, 2018, 8:48pm UTC](https://discourse.processing.org/t/i-need-help-with-randomizing-javascript/6704 "2018-12-17T20:48:22Z")

</div>

//tells collision of ball with paddle void contactPaddle() { //left paddle collision with ball if(x - w/2 \< paddleXL + paddleW/2 && y - h/2 \< paddleYL + paddleH/2 && y + h/2 \> paddleYL - paddleH/2) { if(speedX \< 0) { …

---

## [Sounds bugging out when I try to play a lot of them](https://discourse.processing.org/t/sounds-bugging-out-when-i-try-to-play-a-lot-of-them/6527)

<div class="topic-metadata">

**Author:** [@Haxorouse](https://discourse.processing.org/u/Haxorouse)\
**Replies:** 8\
**Last updated:** [December 17, 2018, 8:05pm UTC](https://discourse.processing.org/t/sounds-bugging-out-when-i-try-to-play-a-lot-of-them/6527 "2018-12-17T20:05:45Z")

</div>

I have a project where I am trying to play a sound every time an enemy shoots at you, The only problem is that when too many sounds are played they all get super distorted and never actually stop playing, I will try to i…

---

## [Random circles controlled by keypress](https://discourse.processing.org/t/random-circles-controlled-by-keypress/6580)

<div class="topic-metadata">

**Author:** [@jonzamarripa](https://discourse.processing.org/u/jonzamarripa)\
**Replies:** 3\
**Last updated:** [December 17, 2018, 7:01pm UTC](https://discourse.processing.org/t/random-circles-controlled-by-keypress/6580 "2018-12-17T19:01:50Z")

</div>

Hey guys, I am working on a code and I am stuck. The idea is for the random circles to stop when you press a key if not continue working until it stops. There’s an image running in the background. Eventually I want to t…

---

## [Game with typing random characters](https://discourse.processing.org/t/game-with-typing-random-characters/6588)

<div class="topic-metadata">

**Author:** [@ari\_y](https://discourse.processing.org/u/ari_y)\
**Replies:** 3\
**Last updated:** [December 17, 2018, 6:42pm UTC](https://discourse.processing.org/t/game-with-typing-random-characters/6588 "2018-12-17T18:42:50Z")

</div>

Urgent please help with assignment this class is making my gpa suffer! My assignment is to create a program that generates a random char value from 97 to 122 and then stores the number in a char variable. The screen wil…

---

## [Moving ellipse stop on black color](https://discourse.processing.org/t/moving-ellipse-stop-on-black-color/6572)

<div class="topic-metadata">

**Author:** [@Legate](https://discourse.processing.org/u/Legate)\
**Replies:** 2\
**Last updated:** [December 17, 2018, 6:14pm UTC](https://discourse.processing.org/t/moving-ellipse-stop-on-black-color/6572 "2018-12-17T18:14:19Z")

</div>

Hello friends, i need help with my school programming problem. We need to create ellipse/dot that automatically stops if it’s registers black color in it’s way. And starts following it’s path. Something like robots find…

---

## [Pseye errors : libUsb bug](https://discourse.processing.org/t/pseye-errors-libusb-bug/6394)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 1\
**Last updated:** [December 17, 2018, 3:16pm UTC](https://discourse.processing.org/t/pseye-errors-libusb-bug/6394 "2018-12-17T15:16:13Z")

</div>

Hi, I’m trying to use the pseye library on my pi. At this line : ps3eye.init(60, PS3Eye.Resolution.VGA); I’ve got this error LibUsbException: USB error 6: error LibUsb.claimInterface: Resource busy

---

## [I'm in a hurry! Dual cycle of how to move up and down](https://discourse.processing.org/t/im-in-a-hurry-dual-cycle-of-how-to-move-up-and-down/6640)

<div class="topic-metadata">

**Author:** [@lin](https://discourse.processing.org/u/lin)\
**Replies:** 5\
**Last updated:** [December 17, 2018, 2:08pm UTC](https://discourse.processing.org/t/im-in-a-hurry-dual-cycle-of-how-to-move-up-and-down/6640 "2018-12-17T14:08:51Z")

</div>

void setup() { size(640, 360); noStroke(); rectMode(CENTER); } void draw() { background(51); fill(255, 204); rect(mouseX, height/2, mouseY/2+10, mouseY/2+10); fill(255, 204); int inverseX = width-mouse…

---

## [Processing 3.4 removal](https://discourse.processing.org/t/processing-3-4-removal/6682)

<div class="topic-metadata">

**Author:** [@zeus](https://discourse.processing.org/u/zeus)\
**Replies:** 6\
**Last updated:** [December 17, 2018, 8:31am UTC](https://discourse.processing.org/t/processing-3-4-removal/6682 "2018-12-17T08:31:00Z")

</div>

Hello All, I need to remove Processing 3.4 and instead install 2.2.1 on a Raspberry Pi 3 B+ running Stretch. I have tried several different ways to remove/purge 3.4 but had no luck. How do I remove it? I installed 3.4 v…

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

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