# Latest

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

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

**Page:** 596

---

## [Is it possible to construct PDFs by merging many PGraphics?](https://discourse.processing.org/t/is-it-possible-to-construct-pdfs-by-merging-many-pgraphics/2522)

<div class="topic-metadata">

**Author:** [@PerryJohnson](https://discourse.processing.org/u/PerryJohnson)\
**Replies:** 15\
**Last updated:** [August 13, 2018, 10:40pm UTC](https://discourse.processing.org/t/is-it-possible-to-construct-pdfs-by-merging-many-pgraphics/2522 "2018-08-13T22:40:57Z")

</div>

I’m writing a program with undo/redo functionality. It works fine using image() method to the screen renderer but I lose vector data if I use that technique in PDF. Is there a way to merge PGraphics, preserving the vect…

---

## [Specific Image fade issues](https://discourse.processing.org/t/specific-image-fade-issues/2582)

<div class="topic-metadata">

**Author:** [@Nedelstein](https://discourse.processing.org/u/Nedelstein)\
**Replies:** 3\
**Last updated:** [August 13, 2018, 7:52pm UTC](https://discourse.processing.org/t/specific-image-fade-issues/2582 "2018-08-13T19:52:40Z")

</div>

Hi all, I have multiple images on my sketch and am trying to only get one to fade out, but I can’t seem to get the fade to only work for the one image. It’s fading out everything when I run it. Any help would be really …

---

## [New to Processing and need a little help](https://discourse.processing.org/t/new-to-processing-and-need-a-little-help/2616)

<div class="topic-metadata">

**Author:** [@yxzageo](https://discourse.processing.org/u/yxzageo)\
**Replies:** 2\
**Last updated:** [August 13, 2018, 5:59pm UTC](https://discourse.processing.org/t/new-to-processing-and-need-a-little-help/2616 "2018-08-13T17:59:10Z")

</div>

Hello, I’m running a program that someone else written. It runs smoothly but I want to understand what the code does. I have the following snippet: for (int i = n-1; i \> 0; i–) { int j = rand()%(i+1); image.pixels\[j\]…

---

## [Link controlP5 controls to public variables exposed by an object?](https://discourse.processing.org/t/link-controlp5-controls-to-public-variables-exposed-by-an-object/2510)

<div class="topic-metadata">

**Author:** [@niftyc](https://discourse.processing.org/u/niftyc)\
**Replies:** 5\
**Last updated:** [August 13, 2018, 4:57pm UTC](https://discourse.processing.org/t/link-controlp5-controls-to-public-variables-exposed-by-an-object/2510 "2018-08-13T16:57:18Z")

</div>

I’m enjoying learning about processing and I love the features of ControlP5. I’ve been using ControlP5 controls that link to global variables in my script. Then I tried to make a class to organize my variables a little m…

---

## [Rotate model face towards camera using face normal](https://discourse.processing.org/t/rotate-model-face-towards-camera-using-face-normal/2614)

<div class="topic-metadata">

**Author:** [@nosarious](https://discourse.processing.org/u/nosarious)\
**Replies:** 1\
**Last updated:** [August 13, 2018, 3:36pm UTC](https://discourse.processing.org/t/rotate-model-face-towards-camera-using-face-normal/2614 "2018-08-13T15:36:08Z")

</div>

I am having trouble trying to rotate the face of a 3d model so it faces the camera directly. I have this function so far, but the result is inconsistent. I would normally call this just before drawing the model. Assume …

---

## [Smoothening EMG signals from Myo armband](https://discourse.processing.org/t/smoothening-emg-signals-from-myo-armband/2479)

<div class="topic-metadata">

**Author:** [@palashsomani](https://discourse.processing.org/u/palashsomani)\
**Replies:** 9\
**Last updated:** [August 13, 2018, 2:15pm UTC](https://discourse.processing.org/t/smoothening-emg-signals-from-myo-armband/2479 "2018-08-13T14:15:01Z")

</div>

Hello everyone! I am doing a project using Myo armband with Processing. Using the myo-for-processing library, the signal data processing receives for the device is raw and hence very jittery. I need to smoothen that sign…

---

## [Problem with opening files (explorer)](https://discourse.processing.org/t/problem-with-opening-files-explorer/1807)

<div class="topic-metadata">

**Author:** [@MxFxM](https://discourse.processing.org/u/MxFxM)\
**Replies:** 16\
**Last updated:** [August 13, 2018, 2:12pm UTC](https://discourse.processing.org/t/problem-with-opening-files-explorer/1807 "2018-08-13T14:12:35Z")

</div>

Hi everyone, since today I have the problem that whenever I try to open a file with this code: public void load\_document\_button\_click(GButton source, GEvent event) { //\_CODE\_:load\_document\_button:817988: println("loa…

---

## [Text reveal along a path](https://discourse.processing.org/t/text-reveal-along-a-path/1705)

<div class="topic-metadata">

**Author:** [@dnganeko](https://discourse.processing.org/u/dnganeko)\
**Replies:** 16\
**Last updated:** [August 13, 2018, 1:40pm UTC](https://discourse.processing.org/t/text-reveal-along-a-path/1705 "2018-08-13T13:40:11Z")

</div>

Hi there! Help needed…Please I’m new to coding… What I am trying to do is create an interacted animation for the background of a website where; when you move the mouse down and to the right, and/ or scroll the page do…

---

## [Processing book](https://discourse.processing.org/t/processing-book/2609)

<div class="topic-metadata">

**Author:** [@davixd2002](https://discourse.processing.org/u/davixd2002)\
**Replies:** 3\
**Last updated:** [August 13, 2018, 12:42pm UTC](https://discourse.processing.org/t/processing-book/2609 "2018-08-13T12:42:57Z")

</div>

Hi guys! I’m looking for a book to learn better the processing programming language what book do you recommend? I’m searching for a book written in italian but if there’s also a good book where i can study i’m happy anyw…

---

## [Can Processing be used to create native Windows app?](https://discourse.processing.org/t/can-processing-be-used-to-create-native-windows-app/2526)

<div class="topic-metadata">

**Author:** [@alexanoin](https://discourse.processing.org/u/alexanoin)\
**Replies:** 3\
**Last updated:** [August 13, 2018, 9:56am UTC](https://discourse.processing.org/t/can-processing-be-used-to-create-native-windows-app/2526 "2018-08-13T09:56:03Z")

</div>

Interested in learning processing. Just curious if Processing would be used to make native Windows app like C /C++? Currently work on a password recovery project and need to choose a language to get started.

---

## [Applying noise to a circular grid](https://discourse.processing.org/t/applying-noise-to-a-circular-grid/2564)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 12\
**Last updated:** [August 12, 2018, 10:55pm UTC](https://discourse.processing.org/t/applying-noise-to-a-circular-grid/2564 "2018-08-12T22:55:45Z")

</div>

Hi, I’m having difficulties correctly applying Perlin noise to a circular grid. When I first computed the noise value, the end of the grid was not matching its beginning anymore… which is normal. The problem is, when …

---

## [Question About Getting Data from a Web Page](https://discourse.processing.org/t/question-about-getting-data-from-a-web-page/2576)

<div class="topic-metadata">

**Author:** [@dtools22](https://discourse.processing.org/u/dtools22)\
**Replies:** 3\
**Last updated:** [August 12, 2018, 9:37pm UTC](https://discourse.processing.org/t/question-about-getting-data-from-a-web-page/2576 "2018-08-12T21:37:41Z")

</div>

Hello, I have been working on a project to get all the upcoming shows playing at the Boch Center in Boston, MA. The show listings can be found at the following url http://www.bochcenter.org/buy/show-listing. I have be…

---

## [P5.dom 4.0 bug, example does not work](https://discourse.processing.org/t/p5-dom-4-0-bug-example-does-not-work/2566)

<div class="topic-metadata">

**Author:** [@mirzababaei](https://discourse.processing.org/u/mirzababaei)\
**Replies:** 4\
**Last updated:** [August 12, 2018, 3:53pm UTC](https://discourse.processing.org/t/p5-dom-4-0-bug-example-does-not-work/2566 "2018-08-12T15:53:47Z")

</div>

hi https://p5js.org/examples/dom-input-and-button.html does not work after recent version update.

---

## [Rotating in 3D Help](https://discourse.processing.org/t/rotating-in-3d-help/2573)

<div class="topic-metadata">

**Author:** [@CrispyCabot](https://discourse.processing.org/u/CrispyCabot)\
**Replies:** 2\
**Last updated:** [August 12, 2018, 2:22pm UTC](https://discourse.processing.org/t/rotating-in-3d-help/2573 "2018-08-12T14:22:42Z")

</div>

So I’m trying to make a gamecube intro that draws out my own thing using simple boxes, but I don’t understand rotation. I’ve tried looking at the reference and all, but it just still doesn’t make sense to me. Basically, …

---

## [Find borders between books in image](https://discourse.processing.org/t/find-borders-between-books-in-image/2568)

<div class="topic-metadata">

**Author:** [@TimeMen](https://discourse.processing.org/u/TimeMen)\
**Replies:** 6\
**Last updated:** [August 12, 2018, 12:03pm UTC](https://discourse.processing.org/t/find-borders-between-books-in-image/2568 "2018-08-12T12:03:47Z")

</div>

Hey there, I want to realize the following with Processing or Processing.py: Load picture of my bookshelf into the processing application. The application should find borders between each two books. Then each book sho…

---

## [ipCapture in p5](https://discourse.processing.org/t/ipcapture-in-p5/2307)

<div class="topic-metadata">

**Author:** [@TTG](https://discourse.processing.org/u/TTG)\
**Replies:** 3\
**Last updated:** [August 4, 2018, 8:12pm UTC](https://discourse.processing.org/t/ipcapture-in-p5/2307 "2018-08-04T20:12:23Z")

</div>

Dear team, i have an issue connecting my IP camera to the p5 environment. p5 works with " capture = createCapture(VIDEO);" in order to access a webcam Processing 3 has the function ipcapture which allows me to access …

---

## [Using pixels with processing?](https://discourse.processing.org/t/using-pixels-with-processing/2551)

<div class="topic-metadata">

**Author:** [@bjr29](https://discourse.processing.org/u/bjr29)\
**Replies:** 3\
**Last updated:** [August 12, 2018, 7:17am UTC](https://discourse.processing.org/t/using-pixels-with-processing/2551 "2018-08-12T07:17:38Z")

</div>

I want to make a very simple neural network and I thought I should make it about recognizing patterns with 2x2 pixels. I got a strange output when looking at the colours when I was just setting it up. I’m wondering if it…

---

## [Server and Client on one instance of a game](https://discourse.processing.org/t/server-and-client-on-one-instance-of-a-game/2403)

<div class="topic-metadata">

**Author:** [@FurryNightShade](https://discourse.processing.org/u/FurryNightShade)\
**Replies:** 9\
**Last updated:** [August 12, 2018, 2:09am UTC](https://discourse.processing.org/t/server-and-client-on-one-instance-of-a-game/2403 "2018-08-12T02:09:38Z")

</div>

Hello, this topic might be more appropriate to be put in the library category, but this is not suposed to be a question about any library. In Minecraft in some very early update, offline singleplayer worlds were given …

---

## [APDE in Play Store](https://discourse.processing.org/t/apde-in-play-store/2402)

<div class="topic-metadata">

**Author:** [@FurryNightShade](https://discourse.processing.org/u/FurryNightShade)\
**Replies:** 3\
**Last updated:** [August 12, 2018, 1:52am UTC](https://discourse.processing.org/t/apde-in-play-store/2402 "2018-08-12T01:52:30Z")

</div>

Hello. I have Samsung Galaxy S8 and I downloaded Processing Android 4.0 directly from Play Store. My father has Galaxy S9 and Samsung Gear S3. When he downloaded Android Processing directly from Play Store, he got vers…

---

## [Eclipse project that runs a Sketch](https://discourse.processing.org/t/eclipse-project-that-runs-a-sketch/2547)

<div class="topic-metadata">

**Author:** [@Essay](https://discourse.processing.org/u/Essay)\
**Replies:** 7\
**Last updated:** [August 11, 2018, 10:29pm UTC](https://discourse.processing.org/t/eclipse-project-that-runs-a-sketch/2547 "2018-08-11T22:29:23Z")

</div>

Hello everyone :blush: I have a Java project in Eclipse that asks some informations to the user and then, when obtained these informations, runs a Processing sketck, that obviously opens a new window. Now, the program s…

---

## [Loading images sometimes works and sometimes doesn't](https://discourse.processing.org/t/loading-images-sometimes-works-and-sometimes-doesnt/2562)

<div class="topic-metadata">

**Author:** [@Pork](https://discourse.processing.org/u/Pork)\
**Replies:** 3\
**Last updated:** [August 11, 2018, 8:23pm UTC](https://discourse.processing.org/t/loading-images-sometimes-works-and-sometimes-doesnt/2562 "2018-08-11T20:23:25Z")

</div>

Here’s what I’m trying to do. Sometimes when you refresh it works just fine. Sometimes I get this error: If you can’t see its says: Uncaught TypeError: Cannot read property ‘width’ of undefined at e.image (p5.min…

---

## [Processing 2.2.1](https://discourse.processing.org/t/processing-2-2-1/2545)

<div class="topic-metadata">

**Author:** [@Sun](https://discourse.processing.org/u/Sun)\
**Replies:** 3\
**Last updated:** [August 11, 2018, 6:28pm UTC](https://discourse.processing.org/t/processing-2-2-1/2545 "2018-08-11T18:28:39Z")

</div>

Hello, A couple of years ago I made a clock in Processing 2.2.1. I want to upload my clock in my WordPress website. That isn’t possible, because of the latest new version 3.4. I get errors. I’ve no clue what I have to …

---

## [Possible to load a scetch on WIX Website?](https://discourse.processing.org/t/possible-to-load-a-scetch-on-wix-website/2555)

<div class="topic-metadata">

**Author:** [@eryx](https://discourse.processing.org/u/eryx)\
**Replies:** 2\
**Last updated:** [August 11, 2018, 6:22pm UTC](https://discourse.processing.org/t/possible-to-load-a-scetch-on-wix-website/2555 "2018-08-11T18:22:29Z")

</div>

Hi ! Is it possible to include a background animation or an “iframe” to load a processing sketch on a WIX Page ? I tried to put the files ( script.html , script.js , processing.js ) in the “Public” directory but the fil…

---

## [Are there any Plotting/graphing/data visualisation libraries which allow rendering/plotting on PGraphic layers without major hacks?](https://discourse.processing.org/t/are-there-any-plotting-graphing-data-visualisation-libraries-which-allow-rendering-plotting-on-pgraphic-layers-without-major-hacks/2355)

<div class="topic-metadata">

**Author:** [@jimbojohn](https://discourse.processing.org/u/jimbojohn)\
**Replies:** 9\
**Last updated:** [August 11, 2018, 12:41pm UTC](https://discourse.processing.org/t/are-there-any-plotting-graphing-data-visualisation-libraries-which-allow-rendering-plotting-on-pgraphic-layers-without-major-hacks/2355 "2018-08-11T12:41:04Z")

</div>

Hi everyone, I have been trying to find convenient ways to plot onto Pgraphics. Unfortunately, a lot of libraries that I have tried do not support this and it seems one needs to manipulate and hack around library code a…

---

## [Map 3D coordinates to 2D texture pixels](https://discourse.processing.org/t/map-3d-coordinates-to-2d-texture-pixels/2533)

<div class="topic-metadata">

**Author:** [@filarius](https://discourse.processing.org/u/filarius)\
**Replies:** 2\
**Last updated:** [August 11, 2018, 12:18pm UTC](https://discourse.processing.org/t/map-3d-coordinates-to-2d-texture-pixels/2533 "2018-08-11T12:18:00Z")

</div>

I stuck at implementing proper mapping XYZ coordinates of 3D grid to UV coordinates of pixels on texture. I have big cube made of many smaller cubes and I need to change RGBA color of each smaller cube individually. I …

---

## [Orientation / motion sensors deprecated](https://discourse.processing.org/t/orientation-motion-sensors-deprecated/1640)

<div class="topic-metadata">

**Author:** [@zackpi](https://discourse.processing.org/u/zackpi)\
**Replies:** 3\
**Last updated:** [August 11, 2018, 12:14pm UTC](https://discourse.processing.org/t/orientation-motion-sensors-deprecated/1640 "2018-08-11T12:14:45Z")

</div>

Hi, this is my first time using p5.js and javascript for that matter. But I came upon this warning/error while running this code from one of the getting started pages on the p5.js website: function setup() { createCanv…

---

## [PCD@LA Track: Under the Silicon, the Beach!](https://discourse.processing.org/t/pcd-la-track-under-the-silicon-the-beach/2553)

<div class="topic-metadata">

**Author:** [@tega](https://discourse.processing.org/u/tega)\
**Replies:** 0\
**Last updated:** [August 11, 2018, 11:23am UTC](https://discourse.processing.org/t/pcd-la-track-under-the-silicon-the-beach/2553 "2018-08-11T11:23:09Z")

</div>

Hi, this is a thread to discuss and ask questions about the track Under the Silicon, the Beach for Processing Day, LA. The track description is below: \_How can creative practice undermine the present and produce an imag…

---

## [3D Vertex to Screen coordinates](https://discourse.processing.org/t/3d-vertex-to-screen-coordinates/2455)

<div class="topic-metadata">

**Author:** [@iamtomodea](https://discourse.processing.org/u/iamtomodea)\
**Replies:** 4\
**Last updated:** [August 11, 2018, 10:33am UTC](https://discourse.processing.org/t/3d-vertex-to-screen-coordinates/2455 "2018-08-11T10:33:20Z")

</div>

HI. I am trying to get screen coordinates from vertices of an imported .obj file however it seems tricky. I have used screenX(x,y,z) and screenY(x,y,z) but the problem is that these are affected by translations and rot…

---

## [Changing Icon of pre-exported file](https://discourse.processing.org/t/changing-icon-of-pre-exported-file/2532)

<div class="topic-metadata">

**Author:** [@KittyCatGamer123](https://discourse.processing.org/u/KittyCatGamer123)\
**Replies:** 6\
**Last updated:** [August 10, 2018, 9:19pm UTC](https://discourse.processing.org/t/changing-icon-of-pre-exported-file/2532 "2018-08-10T21:19:14Z")

</div>

Hello. I was wondering how to change the icon of your file. MUST BE IN CODE!! MUST BE FOR PROCESSING 3!! Thanks guys KittyCatGamer123 :wink:

---

## [What does if(!VARIABLE.equalsVARIABLE) mean?](https://discourse.processing.org/t/what-does-if-variable-equalsvariable-mean/2541)

<div class="topic-metadata">

**Author:** [@B4ko](https://discourse.processing.org/u/B4ko)\
**Replies:** 3\
**Last updated:** [August 10, 2018, 8:56pm UTC](https://discourse.processing.org/t/what-does-if-variable-equalsvariable-mean/2541 "2018-08-10T20:56:52Z")

</div>

Hey everyone! Can someone help me understand the below code? buttonOneText buttonTwoText levelNumber are all variables I declared earlier if (!buttonTwoText\[levelNumber\].equals(buttonOneText\[levelNumber\])) In short…

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

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