# Processing

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

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

**Page:** 312

---

## [Processing crashes after file selection dialog](https://discourse.processing.org/t/processing-crashes-after-file-selection-dialog/1431)

<div class="topic-metadata">

**Author:** [@roy](https://discourse.processing.org/u/roy)\
**Replies:** 5\
**Last updated:** [March 31, 2019, 10:21am UTC](https://discourse.processing.org/t/processing-crashes-after-file-selection-dialog/1431 "2019-03-31T10:21:39Z")

</div>

OS: Ubuntu 18.04 Processing version: 3.3.7 When I start processing and go to File\>Open, two things happen: The dialog doesn’t detect any pde files When I close the dialog box, processing crashes with this in the cons…

---

## [mouseClicked function using an image](https://discourse.processing.org/t/mouseclicked-function-using-an-image/9795)

<div class="topic-metadata">

**Author:** [@mvincee](https://discourse.processing.org/u/mvincee)\
**Replies:** 1\
**Last updated:** [March 31, 2019, 3:31am UTC](https://discourse.processing.org/t/mouseclicked-function-using-an-image/9795 "2019-03-31T03:31:40Z")

</div>

I have four emojis displaying in a canvas. Each image when clicked will change the background. For example, smiling face, a rising sun will appear. First question, how do I use the mouseClicked event on an image? Second,…

---

## [Size cannot be used here](https://discourse.processing.org/t/size-cannot-be-used-here/9765)

<div class="topic-metadata">

**Author:** [@yonjukyu](https://discourse.processing.org/u/yonjukyu)\
**Replies:** 3\
**Last updated:** [March 30, 2019, 10:20pm UTC](https://discourse.processing.org/t/size-cannot-be-used-here/9765 "2019-03-30T22:20:29Z")

</div>

hello i am creating a little game and everything was ok before an error appeared: Could not run the sketch: size cannot be used here. here is my code (there is 4 authers classes): boolean keys\[\]; int vaisseau\_x = …

---

## [Fluid or Smoke Library](https://discourse.processing.org/t/fluid-or-smoke-library/9750)

<div class="topic-metadata">

**Author:** [@Modular](https://discourse.processing.org/u/Modular)\
**Replies:** 2\
**Last updated:** [March 29, 2019, 7:33pm UTC](https://discourse.processing.org/t/fluid-or-smoke-library/9750 "2019-03-29T19:33:28Z")

</div>

Hi guys, i’m a beginner here and in the study of processing; Is there someone could help me to find some fluid or smoke library similar to this: any kind of advice to make this kind of stuff, would be very welcome. …

---

## [Mercator Map question: ellipse not showing](https://discourse.processing.org/t/mercator-map-question-ellipse-not-showing/9748)

<div class="topic-metadata">

**Author:** [@antoinesaurat](https://discourse.processing.org/u/antoinesaurat)\
**Replies:** 1\
**Last updated:** [March 30, 2019, 7:42pm UTC](https://discourse.processing.org/t/mercator-map-question-ellipse-not-showing/9748 "2019-03-30T19:42:39Z")

</div>

Dear all, First of all nice to meet you, I am (a very excited) beginner in Processing. Congratulations for this amazingly clear and friendly forum. As stated in the title, I am trying to use a code from Till Nagel to p…

---

## [Flappy bird colision help](https://discourse.processing.org/t/flappy-bird-colision-help/9736)

<div class="topic-metadata">

**Author:** [@bobbobbobbob](https://discourse.processing.org/u/bobbobbobbob)\
**Replies:** 4\
**Last updated:** [March 30, 2019, 5:21pm UTC](https://discourse.processing.org/t/flappy-bird-colision-help/9736 "2019-03-30T17:21:00Z")

</div>

int rectX2; float r2; int rectX; float r; float v = -1; float y = 300; void setup() { size(600, 600); background(0); r = random(50, 450); rectX = 550; r2 = random(50, 450); rectX2 = 1100; } void draw() { b…

---

## [Using data to draw custom shapes](https://discourse.processing.org/t/using-data-to-draw-custom-shapes/9733)

<div class="topic-metadata">

**Author:** [@kirstee\_baxt](https://discourse.processing.org/u/kirstee_baxt)\
**Replies:** 10\
**Last updated:** [March 30, 2019, 4:55pm UTC](https://discourse.processing.org/t/using-data-to-draw-custom-shapes/9733 "2019-03-30T16:55:23Z")

</div>

Hello! I don’t have a lot of code experience, but have been learning a lot about Processing through tutorials, etc. I have a desire to pull data in from a csv that contains two columns : time (in decimal format) and an …

---

## [Exporting Application not working. "windres.exe: can't open file"](https://discourse.processing.org/t/exporting-application-not-working-windres-exe-cant-open-file/9790)

<div class="topic-metadata">

**Author:** [@Xabdro](https://discourse.processing.org/u/Xabdro)\
**Replies:** 8\
**Last updated:** [March 30, 2019, 4:55pm UTC](https://discourse.processing.org/t/exporting-application-not-working-windres-exe-cant-open-file/9790 "2019-03-30T16:55:21Z")

</div>

Hi all, I’m trying to export a sketch to an application. I am using windows 10 and processing 3.5.3. I am trying to embed java when I export. Regardless of the sketch I try I always get the same error: https://pastebi…

---

## [How can I set different sizes for Char with Geomerative?](https://discourse.processing.org/t/how-can-i-set-different-sizes-for-char-with-geomerative/9642)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 1\
**Last updated:** [March 30, 2019, 3:39pm UTC](https://discourse.processing.org/t/how-can-i-set-different-sizes-for-char-with-geomerative/9642 "2019-03-30T15:39:08Z")

</div>

Hello, I am using the Geomerative library to draw some text. I manage to split it into chars and then set their size according to their distance with mouseX, but the space between char is acting strangely. I’d like it …

---

## [Head tracking Gradient brushes](https://discourse.processing.org/t/head-tracking-gradient-brushes/9684)

<div class="topic-metadata">

**Author:** [@daankuyper](https://discourse.processing.org/u/daankuyper)\
**Replies:** 3\
**Last updated:** [March 29, 2019, 8:45pm UTC](https://discourse.processing.org/t/head-tracking-gradient-brushes/9684 "2019-03-29T20:45:10Z")

</div>

Hey everybody, I’m quite new to processing. I’ve done 1 very simple project before involving processing and a kinect where I only used a image sequence that changed when the distance changed of the user. The problem I …

---

## [Minim Exercise HELP](https://discourse.processing.org/t/minim-exercise-help/9492)

<div class="topic-metadata">

**Author:** [@JoseBri93](https://discourse.processing.org/u/JoseBri93)\
**Replies:** 6\
**Last updated:** [March 29, 2019, 6:30pm UTC](https://discourse.processing.org/t/minim-exercise-help/9492 "2019-03-29T18:30:08Z")

</div>

Hi Everybody! I’ve just started playing with Minim Library and I’m struggling with an exercise i found here (http://responsivedesign.de/wp-content/uploads/2016/05/tutorial-06\_processing-soundmapping2.pdf). In a few word…

---

## [Confused as to how I could implement a sorting algorithm in Processing](https://discourse.processing.org/t/confused-as-to-how-i-could-implement-a-sorting-algorithm-in-processing/9708)

<div class="topic-metadata">

**Author:** [@Xevion](https://discourse.processing.org/u/Xevion)\
**Replies:** 3\
**Last updated:** [March 29, 2019, 5:50pm UTC](https://discourse.processing.org/t/confused-as-to-how-i-could-implement-a-sorting-algorithm-in-processing/9708 "2019-03-29T17:50:04Z")

</div>

Hi, I’m just getting started in programming and have been working with Processing for a couple of months now, but haven’t found a solution to a rather advanced (for me) problem concerning solving and projecting an array …

---

## [Subtitles or Closed Captions in Processing?](https://discourse.processing.org/t/subtitles-or-closed-captions-in-processing/9700)

<div class="topic-metadata">

**Author:** [@benjgorman](https://discourse.processing.org/u/benjgorman)\
**Replies:** 5\
**Last updated:** [March 29, 2019, 3:29pm UTC](https://discourse.processing.org/t/subtitles-or-closed-captions-in-processing/9700 "2019-03-29T15:29:42Z")

</div>

I’m building a prototype where I manipulate some subtitles (TTML/DFXP format) based on some interaction from the user. Currently, I can read in a subtitle file using XML parsing, but I was looking to see if there was an…

---

## [Score doesn't work](https://discourse.processing.org/t/score-doesnt-work/9418)

<div class="topic-metadata">

**Author:** [@alexanecula](https://discourse.processing.org/u/alexanecula)\
**Replies:** 12\
**Last updated:** [March 29, 2019, 7:24am UTC](https://discourse.processing.org/t/score-doesnt-work/9418 "2019-03-29T07:24:35Z")

</div>

Hi, everyone! I’ve been working a pong game lately (my first game actually) and I’m kind of struggling with a very big problem: the scores don’t work and I genuinely don’t know why! It shows “0” the whole time and it si…

---

## [Options for making custom shapes with different contours](https://discourse.processing.org/t/options-for-making-custom-shapes-with-different-contours/9689)

<div class="topic-metadata">

**Author:** [@Leo\_Aguiar](https://discourse.processing.org/u/Leo_Aguiar)\
**Replies:** 2\
**Last updated:** [March 29, 2019, 12:08am UTC](https://discourse.processing.org/t/options-for-making-custom-shapes-with-different-contours/9689 "2019-03-29T00:08:02Z")

</div>

Hi community, I’m searching for ways for making custom shapes. I have tried using the beginContour() and endContour() functions with the beginShape()/endShape() functions but there are limitations to using them. For ex…

---

## [Some guidance for beginners](https://discourse.processing.org/t/some-guidance-for-beginners/115)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 2\
**Last updated:** [March 28, 2019, 5:02pm UTC](https://discourse.processing.org/t/some-guidance-for-beginners/115 "2019-03-28T17:02:02Z")

</div>

I want to give some guidance for beginners. Mostly links to resources. Other members, please feel free to contribute. Thank you! Best, Chrisir :wink: What is programming? Whenever you use a computer, a program …

---

## [Tron Game movement](https://discourse.processing.org/t/tron-game-movement/9604)

<div class="topic-metadata">

**Author:** [@o0804337](https://discourse.processing.org/u/o0804337)\
**Replies:** 3\
**Last updated:** [March 25, 2019, 11:29pm UTC](https://discourse.processing.org/t/tron-game-movement/9604 "2019-03-25T23:29:38Z")

</div>

I been making Tron but when I go backwards I die. Can someone help me fix this? boolean gameOver=false; boolean gameOver1=false; Car\_2 c=new Car\_2(); Car\_1 f=new Car\_1(); int direction=RIGHT; int Direction2=LEFT; boole…

---

## [Classes and ArrayList](https://discourse.processing.org/t/classes-and-arraylist/9626)

<div class="topic-metadata">

**Author:** [@lormanny](https://discourse.processing.org/u/lormanny)\
**Replies:** 2\
**Last updated:** [March 28, 2019, 10:51am UTC](https://discourse.processing.org/t/classes-and-arraylist/9626 "2019-03-28T10:51:04Z")

</div>

So I am trying to make an Aquarium. This is a project to help with object oriented progamming. First I made bubbles that start at the bottom of the screen and goes to the top. Once they reach the top it resets, goes to t…

---

## [Help with PraxisLive](https://discourse.processing.org/t/help-with-praxislive/9674)

<div class="topic-metadata">

**Author:** [@Beginner1](https://discourse.processing.org/u/Beginner1)\
**Replies:** 7\
**Last updated:** [March 28, 2019, 9:59am UTC](https://discourse.processing.org/t/help-with-praxislive/9674 "2019-03-28T09:59:56Z")

</div>

I am new to praxis live and found it very interesting and i am trying to learn it to use it for visualisation of live coding. I am trying to run the tutorials but only the circles tutorial works perfectly fine. The other…

---

## [Changing the background for an image (related to the arduino logo example)](https://discourse.processing.org/t/changing-the-background-for-an-image-related-to-the-arduino-logo-example/9707)

<div class="topic-metadata">

**Author:** [@ShermanM](https://discourse.processing.org/u/ShermanM)\
**Replies:** 2\
**Last updated:** [March 28, 2019, 4:08am UTC](https://discourse.processing.org/t/changing-the-background-for-an-image-related-to-the-arduino-logo-example/9707 "2019-03-28T04:08:10Z")

</div>

For the life of my, I can’t sort out why this won’t work, despite looking at several examples and tutorials online that would suggest this should work. I am largely using the example from the Arduino projects book, chapt…

---

## [Having trouble tracking color key](https://discourse.processing.org/t/having-trouble-tracking-color-key/9614)

<div class="topic-metadata">

**Author:** [@chakes00](https://discourse.processing.org/u/chakes00)\
**Replies:** 1\
**Last updated:** [March 28, 2019, 4:31am UTC](https://discourse.processing.org/t/having-trouble-tracking-color-key/9614 "2019-03-28T04:31:27Z")

</div>

Hi, I am fairly new to processing, I have been working in it for a little over 2 months for a class that I am taking. To cut straight to the chase, I am trying to track a very bright green color, essentially as a color …

---

## [Forcing SinOsc objects into phase in Processing.sound](https://discourse.processing.org/t/forcing-sinosc-objects-into-phase-in-processing-sound/9702)

<div class="topic-metadata">

**Author:** [@rmullan](https://discourse.processing.org/u/rmullan)\
**Replies:** 1\
**Last updated:** [March 28, 2019, 3:37am UTC](https://discourse.processing.org/t/forcing-sinosc-objects-into-phase-in-processing-sound/9702 "2019-03-28T03:37:20Z")

</div>

So if you have a user able to turn on or turn off a SinOsc channel with a button, depending on when the button is pressed the tones will be more or less out of phase with each other, leading to different sounds being pro…

---

## [Problems with framerate](https://discourse.processing.org/t/problems-with-framerate/8998)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 5\
**Last updated:** [March 28, 2019, 2:55am UTC](https://discourse.processing.org/t/problems-with-framerate/8998 "2019-03-28T02:55:26Z")

</div>

Hi, I am trying to recreating the game Undertale for a project at my school, however I have a problem with the framerate. I want the framerate to be at 60 but it is around 20 to 30. It may be because of the pictures I lo…

---

## [Is it possible to open a second window in processing 3.4 using G4P](https://discourse.processing.org/t/is-it-possible-to-open-a-second-window-in-processing-3-4-using-g4p/5888)

<div class="topic-metadata">

**Author:** [@mbe](https://discourse.processing.org/u/mbe)\
**Replies:** 15\
**Last updated:** [March 27, 2019, 9:38pm UTC](https://discourse.processing.org/t/is-it-possible-to-open-a-second-window-in-processing-3-4-using-g4p/5888 "2019-03-27T21:38:23Z")

</div>

Hello, i am using G4P and i want to open a second window using the variables set in the G4P window. Is there a way ? thanks

---

## [Text Covered by Image](https://discourse.processing.org/t/text-covered-by-image/9692)

<div class="topic-metadata">

**Author:** [@figraham](https://discourse.processing.org/u/figraham)\
**Replies:** 0\
**Last updated:** [March 27, 2019, 9:17pm UTC](https://discourse.processing.org/t/text-covered-by-image/9692 "2019-03-27T21:17:07Z")

</div>

Hey @fwtini. I’m moving your question it’s own topic because the guidelines topic is for discussing the site’s guidelines. In future please use the new topic button on the main page to ask questions. It looks like you’r…

---

## [Issue with achieving connection to Google Clould through processing](https://discourse.processing.org/t/issue-with-achieving-connection-to-google-clould-through-processing/9560)

<div class="topic-metadata">

**Author:** [@georgeklr](https://discourse.processing.org/u/georgeklr)\
**Replies:** 7\
**Last updated:** [March 27, 2019, 9:06pm UTC](https://discourse.processing.org/t/issue-with-achieving-connection-to-google-clould-through-processing/9560 "2019-03-27T21:06:02Z")

</div>

I created a google instance, using google cloud, following the standard procedure i created a key, in order to connect remotely through third parties. I am able to connect to the instance through terminal, script , java …

---

## [Trying to loop circles and make them disappear when hovered over](https://discourse.processing.org/t/trying-to-loop-circles-and-make-them-disappear-when-hovered-over/9612)

<div class="topic-metadata">

**Author:** [@longhorn392](https://discourse.processing.org/u/longhorn392)\
**Replies:** 2\
**Last updated:** [March 27, 2019, 9:01pm UTC](https://discourse.processing.org/t/trying-to-loop-circles-and-make-them-disappear-when-hovered-over/9612 "2019-03-27T21:01:17Z")

</div>

Hey guys I’m new to processing and working on a project for class. I’ve made a main file and one in a new tab for my object class Circle. Circle\[\] circle = new Circle\[20\]; void setup() { size(1280, 720); background…

---

## [ControlP5: frame not working in Mojave](https://discourse.processing.org/t/controlp5-frame-not-working-in-mojave/9666)

<div class="topic-metadata">

**Author:** [@mgg](https://discourse.processing.org/u/mgg)\
**Replies:** 5\
**Last updated:** [March 27, 2019, 5:42pm UTC](https://discourse.processing.org/t/controlp5-frame-not-working-in-mojave/9666 "2019-03-27T17:42:47Z")

</div>

Hi all, Got a new Mac Mini today to run an installation and it has Mojave. Installed Processing with nothing else on the machine, installed some libraries including controlP5, and tried running the included example Con…

---

## [Help with Extrusion from 2D to 3D](https://discourse.processing.org/t/help-with-extrusion-from-2d-to-3d/9656)

<div class="topic-metadata">

**Author:** [@Pierre](https://discourse.processing.org/u/Pierre)\
**Replies:** 4\
**Last updated:** [March 27, 2019, 3:07pm UTC](https://discourse.processing.org/t/help-with-extrusion-from-2d-to-3d/9656 "2019-03-27T15:07:03Z")

</div>

Hello everyone ! It’s my first post and I’m glad to be new member of the community :slight\_smile: I’m attempting to write a code that allows me to create a 3D image out of a 2D image. I’ve tried this code (see bellow) b…

---

## [Need to 'linearize' a logarithmic pot](https://discourse.processing.org/t/need-to-linearize-a-logarithmic-pot/9647)

<div class="topic-metadata">

**Author:** [@alan856](https://discourse.processing.org/u/alan856)\
**Replies:** 9\
**Last updated:** [March 27, 2019, 12:54pm UTC](https://discourse.processing.org/t/need-to-linearize-a-logarithmic-pot/9647 "2019-03-27T12:54:22Z")

</div>

Have been working with @jeremydouglass on using a joystick that was returning unusual values, and I couldn’t get them to work like a ‘normal’ joystick. As it turns out - the pot on this stick has a logarithmic curve! …

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

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