# Latest

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

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

**Page:** 584

---

## [Need help with PGraphics](https://discourse.processing.org/t/need-help-with-pgraphics/3678)

<div class="topic-metadata">

**Author:** [@Lore](https://discourse.processing.org/u/Lore)\
**Replies:** 2\
**Last updated:** [September 19, 2018, 8:13pm UTC](https://discourse.processing.org/t/need-help-with-pgraphics/3678 "2018-09-19T20:13:09Z")

</div>

Hello, I am fairly new to processing and I have a problem with my code. What I want the code to do is if the mouse is pressed, to draw on the surface, and if the mouse isn’t pressed, to not draw but to still having an el…

---

## [Problem with controlling Minim with Arduino + proximity sensor](https://discourse.processing.org/t/problem-with-controlling-minim-with-arduino-proximity-sensor/3559)

<div class="topic-metadata">

**Author:** [@marvast](https://discourse.processing.org/u/marvast)\
**Replies:** 3\
**Last updated:** [September 19, 2018, 7:40pm UTC](https://discourse.processing.org/t/problem-with-controlling-minim-with-arduino-proximity-sensor/3559 "2018-09-19T19:40:29Z")

</div>

Hi Forum Im very new to processing and am trying to help someone out with a project. this is based on code that i found and have tried to change to fit the needs for the project. the idea is to use a proximity sensor …

---

## [Playing Video in Android mode](https://discourse.processing.org/t/playing-video-in-android-mode/3476)

<div class="topic-metadata">

**Author:** [@philspitler](https://discourse.processing.org/u/philspitler)\
**Replies:** 15\
**Last updated:** [September 19, 2018, 6:34pm UTC](https://discourse.processing.org/t/playing-video-in-android-mode/3476 "2018-09-19T18:34:26Z")

</div>

hi, I want to play a video in Android mode, I believe there used to be a library to do this but I read that it’s no longer supported. There is a partial thread here. But it doesn’t seem to have a final solution. Are…

---

## [Save a color variable](https://discourse.processing.org/t/save-a-color-variable/3556)

<div class="topic-metadata">

**Author:** [@hugo](https://discourse.processing.org/u/hugo)\
**Replies:** 12\
**Last updated:** [September 19, 2018, 5:26pm UTC](https://discourse.processing.org/t/save-a-color-variable/3556 "2018-09-19T17:26:08Z")

</div>

hello , My question is simple, is it possible to save a color variable ? thank you.

---

## [Cutting cards in an image](https://discourse.processing.org/t/cutting-cards-in-an-image/3650)

<div class="topic-metadata">

**Author:** [@josephh](https://discourse.processing.org/u/josephh)\
**Replies:** 17\
**Last updated:** [September 19, 2018, 4:34pm UTC](https://discourse.processing.org/t/cutting-cards-in-an-image/3650 "2018-09-19T16:34:33Z")

</div>

Hi there, Currently I am selling Yu-Gi-Oh! cards on Ebay and each time, I need to scan them (8 at a time). My problem is the following : usually I trim them by hand so it’s tedious. :anguished: Then I said to me : why…

---

## [Retune Festival 2018 in Berlin ✨ Come visit!](https://discourse.processing.org/t/retune-festival-2018-in-berlin-come-visit/3671)

<div class="topic-metadata">

**Author:** [@RetuneFestival](https://discourse.processing.org/u/RetuneFestival)\
**Replies:** 0\
**Last updated:** [September 19, 2018, 2:55pm UTC](https://discourse.processing.org/t/retune-festival-2018-in-berlin-come-visit/3671 "2018-09-19T14:55:35Z")

</div>

Hi folks, we are having a festival and I thought it might be of interest for some of you The Retune Festival is a biennial event at the intersection of Art, Design, and Technology in Berlin. In its fifth edition the Fe…

---

## [Two Cameras in one Sketch](https://discourse.processing.org/t/two-cameras-in-one-sketch/3663)

<div class="topic-metadata">

**Author:** [@jorgeeduardojonas](https://discourse.processing.org/u/jorgeeduardojonas)\
**Replies:** 2\
**Last updated:** [September 19, 2018, 2:21pm UTC](https://discourse.processing.org/t/two-cameras-in-one-sketch/3663 "2018-09-19T14:21:59Z")

</div>

Hello! I’m trying to control a fade between two cameras in the same application, the following code works, however, the first camera has some jitter (the endoscope), am I missing something? One camera is a Go Pro going…

---

## [Shared PVector values in Classes](https://discourse.processing.org/t/shared-pvector-values-in-classes/3662)

<div class="topic-metadata">

**Author:** [@blosh](https://discourse.processing.org/u/blosh)\
**Replies:** 3\
**Last updated:** [September 19, 2018, 8:34am UTC](https://discourse.processing.org/t/shared-pvector-values-in-classes/3662 "2018-09-19T08:34:59Z")

</div>

I have created a new Class, “Polygon” that uses a PVector to store the position on the screen that a shape is displayed. However, whenever I update the position of one the Polygons it updates the position of all the othe…

---

## [Help building a distributed canvas](https://discourse.processing.org/t/help-building-a-distributed-canvas/3605)

<div class="topic-metadata">

**Author:** [@cjs](https://discourse.processing.org/u/cjs)\
**Replies:** 6\
**Last updated:** [September 19, 2018, 6:45am UTC](https://discourse.processing.org/t/help-building-a-distributed-canvas/3605 "2018-09-19T06:45:41Z")

</div>

Hello processing forum. I have questions to ask because i’m new to processing and i’m still confused. I will write my questions below. I want to make a distributed scetch which is shown on one machine while other machi…

---

## [Timed Events On A Loop](https://discourse.processing.org/t/timed-events-on-a-loop/3631)

<div class="topic-metadata">

**Author:** [@Vigil](https://discourse.processing.org/u/Vigil)\
**Replies:** 1\
**Last updated:** [September 18, 2018, 5:59pm UTC](https://discourse.processing.org/t/timed-events-on-a-loop/3631 "2018-09-18T17:59:46Z")

</div>

Greetings Everyone! I found a timer class here on the forum and I have been tinkering with it. My goal is to have a series of events loop with the timer active and for the loop to be disabled and enabled. I am wondering …

---

## [How to make head wiggle?](https://discourse.processing.org/t/how-to-make-head-wiggle/3657)

<div class="topic-metadata">

**Author:** [@RienziDeal](https://discourse.processing.org/u/RienziDeal)\
**Replies:** 2\
**Last updated:** [September 18, 2018, 10:34pm UTC](https://discourse.processing.org/t/how-to-make-head-wiggle/3657 "2018-09-18T22:34:36Z")

</div>

Hi this is my code void setup() { size(200,250); background(255); smooth(); ellipseMode(CENTER); rectMode(CENTER); } void draw() { background (255, 50,0); body(); head(); float x = 0; …

---

## [P5.js Particle Interaction Brush](https://discourse.processing.org/t/p5-js-particle-interaction-brush/3655)

<div class="topic-metadata">

**Author:** [@hunterrenard](https://discourse.processing.org/u/hunterrenard)\
**Replies:** 0\
**Last updated:** [September 18, 2018, 7:15pm UTC](https://discourse.processing.org/t/p5-js-particle-interaction-brush/3655 "2018-09-18T19:15:09Z")

</div>

This is the first project that I am proud of enough to share with you all. I got interested in making something after watching some of Daniel Shiffman’s P5 tutorials about particle interaction and I decided to give it…

---

## [Run button not work](https://discourse.processing.org/t/run-button-not-work/3490)

<div class="topic-metadata">

**Author:** [@coiffierp](https://discourse.processing.org/u/coiffierp)\
**Replies:** 3\
**Last updated:** [September 18, 2018, 5:23pm UTC](https://discourse.processing.org/t/run-button-not-work/3490 "2018-09-18T17:23:22Z")

</div>

Hello, I can install processing on my computer windows 8 but when I click on the button “Run” nothing happens, the window does not open. I can put any code nothing happens, while on my computer with windows 10 when I cl…

---

## [Simplify object creation](https://discourse.processing.org/t/simplify-object-creation/3649)

<div class="topic-metadata">

**Author:** [@hugo](https://discourse.processing.org/u/hugo)\
**Replies:** 2\
**Last updated:** [September 18, 2018, 5:04pm UTC](https://discourse.processing.org/t/simplify-object-creation/3649 "2018-09-18T17:04:13Z")

</div>

Hello, My question is, can we simplify the following lines of code : objet av1 = new objet (100,100); objet av2 = new objet (200, 100); objet av3 = new objet (300, 100); objet av4 = new objet (400, 100); obje…

---

## [Ecosystem simulation with Processing](https://discourse.processing.org/t/ecosystem-simulation-with-processing/3651)

<div class="topic-metadata">

**Author:** [@atoro](https://discourse.processing.org/u/atoro)\
**Replies:** 0\
**Last updated:** [September 18, 2018, 4:57pm UTC](https://discourse.processing.org/t/ecosystem-simulation-with-processing/3651 "2018-09-18T16:57:13Z")

</div>

Ecosystem simulation with Processing Different species with different behavior. Many driving forces applied. Genetic algorithms. Time scale X4. (you can skip the first 3-5 minutes :slight\_smile: ) Time…

---

## [Integer cannot be cast into Float?](https://discourse.processing.org/t/integer-cannot-be-cast-into-float/3647)

<div class="topic-metadata">

**Author:** [@aaronshenhao](https://discourse.processing.org/u/aaronshenhao)\
**Replies:** 6\
**Last updated:** [September 18, 2018, 4:08pm UTC](https://discourse.processing.org/t/integer-cannot-be-cast-into-float/3647 "2018-09-18T16:08:30Z")

</div>

Hi everyone, I have a “Node” class which contains an ‘attributes’ variable. The variable contains a variety of data types associated with a String key. I’m using a HashMap to implement it. However, when I try and retrie…

---

## [Display Console in Text?](https://discourse.processing.org/t/display-console-in-text/3612)

<div class="topic-metadata">

**Author:** [@bardiel13th](https://discourse.processing.org/u/bardiel13th)\
**Replies:** 5\
**Last updated:** [September 18, 2018, 3:58pm UTC](https://discourse.processing.org/t/display-console-in-text/3612 "2018-09-18T15:58:43Z")

</div>

Hi, I’m trying to display the console in my application within a textarea (from controlp5, but this question applies even without the library) in my application, so I can monitor my application’s console after it is pack…

---

## [P5.js Web Editor - Menu Open?](https://discourse.processing.org/t/p5-js-web-editor-menu-open/3511)

<div class="topic-metadata">

**Author:** [@Pilou](https://discourse.processing.org/u/Pilou)\
**Replies:** 6\
**Last updated:** [September 16, 2018, 9:14am UTC](https://discourse.processing.org/t/p5-js-web-editor-menu-open/3511 "2018-09-16T09:14:36Z")

</div>

Hello If I can export something (a project) to my computer by Menu / File / Download how make the inverse : export something (a project) from my computer to my accompt ? menu / File / Open gives not possibility of tha…

---

## [Change the output location of beginRecord?](https://discourse.processing.org/t/change-the-output-location-of-beginrecord/3643)

<div class="topic-metadata">

**Author:** [@Cam](https://discourse.processing.org/u/Cam)\
**Replies:** 2\
**Last updated:** [September 18, 2018, 3:10pm UTC](https://discourse.processing.org/t/change-the-output-location-of-beginrecord/3643 "2018-09-18T15:10:06Z")

</div>

import processing.pdf.\*; class secondWindow extends PApplet { secondWindow() { super(); PApplet.runSketch(new String\[\] {this.getClass().getSimpleName()}, this); } void settings() { size(100, 100); } …

---

## [\[SOLVED\] P2D/P3D sketches won't start on fresh Ubuntu 18.04 installation](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568)

<div class="topic-metadata">

**Author:** [@Architector\_4](https://discourse.processing.org/u/Architector_4)\
**Replies:** 33\
**Last updated:** [September 18, 2018, 3:08pm UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568 "2018-09-18T15:08:39Z")

</div>

EDIT: Solution that worked for me is rolling back to from 3.4 to 3.3.6. Here’s the link to this version: I don’t have any prior experience with anything Linux, but I have been using Processing on Windows machines for…

---

## [How to capture live video online in (https://www.openprocessing.org/)](https://discourse.processing.org/t/how-to-capture-live-video-online-in-https-www-openprocessing-org/3623)

<div class="topic-metadata">

**Author:** [@diaaahmed](https://discourse.processing.org/u/diaaahmed)\
**Replies:** 2\
**Last updated:** [September 18, 2018, 1:19pm UTC](https://discourse.processing.org/t/how-to-capture-live-video-online-in-https-www-openprocessing-org/3623 "2018-09-18T13:19:48Z")

</div>

https://www.openprocessing.org/ Dear all, I am trying to capture a live video online by writing codes in openprocessing. Although the code work well in processing itself, it does not work in openprocessing and the mess…

---

## [Camera following a certain point](https://discourse.processing.org/t/camera-following-a-certain-point/3629)

<div class="topic-metadata">

**Author:** [@danablend](https://discourse.processing.org/u/danablend)\
**Replies:** 2\
**Last updated:** [September 18, 2018, 10:34am UTC](https://discourse.processing.org/t/camera-following-a-certain-point/3629 "2018-09-18T10:34:04Z")

</div>

I have begun making a game, and I need the camera centered on the player. Currently I have tried transforming the coordinate system without luck, and I am not sure about what method I should use to make the camera move w…

---

## [Android Mode emulator disconnect](https://discourse.processing.org/t/android-mode-emulator-disconnect/3611)

<div class="topic-metadata">

**Author:** [@enonod](https://discourse.processing.org/u/enonod)\
**Replies:** 2\
**Last updated:** [September 18, 2018, 7:26am UTC](https://discourse.processing.org/t/android-mode-emulator-disconnect/3611 "2018-09-18T07:26:29Z")

</div>

When sending a sketch to emulator I keep getting a message that the emulator connection broke before completing. Is there a timer that can be adjusted please?

---

## [Does G4P library work with Android Mode](https://discourse.processing.org/t/does-g4p-library-work-with-android-mode/3610)

<div class="topic-metadata">

**Author:** [@enonod](https://discourse.processing.org/u/enonod)\
**Replies:** 2\
**Last updated:** [September 18, 2018, 7:18am UTC](https://discourse.processing.org/t/does-g4p-library-work-with-android-mode/3610 "2018-09-18T07:18:39Z")

</div>

Does anybody know if G4P library works with Android Mode please, I get a string of errors when sending sketch to emulator.

---

## [How can I make the depth map of text using white lines on a black background in the web browser?](https://discourse.processing.org/t/how-can-i-make-the-depth-map-of-text-using-white-lines-on-a-black-background-in-the-web-browser/3617)

<div class="topic-metadata">

**Author:** [@seppe](https://discourse.processing.org/u/seppe)\
**Replies:** 5\
**Last updated:** [September 18, 2018, 4:14am UTC](https://discourse.processing.org/t/how-can-i-make-the-depth-map-of-text-using-white-lines-on-a-black-background-in-the-web-browser/3617 "2018-09-18T04:14:37Z")

</div>

So I found a really cool processing sketch here (https://www.flickr.com/photos/jegb70/2218491686) that I would like to recreate in the browser, either using processing.js, p5.js, or some other form that would allow me to…

---

## [Minim setting volume of an audioPlayer](https://discourse.processing.org/t/minim-setting-volume-of-an-audioplayer/3596)

<div class="topic-metadata">

**Author:** [@colin](https://discourse.processing.org/u/colin)\
**Replies:** 5\
**Last updated:** [September 18, 2018, 1:16am UTC](https://discourse.processing.org/t/minim-setting-volume-of-an-audioplayer/3596 "2018-09-18T01:16:43Z")

</div>

Hi, Quick question It’s been a long time I didn’t use sound with processing. I wanted to play a file and setting his volume, and I discovered the Sound libraries aren’t working with windows anymore. So I decided to go …

---

## [Can't add more than 30 pictures in my program ( android mode )](https://discourse.processing.org/t/cant-add-more-than-30-pictures-in-my-program-android-mode/3621)

<div class="topic-metadata">

**Author:** [@Stallos](https://discourse.processing.org/u/Stallos)\
**Replies:** 1\
**Last updated:** [September 18, 2018, 1:01am UTC](https://discourse.processing.org/t/cant-add-more-than-30-pictures-in-my-program-android-mode/3621 "2018-09-18T01:01:56Z")

</div>

Hello, I have a problem ! I’m trying to develop an android game with precessing using the android mode. All was going fine, and I could use the preview on my phone, but now, since I added my 30th picture in my program,…

---

## [Autosave in your program](https://discourse.processing.org/t/autosave-in-your-program/3504)

<div class="topic-metadata">

**Author:** [@MxFxM](https://discourse.processing.org/u/MxFxM)\
**Replies:** 3\
**Last updated:** [September 17, 2018, 11:36pm UTC](https://discourse.processing.org/t/autosave-in-your-program/3504 "2018-09-17T23:36:50Z")

</div>

Hi. Just like me you might want some code in your tool that saves the file you are working on in a set interval. I searched the forum but there was no topic like this before. A little research in the java documentation…

---

## [Help on programming ultrasonic sensor via raspberry pi](https://discourse.processing.org/t/help-on-programming-ultrasonic-sensor-via-raspberry-pi/3609)

<div class="topic-metadata">

**Author:** [@reedoh](https://discourse.processing.org/u/reedoh)\
**Replies:** 1\
**Last updated:** [September 17, 2018, 9:43pm UTC](https://discourse.processing.org/t/help-on-programming-ultrasonic-sensor-via-raspberry-pi/3609 "2018-09-17T21:43:41Z")

</div>

I tried to interfac ultrasonic sensor with raspberry pi…but don’t knoiw how to compute it on processing …can anyone help

---

## [Accessing a webcam via network library](https://discourse.processing.org/t/accessing-a-webcam-via-network-library/3603)

<div class="topic-metadata">

**Author:** [@bardiel13th](https://discourse.processing.org/u/bardiel13th)\
**Replies:** 2\
**Last updated:** [September 17, 2018, 8:20pm UTC](https://discourse.processing.org/t/accessing-a-webcam-via-network-library/3603 "2018-09-17T20:20:50Z")

</div>

Hi Processing group! I’m working on a project which uses the networking library in processing. Basically, the Client program draws on a canvas, and the coordinates are sent back to the Server program, which then takes …

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

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