# Processing

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

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

**Page:** 279

---

## [Need help with very simple animation new to processing](https://discourse.processing.org/t/need-help-with-very-simple-animation-new-to-processing/13328)

<div class="topic-metadata">

**Author:** [@Heatwave87](https://discourse.processing.org/u/Heatwave87)\
**Replies:** 3\
**Last updated:** [August 14, 2019, 1:09pm UTC](https://discourse.processing.org/t/need-help-with-very-simple-animation-new-to-processing/13328 "2019-08-14T13:09:21Z")

</div>

hi I’m really new to processing and I’m just wondering how I could make something like a rectangle for example disappear when I click and come back when I stop holding the click if anyone could help me with this I would…

---

## [Arraylist in a draw function](https://discourse.processing.org/t/arraylist-in-a-draw-function/13344)

<div class="topic-metadata">

**Author:** [@nicnut](https://discourse.processing.org/u/nicnut)\
**Replies:** 3\
**Last updated:** [August 14, 2019, 1:37pm UTC](https://discourse.processing.org/t/arraylist-in-a-draw-function/13344 "2019-08-14T13:37:17Z")

</div>

Hi, I am really new to processing. I am controlling my animations using OSC messages. I altered some code from one of the “create shapes” examples and I want to be able to control the number of items in an array list. I…

---

## [FX2D noSmooth(), textureSampling?](https://discourse.processing.org/t/fx2d-nosmooth-texturesampling/4312)

<div class="topic-metadata">

**Author:** [@lmccandless](https://discourse.processing.org/u/lmccandless)\
**Replies:** 1\
**Last updated:** [August 14, 2019, 11:13am UTC](https://discourse.processing.org/t/fx2d-nosmooth-texturesampling/4312 "2019-08-14T11:13:14Z")

</div>

The performance boost from FX2D is really nice, however I can’t seem to be able to turn off the smoothing. noSmooth() doesn’t work, before or after calling size(), in settings() or setup(); It doesn’t appear ((PGraphics…

---

## [Image and controlP5 library](https://discourse.processing.org/t/image-and-controlp5-library/13366)

<div class="topic-metadata">

**Author:** [@Mic29](https://discourse.processing.org/u/Mic29)\
**Replies:** 1\
**Last updated:** [August 14, 2019, 2:05am UTC](https://discourse.processing.org/t/image-and-controlp5-library/13366 "2019-08-14T02:05:54Z")

</div>

Is there any method to insert an image into a controlP5 Group? If not exist what is a possible solution to do this action?

---

## [Processing Export Fails No Matter What](https://discourse.processing.org/t/processing-export-fails-no-matter-what/13364)

<div class="topic-metadata">

**Author:** [@8bit\_coder](https://discourse.processing.org/u/8bit_coder)\
**Replies:** 3\
**Last updated:** [August 14, 2019, 1:33am UTC](https://discourse.processing.org/t/processing-export-fails-no-matter-what/13364 "2019-08-14T01:33:35Z")

</div>

I tried everything that people have suggested, such as moving the sketch and/or the processing files into the root C:\\ directory and that did nothing. I have no idea why this is happening because the program runs fine bu…

---

## [Shape parameter for 3D position](https://discourse.processing.org/t/shape-parameter-for-3d-position/13352)

<div class="topic-metadata">

**Author:** [@kll](https://discourse.processing.org/u/kll)\
**Replies:** 2\
**Last updated:** [August 14, 2019, 1:24am UTC](https://discourse.processing.org/t/shape-parameter-for-3d-position/13352 "2019-08-14T01:24:01Z")

</div>

i know from https://processing.org/reference/shape\_.html shape(s) shape(s, x, y) shape(s, a, b, c, d) and s.translate(x, y) also it is possible to use in P3D s.translate(x, y, z) what is additive, so s.reset…

---

## [Reference to default canvas/screen](https://discourse.processing.org/t/reference-to-default-canvas-screen/13351)

<div class="topic-metadata">

**Author:** [@danne](https://discourse.processing.org/u/danne)\
**Replies:** 1\
**Last updated:** [August 13, 2019, 9:19am UTC](https://discourse.processing.org/t/reference-to-default-canvas-screen/13351 "2019-08-13T09:19:48Z")

</div>

Hello! I want to send the default canvas/screen to a class. I can’t remember how to make a reference to the default canvas :confused: help please :wink: / Danne

---

## [Multiple classes eclipse with processing](https://discourse.processing.org/t/multiple-classes-eclipse-with-processing/1142)

<div class="topic-metadata">

**Author:** [@zejton](https://discourse.processing.org/u/zejton)\
**Replies:** 6\
**Last updated:** [August 13, 2019, 6:31am UTC](https://discourse.processing.org/t/multiple-classes-eclipse-with-processing/1142 "2019-08-13T06:31:31Z")

</div>

Hey! So I am new to processing and would love some help with how to get multiple classes working in eclipse with processing this is my code: This is one class “mouse”: import processing.core.PApplet; public class Mo…

---

## [3D shape with a bad seam](https://discourse.processing.org/t/3d-shape-with-a-bad-seam/13218)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 18\
**Last updated:** [August 13, 2019, 2:42am UTC](https://discourse.processing.org/t/3d-shape-with-a-bad-seam/13218 "2019-08-13T02:42:03Z")

</div>

Hello all, I produced a 3D quadt\_strip shape, but not only one row but multiple. It’s kind of a circle (Moebius strip). Unfortunately I have a big seam (horizontal right side) I cannot get rid of. Can someone check m…

---

## [\[SOLVED\] Delete circles if mousePressed help?](https://discourse.processing.org/t/solved-delete-circles-if-mousepressed-help/4056)

<div class="topic-metadata">

**Author:** [@Mikaela](https://discourse.processing.org/u/Mikaela)\
**Replies:** 2\
**Last updated:** [October 4, 2018, 1:47pm UTC](https://discourse.processing.org/t/solved-delete-circles-if-mousepressed-help/4056 "2018-10-04T13:47:18Z")

</div>

I’m trying to figure out what’s the code to make the circles disappear if the mouse is pressed. If you know what it is, please share it! I pasted my code below thanks! // Lab 3 Question 7 // Write a program that draws …

---

## [Check the number of people](https://discourse.processing.org/t/check-the-number-of-people/13309)

<div class="topic-metadata">

**Author:** [@jeeees2](https://discourse.processing.org/u/jeeees2)\
**Replies:** 5\
**Last updated:** [August 12, 2019, 11:57pm UTC](https://discourse.processing.org/t/check-the-number-of-people/13309 "2019-08-12T23:57:31Z")

</div>

Hi, I’m a beginner in processing. I try to check up to two people using the ‘Kinect divice and program.’ However, I try to print the result images differently from 0 to 1 person and the result images from 2 to 1. I can…

---

## [Atan function not working correctly?](https://discourse.processing.org/t/atan-function-not-working-correctly/13340)

<div class="topic-metadata">

**Author:** [@inzywinki](https://discourse.processing.org/u/inzywinki)\
**Replies:** 3\
**Last updated:** [August 12, 2019, 11:39pm UTC](https://discourse.processing.org/t/atan-function-not-working-correctly/13340 "2019-08-12T23:39:41Z")

</div>

i am trying the inverse tangent function in processing java, i am using the atan(float) function, when i use a paramater around 100 / 70 i am getting the wrong result, this is true for atan(100 / 75), atan(100 / 80) a…

---

## [How to import a Live stream link to processing?](https://discourse.processing.org/t/how-to-import-a-live-stream-link-to-processing/13217)

<div class="topic-metadata">

**Author:** [@luonglinhle](https://discourse.processing.org/u/luonglinhle)\
**Replies:** 3\
**Last updated:** [August 12, 2019, 10:58pm UTC](https://discourse.processing.org/t/how-to-import-a-live-stream-link-to-processing/13217 "2019-08-12T22:58:45Z")

</div>

Hi alls! I am newbie to Processing. I have an idea to create a visual interaction with live-stream video from facebook, twitter or from other source as Vimeo, youtube. I think what is needed is the IP address of the pe…

---

## [\[SOLVED\] How to debug this timeout error](https://discourse.processing.org/t/solved-how-to-debug-this-timeout-error/4383)

<div class="topic-metadata">

**Author:** [@ProsExplorer](https://discourse.processing.org/u/ProsExplorer)\
**Replies:** 0\
**Last updated:** [October 12, 2018, 6:04am UTC](https://discourse.processing.org/t/solved-how-to-debug-this-timeout-error/4383 "2018-10-12T06:04:20Z")

</div>

Conclusion: 10-15-2018 From what I’ve seen attempting to debug this and creating a hybrid version with an earlier boolean version there’s an issue with the classes function that causes the program to continuously load …

---

## [\[SOLVED\] Edge artifacts when random-access sampling a texture in a shader on Linux](https://discourse.processing.org/t/solved-edge-artifacts-when-random-access-sampling-a-texture-in-a-shader-on-linux/8382)

<div class="topic-metadata">

**Author:** [@scudly](https://discourse.processing.org/u/scudly)\
**Replies:** 0\
**Last updated:** [February 13, 2019, 10:30pm UTC](https://discourse.processing.org/t/solved-edge-artifacts-when-random-access-sampling-a-texture-in-a-shader-on-linux/8382 "2019-02-13T22:30:16Z")

</div>

Edit: This texture sampling bug only seems to occur on Linux. On both Windows 10 and Android, I can set point sampling with ((PGraphicsOpenGL)g).textureSampling(2); and get clean images, but on Linux, that line has no e…

---

## [\[SOLVED\] Downloading image, saving to specific folder](https://discourse.processing.org/t/solved-downloading-image-saving-to-specific-folder/11784)

<div class="topic-metadata">

**Author:** [@SoulT](https://discourse.processing.org/u/SoulT)\
**Replies:** 0\
**Last updated:** [June 2, 2019, 7:42pm UTC](https://discourse.processing.org/t/solved-downloading-image-saving-to-specific-folder/11784 "2019-06-02T19:42:35Z")

</div>

Howdy guys, I’m trying to set up a basic script that will download an image, and then save the image as a transparent PNG to a specific folder. Here’s what I have so far (I’ve replaced the url, for privacy sake. The act…

---

## [\[SOLVED\] G4p window refreshing](https://discourse.processing.org/t/solved-g4p-window-refreshing/3966)

<div class="topic-metadata">

**Author:** [@zeroisnull](https://discourse.processing.org/u/zeroisnull)\
**Replies:** 0\
**Last updated:** [September 30, 2018, 1:13am UTC](https://discourse.processing.org/t/solved-g4p-window-refreshing/3966 "2018-09-30T01:13:17Z")

</div>

Hello All. I am using G4P Library and I have made a form which takes username(textfield) and gender (droplist) but whenever i try to write something, the window keeps on refreshing. How do I tackle it? Edit: I was able…

---

## [PrintWriter - Disable Default UTF8 Encoding](https://discourse.processing.org/t/printwriter-disable-default-utf8-encoding/13316)

<div class="topic-metadata">

**Author:** [@ischmied](https://discourse.processing.org/u/ischmied)\
**Replies:** 3\
**Last updated:** [August 12, 2019, 8:26pm UTC](https://discourse.processing.org/t/printwriter-disable-default-utf8-encoding/13316 "2019-08-12T20:26:41Z")

</div>

From the Processing Reference: Starting with Processing release 0134, all files loaded and saved by the Processing API use UTF-8 encoding. I am reading the contents of an EPROM using an Arduino Uno and sending the data…

---

## [Quirks running Processing on Safari iOS](https://discourse.processing.org/t/quirks-running-processing-on-safari-ios/13342)

<div class="topic-metadata">

**Author:** [@rbytes](https://discourse.processing.org/u/rbytes)\
**Replies:** 0\
**Last updated:** [August 12, 2019, 5:34pm UTC](https://discourse.processing.org/t/quirks-running-processing-on-safari-ios/13342 "2019-08-12T17:34:10Z")

</div>

I am quite into OpenProcessing at this time. I use both Processing and p5.js to create sketches, but I have a few more issues to deal with when using Processing. The absolute worst is that every screen touch makes the co…

---

## [OpenProcessing + iOS Safari: How can I stop the console from popping up when no error has occurred](https://discourse.processing.org/t/openprocessing-ios-safari-how-can-i-stop-the-console-from-popping-up-when-no-error-has-occurred/13243)

<div class="topic-metadata">

**Author:** [@rbytes](https://discourse.processing.org/u/rbytes)\
**Replies:** 3\
**Last updated:** [August 12, 2019, 5:34pm UTC](https://discourse.processing.org/t/openprocessing-ios-safari-how-can-i-stop-the-console-from-popping-up-when-no-error-has-occurred/13243 "2019-08-12T17:34:10Z")

</div>

I spend a lot of time with my iPad running OpenProcessing on Safari and have a large collection of sketches written both in Processing and p5js. The Processing sketches have an annoying bug, at least in iOS. Every ti…

---

## [Having trouble with importing the video library](https://discourse.processing.org/t/having-trouble-with-importing-the-video-library/13266)

<div class="topic-metadata">

**Author:** [@ooss](https://discourse.processing.org/u/ooss)\
**Replies:** 2\
**Last updated:** [August 12, 2019, 4:31pm UTC](https://discourse.processing.org/t/having-trouble-with-importing-the-video-library/13266 "2019-08-12T16:31:58Z")

</div>

Hello currently I have downloaded the video library from GitHub and it downloaded a folder. I renamed the folder to just video and put in ~/Documents/Processing/Library. I am not sure if this is where it needs to be. But…

---

## [Help with controlP5 library](https://discourse.processing.org/t/help-with-controlp5-library/13290)

<div class="topic-metadata">

**Author:** [@arielmartire](https://discourse.processing.org/u/arielmartire)\
**Replies:** 3\
**Last updated:** [August 12, 2019, 4:28pm UTC](https://discourse.processing.org/t/help-with-controlp5-library/13290 "2019-08-12T16:28:29Z")

</div>

Using the controlP5 library, I’m having trouble. I get this error message: Aug 10, 2019 7:53:24 AM controlP5.ControlBroadcaster printMethodError SEVERE: An error occured while forwarding a Controller event, please ch…

---

## [\[SOLVED\] Having a hard time Translating in 3D](https://discourse.processing.org/t/solved-having-a-hard-time-translating-in-3d/13335)

<div class="topic-metadata">

**Author:** [@nicnut](https://discourse.processing.org/u/nicnut)\
**Replies:** 1\
**Last updated:** [August 12, 2019, 3:48pm UTC](https://discourse.processing.org/t/solved-having-a-hard-time-translating-in-3d/13335 "2019-08-12T15:48:11Z")

</div>

Hi, I am very new at Processing, this is my second week. I am altering some code from one of the examples to create a bunch of Pshapes. It’s looking good, but I can’t figure out how to translate() in P3D. In the main …

---

## [Help with visualising DHT sensor data](https://discourse.processing.org/t/help-with-visualising-dht-sensor-data/13331)

<div class="topic-metadata">

**Author:** [@figsgigs](https://discourse.processing.org/u/figsgigs)\
**Replies:** 2\
**Last updated:** [August 12, 2019, 2:51pm UTC](https://discourse.processing.org/t/help-with-visualising-dht-sensor-data/13331 "2019-08-12T14:51:40Z")

</div>

Hello good people here! I’m new to processing, and attempting to read my DHT11 sensor and visualising it via Processing. I’ve taken the processing/ arduino code from an online tutorial, and adapted it for my own arduino.…

---

## [Need a hint about lights](https://discourse.processing.org/t/need-a-hint-about-lights/13073)

<div class="topic-metadata">

**Author:** [@LuckSmith](https://discourse.processing.org/u/LuckSmith)\
**Replies:** 8\
**Last updated:** [August 11, 2019, 10:55pm UTC](https://discourse.processing.org/t/need-a-hint-about-lights/13073 "2019-08-11T22:55:12Z")

</div>

Hi guys, Here’s a screenshot of a sketch I am currently working on. On the upper left corner is a minimap of the dungeon (only tiles that have been seen are shown). The little green arrow there represents the player …

---

## [Sound libraries](https://discourse.processing.org/t/sound-libraries/13225)

<div class="topic-metadata">

**Author:** [@salvaribeiro](https://discourse.processing.org/u/salvaribeiro)\
**Replies:** 3\
**Last updated:** [August 11, 2019, 1:31pm UTC](https://discourse.processing.org/t/sound-libraries/13225 "2019-08-11T13:31:50Z")

</div>

Hello. I’ve been tinkering with Processing for a while now and wanted to use it to learn a bit about sound sythesizing. I’ve been trying the Beads library for about a month and, although it’s very good, I feel it’s a bit…

---

## [Help with classes](https://discourse.processing.org/t/help-with-classes/13305)

<div class="topic-metadata">

**Author:** [@abigail](https://discourse.processing.org/u/abigail)\
**Replies:** 5\
**Last updated:** [August 11, 2019, 10:29am UTC](https://discourse.processing.org/t/help-with-classes/13305 "2019-08-11T10:29:25Z")

</div>

Hi, so I have a simple sketch of paint to colour in the background of a window. I want to make the colouring tool decrease and increase in size. Why does the code in the function changeSize not work? Thanks in advance. …

---

## [Weird Missing Left Curly Bracket Error](https://discourse.processing.org/t/weird-missing-left-curly-bracket-error/13303)

<div class="topic-metadata">

**Author:** [@8bit\_coder](https://discourse.processing.org/u/8bit_coder)\
**Replies:** 2\
**Last updated:** [August 11, 2019, 1:30am UTC](https://discourse.processing.org/t/weird-missing-left-curly-bracket-error/13303 "2019-08-11T01:30:56Z")

</div>

I’m working on a program, and everything compiles and runs fine. But the second that I paste: char letter = 'F'; switch(letter) { case 'F': println("F"); break; case 'S': println("S"); break; } I…

---

## [Processing Update](https://discourse.processing.org/t/processing-update/13172)

<div class="topic-metadata">

**Author:** [@newagear](https://discourse.processing.org/u/newagear)\
**Replies:** 8\
**Last updated:** [August 10, 2019, 8:03pm UTC](https://discourse.processing.org/t/processing-update/13172 "2019-08-10T20:03:58Z")

</div>

I first developed a processing program 3 years ago.I believe that Processing needs an update(variable and instructions search list , a better debug system …).What do you think?

---

## [Problems parsing an UTF-8 string backwards](https://discourse.processing.org/t/problems-parsing-an-utf-8-string-backwards/13294)

<div class="topic-metadata">

**Author:** [@LuckSmith](https://discourse.processing.org/u/LuckSmith)\
**Replies:** 2\
**Last updated:** [August 10, 2019, 7:07pm UTC](https://discourse.processing.org/t/problems-parsing-an-utf-8-string-backwards/13294 "2019-08-10T19:07:53Z")

</div>

If I go forward like String str = "This is a string containing different encodings. В этой строке есть кириллица, например (2 bytes per char)"; for (int i=0; i\<str.length(); i++) { println(str.charAt(i)); } it works …

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

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