# Processing

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

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

**Page:** 320

---

## [Ball bouncing on a grid](https://discourse.processing.org/t/ball-bouncing-on-a-grid/8688)

<div class="topic-metadata">

**Author:** [@pritesh](https://discourse.processing.org/u/pritesh)\
**Replies:** 9\
**Last updated:** [February 24, 2019, 7:06pm UTC](https://discourse.processing.org/t/ball-bouncing-on-a-grid/8688 "2019-02-24T19:06:24Z")

</div>

Hello, I recently started learning processing and I have been trying to write a code in which a ball is bouncing off the four corners of a grid. Can someone plz help me with this? float x = 150; float y = 150; void…

---

## [Image capture with Processing and OpenCV](https://discourse.processing.org/t/image-capture-with-processing-and-opencv/8642)

<div class="topic-metadata">

**Author:** [@Grisha](https://discourse.processing.org/u/Grisha)\
**Replies:** 5\
**Last updated:** [February 24, 2019, 6:53pm UTC](https://discourse.processing.org/t/image-capture-with-processing-and-opencv/8642 "2019-02-24T18:53:30Z")

</div>

I need to take a photo from WebCamera. How to do it using OpenCV and Processing ?

---

## [How to use characters (and assign tasks to these characters) from a .txt file in Processing](https://discourse.processing.org/t/how-to-use-characters-and-assign-tasks-to-these-characters-from-a-txt-file-in-processing/8604)

<div class="topic-metadata">

**Author:** [@anon98404100](https://discourse.processing.org/u/anon98404100)\
**Replies:** 14\
**Last updated:** [February 24, 2019, 5:03pm UTC](https://discourse.processing.org/t/how-to-use-characters-and-assign-tasks-to-these-characters-from-a-txt-file-in-processing/8604 "2019-02-24T17:03:25Z")

</div>

We have a project called “generative art”. Our goal is to make a program, and that program creates something totally random that works as a form of art. My idea was the following, and I wanted to base it around the sub…

---

## [Save image by input name as jpg or to absolute path](https://discourse.processing.org/t/save-image-by-input-name-as-jpg-or-to-absolute-path/8674)

<div class="topic-metadata">

**Author:** [@angelman](https://discourse.processing.org/u/angelman)\
**Replies:** 6\
**Last updated:** [February 24, 2019, 4:32am UTC](https://discourse.processing.org/t/save-image-by-input-name-as-jpg-or-to-absolute-path/8674 "2019-02-24T04:32:18Z")

</div>

I am inputting a list of names and output images made as result of list of names. This works fine . It will out put them as tif . But how can I get them output as jpg. and also to a folder in the sketch folder rather th…

---

## [Mouse interaction](https://discourse.processing.org/t/mouse-interaction/8673)

<div class="topic-metadata">

**Author:** [@Floralvxins](https://discourse.processing.org/u/Floralvxins)\
**Replies:** 3\
**Last updated:** [February 24, 2019, 12:56am UTC](https://discourse.processing.org/t/mouse-interaction/8673 "2019-02-24T00:56:35Z")

</div>

Okay so I understand the basic language needed to input a simple mouse click. My main question as a new student in coding is what else needs to be incorporated into this code for it to change from one data visualization …

---

## [Is it possible to "move" your coordinate by moving the mouse?](https://discourse.processing.org/t/is-it-possible-to-move-your-coordinate-by-moving-the-mouse/8574)

<div class="topic-metadata">

**Author:** [@LaLiia](https://discourse.processing.org/u/LaLiia)\
**Replies:** 4\
**Last updated:** [February 23, 2019, 8:45pm UTC](https://discourse.processing.org/t/is-it-possible-to-move-your-coordinate-by-moving-the-mouse/8574 "2019-02-23T20:45:10Z")

</div>

Hello, is it possible to “move” a coordinate (vector point) through the movement of the mouse? So that the effect is a form, for example a circle, to bend? Similar to the “Liquify” filter in Photoshop. I would be very …

---

## [Loosing lives really fast when Collision happens](https://discourse.processing.org/t/loosing-lives-really-fast-when-collision-happens/8627)

<div class="topic-metadata">

**Author:** [@vinipineschi](https://discourse.processing.org/u/vinipineschi)\
**Replies:** 8\
**Last updated:** [February 23, 2019, 7:20pm UTC](https://discourse.processing.org/t/loosing-lives-really-fast-when-collision-happens/8627 "2019-02-23T19:20:36Z")

</div>

Hi, I was trying to create a simple collision code for my Asteroid game. Basically I managed to create the collision between the objects (Spaceship and Asteroid), however when I created this if condition bellow: if (xp…

---

## [How to draw a black and white cookie?](https://discourse.processing.org/t/how-to-draw-a-black-and-white-cookie/8634)

<div class="topic-metadata">

**Author:** [@sorenkirk](https://discourse.processing.org/u/sorenkirk)\
**Replies:** 4\
**Last updated:** [February 23, 2019, 7:14pm UTC](https://discourse.processing.org/t/how-to-draw-a-black-and-white-cookie/8634 "2019-02-23T19:14:54Z")

</div>

I am basically trying to draw something like this: I can draw a half circle and a larger surrounding circle, but I am having trouble simulating the uneven-ness of one of the half circles and making the shape look beve…

---

## [Processing prompt does not install G4P, how to solve it?](https://discourse.processing.org/t/processing-prompt-does-not-install-g4p-how-to-solve-it/8549)

<div class="topic-metadata">

**Author:** [@aienzer](https://discourse.processing.org/u/aienzer)\
**Replies:** 3\
**Last updated:** [February 23, 2019, 5:43pm UTC](https://discourse.processing.org/t/processing-prompt-does-not-install-g4p-how-to-solve-it/8549 "2019-02-23T17:43:48Z")

</div>

---

## [Trying to get interaction with two objects](https://discourse.processing.org/t/trying-to-get-interaction-with-two-objects/8666)

<div class="topic-metadata">

**Author:** [@tkozeletz](https://discourse.processing.org/u/tkozeletz)\
**Replies:** 1\
**Last updated:** [February 23, 2019, 5:32pm UTC](https://discourse.processing.org/t/trying-to-get-interaction-with-two-objects/8666 "2019-02-23T17:32:33Z")

</div>

I am getting so confused by the code that I have created. I am trying to make it so that when the laser hits the alien, the alien would disappear. To make the laser work, you have to press and hold the mouse. Please help…

---

## [Midi and Object-Oriented Programming](https://discourse.processing.org/t/midi-and-object-oriented-programming/8633)

<div class="topic-metadata">

**Author:** [@Frappiert](https://discourse.processing.org/u/Frappiert)\
**Replies:** 1\
**Last updated:** [February 23, 2019, 5:27pm UTC](https://discourse.processing.org/t/midi-and-object-oriented-programming/8633 "2019-02-23T17:27:36Z")

</div>

Hello, I’m new here. I am trying to control an object oriented project with a midi controller. After doing my oop sketch (thanks to the coding train), I thought I should use the midiBus library. But I can’t figure how …

---

## [Making a long text appearing and disappearing](https://discourse.processing.org/t/making-a-long-text-appearing-and-disappearing/8658)

<div class="topic-metadata">

**Author:** [@videopirate](https://discourse.processing.org/u/videopirate)\
**Replies:** 11\
**Last updated:** [February 23, 2019, 4:19pm UTC](https://discourse.processing.org/t/making-a-long-text-appearing-and-disappearing/8658 "2019-02-23T16:19:22Z")

</div>

Hi everyone, I am new here. hi hi! I am a visual artist and I project text (poetry) to an audience. I would love some help in making a long text appearing and disappearing. At the moment I have only two words. In my c…

---

## [Anyone using Processing in Archlinux or Vim's plugin: Vim-processing?](https://discourse.processing.org/t/anyone-using-processing-in-archlinux-or-vims-plugin-vim-processing/8655)

<div class="topic-metadata">

**Author:** [@nyquil](https://discourse.processing.org/u/nyquil)\
**Replies:** 2\
**Last updated:** [February 23, 2019, 1:16pm UTC](https://discourse.processing.org/t/anyone-using-processing-in-archlinux-or-vims-plugin-vim-processing/8655 "2019-02-23T13:16:37Z")

</div>

Interested in learning a bit of processing, so just curious how well arch’s processing from the repository runs (since it uses openjdk), and also is anyone using this vim-processing for their vim? it hasn’t been updated …

---

## [While loop question](https://discourse.processing.org/t/while-loop-question/1230)

<div class="topic-metadata">

**Author:** [@Parastoo](https://discourse.processing.org/u/Parastoo)\
**Replies:** 7\
**Last updated:** [February 23, 2019, 9:20am UTC](https://discourse.processing.org/t/while-loop-question/1230 "2019-02-23T09:20:13Z")

</div>

I was watching The Coding Train’s While Loop tutorial (lesson 6.1-see link below). I had a really hard time digesting it and still don’t quite understand one thing. Why does it matter to reset x=0? I mean if you put “x=…

---

## [Procesing controlP5 error](https://discourse.processing.org/t/procesing-controlp5-error/8577)

<div class="topic-metadata">

**Author:** [@aprilla](https://discourse.processing.org/u/aprilla)\
**Replies:** 12\
**Last updated:** [February 23, 2019, 8:08am UTC](https://discourse.processing.org/t/procesing-controlp5-error/8577 "2019-02-23T08:08:52Z")

</div>

arduino v plotter not work what is the problem I do not understand help me please WARNING: You are using a character that is not supported by controlP5’s BitFont-Renderer, you could use ControlFont instead (see the Co…

---

## [Problem when updating libraries](https://discourse.processing.org/t/problem-when-updating-libraries/8643)

<div class="topic-metadata">

**Author:** [@Grisha](https://discourse.processing.org/u/Grisha)\
**Replies:** 3\
**Last updated:** [February 23, 2019, 8:01am UTC](https://discourse.processing.org/t/problem-when-updating-libraries/8643 "2019-02-23T08:01:09Z")

</div>

Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException at processing.app.contrib.ListPanel$ContribStatusRenderer.configureStatusColumnLabel(ListPanel.java:330) at processing.app.contrib.ListPanel$Contrib…

---

## [Does Processing have a step by step executor?](https://discourse.processing.org/t/does-processing-have-a-step-by-step-executor/8613)

<div class="topic-metadata">

**Author:** [@Livaarleen](https://discourse.processing.org/u/Livaarleen)\
**Replies:** 2\
**Last updated:** [February 22, 2019, 9:21pm UTC](https://discourse.processing.org/t/does-processing-have-a-step-by-step-executor/8613 "2019-02-22T21:21:03Z")

</div>

Does processing have a mode in which code will be executed step-by-step, with an indication as to which line the executor is on, so that I can more easily debug? I am thinking of something similar to pythontutor.com

---

## [Processing 3.5.3 running slow and crashing](https://discourse.processing.org/t/processing-3-5-3-running-slow-and-crashing/8551)

<div class="topic-metadata">

**Author:** [@sr05110421](https://discourse.processing.org/u/sr05110421)\
**Replies:** 5\
**Last updated:** [February 22, 2019, 1:40pm UTC](https://discourse.processing.org/t/processing-3-5-3-running-slow-and-crashing/8551 "2019-02-22T13:40:01Z")

</div>

Description Recently, I installed Processing 3.5.3 on my computer. Whenever I run any code, the software freezes, and prevents me from typing, and closing the software. I’ve tried both 64 and 32 bit versions of Processi…

---

## [Port Serial en "Size"](https://discourse.processing.org/t/port-serial-en-size/7568)

<div class="topic-metadata">

**Author:** [@Dolomiti](https://discourse.processing.org/u/Dolomiti)\
**Replies:** 15\
**Last updated:** [January 29, 2019, 5:49pm UTC](https://discourse.processing.org/t/port-serial-en-size/7568 "2019-01-29T17:49:04Z")

</div>

Hello colleagues, I got stuck in this little program and I can not see a thread of the forum that opens the way. With this code it sent the characters “ACSii” to “scripcommunicator” but I want to send the same data from …

---

## [Redundant declarations in interface PConstants](https://discourse.processing.org/t/redundant-declarations-in-interface-pconstants/8602)

<div class="topic-metadata">

**Author:** [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Replies:** 16\
**Last updated:** [February 22, 2019, 12:06pm UTC](https://discourse.processing.org/t/redundant-declarations-in-interface-pconstants/8602 "2019-02-22T12:06:08Z")

</div>

---

## [Draw circle shape with vertex](https://discourse.processing.org/t/draw-circle-shape-with-vertex/8558)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 4\
**Last updated:** [February 22, 2019, 11:05am UTC](https://discourse.processing.org/t/draw-circle-shape-with-vertex/8558 "2019-02-22T11:05:11Z")

</div>

I try to draw a circle with vertex, but my result is very dirty. I read a few article about that but I don’t find a solution ready to eat, so I coded something like I think possible to work but…so if anybody have sugges…

---

## [ArrayList of ellipses only draws the last ellipses to canvas](https://discourse.processing.org/t/arraylist-of-ellipses-only-draws-the-last-ellipses-to-canvas/8618)

<div class="topic-metadata">

**Author:** [@bandit0311](https://discourse.processing.org/u/bandit0311)\
**Replies:** 1\
**Last updated:** [February 22, 2019, 9:36am UTC](https://discourse.processing.org/t/arraylist-of-ellipses-only-draws-the-last-ellipses-to-canvas/8618 "2019-02-22T09:36:39Z")

</div>

Im attempting to make a parallel coordinates plot. I have so far created the vertical axis for the graph and I have a class that each individual line is object of. I have all my line objects in an ArrayList container an…

---

## [How to fix "Processing idispatch.dll is missing"](https://discourse.processing.org/t/how-to-fix-processing-idispatch-dll-is-missing/8615)

<div class="topic-metadata">

**Author:** [@pdeepra1](https://discourse.processing.org/u/pdeepra1)\
**Replies:** 1\
**Last updated:** [February 22, 2019, 9:30am UTC](https://discourse.processing.org/t/how-to-fix-processing-idispatch-dll-is-missing/8615 "2019-02-22T09:30:29Z")

</div>

Please help

---

## [Accessing an SQL server database using the SQL library](https://discourse.processing.org/t/accessing-an-sql-server-database-using-the-sql-library/876)

<div class="topic-metadata">

**Author:** [@rogeralms](https://discourse.processing.org/u/rogeralms)\
**Replies:** 5\
**Last updated:** [February 22, 2019, 8:01am UTC](https://discourse.processing.org/t/accessing-an-sql-server-database-using-the-sql-library/876 "2019-02-22T08:01:08Z")

</div>

Hi, I am new to Processing and this forum. I couldn’t find any other posts on this so if this is an old question, please provide a link to the answer. Can you use the SQL library to access an SQL Server database? The lib…

---

## [App to make short experimental films based on automated instructions on where to go](https://discourse.processing.org/t/app-to-make-short-experimental-films-based-on-automated-instructions-on-where-to-go/8590)

<div class="topic-metadata">

**Author:** [@aguanteyo24](https://discourse.processing.org/u/aguanteyo24)\
**Replies:** 5\
**Last updated:** [February 22, 2019, 12:24am UTC](https://discourse.processing.org/t/app-to-make-short-experimental-films-based-on-automated-instructions-on-where-to-go/8590 "2019-02-22T00:24:37Z")

</div>

Hello everyone, this is my first post here! :slight\_smile: i wanted to make an app for android, that gives you random coordenates (within certain constraints) for you to go and record something that catches your attenti…

---

## [NullPointer Exception on port.write](https://discourse.processing.org/t/nullpointer-exception-on-port-write/7822)

<div class="topic-metadata">

**Author:** [@MrDoggss](https://discourse.processing.org/u/MrDoggss)\
**Replies:** 11\
**Last updated:** [February 21, 2019, 8:26pm UTC](https://discourse.processing.org/t/nullpointer-exception-on-port-write/7822 "2019-02-21T20:26:06Z")

</div>

I’m trying to send data to an Arduino, but I keep getting a NullPointerException. I don’t get it. I’m no coder, so I am working with examples. If someone could point me in the right direction that would be awesome! imp…

---

## [Floating Above Paint](https://discourse.processing.org/t/floating-above-paint/8601)

<div class="topic-metadata">

**Author:** [@stevenoneilsteven](https://discourse.processing.org/u/stevenoneilsteven)\
**Replies:** 1\
**Last updated:** [February 21, 2019, 7:50pm UTC](https://discourse.processing.org/t/floating-above-paint/8601 "2019-02-21T19:50:48Z")

</div>

Hi all, How do you arrange text to float above everything else on the canvas. Even above the mouse painting. S

---

## [Robot Class - Check my Code Please](https://discourse.processing.org/t/robot-class-check-my-code-please/8441)

<div class="topic-metadata">

**Author:** [@Ismaiel\_Ahmed](https://discourse.processing.org/u/Ismaiel_Ahmed)\
**Replies:** 5\
**Last updated:** [February 21, 2019, 6:20pm UTC](https://discourse.processing.org/t/robot-class-check-my-code-please/8441 "2019-02-21T18:20:54Z")

</div>

Hello Geniuses, This code is for a Differential Drive Mobile Robot Class. The robot should change each of its left and right wheel velocity from \[-1.0 to 1.0\] . // I used nested for loop for this. In each specific ve…

---

## [Problem Create a Table -](https://discourse.processing.org/t/problem-create-a-table/8586)

<div class="topic-metadata">

**Author:** [@Ismaiel\_Ahmed](https://discourse.processing.org/u/Ismaiel_Ahmed)\
**Replies:** 2\
**Last updated:** [February 21, 2019, 3:29pm UTC](https://discourse.processing.org/t/problem-create-a-table/8586 "2019-02-21T15:29:18Z")

</div>

Hello Geniuses, I’m trying to save data in a table inside a class Table results = new Table(); results.addColumn("Diameter"); results.addColumn("Left Speed"); results.addColumn("Right Speed"); When i run the program i…

---

## [Open the videos on Processing by serials - help needed](https://discourse.processing.org/t/open-the-videos-on-processing-by-serials-help-needed/8595)

<div class="topic-metadata">

**Author:** [@jeniffer](https://discourse.processing.org/u/jeniffer)\
**Replies:** 0\
**Last updated:** [February 21, 2019, 9:32am UTC](https://discourse.processing.org/t/open-the-videos-on-processing-by-serials-help-needed/8595 "2019-02-21T09:32:04Z")

</div>

Hello, I’m starter of Processing and Arduino, so sorry for it could be a very beginner’s question. I tried to googling it and finding some similar cases like me connecting the serial and video playing, but it was hard t…

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

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