# Latest

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

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

**Page:** 416

---

## [Boolean trouble or something](https://discourse.processing.org/t/boolean-trouble-or-something/16217)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 9\
**Last updated:** [December 8, 2019, 12:38am UTC](https://discourse.processing.org/t/boolean-trouble-or-something/16217 "2019-12-08T00:38:06Z")

</div>

I can’t see why the value of pressLoc is constantly updated to the mouse PVector while the mouse is pressed and dragged around. Can someone please help me? PVector m, pressLoc; float dragDist; boolean firstPressCapture…

---

## [Possible memory leak with video texture in WebGL renderer](https://discourse.processing.org/t/possible-memory-leak-with-video-texture-in-webgl-renderer/16088)

<div class="topic-metadata">

**Author:** [@bzSteve](https://discourse.processing.org/u/bzSteve)\
**Replies:** 4\
**Last updated:** [December 7, 2019, 9:24pm UTC](https://discourse.processing.org/t/possible-memory-leak-with-video-texture-in-webgl-renderer/16088 "2019-12-07T21:24:52Z")

</div>

Hi, I’m brand new to p5.js and I’m enjoying it quite a bit but now I’m experiencing a memory leak using a video texture with a WebGL renderer. I’m on a Mac running macOS 10.15.1 and I’ve tried Safari 13.0.3 and Chrome 7…

---

## [Colision no funciona (processing)](https://discourse.processing.org/t/colision-no-funciona-processing/16209)

<div class="topic-metadata">

**Author:** [@pastormooi](https://discourse.processing.org/u/pastormooi)\
**Replies:** 2\
**Last updated:** [December 7, 2019, 7:55pm UTC](https://discourse.processing.org/t/colision-no-funciona-processing/16209 "2019-12-07T19:55:47Z")

</div>

Intento hacer que los objetos que caen de arriba tengan colision con el objeto que controlas con las flechas izquiera y derecha, alguien me puede ayudar o recomendar algo? aqui esta mi codigo int radius = 20, direccion…

---

## [How to make curveTightness() setting affect curvePoint() / get the points of a curve affected by curveTightness()?](https://discourse.processing.org/t/how-to-make-curvetightness-setting-affect-curvepoint-get-the-points-of-a-curve-affected-by-curvetightness/16228)

<div class="topic-metadata">

**Author:** [@benjaminmarkus](https://discourse.processing.org/u/benjaminmarkus)\
**Replies:** 1\
**Last updated:** [December 7, 2019, 7:45pm UTC](https://discourse.processing.org/t/how-to-make-curvetightness-setting-affect-curvepoint-get-the-points-of-a-curve-affected-by-curvetightness/16228 "2019-12-07T19:45:24Z")

</div>

There’s the curveTightness() function which sets how a curve drawn using either curve() or curveVertex() is rendered, but it does not seem to affect the points returned by curvePoint(), which are always points of a curve…

---

## [Cannot convert from boolean to int](https://discourse.processing.org/t/cannot-convert-from-boolean-to-int/16218)

<div class="topic-metadata">

**Author:** [@Ardy2743](https://discourse.processing.org/u/Ardy2743)\
**Replies:** 7\
**Last updated:** [December 7, 2019, 6:09pm UTC](https://discourse.processing.org/t/cannot-convert-from-boolean-to-int/16218 "2019-12-07T18:09:09Z")

</div>

Hey! I’m new to Arduino and Processing I’m making a game and I want to play a certain sound when I or the CPU scores on Arduino. I’m getting the error cannot convert from boolean to int I don’t know what I’m doing wrong…

---

## [Code snippet needed](https://discourse.processing.org/t/code-snippet-needed/16200)

<div class="topic-metadata">

**Author:** [@urthlight](https://discourse.processing.org/u/urthlight)\
**Replies:** 4\
**Last updated:** [December 7, 2019, 5:21pm UTC](https://discourse.processing.org/t/code-snippet-needed/16200 "2019-12-07T17:21:16Z")

</div>

Does anyone have a more advanced handshaking sketch? Sensor data from Nano. Buttons and sliders from Processing to variables in the nano

---

## [Is there a way to make events happen at specific times?](https://discourse.processing.org/t/is-there-a-way-to-make-events-happen-at-specific-times/16211)

<div class="topic-metadata">

**Author:** [@pw00](https://discourse.processing.org/u/pw00)\
**Replies:** 10\
**Last updated:** [December 7, 2019, 4:14pm UTC](https://discourse.processing.org/t/is-there-a-way-to-make-events-happen-at-specific-times/16211 "2019-12-07T16:14:03Z")

</div>

I’m trying make it seem like a certain portion of an image “rots” (by using tint) after a certain time to show the decomposition rates of different types of recyclables and what not, but I can’t seem to find any tutorial…

---

## [Question about mousePressed](https://discourse.processing.org/t/question-about-mousepressed/16142)

<div class="topic-metadata">

**Author:** [@pw00](https://discourse.processing.org/u/pw00)\
**Replies:** 10\
**Last updated:** [December 7, 2019, 12:10pm UTC](https://discourse.processing.org/t/question-about-mousepressed/16142 "2019-12-07T12:10:33Z")

</div>

So I’m trying to figure out how to make one of my images appear and stay ON SCREEN with mousePressed, but it always goes away. Is there a way I can make it stay on screen? (I’ve also tried to do the same with mouseClicke…

---

## [How can I program a room full of objects during runtime](https://discourse.processing.org/t/how-can-i-program-a-room-full-of-objects-during-runtime/15330)

<div class="topic-metadata">

**Author:** [@Rutger](https://discourse.processing.org/u/Rutger)\
**Replies:** 11\
**Last updated:** [December 7, 2019, 11:30am UTC](https://discourse.processing.org/t/how-can-i-program-a-room-full-of-objects-during-runtime/15330 "2019-12-07T11:30:08Z")

</div>

Sorry for the confusing title, i’m trying to make an abstract project i’m not a native English speaker. I’m trying to make a ‘zoo’ with creatures that were programmed by people during an event. These people will progra…

---

## [Loadstrings with Umlauts Umlaut Umlaute / CSV from Excel](https://discourse.processing.org/t/loadstrings-with-umlauts-umlaut-umlaute-csv-from-excel/16132)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 10\
**Last updated:** [December 7, 2019, 10:14am UTC](https://discourse.processing.org/t/loadstrings-with-umlauts-umlaut-umlaute-csv-from-excel/16132 "2019-12-07T10:14:32Z")

</div>

Hello all, I am loading / loadstrings a CSV with swedish Umlauts öå They don’t come out right - What can I do? // ------------------------------------------------------------------------------------------- // loa…

---

## [Textures with beginContour](https://discourse.processing.org/t/textures-with-begincontour/16206)

<div class="topic-metadata">

**Author:** [@Fin](https://discourse.processing.org/u/Fin)\
**Replies:** 0\
**Last updated:** [December 7, 2019, 7:38am UTC](https://discourse.processing.org/t/textures-with-begincontour/16206 "2019-12-07T07:38:37Z")

</div>

I created a plane with a texture applied and it worked fine. I tried adding a hole in the centre using the beginContour(); function, but doing this however seemed to frick up the textures and I’m not sure how to fix them…

---

## [Regarding Understanding of codebase](https://discourse.processing.org/t/regarding-understanding-of-codebase/16180)

<div class="topic-metadata">

**Author:** [@RadheTians](https://discourse.processing.org/u/RadheTians)\
**Replies:** 1\
**Last updated:** [December 7, 2019, 5:42am UTC](https://discourse.processing.org/t/regarding-understanding-of-codebase/16180 "2019-12-07T05:42:58Z")

</div>

Hello Everyone, It’s stated that I Radhe Raman Tiwari is a Computer Science Student who is having a passion to work towards Open Source Community and the Processing Foundation is a great Community to do so. I have been …

---

## [Minesweeper Game Function Help](https://discourse.processing.org/t/minesweeper-game-function-help/16126)

<div class="topic-metadata">

**Author:** [@IsaiahZ](https://discourse.processing.org/u/IsaiahZ)\
**Replies:** 8\
**Last updated:** [December 7, 2019, 5:38am UTC](https://discourse.processing.org/t/minesweeper-game-function-help/16126 "2019-12-07T05:38:20Z")

</div>

Hi all, I’m attempting to make a minesweeper game. I’ve been given a template and am working off of that. Right now my problem is two things: I need to write a function (I have it called drawMines), where it will acce…

---

## [Why p5 is called p5](https://discourse.processing.org/t/why-p5-is-called-p5/16084)

<div class="topic-metadata">

**Author:** [@mikolaskoa](https://discourse.processing.org/u/mikolaskoa)\
**Replies:** 3\
**Last updated:** [December 7, 2019, 5:27am UTC](https://discourse.processing.org/t/why-p5-is-called-p5/16084 "2019-12-07T05:27:46Z")

</div>

Hello, is it correct, that p5 is called so, because of p- rocessing and HTML-5? Best regards, Adriana

---

## [Saving a frame to be printed in large format](https://discourse.processing.org/t/saving-a-frame-to-be-printed-in-large-format/16120)

<div class="topic-metadata">

**Author:** [@bp396](https://discourse.processing.org/u/bp396)\
**Replies:** 2\
**Last updated:** [December 7, 2019, 5:13am UTC](https://discourse.processing.org/t/saving-a-frame-to-be-printed-in-large-format/16120 "2019-12-07T05:13:48Z")

</div>

I am running a sketch that involves interaction so that I need to be able to see the entire sketch while it is running. I would like to run the sketch at a large size so that I have a high resolution output for the fram…

---

## [Particles reactive to sound](https://discourse.processing.org/t/particles-reactive-to-sound/15798)

<div class="topic-metadata">

**Author:** [@marcoo](https://discourse.processing.org/u/marcoo)\
**Replies:** 1\
**Last updated:** [December 7, 2019, 5:06am UTC](https://discourse.processing.org/t/particles-reactive-to-sound/15798 "2019-12-07T05:06:49Z")

</div>

Hi, i’m new at generative design/art and i was looking how i could create reactive particles to sound. What i have its the code of daniel shiffman of “particle system” and i want to add a music and see particles appearin…

---

## [Creating 2D Obstacle-Dodging Game](https://discourse.processing.org/t/creating-2d-obstacle-dodging-game/16196)

<div class="topic-metadata">

**Author:** [@beanbagchair](https://discourse.processing.org/u/beanbagchair)\
**Replies:** 1\
**Last updated:** [December 7, 2019, 2:34am UTC](https://discourse.processing.org/t/creating-2d-obstacle-dodging-game/16196 "2019-12-07T02:34:02Z")

</div>

Hi, I am taking an Object-Oriented Programming class, and our final project can be anything we want. I decided to create a game which has a car traveling around a track, with a random set of objects appearing on the tra…

---

## [Share code processing IDE](https://discourse.processing.org/t/share-code-processing-ide/16070)

<div class="topic-metadata">

**Author:** [@Dima](https://discourse.processing.org/u/Dima)\
**Replies:** 2\
**Last updated:** [December 7, 2019, 1:48am UTC](https://discourse.processing.org/t/share-code-processing-ide/16070 "2019-12-07T01:48:54Z")

</div>

Hello, i am a software engineering student, and for my final project i want to develop a real time coding processing IDE, Like hello.processing but with the ability to code with multiply developers (like codeshare.io). C…

---

## [Library acess some core function and other not](https://discourse.processing.org/t/library-acess-some-core-function-and-other-not/16077)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 5\
**Last updated:** [December 7, 2019, 1:07am UTC](https://discourse.processing.org/t/library-acess-some-core-function-and-other-not/16077 "2019-12-07T01:07:23Z")

</div>

I, I’m trying to create my own library and it’s not so easy. The small class I create don’t recognize the “color” type even he is in processing.core. public class Triangle { color\[\] colors = new color\[3\];} The functi…

---

## [Kinect - flickering screen on part of image](https://discourse.processing.org/t/kinect-flickering-screen-on-part-of-image/16182)

<div class="topic-metadata">

**Author:** [@Jackieh111](https://discourse.processing.org/u/Jackieh111)\
**Replies:** 0\
**Last updated:** [December 6, 2019, 5:31pm UTC](https://discourse.processing.org/t/kinect-flickering-screen-on-part-of-image/16182 "2019-12-06T17:31:23Z")

</div>

Hello - this sketch is from Making Things See by Greg Borenstein and it works except that the image portion created from userMap flickers on the lower half of the user image. Can anyone help me to solve this problem. On…

---

## [Multiple Instances only drawing last instance](https://discourse.processing.org/t/multiple-instances-only-drawing-last-instance/16186)

<div class="topic-metadata">

**Author:** [@Andrew](https://discourse.processing.org/u/Andrew)\
**Replies:** 2\
**Last updated:** [December 6, 2019, 7:40pm UTC](https://discourse.processing.org/t/multiple-instances-only-drawing-last-instance/16186 "2019-12-06T19:40:57Z")

</div>

I’m just getting started with Processing (3.5.3), and so far it’s been pretty fun. However, I’ve hit a snag, and even after researching for a couple hours I still can’t figure it out. I try to create two instances of ci…

---

## [Finding wordcount/frequency with a given text file](https://discourse.processing.org/t/finding-wordcount-frequency-with-a-given-text-file/16178)

<div class="topic-metadata">

**Author:** [@bc15](https://discourse.processing.org/u/bc15)\
**Replies:** 3\
**Last updated:** [December 6, 2019, 7:27pm UTC](https://discourse.processing.org/t/finding-wordcount-frequency-with-a-given-text-file/16178 "2019-12-06T19:27:46Z")

</div>

I have a decent idea on how to visualize it with a box plot as it was practiced during class, but I’m having trouble calculating the frequency of each words by modifying the given code :frowning: Read in the text file. …

---

## [Finding unique/distinct values in a list](https://discourse.processing.org/t/finding-unique-distinct-values-in-a-list/16183)

<div class="topic-metadata">

**Author:** [@Lehmoxy](https://discourse.processing.org/u/Lehmoxy)\
**Replies:** 3\
**Last updated:** [December 6, 2019, 6:43pm UTC](https://discourse.processing.org/t/finding-unique-distinct-values-in-a-list/16183 "2019-12-06T18:43:34Z")

</div>

Hello all, I’m wondering if there is a function in processing to find unique/distinct values in arrays/lists. I am trying to make a dropdown menu from an imported data set. For example, if I have an array of 5 elements …

---

## [Ondas Esféricas que se desvanecen en Loop](https://discourse.processing.org/t/ondas-esfericas-que-se-desvanecen-en-loop/15852)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 17\
**Last updated:** [December 6, 2019, 6:39pm UTC](https://discourse.processing.org/t/ondas-esfericas-que-se-desvanecen-en-loop/15852 "2019-12-06T18:39:58Z")

</div>

Hola, Estoy intentando crear una animación similar a la adjuntada, pero con circunferencias. La idea es que haya: circunferencias que crecen y se van desvaneciendo. que cada segundo, o segundo y medio, surja una ci…

---

## ["Case expressions must be constant expressions" with final int](https://discourse.processing.org/t/case-expressions-must-be-constant-expressions-with-final-int/16109)

<div class="topic-metadata">

**Author:** [@TurboSlayer](https://discourse.processing.org/u/TurboSlayer)\
**Replies:** 12\
**Last updated:** [December 6, 2019, 3:47pm UTC](https://discourse.processing.org/t/case-expressions-must-be-constant-expressions-with-final-int/16109 "2019-12-06T15:47:12Z")

</div>

I get an error saying “Case expressions must be constant expressions”. I couldn’t fix it no matter what. Is the only solution to change xSpeed as well as origxSpeed or is there a way to set origxSpeed to xSpeed without g…

---

## [Debugger says getStringColumn() does not exist](https://discourse.processing.org/t/debugger-says-getstringcolumn-does-not-exist/16159)

<div class="topic-metadata">

**Author:** [@Lehmoxy](https://discourse.processing.org/u/Lehmoxy)\
**Replies:** 16\
**Last updated:** [December 6, 2019, 4:16pm UTC](https://discourse.processing.org/t/debugger-says-getstringcolumn-does-not-exist/16159 "2019-12-06T16:16:38Z")

</div>

I have created a Table object using the following code: dataTable = new Table("Freezer Stock.txt"); Now, I want to create arrays that have certain columns’ information so that I can create a dropdown menu. For some rea…

---

## [Letra desenfocada](https://discourse.processing.org/t/letra-desenfocada/16169)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 2\
**Last updated:** [December 6, 2019, 2:45pm UTC](https://discourse.processing.org/t/letra-desenfocada/16169 "2019-12-06T14:45:02Z")

</div>

Hi guys, This text does not look very clear, can somebody tell me how make it more defined? Thanks void setup(){ size(270,540); background(0,0,0); noStroke(); smooth(); } void draw() { fill(255, 255, 255,…

---

## [After importing one icon i want to give functionality](https://discourse.processing.org/t/after-importing-one-icon-i-want-to-give-functionality/15859)

<div class="topic-metadata">

**Author:** [@aronisha](https://discourse.processing.org/u/aronisha)\
**Replies:** 24\
**Last updated:** [December 6, 2019, 10:29am UTC](https://discourse.processing.org/t/after-importing-one-icon-i-want-to-give-functionality/15859 "2019-12-06T10:29:35Z")

</div>

i use user account icon and i want to give some functionality for that icon.

---

## [P5.js gui library slider control](https://discourse.processing.org/t/p5-js-gui-library-slider-control/16114)

<div class="topic-metadata">

**Author:** [@morgantp98](https://discourse.processing.org/u/morgantp98)\
**Replies:** 5\
**Last updated:** [December 6, 2019, 12:03pm UTC](https://discourse.processing.org/t/p5-js-gui-library-slider-control/16114 "2019-12-06T12:03:03Z")

</div>

I have a row of shapes which I have made, with a slider from the p5.gui library controlling the rotation speed of one of the shapes. I would like the “Fan” slider to be able to pick specific shapes so I can change the sp…

---

## [Degradado en fondo con temblor (Gradient in background with tremor)](https://discourse.processing.org/t/degradado-en-fondo-con-temblor-gradient-in-background-with-tremor/16134)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 15\
**Last updated:** [December 6, 2019, 10:37am UTC](https://discourse.processing.org/t/degradado-en-fondo-con-temblor-gradient-in-background-with-tremor/16134 "2019-12-06T10:37:27Z")

</div>

Hi guys, I have a problem with the background of my program. If it is a solid color, everything works, buti if I draw a gradient, animation trembles. Can you recomend me any solution? Thank you very much. int x; int se…

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

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