# Latest

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

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

**Page:** 501

---

## [How can I link multiple Kinects in one processing sketch?](https://discourse.processing.org/t/how-can-i-link-multiple-kinects-in-one-processing-sketch/10169)

<div class="topic-metadata">

**Author:** [@nicoles](https://discourse.processing.org/u/nicoles)\
**Replies:** 3\
**Last updated:** [April 13, 2019, 1:44am UTC](https://discourse.processing.org/t/how-can-i-link-multiple-kinects-in-one-processing-sketch/10169 "2019-04-13T01:44:55Z")

</div>

I am having trouble connecting multiple Kinects within one Processing sketch. I want to be able to use the data from multiple Kinects to create one extended image. Is there any way to do this?

---

## [Why does only p2 show up?](https://discourse.processing.org/t/why-does-only-p2-show-up/10217)

<div class="topic-metadata">

**Author:** [@abigail](https://discourse.processing.org/u/abigail)\
**Replies:** 2\
**Last updated:** [April 12, 2019, 6:02pm UTC](https://discourse.processing.org/t/why-does-only-p2-show-up/10217 "2019-04-12T18:02:36Z")

</div>

Hi I’m very new to programming so excuse if this is an easy question, but why is only one of my particles showing up (p2)? Thanks in advance :slight\_smile: Particle p1; Particle p2; void setup() { size(600,400); p…

---

## [How do I save a HIGHSCORE](https://discourse.processing.org/t/how-do-i-save-a-highscore/10201)

<div class="topic-metadata">

**Author:** [@Nolan](https://discourse.processing.org/u/Nolan)\
**Replies:** 2\
**Last updated:** [April 12, 2019, 5:11pm UTC](https://discourse.processing.org/t/how-do-i-save-a-highscore/10201 "2019-04-12T17:11:08Z")

</div>

// Variables int STOP = 1; float count = 0; PImage B1; PImage Background; PImage B2; PImage B3; PImage Start; float x = 0; float x2 = 0; float y = 1080; float y2 = 1080; int Score = 0; int Highscore; float speed = 3; fl…

---

## [Projection Mapping with Processing!](https://discourse.processing.org/t/projection-mapping-with-processing/10215)

<div class="topic-metadata">

**Author:** [@tenaciousBirdOfPrey](https://discourse.processing.org/u/tenaciousBirdOfPrey)\
**Replies:** 1\
**Last updated:** [April 12, 2019, 5:07pm UTC](https://discourse.processing.org/t/projection-mapping-with-processing/10215 "2019-04-12T17:07:29Z")

</div>

Hi, I’ve been working with Processing quite a bit and have developed it into a way to do Projection Mapping. The software and hardware to do this is extremely expensive, but I figured how to do it with just Processing a…

---

## [Trying to code a catch game](https://discourse.processing.org/t/trying-to-code-a-catch-game/10137)

<div class="topic-metadata">

**Author:** [@gp-gp](https://discourse.processing.org/u/gp-gp)\
**Replies:** 3\
**Last updated:** [April 12, 2019, 4:20pm UTC](https://discourse.processing.org/t/trying-to-code-a-catch-game/10137 "2019-04-12T16:20:39Z")

</div>

Im trying to code this catch game i p5, and i cant figure out how i can detect the falling objekt with the “basket” i’ve drawn… hope you guys can help let box1\_x; let box1\_y; let box1 let box2\_x; let box2\_y; let box2\_…

---

## [Hi guys why my text doesn't show?](https://discourse.processing.org/t/hi-guys-why-my-text-doesnt-show/10075)

<div class="topic-metadata">

**Author:** [@fwtini](https://discourse.processing.org/u/fwtini)\
**Replies:** 13\
**Last updated:** [April 12, 2019, 4:01pm UTC](https://discourse.processing.org/t/hi-guys-why-my-text-doesnt-show/10075 "2019-04-12T16:01:50Z")

</div>

I want to direct the text from left to right and from up to down PFont myFont; String s= "test"; float x=100; float y=100; float speed=0.5; int direction=1; void setup(){ size(700,700); background(255); myFon…

---

## [Rotation 3d text](https://discourse.processing.org/t/rotation-3d-text/10213)

<div class="topic-metadata">

**Author:** [@fwtini](https://discourse.processing.org/u/fwtini)\
**Replies:** 18\
**Last updated:** [April 12, 2019, 4:03pm UTC](https://discourse.processing.org/t/rotation-3d-text/10213 "2019-04-12T16:03:35Z")

</div>

If I want to rotate my text in 360 degrees what parameter can I use? PFont myFont; float rotateVal=0.4; String s1= ("test"); float x,y; float rotateX; float rotateY; int offset =4; float speed = 0.1; float rad…

---

## [Is there something like beginRecord() that works with P2D/texture()?](https://discourse.processing.org/t/is-there-something-like-beginrecord-that-works-with-p2d-texture/10120)

<div class="topic-metadata">

**Author:** [@vielleicht](https://discourse.processing.org/u/vielleicht)\
**Replies:** 1\
**Last updated:** [April 12, 2019, 3:30pm UTC](https://discourse.processing.org/t/is-there-something-like-beginrecord-that-works-with-p2d-texture/10120 "2019-04-12T15:30:48Z")

</div>

I’m creating a kaleidoscope program using texture() to mirror things and then I want to be able to redraw and save everything at a higher resolution. I found a method of redrawing and saving the screen but it uses JAVA2D…

---

## [Mapping Shapes to a Multi-Color Gradient](https://discourse.processing.org/t/mapping-shapes-to-a-multi-color-gradient/619)

<div class="topic-metadata">

**Author:** [@scoyoh](https://discourse.processing.org/u/scoyoh)\
**Replies:** 1\
**Last updated:** [June 4, 2018, 1:36am UTC](https://discourse.processing.org/t/mapping-shapes-to-a-multi-color-gradient/619 "2018-06-04T01:36:25Z")

</div>

Hi guys! I’m working on a music visualizer which was a fork from a great one I found on openprocessing. I just wanted to make a small change: Right now, each of the bars around the circle cycle straight through the RGB…

---

## [Why my class doesn't work?!](https://discourse.processing.org/t/why-my-class-doesnt-work/10189)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 8\
**Last updated:** [April 12, 2019, 3:13pm UTC](https://discourse.processing.org/t/why-my-class-doesnt-work/10189 "2019-04-12T15:13:26Z")

</div>

Hello, I’d like to deform a text according to an attractor encapsulated into a class, but it doesn’t work! Why? What is wrong with my constructor? Thanks a lot in advance for your help. Best, L import processing.pd…

---

## [Shift Key Creating Box Character](https://discourse.processing.org/t/shift-key-creating-box-character/10197)

<div class="topic-metadata">

**Author:** [@clevelandbrowns](https://discourse.processing.org/u/clevelandbrowns)\
**Replies:** 5\
**Last updated:** [April 12, 2019, 1:07pm UTC](https://discourse.processing.org/t/shift-key-creating-box-character/10197 "2019-04-12T13:07:06Z")

</div>

When I input characters, my shift keys are producing a box character when pressed. For example, if I’m typing the name Bob, it comes up as \[box\]Bob. How can I prevent this? This is for console output by the way.

---

## [If I want to show only 1 time my text what can I use?](https://discourse.processing.org/t/if-i-want-to-show-only-1-time-my-text-what-can-i-use/10208)

<div class="topic-metadata">

**Author:** [@fwtini](https://discourse.processing.org/u/fwtini)\
**Replies:** 11\
**Last updated:** [April 12, 2019, 12:42pm UTC](https://discourse.processing.org/t/if-i-want-to-show-only-1-time-my-text-what-can-i-use/10208 "2019-04-12T12:42:08Z")

</div>

PFont myFont; float rotateVal=0.4; String s1= ("test"); float x,y,z; void setup(){ background(255); size(500,500,P3D); myFont = loadFont("Serif-48.vlw"); //frameRate(20); } void draw(){ …

---

## [How to Disable Right Click in the Internet browser](https://discourse.processing.org/t/how-to-disable-right-click-in-the-internet-browser/10211)

<div class="topic-metadata">

**Author:** [@peachman](https://discourse.processing.org/u/peachman)\
**Replies:** 2\
**Last updated:** [April 12, 2019, 12:38pm UTC](https://discourse.processing.org/t/how-to-disable-right-click-in-the-internet-browser/10211 "2019-04-12T12:38:00Z")

</div>

Hi all, I am having a huge frustration with ‘right Clicking’ with P5 in the online editor. I have been looking about for a while and cannot find the answer. Every time i ‘right click’ the options come up for chome, how…

---

## [Working on a challenging project, need suggestions](https://discourse.processing.org/t/working-on-a-challenging-project-need-suggestions/10209)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 0\
**Last updated:** [April 12, 2019, 10:58am UTC](https://discourse.processing.org/t/working-on-a-challenging-project-need-suggestions/10209 "2019-04-12T10:58:49Z")

</div>

Yesterday, I suddently decided to simulate and Undertale fight. For now I just did the arena and menu selection and now I am planning to create the events on the selection of a button, before starting with the hard part…

---

## [Computer-Generated Art Survey](https://discourse.processing.org/t/computer-generated-art-survey/10164)

<div class="topic-metadata">

**Author:** [@albertsennk](https://discourse.processing.org/u/albertsennk)\
**Replies:** 2\
**Last updated:** [April 12, 2019, 6:34am UTC](https://discourse.processing.org/t/computer-generated-art-survey/10164 "2019-04-12T06:34:56Z")

</div>

Hey y’all! Want to participate in cool research? Like art? Like computers? Or even just want to help out a student with his research? Then take this survey! I’m conducting research on the perception of computer-generat…

---

## [P5js code crash](https://discourse.processing.org/t/p5js-code-crash/10176)

<div class="topic-metadata">

**Author:** [@l3ehfar](https://discourse.processing.org/u/l3ehfar)\
**Replies:** 2\
**Last updated:** [April 12, 2019, 2:08am UTC](https://discourse.processing.org/t/p5js-code-crash/10176 "2019-04-12T02:08:27Z")

</div>

I just realized that due to this loop, the code is going to crash after playing 4 5 notes. how can I avoid an infinitive loop here? function granularPlay(){ for(let i=1;i\<10;i++){ if (doorbell\[i\].contains(mouseX,…

---

## [Simple access to scientific datasets with Processing](https://discourse.processing.org/t/simple-access-to-scientific-datasets-with-processing/5779)

<div class="topic-metadata">

**Author:** [@mcintyre](https://discourse.processing.org/u/mcintyre)\
**Replies:** 2\
**Last updated:** [April 12, 2019, 2:03am UTC](https://discourse.processing.org/t/simple-access-to-scientific-datasets-with-processing/5779 "2019-04-12T02:03:51Z")

</div>

Howdy folks! I’d like to announce NetCDF for Processing, a wrapper around the NetCDF Java library. The goal is to provide a simple API for accessing scientific datasets in formats like HDF5, NetCDF, GRIB, and many more. …

---

## [Constrain() player movement not working](https://discourse.processing.org/t/constrain-player-movement-not-working/10199)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 2\
**Last updated:** [April 12, 2019, 12:05am UTC](https://discourse.processing.org/t/constrain-player-movement-not-working/10199 "2019-04-12T00:05:05Z")

</div>

def keyPressed(): if key == 'w' or key == 'W': player.pos.y == constrain(player.pos.y - player.vel,arena.pos.y,arena.pos.y + arena.h) elif key == 's' or key == 'S': player.pos.y == constrain(playe…

---

## [The part that threw me off, "..., so that as it continues to increase,..."](https://discourse.processing.org/t/the-part-that-threw-me-off-so-that-as-it-continues-to-increase/10048)

<div class="topic-metadata">

**Author:** [@dougouverson](https://discourse.processing.org/u/dougouverson)\
**Replies:** 6\
**Last updated:** [April 11, 2019, 8:20pm UTC](https://discourse.processing.org/t/the-part-that-threw-me-off-so-that-as-it-continues-to-increase/10048 "2019-04-11T20:20:22Z")

</div>

Not sure if I’m not understanding the subject or if this sentence was not the best way to communicate behavior? Page 214 of “Getting Started with p5.js” The author communicates the arc behavior as such: “If it has, we…

---

## [Is it possible to have and array of objects with varying parameters?](https://discourse.processing.org/t/is-it-possible-to-have-and-array-of-objects-with-varying-parameters/10188)

<div class="topic-metadata">

**Author:** [@itch](https://discourse.processing.org/u/itch)\
**Replies:** 4\
**Last updated:** [April 11, 2019, 7:50pm UTC](https://discourse.processing.org/t/is-it-possible-to-have-and-array-of-objects-with-varying-parameters/10188 "2019-04-11T19:50:17Z")

</div>

Hi everyone, I’m just getting started with Processing and I’m writing a simple, one-octave piano keyboard. I have a class named Key: class Key{ float x; float y; float w; float h; color col; Key(flo…

---

## [OpenSimplexNoise is a bit too slow](https://discourse.processing.org/t/opensimplexnoise-is-a-bit-too-slow/10160)

<div class="topic-metadata">

**Author:** [@Kazuya\_Yoshimisu](https://discourse.processing.org/u/Kazuya_Yoshimisu)\
**Replies:** 7\
**Last updated:** [April 11, 2019, 6:30pm UTC](https://discourse.processing.org/t/opensimplexnoise-is-a-bit-too-slow/10160 "2019-04-11T18:30:23Z")

</div>

Hello everyone, I’m currently trying to make an animation using perlin noise. It was too slow so I tried with OpenSimplexNoise and it was better, but still not fast enough. I’m juste looping through 2D slices of 3D noi…

---

## [Help! Can't export frames](https://discourse.processing.org/t/help-cant-export-frames/10195)

<div class="topic-metadata">

**Author:** [@vitoriaseven](https://discourse.processing.org/u/vitoriaseven)\
**Replies:** 1\
**Last updated:** [April 11, 2019, 6:00pm UTC](https://discourse.processing.org/t/help-cant-export-frames/10195 "2019-04-11T18:00:58Z")

</div>

Hi, I’m pretty new to Processing. I’m trying to export frame images to create a movie but it’s not working. All I get is just one frame and just with the background. What am I doing wrong? import geomerative.\*; import …

---

## [Merging two pictures](https://discourse.processing.org/t/merging-two-pictures/4869)

<div class="topic-metadata">

**Author:** [@Odermonicon](https://discourse.processing.org/u/Odermonicon)\
**Replies:** 3\
**Last updated:** [April 11, 2019, 4:09pm UTC](https://discourse.processing.org/t/merging-two-pictures/4869 "2019-04-11T16:09:31Z")

</div>

I realized if I scroll through a panorama it looks like looking up and down; so I thought: what if I made a panorama on a plane? I then realized that I would need to simulate the merging in a panorama twice, but I did n…

---

## [Smooth close curveVertex shape](https://discourse.processing.org/t/smooth-close-curvevertex-shape/10184)

<div class="topic-metadata">

**Author:** [@lumicon9](https://discourse.processing.org/u/lumicon9)\
**Replies:** 2\
**Last updated:** [April 11, 2019, 2:28pm UTC](https://discourse.processing.org/t/smooth-close-curvevertex-shape/10184 "2019-04-11T14:28:11Z")

</div>

hi, how to smooth close a curveVertex shape, like this: thnx! void setup() { size(200,200); smooth(); noFill(); strokeWeight(1); } void draw() { curves(0,100, 100,0, 200,100, 100,200, 0,100); } void cur…

---

## [Is three keys maximum?](https://discourse.processing.org/t/is-three-keys-maximum/10090)

<div class="topic-metadata">

**Author:** [@lilleGauss](https://discourse.processing.org/u/lilleGauss)\
**Replies:** 5\
**Last updated:** [April 11, 2019, 1:33pm UTC](https://discourse.processing.org/t/is-three-keys-maximum/10090 "2019-04-11T13:33:31Z")

</div>

Hello! I am trying to get keyPressed/keyReleased to work for several keys simultaneously. Every single stroke works and two at the same time too. But nerver for all four of them? Is there somthing with internal handling…

---

## [Curve vertex contour problem](https://discourse.processing.org/t/curve-vertex-contour-problem/10179)

<div class="topic-metadata">

**Author:** [@mkoch](https://discourse.processing.org/u/mkoch)\
**Replies:** 1\
**Last updated:** [April 11, 2019, 9:39am UTC](https://discourse.processing.org/t/curve-vertex-contour-problem/10179 "2019-04-11T09:39:01Z")

</div>

Hello everyone, I have a problem using the beginContour and endContour methods with curve vertices. The contour is not rendered like expected. Here I’ve got a simple example of the problem https://editor.p5js.org/mko…

---

## [Start up export file with processing on raspberry pi 3](https://discourse.processing.org/t/start-up-export-file-with-processing-on-raspberry-pi-3/10040)

<div class="topic-metadata">

**Author:** [@quydan](https://discourse.processing.org/u/quydan)\
**Replies:** 15\
**Last updated:** [April 11, 2019, 9:00am UTC](https://discourse.processing.org/t/start-up-export-file-with-processing-on-raspberry-pi-3/10040 "2019-04-11T09:00:15Z")

</div>

I make an export application file from processing. I want to run start up this file on raspberry pi 3 with linux. Please guide me. Thanks

---

## [Bug? print() to console slows sketch down](https://discourse.processing.org/t/bug-print-to-console-slows-sketch-down/10044)

<div class="topic-metadata">

**Author:** [@lnp](https://discourse.processing.org/u/lnp)\
**Replies:** 7\
**Last updated:** [April 11, 2019, 4:25am UTC](https://discourse.processing.org/t/bug-print-to-console-slows-sketch-down/10044 "2019-04-11T04:25:42Z")

</div>

I’m doing a lot of printing to console and for sure it’s obvs not really that necessary beyond debugging. I was very surprised to find out that it was slowing a sketch down enormously! Perhaps that’s my naivety but it se…

---

## [Access properties of a sketch's container in instance mode](https://discourse.processing.org/t/access-properties-of-a-sketchs-container-in-instance-mode/10088)

<div class="topic-metadata">

**Author:** [@surmvoise](https://discourse.processing.org/u/surmvoise)\
**Replies:** 4\
**Last updated:** [April 10, 2019, 11:59pm UTC](https://discourse.processing.org/t/access-properties-of-a-sketchs-container-in-instance-mode/10088 "2019-04-10T23:59:31Z")

</div>

How do I access properties of a sketch’s container in instance mode? I’d like to run multiple sketches in all the div’s with a certain class on a page. And I’d like to make the width of these sketches the same as the wi…

---

## [4 x Pi Media Players need to be controlled globally](https://discourse.processing.org/t/4-x-pi-media-players-need-to-be-controlled-globally/10153)

<div class="topic-metadata">

**Author:** [@ann.phibian](https://discourse.processing.org/u/ann.phibian)\
**Replies:** 4\
**Last updated:** [April 10, 2019, 5:03pm UTC](https://discourse.processing.org/t/4-x-pi-media-players-need-to-be-controlled-globally/10153 "2019-04-10T17:03:11Z")

</div>

Hi everyone! I created 4 Pi media players that each have their own monitors. I’d like to have a way to stop/start all of the animations from my Mac. Should I connect all the Pi players to my Mac’s wifi, and send messag…

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

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