# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=390

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

**Page:** 391

---

## [Program in a Program?](https://discourse.processing.org/t/program-in-a-program/386)

<div class="topic-metadata">

**Author:** [@Repet](https://discourse.processing.org/u/Repet)\
**Replies:** 24\
**Last updated:** [May 30, 2018, 4:06pm UTC](https://discourse.processing.org/t/program-in-a-program/386 "2018-05-30T16:06:11Z")

</div>

Hello! I was wondering if it was possible to run like a processing sketch (or maybe even something more simplified) within a processing sketch. I would preferably use the Python mode but Java mode is fine too. :slight\_sm…

---

## [Make Circles Look "Fuzzy/Furry"](https://discourse.processing.org/t/make-circles-look-fuzzy-furry/498)

<div class="topic-metadata">

**Author:** [@jcw016](https://discourse.processing.org/u/jcw016)\
**Replies:** 4\
**Last updated:** [May 29, 2018, 11:22pm UTC](https://discourse.processing.org/t/make-circles-look-fuzzy-furry/498 "2018-05-29T23:22:16Z")

</div>

Hello! First I want to thank everybody who helped me on my last question, I really appreciated it! I’m still working on my class project and I’m stuck at where it asks me to make the circles look “fuzzy” or “furry” like…

---

## [Setting transparency with pixels\[\]](https://discourse.processing.org/t/setting-transparency-with-pixels/501)

<div class="topic-metadata">

**Author:** [@Skranker](https://discourse.processing.org/u/Skranker)\
**Replies:** 19\
**Last updated:** [May 30, 2018, 1:47pm UTC](https://discourse.processing.org/t/setting-transparency-with-pixels/501 "2018-05-30T13:47:51Z")

</div>

Hello, i have a sketch where i’m trying to set a certain color of an image to zero transparency color(0,0). It works in the first part of the sketch but for some reason doesn’t work in the second part. See image for r…

---

## [GSVideo library: error "can't load library libpixman"](https://discourse.processing.org/t/gsvideo-library-error-cant-load-library-libpixman/524)

<div class="topic-metadata">

**Author:** [@Zhuoge](https://discourse.processing.org/u/Zhuoge)\
**Replies:** 1\
**Last updated:** [May 30, 2018, 8:57am UTC](https://discourse.processing.org/t/gsvideo-library-error-cant-load-library-libpixman/524 "2018-05-30T08:57:29Z")

</div>

I downloaded a GSVideo library. I run all the examples but it tells me Can’t load library libpixman?? I try this files on the other computers,some works.I really need help,thanks!

---

## [Processing VS p5.js VS android mode](https://discourse.processing.org/t/processing-vs-p5-js-vs-android-mode/491)

<div class="topic-metadata">

**Author:** [@Sarrio](https://discourse.processing.org/u/Sarrio)\
**Replies:** 2\
**Last updated:** [May 30, 2018, 5:43am UTC](https://discourse.processing.org/t/processing-vs-p5-js-vs-android-mode/491 "2018-05-30T05:43:33Z")

</div>

I’m a computer science student and I like to create things using code. I was thinking about developing an app for both android and PC. Its purpose is to communicate with a remote raspberry through the private network of …

---

## [What am i missing? (createImage)](https://discourse.processing.org/t/what-am-i-missing-createimage/470)

<div class="topic-metadata">

**Author:** [@Skranker](https://discourse.processing.org/u/Skranker)\
**Replies:** 4\
**Last updated:** [May 30, 2018, 5:33am UTC](https://discourse.processing.org/t/what-am-i-missing-createimage/470 "2018-05-30T05:33:40Z")

</div>

Hey, i’m simply trying to create an image and set every pixel to white. What am i doing wrong here? PImage img; void setup() { img = createImage(500, 500, RGB); size(1920, 1080); } void draw() { img.loadPixels();…

---

## [Help needed in creating heatmap](https://discourse.processing.org/t/help-needed-in-creating-heatmap/500)

<div class="topic-metadata">

**Author:** [@ranaaman29](https://discourse.processing.org/u/ranaaman29)\
**Replies:** 1\
**Last updated:** [May 30, 2018, 5:27am UTC](https://discourse.processing.org/t/help-needed-in-creating-heatmap/500 "2018-05-30T05:27:57Z")

</div>

Hi there I am new to Processing. I am trying to create a heat map using arduino and processing via serial communication. Arduino sending data in csv format Xaxis, Yaxis, Sensor. Xaxis, Yaxis, Sensor. Xaxis, Yaxis, S…

---

## [Can I control AutoCad2011 commands from processing?](https://discourse.processing.org/t/can-i-control-autocad2011-commands-from-processing/516)

<div class="topic-metadata">

**Author:** [@basher24](https://discourse.processing.org/u/basher24)\
**Replies:** 1\
**Last updated:** [May 29, 2018, 11:45pm UTC](https://discourse.processing.org/t/can-i-control-autocad2011-commands-from-processing/516 "2018-05-29T23:45:52Z")

</div>

Or relationship between Autolisp language and processing ? thanx Basher

---

## [Coding problems](https://discourse.processing.org/t/coding-problems/496)

<div class="topic-metadata">

**Author:** [@Mikey](https://discourse.processing.org/u/Mikey)\
**Replies:** 5\
**Last updated:** [May 29, 2018, 6:31pm UTC](https://discourse.processing.org/t/coding-problems/496 "2018-05-29T18:31:32Z")

</div>

ive been at this for a little bit now and im stuck and i dont know what to do. there is an error but idk where. import processing.serial.\*; Serial myPort; PImage logo; int bgcolor=0; void setup(){ size(1,1); surface.…

---

## [Using arrays inside for loops](https://discourse.processing.org/t/using-arrays-inside-for-loops/481)

<div class="topic-metadata">

**Author:** [@Focksbot](https://discourse.processing.org/u/Focksbot)\
**Replies:** 4\
**Last updated:** [May 29, 2018, 5:22pm UTC](https://discourse.processing.org/t/using-arrays-inside-for-loops/481 "2018-05-29T17:22:31Z")

</div>

Pretty simple question, I hope. Why does this first piece of code draw three lovely mountains, while the second does nothing? First bit: void setup(){ size(800,420); //size of mountains } int array\[0\] = 0; int array…

---

## [How to use heat map colors to filter a person's silhouette?](https://discourse.processing.org/t/how-to-use-heat-map-colors-to-filter-a-persons-silhouette/304)

<div class="topic-metadata">

**Author:** [@clab](https://discourse.processing.org/u/clab)\
**Replies:** 17\
**Last updated:** [May 29, 2018, 3:50pm UTC](https://discourse.processing.org/t/how-to-use-heat-map-colors-to-filter-a-persons-silhouette/304 "2018-05-29T15:50:22Z")

</div>

Hi all I am doing a project with a friend and we wanted to filter the heatmap colors to a person’s silhouette when they walk in front of the kinect camera. I am able to enable users, but from there I am not sure what to …

---

## [Loop not running](https://discourse.processing.org/t/loop-not-running/489)

<div class="topic-metadata">

**Author:** [@ag123](https://discourse.processing.org/u/ag123)\
**Replies:** 4\
**Last updated:** [May 29, 2018, 2:50pm UTC](https://discourse.processing.org/t/loop-not-running/489 "2018-05-29T14:50:31Z")

</div>

hi i’m starting out with processing currently using processing 3.3.3 core. i’m using processing core jar library and doing so in eclipse as described here: https://processing.org/tutorials/eclipse/ my codes is as foll…

---

## [What means RawY\[RawY.length-1\]](https://discourse.processing.org/t/what-means-rawy-rawy-length-1/341)

<div class="topic-metadata">

**Author:** [@Tom](https://discourse.processing.org/u/Tom)\
**Replies:** 5\
**Last updated:** [May 29, 2018, 9:13am UTC](https://discourse.processing.org/t/what-means-rawy-rawy-length-1/341 "2018-05-29T09:13:11Z")

</div>

Dear Processing specialists, I’m working with this project: https://github.com/WorldFamousElectronics/PulseSensor\_Amped\_Processing\_Visualizer I’d like to change the looks of the Processing window a bit: I’d like to red…

---

## [Iterating a variable within a recursive drawing](https://discourse.processing.org/t/iterating-a-variable-within-a-recursive-drawing/321)

<div class="topic-metadata">

**Author:** [@Focksbot](https://discourse.processing.org/u/Focksbot)\
**Replies:** 2\
**Last updated:** [May 29, 2018, 12:42am UTC](https://discourse.processing.org/t/iterating-a-variable-within-a-recursive-drawing/321 "2018-05-29T00:42:35Z")

</div>

Hi! I’m playing around with the code for Casey Reas’ Repeat: Recursion Tree ( http://formandcode.com/code-examples/repeat-recursive-tree ). I’d like to change it so that instead of there being a 2% chance of it creating…

---

## [Movie Library, plus Kinect/El Capitan: movie playback issues, Kinect depth data](https://discourse.processing.org/t/movie-library-plus-kinect-el-capitan-movie-playback-issues-kinect-depth-data/319)

<div class="topic-metadata">

**Author:** [@moedigs](https://discourse.processing.org/u/moedigs)\
**Replies:** 1\
**Last updated:** [May 28, 2018, 10:16pm UTC](https://discourse.processing.org/t/movie-library-plus-kinect-el-capitan-movie-playback-issues-kinect-depth-data/319 "2018-05-28T22:16:56Z")

</div>

Hi there, Running a sketch with a movie and floating images on top of it. The movie is running super slowly-- maybe half its intended frame rate. Hoping to incorporate Kinect for the position of the images, currently i…

---

## [Calendar - how can i get the first day of month by processing?](https://discourse.processing.org/t/calendar-how-can-i-get-the-first-day-of-month-by-processing/468)

<div class="topic-metadata">

**Author:** [@basher24](https://discourse.processing.org/u/basher24)\
**Replies:** 3\
**Last updated:** [May 28, 2018, 10:05pm UTC](https://discourse.processing.org/t/calendar-how-can-i-get-the-first-day-of-month-by-processing/468 "2018-05-28T22:05:05Z")

</div>

how can i get the first day of month by processing ? Sunday or Monday Or … Or Saturday thanx Basher

---

## [Why is there an array out of bounds here?](https://discourse.processing.org/t/why-is-there-an-array-out-of-bounds-here/476)

<div class="topic-metadata">

**Author:** [@frankbaugh](https://discourse.processing.org/u/frankbaugh)\
**Replies:** 4\
**Last updated:** [May 28, 2018, 9:23pm UTC](https://discourse.processing.org/t/why-is-there-an-array-out-of-bounds-here/476 "2018-05-28T21:23:27Z")

</div>

mover\[\] james; attractor ben; boolean start = false; float\[\]\[\]\[\] orbits = new float\[5\]\[20000\]\[1\]; int njames = 5; int orbitcount = 0; float fconstant = 0.005; void setup() { size(800, 800); james = new mover\[njames\]; …

---

## [Getting started with Shaders](https://discourse.processing.org/t/getting-started-with-shaders/296)

<div class="topic-metadata">

**Author:** [@justin\_lincoln](https://discourse.processing.org/u/justin_lincoln)\
**Replies:** 12\
**Last updated:** [May 28, 2018, 3:04pm UTC](https://discourse.processing.org/t/getting-started-with-shaders/296 "2018-05-28T15:04:29Z")

</div>

Hi folks. I’ve enjoyed and recommend https://thebookofshaders.com/. I find the subject fascinating and have successfully run a few other people’s shaders. However I have an embarrassingly basic question. When I try to ru…

---

## [G4P Library - change button color after adding to panel](https://discourse.processing.org/t/g4p-library-change-button-color-after-adding-to-panel/369)

<div class="topic-metadata">

**Author:** [@erichwe](https://discourse.processing.org/u/erichwe)\
**Replies:** 2\
**Last updated:** [May 28, 2018, 5:49am UTC](https://discourse.processing.org/t/g4p-library-change-button-color-after-adding-to-panel/369 "2018-05-28T05:49:26Z")

</div>

Hi there! I created a GButton of the G4P library and added this button successfully to my panel - it has now the color of the current colorscheme. Is there a way to change to color of the button AFTER adding it to the p…

---

## [School project problem (arduino)](https://discourse.processing.org/t/school-project-problem-arduino/433)

<div class="topic-metadata">

**Author:** [@Ada](https://discourse.processing.org/u/Ada)\
**Replies:** 5\
**Last updated:** [May 28, 2018, 5:25am UTC](https://discourse.processing.org/t/school-project-problem-arduino/433 "2018-05-28T05:25:24Z")

</div>

hi guys, i’m trying to make a school project with arduino and processing but I have a problem. I’m trying to make a controller with 4 buttons that send the digital signal via serial to a processing game that I made, i s…

---

## [Problem with reading a .csv file](https://discourse.processing.org/t/problem-with-reading-a-csv-file/312)

<div class="topic-metadata">

**Author:** [@azbi](https://discourse.processing.org/u/azbi)\
**Replies:** 21\
**Last updated:** [May 28, 2018, 1:41am UTC](https://discourse.processing.org/t/problem-with-reading-a-csv-file/312 "2018-05-28T01:41:13Z")

</div>

Hello, I have a problem in my program when I decide to read a .csv file, it appears line by line but each word is separated by a semicolon (I have trouble explaining this problem but I think that you understand what is h…

---

## [QueasyCam Problem](https://discourse.processing.org/t/queasycam-problem/447)

<div class="topic-metadata">

**Author:** [@VansiusProductions](https://discourse.processing.org/u/VansiusProductions)\
**Replies:** 2\
**Last updated:** [May 27, 2018, 11:42pm UTC](https://discourse.processing.org/t/queasycam-problem/447 "2018-05-27T23:42:08Z")

</div>

Hi, I’m currently using the QueasyCam library. When I move around the scene, the box will eventually disappear. How do i fix this? Gif to show what is happening I used the sample code provided Thanks

---

## [Generate image signature](https://discourse.processing.org/t/generate-image-signature/424)

<div class="topic-metadata">

**Author:** [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Replies:** 7\
**Last updated:** [May 27, 2018, 11:33pm UTC](https://discourse.processing.org/t/generate-image-signature/424 "2018-05-27T23:33:40Z")

</div>

Hi Has anybody implemented before, or know of any resources available, to generate a unique image signature. The signature would be based on image content (pixels). This is my case. I have a folder with a bunch of image…

---

## [Multi channel audio](https://discourse.processing.org/t/multi-channel-audio/443)

<div class="topic-metadata">

**Author:** [@crazylogic](https://discourse.processing.org/u/crazylogic)\
**Replies:** 3\
**Last updated:** [May 27, 2018, 11:05pm UTC](https://discourse.processing.org/t/multi-channel-audio/443 "2018-05-27T23:05:23Z")

</div>

Hi All, I’m trying to build a sketch that shows me levels of audio coming into a system. I want to be able to do more than 2 channels so i know that i need more than the processing.sound library can provide currently an…

---

## [How to save programs made by Processing for Android](https://discourse.processing.org/t/how-to-save-programs-made-by-processing-for-android/429)

<div class="topic-metadata">

**Author:** [@sparkling](https://discourse.processing.org/u/sparkling)\
**Replies:** 1\
**Last updated:** [May 27, 2018, 5:07pm UTC](https://discourse.processing.org/t/how-to-save-programs-made-by-processing-for-android/429 "2018-05-27T17:07:21Z")

</div>

Our team from South Korea made game with Processing for Android. However, We don’t no how to save game record when we play game. Please tell us how to make ability to save games in program made by Processing for Androi…

---

## [What do you use as a wait signal for a lengthy operation?](https://discourse.processing.org/t/what-do-you-use-as-a-wait-signal-for-a-lengthy-operation/440)

<div class="topic-metadata">

**Author:** [@0RBFjW1gIPF1BjNz](https://discourse.processing.org/u/0RBFjW1gIPF1BjNz)\
**Replies:** 4\
**Last updated:** [May 27, 2018, 4:00pm UTC](https://discourse.processing.org/t/what-do-you-use-as-a-wait-signal-for-a-lengthy-operation/440 "2018-05-27T16:00:48Z")

</div>

I have a sketch that produces different results when I move the cursor (in void draw). It also has a function (in void keyPressed) to save the current result as a gigantic image whenever I press a key. This leads to the …

---

## [ArrayList Processing](https://discourse.processing.org/t/arraylist-processing/410)

<div class="topic-metadata">

**Author:** [@Hedre](https://discourse.processing.org/u/Hedre)\
**Replies:** 6\
**Last updated:** [May 27, 2018, 11:14am UTC](https://discourse.processing.org/t/arraylist-processing/410 "2018-05-27T11:14:33Z")

</div>

Hi Firstly, I’m french, so my english is not so good :slight\_smile: and I have trouble using the forum I programmed a kind of Space Invaders, it’s a project for the school. I must have finished him for monday but I hav…

---

## [Struggling with code - New programmer](https://discourse.processing.org/t/struggling-with-code-new-programmer/150)

<div class="topic-metadata">

**Author:** [@sabz20005](https://discourse.processing.org/u/sabz20005)\
**Replies:** 10\
**Last updated:** [May 27, 2018, 6:09am UTC](https://discourse.processing.org/t/struggling-with-code-new-programmer/150 "2018-05-27T06:09:41Z")

</div>

Hey guys, this is my first post so I hope I hope I’m doing this correctly. I am trying to create a code where each time an object hits the bottom of the screen a new circle is on the screen, starting in the top left scre…

---

## [Multiple textfields using controlP5 library and how to remove them](https://discourse.processing.org/t/multiple-textfields-using-controlp5-library-and-how-to-remove-them/415)

<div class="topic-metadata">

**Author:** [@johnakospapa](https://discourse.processing.org/u/johnakospapa)\
**Replies:** 2\
**Last updated:** [May 27, 2018, 4:04am UTC](https://discourse.processing.org/t/multiple-textfields-using-controlp5-library-and-how-to-remove-them/415 "2018-05-27T04:04:23Z")

</div>

In the code I wrote here I am giving the number of textfields(max 18) as an input and when I press the button generate the number of textfields appear. The problem is that when I retype a number on the input textfield I …

---

## [Assign multiple random colors to Kinect users on screen](https://discourse.processing.org/t/assign-multiple-random-colors-to-kinect-users-on-screen/422)

<div class="topic-metadata">

**Author:** [@clab](https://discourse.processing.org/u/clab)\
**Replies:** 4\
**Last updated:** [May 27, 2018, 2:30am UTC](https://discourse.processing.org/t/assign-multiple-random-colors-to-kinect-users-on-screen/422 "2018-05-27T02:30:00Z")

</div>

This is a school project and I am having trouble. I want to add more than one color, for now, I am only able to add pink color(255, 0, 140); when a person is n front of the Kinect. I would want random colors to appear ea…

[Previous page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=389)

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=391)
