# Latest

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

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

**Page:** 563

---

## [Pixels buffer and framerate](https://discourse.processing.org/t/pixels-buffer-and-framerate/5345)

<div class="topic-metadata">

**Author:** [@TTG](https://discourse.processing.org/u/TTG)\
**Replies:** 11\
**Last updated:** [November 9, 2018, 8:40am UTC](https://discourse.processing.org/t/pixels-buffer-and-framerate/5345 "2018-11-09T08:40:42Z")

</div>

Dear Team, When using pixels array i experience framerate drop (20 fps) after 4 or 5 draw() loops. when i use a void keypressed() the framerate doesnt drop and stays above 55 fps. (of course i require to press a ke…

---

## [Create multiple drawing object instances](https://discourse.processing.org/t/create-multiple-drawing-object-instances/5289)

<div class="topic-metadata">

**Author:** [@martinh](https://discourse.processing.org/u/martinh)\
**Replies:** 9\
**Last updated:** [November 9, 2018, 8:33am UTC](https://discourse.processing.org/t/create-multiple-drawing-object-instances/5289 "2018-11-09T08:33:01Z")

</div>

Hi all, new here. I would like to use P3 to create multiple unique drawing areas. All the examples I’ve seen the window is one large drawing area. Ideally I’d like to create a class of the ‘drawingArea’ with all the c…

---

## [Creating Art with Processing or P5](https://discourse.processing.org/t/creating-art-with-processing-or-p5/5359)

<div class="topic-metadata">

**Author:** [@GuerillaGirl](https://discourse.processing.org/u/GuerillaGirl)\
**Replies:** 4\
**Last updated:** [November 9, 2018, 8:26am UTC](https://discourse.processing.org/t/creating-art-with-processing-or-p5/5359 "2018-11-09T08:26:14Z")

</div>

Hi guys, My son is doing a graphic art project using Processing/P5 and in two weeks he will be submitting his work to the Fine Arts contest in our state. I was wondering if you guys had any advice on creating art using …

---

## [Easter egg, maybe](https://discourse.processing.org/t/easter-egg-maybe/5351)

<div class="topic-metadata">

**Author:** [@nitrochloric](https://discourse.processing.org/u/nitrochloric)\
**Replies:** 4\
**Last updated:** [November 9, 2018, 8:07am UTC](https://discourse.processing.org/t/easter-egg-maybe/5351 "2018-11-09T08:07:23Z")

</div>

hi i was going around the processing-3.4 files and i found two e-books , frankenstein and dracula in the folder …\\Desktop\\processing-3.4\\modes\\java\\examples\\Topics\\Advanced Data\\HashMapClass\\data is this a well known t…

---

## [Kinect v2 was working but installed zadig drivers and now won't run on any program](https://discourse.processing.org/t/kinect-v2-was-working-but-installed-zadig-drivers-and-now-wont-run-on-any-program/5749)

<div class="topic-metadata">

**Author:** [@moonspacedancer](https://discourse.processing.org/u/moonspacedancer)\
**Replies:** 0\
**Last updated:** [November 9, 2018, 8:00am UTC](https://discourse.processing.org/t/kinect-v2-was-working-but-installed-zadig-drivers-and-now-wont-run-on-any-program/5749 "2018-11-09T08:00:00Z")

</div>

I wanted to run a sketch I had for a v1 using openkinect library but it didnt work and everyone said install the driver on zadig. I did that and it still did not work, but gave no error. so I was like, hey I will just gi…

---

## [Mesh ball generation](https://discourse.processing.org/t/mesh-ball-generation/4980)

<div class="topic-metadata">

**Author:** [@Darkar25](https://discourse.processing.org/u/Darkar25)\
**Replies:** 9\
**Last updated:** [November 9, 2018, 4:09am UTC](https://discourse.processing.org/t/mesh-ball-generation/4980 "2018-11-09T04:09:55Z")

</div>

Im trying to make something like that: I already made dots generation and border circle…but i dont know how to connect all dots between…i need to connect every dot to closest dots…i tried that myself but i got an OutO…

---

## [Dynamically update alpha in color()](https://discourse.processing.org/t/dynamically-update-alpha-in-color/5339)

<div class="topic-metadata">

**Author:** [@slow\_izzm](https://discourse.processing.org/u/slow_izzm)\
**Replies:** 5\
**Last updated:** [November 9, 2018, 2:16am UTC](https://discourse.processing.org/t/dynamically-update-alpha-in-color/5339 "2018-11-09T02:16:35Z")

</div>

So, what if I wanted to dynamically change each individual rgba argument of color(), can I say this.col.r = 200; , or some equivalent? let btn; function setup() { createCanvas(400, 400); btn = new Btn(color(50, 127, …

---

## [Path finder java pathfinder library processing](https://discourse.processing.org/t/path-finder-java-pathfinder-library-processing/2947)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 8\
**Last updated:** [November 8, 2018, 11:28pm UTC](https://discourse.processing.org/t/path-finder-java-pathfinder-library-processing/2947 "2018-11-08T23:28:59Z")

</div>

OK, so I’ve got where I the path goes from point a to b but idk how to make it avoid objects. I want to make a tower defense game where different maps appear & the enemy gotta find its way through or to the item it wants…

---

## [Shooting in a game](https://discourse.processing.org/t/shooting-in-a-game/5328)

<div class="topic-metadata">

**Author:** [@kinglucas](https://discourse.processing.org/u/kinglucas)\
**Replies:** 4\
**Last updated:** [November 8, 2018, 10:27pm UTC](https://discourse.processing.org/t/shooting-in-a-game/5328 "2018-11-08T22:27:05Z")

</div>

Hello, I am a beginner to programming and I really want this shooting code in my game but I don’t know how to put this code so that my character in my game shoots these bullets please help: //Objects Player player = new…

---

## [Load sketch.js dynamically](https://discourse.processing.org/t/load-sketch-js-dynamically/5354)

<div class="topic-metadata">

**Author:** [@edufissure](https://discourse.processing.org/u/edufissure)\
**Replies:** 0\
**Last updated:** [November 8, 2018, 8:00pm UTC](https://discourse.processing.org/t/load-sketch-js-dynamically/5354 "2018-11-08T20:00:09Z")

</div>

Hello im a newbie here in p5.js and i need some help: Im trying to launch sketch.js when i click on start game… but i cant get it… This is my code: \<!DOCTYPE html\> \<html lang="en"\> \<head\> \<meta charset="UTF-8"\> …

---

## [G4P can´t continue with saved work](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267)

<div class="topic-metadata">

**Author:** [@Tomas](https://discourse.processing.org/u/Tomas)\
**Replies:** 16\
**Last updated:** [November 8, 2018, 6:12pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267 "2018-11-08T18:12:32Z")

</div>

Hello, I created a GUI with G4P tool, I saved it and after I opened it again I had the code in the GUI tab, but when I opened the G4P tool it overwrited the GUI tab to the default/blank template. How can I run the tool w…

---

## [Tiny Massive Open Call](https://discourse.processing.org/t/tiny-massive-open-call/5346)

<div class="topic-metadata">

**Author:** [@jonasjohansson](https://discourse.processing.org/u/jonasjohansson)\
**Replies:** 0\
**Last updated:** [November 8, 2018, 12:23pm UTC](https://discourse.processing.org/t/tiny-massive-open-call/5346 "2018-11-08T12:23:51Z")

</div>

OPEN CALL FOR PROCESSING ARTISTS For the very first edition of Tiny Massive you are invited to illuminate Harpa concert hall during Reykjavik Winter Lights Festival. We are looking for work that cultivates a meaningful …

---

## [Best way to do this: tint(C, M, Y, K)?](https://discourse.processing.org/t/best-way-to-do-this-tint-c-m-y-k/5317)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 10\
**Last updated:** [November 8, 2018, 2:13pm UTC](https://discourse.processing.org/t/best-way-to-do-this-tint-c-m-y-k/5317 "2018-11-08T14:13:14Z")

</div>

Hello, I would like to be able to manipulate the CMYK channels of an image in Processing. (I realize that on a monitor the colors of an image are generated by RGB light, but I want to mimic the effects of the printing p…

---

## [Editing ketai library](https://discourse.processing.org/t/editing-ketai-library/5342)

<div class="topic-metadata">

**Author:** [@gonadgranny](https://discourse.processing.org/u/gonadgranny)\
**Replies:** 7\
**Last updated:** [November 8, 2018, 1:15pm UTC](https://discourse.processing.org/t/editing-ketai-library/5342 "2018-11-08T13:15:25Z")

</div>

I have been using the Ketai library and in particular the motionEvents. they work fine but every time i touch the screen i get “motionEvent called inside kgesture KGesture got a MotionEvent!” printed to the terminal. th…

---

## [Audio (amplitude) analysis](https://discourse.processing.org/t/audio-amplitude-analysis/5320)

<div class="topic-metadata">

**Author:** [@IdoPlumes](https://discourse.processing.org/u/IdoPlumes)\
**Replies:** 2\
**Last updated:** [November 8, 2018, 11:14am UTC](https://discourse.processing.org/t/audio-amplitude-analysis/5320 "2018-11-08T11:14:21Z")

</div>

Hi everyone :slight\_smile: So i am currently at the stage of having audio load and play when i run the code in my sketch, although i would like to then use the amplitude data to manipulate the graphics. However all the…

---

## [A run away behavior](https://discourse.processing.org/t/a-run-away-behavior/5253)

<div class="topic-metadata">

**Author:** [@vincentstrebelle](https://discourse.processing.org/u/vincentstrebelle)\
**Replies:** 19\
**Last updated:** [November 8, 2018, 10:25am UTC](https://discourse.processing.org/t/a-run-away-behavior/5253 "2018-11-08T10:25:15Z")

</div>

hi everyone, i trie to make an run away behavior for my creature in my ecosystem. the situation is, if a predator (my mouse for now) come too close of a creature, the creature move away. i was wondering if i can use my…

---

## [The request status was: 0 ()](https://discourse.processing.org/t/the-request-status-was-0/5295)

<div class="topic-metadata">

**Author:** [@bitome](https://discourse.processing.org/u/bitome)\
**Replies:** 2\
**Last updated:** [November 8, 2018, 6:00am UTC](https://discourse.processing.org/t/the-request-status-was-0/5295 "2018-11-08T06:00:26Z")

</div>

hi, using a sound example file from the p5 website I get this error when i try to run it on my computer, it worked yesterday but its stuck on loading now, even though i’m using the same code and running it through bracke…

---

## [If you are using the g4p button, can not change the cursor?](https://discourse.processing.org/t/if-you-are-using-the-g4p-button-can-not-change-the-cursor/5080)

<div class="topic-metadata">

**Author:** [@seo](https://discourse.processing.org/u/seo)\
**Replies:** 3\
**Last updated:** [November 8, 2018, 4:15am UTC](https://discourse.processing.org/t/if-you-are-using-the-g4p-button-can-not-change-the-cursor/5080 "2018-11-08T04:15:43Z")

</div>

If you are using the g4p button, can not change the cursor? noCursor, coursor (HAND) … etc

---

## [How to use processing?](https://discourse.processing.org/t/how-to-use-processing/5340)

<div class="topic-metadata">

**Author:** [@Null](https://discourse.processing.org/u/Null)\
**Replies:** 1\
**Last updated:** [November 8, 2018, 3:50am UTC](https://discourse.processing.org/t/how-to-use-processing/5340 "2018-11-08T03:50:01Z")

</div>

So i made a program for my friends to use and other people, but i found out that you need processing to use the program. But is there a way that i could make it so they dont need to download processing to use the program…

---

## [Gentle jiggle with sine wave](https://discourse.processing.org/t/gentle-jiggle-with-sine-wave/5291)

<div class="topic-metadata">

**Author:** [@yangs](https://discourse.processing.org/u/yangs)\
**Replies:** 5\
**Last updated:** [November 7, 2018, 11:15pm UTC](https://discourse.processing.org/t/gentle-jiggle-with-sine-wave/5291 "2018-11-07T23:15:42Z")

</div>

Hi all! I’m hoping someone could point me in the right direction. I’m attempting to create a function that allows the user to draw lines, but the lines will gently wiggle, like if they are being blown in the wind. For th…

---

## [textFont/text bugs of Processing 3.4](https://discourse.processing.org/t/textfont-text-bugs-of-processing-3-4/5122)

<div class="topic-metadata">

**Author:** [@zizhenc](https://discourse.processing.org/u/zizhenc)\
**Replies:** 4\
**Last updated:** [November 7, 2018, 10:13pm UTC](https://discourse.processing.org/t/textfont-text-bugs-of-processing-3-4/5122 "2018-11-07T22:13:24Z")

</div>

I believe I found a bug in Processing 3.4. The textFont will mess transparency in P3D render mode. I tested the following code in former Processing versions 3.37 and before, all works fine, just the 3.4 version has prob…

---

## [MIDI with p5.js](https://discourse.processing.org/t/midi-with-p5-js/5329)

<div class="topic-metadata">

**Author:** [@haschdl](https://discourse.processing.org/u/haschdl)\
**Replies:** 0\
**Last updated:** [November 7, 2018, 7:13pm UTC](https://discourse.processing.org/t/midi-with-p5-js/5329 "2018-11-07T19:13:26Z")

</div>

Hello! I’ve been experimenting in porting the Java library for the Novation Launch Control and LaunchPad into Javascript, and I have had positive results! You can check the code in Github and if you have the Novation …

---

## [Drawing that follows the movement of a QR code in front of the webcam](https://discourse.processing.org/t/drawing-that-follows-the-movement-of-a-qr-code-in-front-of-the-webcam/5281)

<div class="topic-metadata">

**Author:** [@MG001](https://discourse.processing.org/u/MG001)\
**Replies:** 1\
**Last updated:** [November 7, 2018, 5:17pm UTC](https://discourse.processing.org/t/drawing-that-follows-the-movement-of-a-qr-code-in-front-of-the-webcam/5281 "2018-11-07T17:17:12Z")

</div>

Hello, I want to create a p5.js sketch that makes it possible to draw via the movement of a QR code (or with something like that) in front of the webcam. For example I saw this: https://kylemcdonald.github.io/cv-examp…

---

## [Midibus in a seperate thread - Feedback loop detected](https://discourse.processing.org/t/midibus-in-a-seperate-thread-feedback-loop-detected/5126)

<div class="topic-metadata">

**Author:** [@fschober](https://discourse.processing.org/u/fschober)\
**Replies:** 4\
**Last updated:** [November 7, 2018, 4:40pm UTC](https://discourse.processing.org/t/midibus-in-a-seperate-thread-feedback-loop-detected/5126 "2018-11-07T16:40:16Z")

</div>

Dear forum members! I am just writing a patch to sonficate solar wind data i am rexeiving out of a txt file from a server. I have managed to get the data parsed and send it to an external program via midibus. Now i go…

---

## [Timebonus doesn't reset](https://discourse.processing.org/t/timebonus-doesnt-reset/5319)

<div class="topic-metadata">

**Author:** [@kinglucas](https://discourse.processing.org/u/kinglucas)\
**Replies:** 19\
**Last updated:** [November 7, 2018, 4:17pm UTC](https://discourse.processing.org/t/timebonus-doesnt-reset/5319 "2018-11-07T16:17:58Z")

</div>

The time bonus doesn’t reset when I press ‘r’ to restart game how do I make sure that the timeBonus also resets with the points and amount of balls. int screensizex, screensizey; PImage img; int mode = 0; int INTRO = 0;…

---

## [Draw image from particular corner](https://discourse.processing.org/t/draw-image-from-particular-corner/5322)

<div class="topic-metadata">

**Author:** [@KeirMeDear](https://discourse.processing.org/u/KeirMeDear)\
**Replies:** 5\
**Last updated:** [November 7, 2018, 4:10pm UTC](https://discourse.processing.org/t/draw-image-from-particular-corner/5322 "2018-11-07T16:10:19Z")

</div>

So I’m aware you can position images in processing using different image modes. I was wondering how using imageMode(CORNERS) I would be able to position images from the bottom left corner. So if the image was drawn this …

---

## [How to increase sive wave with keypress rather than moving the mouse](https://discourse.processing.org/t/how-to-increase-sive-wave-with-keypress-rather-than-moving-the-mouse/5299)

<div class="topic-metadata">

**Author:** [@admbdr](https://discourse.processing.org/u/admbdr)\
**Replies:** 6\
**Last updated:** [November 7, 2018, 12:52pm UTC](https://discourse.processing.org/t/how-to-increase-sive-wave-with-keypress-rather-than-moving-the-mouse/5299 "2018-11-07T12:52:38Z")

</div>

import ddf.minim.; import ddf.minim.ugens.; Minim minim; AudioOutput out; Oscil wave; void setup() { size(512, 200, P3D); minim = new Minim(this); // use the getLineOut method of the Minim object to …

---

## [Writing to multiple serial ports without delay](https://discourse.processing.org/t/writing-to-multiple-serial-ports-without-delay/4679)

<div class="topic-metadata">

**Author:** [@jacobrejin](https://discourse.processing.org/u/jacobrejin)\
**Replies:** 19\
**Last updated:** [November 7, 2018, 9:14am UTC](https://discourse.processing.org/t/writing-to-multiple-serial-ports-without-delay/4679 "2018-11-07T09:14:58Z")

</div>

I am doing a large scale LED project using processing and STM32. processing converts the video data into led pixel data and sends them to STM32 controllers. each controller controls about 1200 LEDs. each controller is…

---

## [Random functions from processing API for genetic algorithm?](https://discourse.processing.org/t/random-functions-from-processing-api-for-genetic-algorithm/5294)

<div class="topic-metadata">

**Author:** [@Hankg](https://discourse.processing.org/u/Hankg)\
**Replies:** 9\
**Last updated:** [November 7, 2018, 6:58am UTC](https://discourse.processing.org/t/random-functions-from-processing-api-for-genetic-algorithm/5294 "2018-11-07T06:58:13Z")

</div>

Hi! I want to build a program in which a class is constructed and then randomly adds, to itself, one of the various functions available in processing’s API. The result would be drawn to the screen (if in fact it calls a …

---

## [Developing a coding to move on a robot](https://discourse.processing.org/t/developing-a-coding-to-move-on-a-robot/5272)

<div class="topic-metadata">

**Author:** [@SteveTombs92](https://discourse.processing.org/u/SteveTombs92)\
**Replies:** 3\
**Last updated:** [November 7, 2018, 3:08am UTC](https://discourse.processing.org/t/developing-a-coding-to-move-on-a-robot/5272 "2018-11-07T03:08:03Z")

</div>

Hello Processing community. I am learning Processing by myself and I found some interesting exercises to develop coding, for a robot in this case. I have created the code. However, I am still do not know how I can trans…

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

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