# Latest

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

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

**Page:** 620

---

## [How do I create an executable including various files?](https://discourse.processing.org/t/how-do-i-create-an-executable-including-various-files/567)

<div class="topic-metadata">

**Author:** [@CrispyCabot](https://discourse.processing.org/u/CrispyCabot)\
**Replies:** 6\
**Last updated:** [June 1, 2018, 12:57pm UTC](https://discourse.processing.org/t/how-do-i-create-an-executable-including-various-files/567 "2018-06-01T12:57:48Z")

</div>

Yes I know to do File \> Export Application but it just doesn’t work when I run the executable. I am guessing it is probably a problem with one of the files I am using. This includes a .ttf font and a .txt file. I also us…

---

## [Alternative of Network library for P5.js](https://discourse.processing.org/t/alternative-of-network-library-for-p5-js/595)

<div class="topic-metadata">

**Author:** [@totovr76](https://discourse.processing.org/u/totovr76)\
**Replies:** 1\
**Last updated:** [June 1, 2018, 11:56am UTC](https://discourse.processing.org/t/alternative-of-network-library-for-p5-js/595 "2018-06-01T11:56:51Z")

</div>

Hello! I’m writing an sketch in Processing using Network library, I would like to know if exist any alternative of this library using p5.js to display the data acquired by a server.

---

## [Shapes 3D Library: How can i get the color of a shape?](https://discourse.processing.org/t/shapes-3d-library-how-can-i-get-the-color-of-a-shape/590)

<div class="topic-metadata">

**Author:** [@\_ther](https://discourse.processing.org/u/_ther)\
**Replies:** 0\
**Last updated:** [June 1, 2018, 5:56am UTC](https://discourse.processing.org/t/shapes-3d-library-how-can-i-get-the-color-of-a-shape/590 "2018-06-01T05:56:35Z")

</div>

Box test = new Box(this, 300); test.stroke(255); test.drawMode(Shape3D.SOLID); test.draw(); // this is where I'm stuck color c = test.getColor();

---

## [Problem with using functions on a string array of videos](https://discourse.processing.org/t/problem-with-using-functions-on-a-string-array-of-videos/561)

<div class="topic-metadata">

**Author:** [@inseinse](https://discourse.processing.org/u/inseinse)\
**Replies:** 1\
**Last updated:** [June 1, 2018, 5:50am UTC](https://discourse.processing.org/t/problem-with-using-functions-on-a-string-array-of-videos/561 "2018-06-01T05:50:37Z")

</div>

Hello! I guess my problem isn’t so hard to solve, but I really need some help with this. I have an array of videos and I’m playing a random video everytime a key is pressed. Now with pressing another key I want to use …

---

## [How to check if a file is exist in data folder by code?](https://discourse.processing.org/t/how-to-check-if-a-file-is-exist-in-data-folder-by-code/589)

<div class="topic-metadata">

**Author:** [@newton45](https://discourse.processing.org/u/newton45)\
**Replies:** 6\
**Last updated:** [June 1, 2018, 6:45am UTC](https://discourse.processing.org/t/how-to-check-if-a-file-is-exist-in-data-folder-by-code/589 "2018-06-01T06:45:51Z")

</div>

I have to check if a file is exist in data folder while the code is running. How to achieve that function?

---

## [Cervolab - multilevel maze game p5.play.js](https://discourse.processing.org/t/cervolab-multilevel-maze-game-p5-play-js/529)

<div class="topic-metadata">

**Author:** [@codnpix](https://discourse.processing.org/u/codnpix)\
**Replies:** 19\
**Last updated:** [June 1, 2018, 3:05am UTC](https://discourse.processing.org/t/cervolab-multilevel-maze-game-p5-play-js/529 "2018-06-01T03:05:57Z")

</div>

Hello, I’m learning to code some html/javascript to create little web-games. So I just made my first steps creating this little game in javascript using p5.play.js. It can be runned on your browser following this link : …

---

## [Centering circles on the screen](https://discourse.processing.org/t/centering-circles-on-the-screen/557)

<div class="topic-metadata">

**Author:** [@Code\_Hunter](https://discourse.processing.org/u/Code_Hunter)\
**Replies:** 10\
**Last updated:** [June 1, 2018, 12:09am UTC](https://discourse.processing.org/t/centering-circles-on-the-screen/557 "2018-06-01T00:09:10Z")

</div>

I am new to this processing language, and java, but not new to programming. I am trying to convert a program I made in another language to processing, but it isn’t working properly. It is supposed to center the circles…

---

## [Making a ball move in the direction of the mouse](https://discourse.processing.org/t/making-a-ball-move-in-the-direction-of-the-mouse/573)

<div class="topic-metadata">

**Author:** [@orin635](https://discourse.processing.org/u/orin635)\
**Replies:** 3\
**Last updated:** [May 31, 2018, 10:13pm UTC](https://discourse.processing.org/t/making-a-ball-move-in-the-direction-of-the-mouse/573 "2018-05-31T22:13:55Z")

</div>

Hello guys! I’ve been looking at this forum for multiple days now and it has been so helpful but I don’t know if I’m not looking up the right thing but I just can’t find out how to do this. So I’m making a basic game t…

---

## [Controlling CSS values with mouse in p5.js](https://discourse.processing.org/t/controlling-css-values-with-mouse-in-p5-js/156)

<div class="topic-metadata">

**Author:** [@AndreasRef](https://discourse.processing.org/u/AndreasRef)\
**Replies:** 7\
**Last updated:** [May 31, 2018, 7:50pm UTC](https://discourse.processing.org/t/controlling-css-values-with-mouse-in-p5-js/156 "2018-05-31T19:50:08Z")

</div>

Hi I have a question about controlling css values with p5.js - for instance setting them according to some interactive input like mouse position. If I have a (variable) font with css settings I can set using css like …

---

## [How to display a picture immediately after taking it on a DSLR](https://discourse.processing.org/t/how-to-display-a-picture-immediately-after-taking-it-on-a-dslr/563)

<div class="topic-metadata">

**Author:** [@Truqar](https://discourse.processing.org/u/Truqar)\
**Replies:** 4\
**Last updated:** [May 31, 2018, 3:45pm UTC](https://discourse.processing.org/t/how-to-display-a-picture-immediately-after-taking-it-on-a-dslr/563 "2018-05-31T15:45:22Z")

</div>

Hello people, I am working on my final project and I can’t figure something out… I have already figured out how to code and connect a button to trigger the shutter of the camera. That is done by connecting the Arduino …

---

## [Display OpenCV face detection controlled by MIDI](https://discourse.processing.org/t/display-opencv-face-detection-controlled-by-midi/505)

<div class="topic-metadata">

**Author:** [@snaphaan](https://discourse.processing.org/u/snaphaan)\
**Replies:** 7\
**Last updated:** [May 31, 2018, 3:14pm UTC](https://discourse.processing.org/t/display-opencv-face-detection-controlled-by-midi/505 "2018-05-31T15:14:10Z")

</div>

Hello everybody, Im a artist and new to processing en coding in general. Im trying to make a code that captures a image of a face and use that to make a dynamic Image composed of the faces that watches it. it uses Ope…

---

## [Writing permissions at runtime (Android Mode 4.0.1)](https://discourse.processing.org/t/writing-permissions-at-runtime-android-mode-4-0-1/549)

<div class="topic-metadata">

**Author:** [@rorsch](https://discourse.processing.org/u/rorsch)\
**Replies:** 1\
**Last updated:** [May 31, 2018, 8:50am UTC](https://discourse.processing.org/t/writing-permissions-at-runtime-android-mode-4-0-1/549 "2018-05-31T08:50:55Z")

</div>

I’m using the code below to ask for writing permissions on my Processing/Android sketch: The problem is that ActivityCompat is not recognised (nor import android.support.v4.app.ActivityCompat). I found a support-v4-2…

---

## [Appearing and Disappearing Text](https://discourse.processing.org/t/appearing-and-disappearing-text/509)

<div class="topic-metadata">

**Author:** [@I7rag0n](https://discourse.processing.org/u/I7rag0n)\
**Replies:** 4\
**Last updated:** [May 31, 2018, 8:44am UTC](https://discourse.processing.org/t/appearing-and-disappearing-text/509 "2018-05-31T08:44:26Z")

</div>

Hello there. I am trying to make a game that requires a couple of text to appear and disappear after a couple of seconds. I wanted it to say “Ready?” on screen for a few seconds then disappear. Then “Get set!” appears fo…

---

## [Installing JRubyArt on the PI](https://discourse.processing.org/t/installing-jrubyart-on-the-pi/526)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 2\
**Last updated:** [May 30, 2018, 6:14pm UTC](https://discourse.processing.org/t/installing-jrubyart-on-the-pi/526 "2018-05-30T18:14:57Z")

</div>

I have just created a blog article on my experience of installing JRubyArt (a ruby wrapper around vanilla processing). From my experience the simplest way to get processing running on the raspberry is to install processi…

---

## [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…

---

## [Include p5.js in Observable notebook](https://discourse.processing.org/t/include-p5-js-in-observable-notebook/458)

<div class="topic-metadata">

**Author:** [@mainul12](https://discourse.processing.org/u/mainul12)\
**Replies:** 7\
**Last updated:** [May 30, 2018, 3:52am UTC](https://discourse.processing.org/t/include-p5-js-in-observable-notebook/458 "2018-05-30T03:52:47Z")

</div>

I have recently come across Observable notebooks and I would like to know how to include the p5.js library in the notebook. I have tried the following but it throws a syntax error. p5 = require(“https://cdnjs.cloudflar…

---

## [Best way to implement a screen recording option in a web app](https://discourse.processing.org/t/best-way-to-implement-a-screen-recording-option-in-a-web-app/492)

<div class="topic-metadata">

**Author:** [@Jithin](https://discourse.processing.org/u/Jithin)\
**Replies:** 2\
**Last updated:** [May 30, 2018, 1:45am UTC](https://discourse.processing.org/t/best-way-to-implement-a-screen-recording-option-in-a-web-app/492 "2018-05-30T01:45:12Z")

</div>

I’m developing a web app in which I need to provide a feature for screen recording the webpage (possibly a div) and the audio. What is the best way to implement this?

---

## [Cannot execute Force Directed Graph](https://discourse.processing.org/t/cannot-execute-force-directed-graph/394)

<div class="topic-metadata">

**Author:** [@shan](https://discourse.processing.org/u/shan)\
**Replies:** 10\
**Last updated:** [May 30, 2018, 12:33am UTC](https://discourse.processing.org/t/cannot-execute-force-directed-graph/394 "2018-05-30T00:33:26Z")

</div>

i have make coding but cannot execute what is the issues. // # Force Directed Graph var VerletPhysics2D = toxi.physics2d.VerletPhysics2D, VerletParticle2D = toxi.physics2d.VerletParticle2D, VerletSpring2D = tox…

---

## [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

---

## [Having trouble getting P5 JS to work in repl.it](https://discourse.processing.org/t/having-trouble-getting-p5-js-to-work-in-repl-it/349)

<div class="topic-metadata">

**Author:** [@ComposerShield](https://discourse.processing.org/u/ComposerShield)\
**Replies:** 1\
**Last updated:** [May 24, 2018, 7:57pm UTC](https://discourse.processing.org/t/having-trouble-getting-p5-js-to-work-in-repl-it/349 "2018-05-24T19:57:12Z")

</div>

Hi there, I’m a newcomer to using P5 JS. I have HTML, CSS, and JS loaded up in repl.it. In the head of the HTML, I added the script src="…/p5.js" thing and the src=“path/to/p5.sound.js” thing (I can’t copy the whole thin…

---

## [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…

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

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