# Latest

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

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

**Page:** 477

---

## [Calibrate/Map Kinect feed to Projection](https://discourse.processing.org/t/calibrate-map-kinect-feed-to-projection/11929)

<div class="topic-metadata">

**Author:** [@AlexP](https://discourse.processing.org/u/AlexP)\
**Replies:** 0\
**Last updated:** [June 8, 2019, 6:46pm UTC](https://discourse.processing.org/t/calibrate-map-kinect-feed-to-projection/11929 "2019-06-08T18:46:35Z")

</div>

Hi, I ve written a project where I m using the Kinect (v1), to detect objects in a space and track them. Now the next thing I want to do is use a projector to project onto this object. I m having a hard time to adjust …

---

## [How to use this code with mousePressed?](https://discourse.processing.org/t/how-to-use-this-code-with-mousepressed/11925)

<div class="topic-metadata">

**Author:** [@joysaha573](https://discourse.processing.org/u/joysaha573)\
**Replies:** 4\
**Last updated:** [June 8, 2019, 6:10pm UTC](https://discourse.processing.org/t/how-to-use-this-code-with-mousepressed/11925 "2019-06-08T18:10:21Z")

</div>

I want to appear this circile when mouse is pressed only. Please help with this float angle = 0.00; float offset = 60 ; float scalar = 30; float speed = 0.05; void setup () { size (120, 120);…

---

## [createGraphics() to capture camera frames](https://discourse.processing.org/t/creategraphics-to-capture-camera-frames/11698)

<div class="topic-metadata">

**Author:** [@AwreetusAwrightus](https://discourse.processing.org/u/AwreetusAwrightus)\
**Replies:** 12\
**Last updated:** [June 8, 2019, 4:13pm UTC](https://discourse.processing.org/t/creategraphics-to-capture-camera-frames/11698 "2019-06-08T16:13:17Z")

</div>

hello again everyone! I’m having some trouble figuring out how to capture video in my sketch. As far as I fiddled with saveFrame() or even capture() functions, they all rely on image being displayed in the sketch window…

---

## [Clear() not working properly](https://discourse.processing.org/t/clear-not-working-properly/11924)

<div class="topic-metadata">

**Author:** [@BallazX](https://discourse.processing.org/u/BallazX)\
**Replies:** 1\
**Last updated:** [June 8, 2019, 3:25pm UTC](https://discourse.processing.org/t/clear-not-working-properly/11924 "2019-06-08T15:25:04Z")

</div>

Hi All, I’ve got this code: PGraphics myline; PGraphics myrect; void setup(){ background(#FFFFFF); size(600,600); myline=createGraphics(width,height); myrect=createGraphics(width,height); } void draw(){ myrect.beginD…

---

## [Array of SoundFile](https://discourse.processing.org/t/array-of-soundfile/11919)

<div class="topic-metadata">

**Author:** [@chanof](https://discourse.processing.org/u/chanof)\
**Replies:** 1\
**Last updated:** [June 8, 2019, 1:55pm UTC](https://discourse.processing.org/t/array-of-soundfile/11919 "2019-06-08T13:55:16Z")

</div>

Hi there, i try to get an array of SoundFile to easy change/pass from one to another by press a button, may i ask for help to archive a simple result like. Thanks Gianmaria import processing.sound.\*; SoundFile sounds;…

---

## [Image not loading](https://discourse.processing.org/t/image-not-loading/11892)

<div class="topic-metadata">

**Author:** [@CodingIsLife](https://discourse.processing.org/u/CodingIsLife)\
**Replies:** 8\
**Last updated:** [June 8, 2019, 7:54am UTC](https://discourse.processing.org/t/image-not-loading/11892 "2019-06-08T07:54:31Z")

</div>

I loaded a local image in the preload() function. When I opened the sketch in chrome it says Loading… and in the console it says some weird message - access to image at is from origin ‘null’ has been blocked by CORS po…

---

## [Dragging and dropping an object](https://discourse.processing.org/t/dragging-and-dropping-an-object/11917)

<div class="topic-metadata">

**Author:** [@ZachMcMkay](https://discourse.processing.org/u/ZachMcMkay)\
**Replies:** 2\
**Last updated:** [June 8, 2019, 7:22am UTC](https://discourse.processing.org/t/dragging-and-dropping-an-object/11917 "2019-06-08T07:22:12Z")

</div>

Hello! im trying to create a game where i can pick up a piece move it and then drop it where i want. I’ve run into a wall trying to logically think about dropping the piece. in order to pick it up and move it by having…

---

## [Missing createSlider() from reference page](https://discourse.processing.org/t/missing-createslider-from-reference-page/11855)

<div class="topic-metadata">

**Author:** [@tyler\_harris](https://discourse.processing.org/u/tyler_harris)\
**Replies:** 3\
**Last updated:** [June 8, 2019, 4:54am UTC](https://discourse.processing.org/t/missing-createslider-from-reference-page/11855 "2019-06-08T04:54:04Z")

</div>

the documentation page https://p5js.org/reference/#/p5/createSlider link is missing from https://p5js.org/reference/

---

## [blendMode in 3d space](https://discourse.processing.org/t/blendmode-in-3d-space/11857)

<div class="topic-metadata">

**Author:** [@bitCrasher](https://discourse.processing.org/u/bitCrasher)\
**Replies:** 1\
**Last updated:** [June 7, 2019, 9:31pm UTC](https://discourse.processing.org/t/blendmode-in-3d-space/11857 "2019-06-07T21:31:11Z")

</div>

hello guys! i’ve a problem…i’m try to blend with mode ADD some png images in a 3d space, the problem is that it create artifacts, and transparency of background is removed class Particle { PVector pos; PImage img; …

---

## [Map function to a radian value](https://discourse.processing.org/t/map-function-to-a-radian-value/11903)

<div class="topic-metadata">

**Author:** [@GuilhermeVolker](https://discourse.processing.org/u/GuilhermeVolker)\
**Replies:** 3\
**Last updated:** [June 7, 2019, 8:49pm UTC](https://discourse.processing.org/t/map-function-to-a-radian-value/11903 "2019-06-07T20:49:32Z")

</div>

Hello! I need to move an image, from the lateral mouse input to a specific angle on the screen (from 240º to 300º). The direct transformation (as the code) doesn’t work. Is there another way to do that? (to simplify the…

---

## [PGraphics and main window, nice code possible?](https://discourse.processing.org/t/pgraphics-and-main-window-nice-code-possible/11898)

<div class="topic-metadata">

**Author:** [@toby](https://discourse.processing.org/u/toby)\
**Replies:** 4\
**Last updated:** [June 7, 2019, 5:22pm UTC](https://discourse.processing.org/t/pgraphics-and-main-window-nice-code-possible/11898 "2019-06-07T17:22:59Z")

</div>

Hello Processing friends. I wonder if anyone could help please. I have a sketch that renders stuff in a small main window, and when ready renders it at hi-res to a PGraphics which is then saved to a file. My code is ugly…

---

## [P2D vs JAVA2D - strange differences in PGraphics methods and masking](https://discourse.processing.org/t/p2d-vs-java2d-strange-differences-in-pgraphics-methods-and-masking/11853)

<div class="topic-metadata">

**Author:** [@alexolotl](https://discourse.processing.org/u/alexolotl)\
**Replies:** 22\
**Last updated:** [June 7, 2019, 4:27pm UTC](https://discourse.processing.org/t/p2d-vs-java2d-strange-differences-in-pgraphics-methods-and-masking/11853 "2019-06-07T16:27:47Z")

</div>

I’ve created a test sketch to demonstrate and try to pinpoint some of the unusual behavior I’ve noticed when switching between P2D and JAVA2D renderers (specifically, what seem to be bugs with the P2D renderer) Differen…

---

## [P5.js vs javascript](https://discourse.processing.org/t/p5-js-vs-javascript/11866)

<div class="topic-metadata">

**Author:** [@CodingIsLife](https://discourse.processing.org/u/CodingIsLife)\
**Replies:** 5\
**Last updated:** [June 7, 2019, 4:26pm UTC](https://discourse.processing.org/t/p5-js-vs-javascript/11866 "2019-06-07T16:26:13Z")

</div>

I started p5.js recently. I never learnt javascript (the main javascript) at all. I have been learning only p5.js for almost 5 months… But I always had a question in my mind that - “I have not learnt javascript. Can p5.…

---

## [Flow Field, trying to paint with Kinect](https://discourse.processing.org/t/flow-field-trying-to-paint-with-kinect/11816)

<div class="topic-metadata">

**Author:** [@josipaca](https://discourse.processing.org/u/josipaca)\
**Replies:** 2\
**Last updated:** [June 7, 2019, 3:55pm UTC](https://discourse.processing.org/t/flow-field-trying-to-paint-with-kinect/11816 "2019-06-07T15:55:46Z")

</div>

Hey I’m quite new to Processing and trying to make like a force to the Lerped position from the Kinect, kind of like a mouse. So if the Lerped position shows the field drags to it like a magnet. I can figure it out and …

---

## [Exporting with pgraphics and nullpointerexception](https://discourse.processing.org/t/exporting-with-pgraphics-and-nullpointerexception/11828)

<div class="topic-metadata">

**Author:** [@karinalopez87](https://discourse.processing.org/u/karinalopez87)\
**Replies:** 2\
**Last updated:** [June 7, 2019, 3:34pm UTC](https://discourse.processing.org/t/exporting-with-pgraphics-and-nullpointerexception/11828 "2019-06-07T15:34:32Z")

</div>

Hello, so I’ve run into two problems. The first being that after a few hours (which varies depending on the machine that I’m running my code on), gives me a NullPointerException error, usually targeting filter shaders or…

---

## [\[SOLVED\] Framebuffer objects are not supported by this hardware](https://discourse.processing.org/t/solved-framebuffer-objects-are-not-supported-by-this-hardware/11896)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 1\
**Last updated:** [June 7, 2019, 2:24pm UTC](https://discourse.processing.org/t/solved-framebuffer-objects-are-not-supported-by-this-hardware/11896 "2019-06-07T14:24:30Z")

</div>

Hi. I have two HD´s installed on my PC. One runs Linux Ubuntu, and the other windows 10 running Processing perfectly. Now I installed a third sata SDD. It has only 32G so I installed windows 7 and it runs incredibly f…

---

## [Change in color scheme](https://discourse.processing.org/t/change-in-color-scheme/11895)

<div class="topic-metadata">

**Author:** [@beatrizt](https://discourse.processing.org/u/beatrizt)\
**Replies:** 11\
**Last updated:** [June 7, 2019, 2:14pm UTC](https://discourse.processing.org/t/change-in-color-scheme/11895 "2019-06-07T14:14:02Z")

</div>

Hello, can somebody please tell me what I am doing wrong?? Basically what I want is when the mouse is over the area of the square, I want the colors of both the squares and the ellipses to shift. At first, the squares …

---

## [Hi, this is a bug? 3D Game Engine](https://discourse.processing.org/t/hi-this-is-a-bug-3d-game-engine/11800)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 6\
**Last updated:** [June 7, 2019, 2:09pm UTC](https://discourse.processing.org/t/hi-this-is-a-bug-3d-game-engine/11800 "2019-06-07T14:09:27Z")

</div>

Hello community, I am developing a game engine with processing, what a good idea! There is no complete one so far! The problem starts when using a buffer with createGraphics () called “blitter”. Transparencies are not …

---

## [Rollover with animation](https://discourse.processing.org/t/rollover-with-animation/11890)

<div class="topic-metadata">

**Author:** [@beatrizt](https://discourse.processing.org/u/beatrizt)\
**Replies:** 7\
**Last updated:** [June 7, 2019, 2:04pm UTC](https://discourse.processing.org/t/rollover-with-animation/11890 "2019-06-07T14:04:31Z")

</div>

Hey, can someone please tell me what I am doing wrong here: int radius=0; int length= 720; float colorscheme1; float colorscheme2; float mouseX; float mouseY; boolean rectIsShrinking = true; boolean circleIsShrin…

---

## [2D Image DIsplacement](https://discourse.processing.org/t/2d-image-displacement/11894)

<div class="topic-metadata">

**Author:** [@anon57009815](https://discourse.processing.org/u/anon57009815)\
**Replies:** 3\
**Last updated:** [June 7, 2019, 11:42am UTC](https://discourse.processing.org/t/2d-image-displacement/11894 "2019-06-07T11:42:28Z")

</div>

Hello and good day, I’d like to know if anyone has a reference on some GLSL shader to do things like this (images from amazing works of Kurokawa and Julien Bayle)

---

## [Printable graphic needed: Processed graphic doesn't fit canvas (SVG export doesn't work as either)](https://discourse.processing.org/t/printable-graphic-needed-processed-graphic-doesnt-fit-canvas-svg-export-doesnt-work-as-either/11861)

<div class="topic-metadata">

**Author:** [@optimaprima](https://discourse.processing.org/u/optimaprima)\
**Replies:** 8\
**Last updated:** [June 7, 2019, 9:35am UTC](https://discourse.processing.org/t/printable-graphic-needed-processed-graphic-doesnt-fit-canvas-svg-export-doesnt-work-as-either/11861 "2019-06-07T09:35:22Z")

</div>

Hi there, I am totally new to p5.js and I need this for my master thesis. I had this concept for a book that has some illustrations made with generated design. For example this code. Maybe someone can help to fit this…

---

## [Making a 3D table](https://discourse.processing.org/t/making-a-3d-table/11724)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 41\
**Last updated:** [June 7, 2019, 1:34am UTC](https://discourse.processing.org/t/making-a-3d-table/11724 "2019-06-07T01:34:59Z")

</div>

OK, I’m trying to make a 3D game starting with a table, but when I hit play to see the 2 legs of the table I only see one. Can someone explain what I do? here what I got so far. void setup(){ size(600,600,P3D); } vo…

---

## [ControlP5 Buttons Performace issue](https://discourse.processing.org/t/controlp5-buttons-performace-issue/11888)

<div class="topic-metadata">

**Author:** [@InferNova](https://discourse.processing.org/u/InferNova)\
**Replies:** 4\
**Last updated:** [June 7, 2019, 3:24am UTC](https://discourse.processing.org/t/controlp5-buttons-performace-issue/11888 "2019-06-07T03:24:14Z")

</div>

Hey Guys! I have an issue when having a ControlP5 button showcased and when clicked it hides. This works fine but then I have a game in the background and the FPS drops drastically, note that without the button the issu…

---

## [Why does lightFalloff affect ambient lights?](https://discourse.processing.org/t/why-does-lightfalloff-affect-ambient-lights/11887)

<div class="topic-metadata">

**Author:** [@sanketsingh24](https://discourse.processing.org/u/sanketsingh24)\
**Replies:** 1\
**Last updated:** [June 6, 2019, 9:31pm UTC](https://discourse.processing.org/t/why-does-lightfalloff-affect-ambient-lights/11887 "2019-06-06T21:31:26Z")

</div>

Hello Everyone! I just had a doubt while I was implementing lightFalloff() in p5.js. Why does ambient light is affected by falloff? Because according to my understanding, ambient light is like fixed-intensity and omnidi…

---

## [Orthographic path traveling](https://discourse.processing.org/t/orthographic-path-traveling/11786)

<div class="topic-metadata">

**Author:** [@8BitRift](https://discourse.processing.org/u/8BitRift)\
**Replies:** 2\
**Last updated:** [June 6, 2019, 9:26pm UTC](https://discourse.processing.org/t/orthographic-path-traveling/11786 "2019-06-06T21:26:15Z")

</div>

So I am trying to use the camera function and the orthographic view to travel down a path I have managed to get it to work with perspective but I cant get it to work properly with the orthographic view. Below is the code…

---

## [Arduino / Processing / Android Bluetooth (Ketai) communication problem](https://discourse.processing.org/t/arduino-processing-android-bluetooth-ketai-communication-problem/11863)

<div class="topic-metadata">

**Author:** [@DrRocksalt](https://discourse.processing.org/u/DrRocksalt)\
**Replies:** 1\
**Last updated:** [June 6, 2019, 5:56pm UTC](https://discourse.processing.org/t/arduino-processing-android-bluetooth-ketai-communication-problem/11863 "2019-06-06T17:56:12Z")

</div>

Long time lurker, first time poster. I have a silly race car project. I’ve designed circuitry and Arduino code to probe various things on the car, and then perform some basic actions, like shift the transmission, turn …

---

## [Need help with texture](https://discourse.processing.org/t/need-help-with-texture/11881)

<div class="topic-metadata">

**Author:** [@Sudev](https://discourse.processing.org/u/Sudev)\
**Replies:** 0\
**Last updated:** [June 6, 2019, 11:57am UTC](https://discourse.processing.org/t/need-help-with-texture/11881 "2019-06-06T11:57:01Z")

</div>

Is there a way to repeat and offset the texture for 2d primitive shapes in WEBGL mode ? Right now I can only think of creating texture using createGraphics and applying offset in it.

---

## [More and Faster: glInterleavedArrays glDrawArrays](https://discourse.processing.org/t/more-and-faster-glinterleavedarrays-gldrawarrays/5044)

<div class="topic-metadata">

**Author:** [@TPMoyer](https://discourse.processing.org/u/TPMoyer)\
**Replies:** 5\
**Last updated:** [June 6, 2019, 1:33pm UTC](https://discourse.processing.org/t/more-and-faster-glinterleavedarrays-gldrawarrays/5044 "2019-06-06T13:33:35Z")

</div>

Anyone have pointers as to how I might move toward being able to use the array functions from openGL (glInterleavedArrays and glDrawArrays) within processing? Am ok if this involves my needing to develop a library. …

---

## [Buttons with same coordinates are clicked twice](https://discourse.processing.org/t/buttons-with-same-coordinates-are-clicked-twice/11877)

<div class="topic-metadata">

**Author:** [@rory](https://discourse.processing.org/u/rory)\
**Replies:** 4\
**Last updated:** [June 6, 2019, 11:54am UTC](https://discourse.processing.org/t/buttons-with-same-coordinates-are-clicked-twice/11877 "2019-06-06T11:54:08Z")

</div>

A beginner’s question with buttons. I’m trying to make a program which contains different pages such as splashscreen, main menu, etc. The first page splashScreen() asks the user click anywhere to continue, and then goes …

---

## [How to do a animated colored Keyboard?](https://discourse.processing.org/t/how-to-do-a-animated-colored-keyboard/11763)

<div class="topic-metadata">

**Author:** [@Moiizez](https://discourse.processing.org/u/Moiizez)\
**Replies:** 12\
**Last updated:** [June 6, 2019, 9:52am UTC](https://discourse.processing.org/t/how-to-do-a-animated-colored-keyboard/11763 "2019-06-06T09:52:34Z")

</div>

Hey, I need some help with this thing I’m trying to do. I wanna create a keyboard in Processing, that when you press a key, it selects a random color and a cub “grow up” on the screen (in the place that the rect is plac…

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

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