# Processing

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

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

**Page:** 313

---

## [Problems with framerate and loading pictures](https://discourse.processing.org/t/problems-with-framerate-and-loading-pictures/9670)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 5\
**Last updated:** [March 27, 2019, 9:05am UTC](https://discourse.processing.org/t/problems-with-framerate-and-loading-pictures/9670 "2019-03-27T09:05:33Z")

</div>

Hi I am trying to create a game called “Undertale” as a project at my school however my framerate drops every time I load a picture in draw. Here is a part of my code: PImage img; PImage img2; void setup() { fullScree…

---

## [How to make ellipses on the screen](https://discourse.processing.org/t/how-to-make-ellipses-on-the-screen/9669)

<div class="topic-metadata">

**Author:** [@Robol](https://discourse.processing.org/u/Robol)\
**Replies:** 2\
**Last updated:** [March 27, 2019, 8:20am UTC](https://discourse.processing.org/t/how-to-make-ellipses-on-the-screen/9669 "2019-03-27T08:20:11Z")

</div>

So I started learning processing about 3 days ago, and I realy enjoyed what the program can do so far I know. But this morning I started working with arrays and objects and I couldnt figure out why my code wasnt working.…

---

## [mouseClicked new sketch](https://discourse.processing.org/t/mouseclicked-new-sketch/9616)

<div class="topic-metadata">

**Author:** [@nothingnew](https://discourse.processing.org/u/nothingnew)\
**Replies:** 3\
**Last updated:** [March 27, 2019, 6:09am UTC](https://discourse.processing.org/t/mouseclicked-new-sketch/9616 "2019-03-27T06:09:51Z")

</div>

Hi, I want to make my code when mouse is clicked it can open 2nd sketch. right now it only appears when I click and released my mouse. ( i know it is because it is in void draw) I want it to be hold the 2nd sketch and …

---

## [Attractor / Flow Fields - Bezier Line Drawing Echo/Depth Effect](https://discourse.processing.org/t/attractor-flow-fields-bezier-line-drawing-echo-depth-effect/9598)

<div class="topic-metadata">

**Author:** [@arvind](https://discourse.processing.org/u/arvind)\
**Replies:** 4\
**Last updated:** [March 27, 2019, 12:34am UTC](https://discourse.processing.org/t/attractor-flow-fields-bezier-line-drawing-echo-depth-effect/9598 "2019-03-27T00:34:29Z")

</div>

Hello! Does anyone know how to create the imagery used in this attractor/flow field Processing animation? It looks as though it is bezier lines but I’m trying to understand the process that …

---

## [What is the use of int()?](https://discourse.processing.org/t/what-is-the-use-of-int/9628)

<div class="topic-metadata">

**Author:** [@L.L](https://discourse.processing.org/u/L.L)\
**Replies:** 8\
**Last updated:** [March 27, 2019, 12:24am UTC](https://discourse.processing.org/t/what-is-the-use-of-int/9628 "2019-03-27T00:24:30Z")

</div>

Hello guys. I just started to learn to code in Processing. Though I’m finding it hard to understand the code int() (yes the one with the parenthesis). What it is for? Why do we need to use this code? And in what situatio…

---

## [Text() don't recognize \\t tabulator](https://discourse.processing.org/t/text-dont-recognize-t-tabulator/9572)

<div class="topic-metadata">

**Author:** [@Santy](https://discourse.processing.org/u/Santy)\
**Replies:** 13\
**Last updated:** [March 26, 2019, 5:18pm UTC](https://discourse.processing.org/t/text-dont-recognize-t-tabulator/9572 "2019-03-26T17:18:48Z")

</div>

Hi friends, I’ve a problem with the tab… the function text() doesn’t recognize \\t while the funcion print() if it does. you can see a simple code: String datos\[\]=new String\[10\]; int sep=15; datos=loadStrings("Datos.t…

---

## [Joystick math assistance needed](https://discourse.processing.org/t/joystick-math-assistance-needed/9507)

<div class="topic-metadata">

**Author:** [@alan856](https://discourse.processing.org/u/alan856)\
**Replies:** 10\
**Last updated:** [March 26, 2019, 1:47pm UTC](https://discourse.processing.org/t/joystick-math-assistance-needed/9507 "2019-03-26T13:47:49Z")

</div>

Greets to all! I am replacing a Logitech 3D Pro joystick (which was working fine with Game Control Plus) with a custom stick (actually an Navy joystick of amazing build-quality!). Prob is with GCP the stick returned va…

---

## [How to upload a file to a FTP server?](https://discourse.processing.org/t/how-to-upload-a-file-to-a-ftp-server/9417)

<div class="topic-metadata">

**Author:** [@Schred](https://discourse.processing.org/u/Schred)\
**Replies:** 8\
**Last updated:** [March 26, 2019, 12:20am UTC](https://discourse.processing.org/t/how-to-upload-a-file-to-a-ftp-server/9417 "2019-03-26T00:20:56Z")

</div>

Hi! I need to upload a text file to a FTP server, but don’t know how. I found this tutorial that uses the Commons net library, but since it was written in pure Java, processing gives me some error messages. The tutorial…

---

## [Parsing HTML with Jsoup](https://discourse.processing.org/t/parsing-html-with-jsoup/9577)

<div class="topic-metadata">

**Author:** [@esc746](https://discourse.processing.org/u/esc746)\
**Replies:** 4\
**Last updated:** [March 25, 2019, 10:08pm UTC](https://discourse.processing.org/t/parsing-html-with-jsoup/9577 "2019-03-25T22:08:06Z")

</div>

I am attempting to use the Jsoup library to parse HTML but the most basic code does not work. First, the importer generates this: import org.jsoup.\*; import org.jsoup.nodes.\*; import org.jsoup.internal.\*; import org.js…

---

## [Image Orientation incorrect after LoadImage() and image()](https://discourse.processing.org/t/image-orientation-incorrect-after-loadimage-and-image/9581)

<div class="topic-metadata">

**Author:** [@charly4710](https://discourse.processing.org/u/charly4710)\
**Replies:** 4\
**Last updated:** [March 25, 2019, 9:33pm UTC](https://discourse.processing.org/t/image-orientation-incorrect-after-loadimage-and-image/9581 "2019-03-25T21:33:08Z")

</div>

A lot of images do not show the correct orientation, at least not the one that shows in the Windows Explorer and in image editors. For a lot of images, after I have loaded them from the harddrive with loadimage(), and t…

---

## [Connect Procssing with Database](https://discourse.processing.org/t/connect-procssing-with-database/9563)

<div class="topic-metadata">

**Author:** [@Ismaiel\_Ahmed](https://discourse.processing.org/u/Ismaiel_Ahmed)\
**Replies:** 4\
**Last updated:** [March 25, 2019, 9:16pm UTC](https://discourse.processing.org/t/connect-procssing-with-database/9563 "2019-03-25T21:16:13Z")

</div>

Hello everyone, I’ve read that i can normally use java code with processing code in one program. I created the following class to connect to MYSQL online server “which i created online” import java.sql.\*; class Databa…

---

## [Processing is unable to find all classes and functions from a 3rd party jar file](https://discourse.processing.org/t/processing-is-unable-to-find-all-classes-and-functions-from-a-3rd-party-jar-file/9611)

<div class="topic-metadata">

**Author:** [@graysonh](https://discourse.processing.org/u/graysonh)\
**Replies:** 3\
**Last updated:** [March 25, 2019, 9:07pm UTC](https://discourse.processing.org/t/processing-is-unable-to-find-all-classes-and-functions-from-a-3rd-party-jar-file/9611 "2019-03-25T21:07:56Z")

</div>

Hello all, I posted a while ago here and decided I should generalize my issue more with hopes of finding an answer. If you’re interested in my original specific issue feel free to check out the provided link. Here is t…

---

## [Troubleshooting an Issue with 3rd Party Library Integration](https://discourse.processing.org/t/troubleshooting-an-issue-with-3rd-party-library-integration/9538)

<div class="topic-metadata">

**Author:** [@graysonh](https://discourse.processing.org/u/graysonh)\
**Replies:** 1\
**Last updated:** [March 25, 2019, 9:02pm UTC](https://discourse.processing.org/t/troubleshooting-an-issue-with-3rd-party-library-integration/9538 "2019-03-25T21:02:36Z")

</div>

Hello all, I am working on a project that uses the ImageJ library for image analysis and I have run into a problem that I don’t understand. I have downloaded the ImageJ jar file, added it to my project, and created a te…

---

## [Needle in a NaN stack](https://discourse.processing.org/t/needle-in-a-nan-stack/9519)

<div class="topic-metadata">

**Author:** [@Tsskyx](https://discourse.processing.org/u/Tsskyx)\
**Replies:** 4\
**Last updated:** [March 25, 2019, 8:57pm UTC](https://discourse.processing.org/t/needle-in-a-nan-stack/9519 "2019-03-25T20:57:29Z")

</div>

So, long story short, I am working on a neural network. Here it is, plus all the assorted files: https://drive.google.com/open?id=1GLXP1Ta0bqXB6fZLjZUJ4ysk23e7cDwt Read through my comments to better understand it, espe…

---

## [Image distort - warp](https://discourse.processing.org/t/image-distort-warp/9600)

<div class="topic-metadata">

**Author:** [@dimpapadop](https://discourse.processing.org/u/dimpapadop)\
**Replies:** 0\
**Last updated:** [March 25, 2019, 11:17am UTC](https://discourse.processing.org/t/image-distort-warp/9600 "2019-03-25T11:17:28Z")

</div>

Hallo, i am trying to distort an image to fit to a skewed / distorted shape. For example when i give the 4 corners of a shape and make it fit there even though it is not a rectangle. I tried the easy way with vertex()…

---

## [Drawing Ikeda Function](https://discourse.processing.org/t/drawing-ikeda-function/9536)

<div class="topic-metadata">

**Author:** [@mloiz](https://discourse.processing.org/u/mloiz)\
**Replies:** 2\
**Last updated:** [March 25, 2019, 9:58am UTC](https://discourse.processing.org/t/drawing-ikeda-function/9536 "2019-03-25T09:58:56Z")

</div>

I want to reproduce the Ikeda chaos map example on Wikipedia but I dont manage to have the same result, complexity. I have only one attractor, the center… any advice ? size(500, 700); background(250); int margin = 20; …

---

## [4 stroke animation need help with rotate()](https://discourse.processing.org/t/4-stroke-animation-need-help-with-rotate/9510)

<div class="topic-metadata">

**Author:** [@grillgemuese](https://discourse.processing.org/u/grillgemuese)\
**Replies:** 2\
**Last updated:** [March 25, 2019, 6:53am UTC](https://discourse.processing.org/t/4-stroke-animation-need-help-with-rotate/9510 "2019-03-25T06:53:41Z")

</div>

Hi all, please try to help me undestanding translate() combined with rotate(radians()). My left valve is working nearly as expected but the right valve get() function is not referencing the top of the valve. Thanks a…

---

## [Making an aiming line?](https://discourse.processing.org/t/making-an-aiming-line/9514)

<div class="topic-metadata">

**Author:** [@JsRambles](https://discourse.processing.org/u/JsRambles)\
**Replies:** 4\
**Last updated:** [March 25, 2019, 6:51am UTC](https://discourse.processing.org/t/making-an-aiming-line/9514 "2019-03-25T06:51:11Z")

</div>

Hello! I am attempting to make an “aiming line” but it has to be dashed. How can I make a dashed line? I’ve seen the lerp() function mentioned but they always end up not perfectly straight and kind of whacky looking. I…

---

## [Slit Scan Variation - Problem with Array](https://discourse.processing.org/t/slit-scan-variation-problem-with-array/9541)

<div class="topic-metadata">

**Author:** [@Luis\_luethi](https://discourse.processing.org/u/Luis_luethi)\
**Replies:** 2\
**Last updated:** [March 24, 2019, 9:28pm UTC](https://discourse.processing.org/t/slit-scan-variation-problem-with-array/9541 "2019-03-24T21:28:59Z")

</div>

Today I was working on a slit scan variation to get an animated slit scan. My goal is, that a movement goes through a video and every slice is updated from the video and shows a different time. like running the video fro…

---

## [Enemy Movement Match 3](https://discourse.processing.org/t/enemy-movement-match-3/9558)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 10\
**Last updated:** [March 24, 2019, 3:04pm UTC](https://discourse.processing.org/t/enemy-movement-match-3/9558 "2019-03-24T15:04:52Z")

</div>

Hey I’m trying to create a match 3 game with blocks that dont just drop downwards. I’ve tried several ways to get my blocks to do as i want but my booleans ain’t working correctly. The enemy should check below till it re…

---

## [How can all breakpoints in debugger be cleared: MORE THOUGHTS!](https://discourse.processing.org/t/how-can-all-breakpoints-in-debugger-be-cleared-more-thoughts/9557)

<div class="topic-metadata">

**Author:** [@alan856](https://discourse.processing.org/u/alan856)\
**Replies:** 0\
**Last updated:** [March 23, 2019, 12:39pm UTC](https://discourse.processing.org/t/how-can-all-breakpoints-in-debugger-be-cleared-more-thoughts/9557 "2019-03-23T12:39:55Z")

</div>

NEW UNDERSTANDING! I was confusing the current stop-point as a breakpoint symbol. It appears Cntrl-B Does toggle the breakpoint - but there is no visual evidence that it has been removed. I now see the breakpoint is …

---

## [SVG Shape manipulation](https://discourse.processing.org/t/svg-shape-manipulation/9452)

<div class="topic-metadata">

**Author:** [@Antonio](https://discourse.processing.org/u/Antonio)\
**Replies:** 3\
**Last updated:** [March 23, 2019, 8:12am UTC](https://discourse.processing.org/t/svg-shape-manipulation/9452 "2019-03-23T08:12:51Z")

</div>

I am doing a project which involves deforming text in this fashion, both for a static and an animated result: So far I’ve been successful getting that effect by loading the text as an image, loading the pixels and man…

---

## [Websockets not working with java version](https://discourse.processing.org/t/websockets-not-working-with-java-version/9518)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 3\
**Last updated:** [March 23, 2019, 4:45am UTC](https://discourse.processing.org/t/websockets-not-working-with-java-version/9518 "2019-03-23T04:45:25Z")

</div>

I have a networked paint app hosted at paint.unubo.cloud. I am using socket.io for the networking. Whenever I run the app on a localhost, everything works just fine, but when I try to connect to the app on unubo, the soc…

---

## [Help please idk how to fix](https://discourse.processing.org/t/help-please-idk-how-to-fix/9425)

<div class="topic-metadata">

**Author:** [@Spartan](https://discourse.processing.org/u/Spartan)\
**Replies:** 2\
**Last updated:** [March 22, 2019, 10:34pm UTC](https://discourse.processing.org/t/help-please-idk-how-to-fix/9425 "2019-03-22T22:34:21Z")

</div>

I want it to do tpassword = tpassword + (acharset\[iter\] \* iter(how many iterations have gone through)) so if its iter 0 than it just does tpassword = tpassword if it’s higher it does tpassword = tpassword + (achar…

---

## [OpenKinect downloading](https://discourse.processing.org/t/openkinect-downloading/9533)

<div class="topic-metadata">

**Author:** [@Jean-no](https://discourse.processing.org/u/Jean-no)\
**Replies:** 4\
**Last updated:** [March 22, 2019, 9:00pm UTC](https://discourse.processing.org/t/openkinect-downloading/9533 "2019-03-22T21:00:38Z")

</div>

Several students tell me they have issues with the automatic download of OpenKinect (but also sometimes with other librairies hosted on github). Could it be a DNS issue ? Someting else ?

---

## [Advice for Building Wearable Location Tracker](https://discourse.processing.org/t/advice-for-building-wearable-location-tracker/9388)

<div class="topic-metadata">

**Author:** [@zoppa](https://discourse.processing.org/u/zoppa)\
**Replies:** 6\
**Last updated:** [March 22, 2019, 3:10pm UTC](https://discourse.processing.org/t/advice-for-building-wearable-location-tracker/9388 "2019-03-22T15:10:51Z")

</div>

Hi, I need location data (x,y,z) of the audience for my art project. I used to use Kinect v.1 but for my next project, I need location data of several people that are walking in different rooms. I also need to track the…

---

## [Fill the screen with maroon](https://discourse.processing.org/t/fill-the-screen-with-maroon/9525)

<div class="topic-metadata">

**Author:** [@andrewyu](https://discourse.processing.org/u/andrewyu)\
**Replies:** 4\
**Last updated:** [March 22, 2019, 10:48am UTC](https://discourse.processing.org/t/fill-the-screen-with-maroon/9525 "2019-03-22T10:48:35Z")

</div>

Hi I need help with code. It’s actually for school. And they want the ui to look that its going to fill the row with maroon using frameRate from left to right. Once its filled the next row will be filled. Here’s the code…

---

## [Trouble With Sound File](https://discourse.processing.org/t/trouble-with-sound-file/9491)

<div class="topic-metadata">

**Author:** [@Mahubis](https://discourse.processing.org/u/Mahubis)\
**Replies:** 2\
**Last updated:** [March 22, 2019, 5:26am UTC](https://discourse.processing.org/t/trouble-with-sound-file/9491 "2019-03-22T05:26:38Z")

</div>

float x; float x2; float theta =0; void setup() { size(600, 600); } void draw() { background(255); fill(0); strokeWeight(2); rect(30, 200, 100, 100);…

---

## [Smpte class, not yet a library](https://discourse.processing.org/t/smpte-class-not-yet-a-library/9421)

<div class="topic-metadata">

**Author:** [@spiderdab](https://discourse.processing.org/u/spiderdab)\
**Replies:** 1\
**Last updated:** [March 22, 2019, 4:32am UTC](https://discourse.processing.org/t/smpte-class-not-yet-a-library/9421 "2019-03-22T04:32:47Z")

</div>

Hi, since I needed to read SMPTE LinearTimeCode) , and didn’t found anything already written for processing, I’ve written this class. It is commented, and I would like it to make a Library, but I feel I’m not able to do …

---

## [Storing String Data in Arrays?](https://discourse.processing.org/t/storing-string-data-in-arrays/9347)

<div class="topic-metadata">

**Author:** [@clevelandbrowns](https://discourse.processing.org/u/clevelandbrowns)\
**Replies:** 10\
**Last updated:** [March 19, 2019, 1:51pm UTC](https://discourse.processing.org/t/storing-string-data-in-arrays/9347 "2019-03-19T13:51:21Z")

</div>

Hi there–so I am trying to write something that can input text and then store what is there to an array. Most of the array tutorials I have seen are about numeric data. Is it any different for storing text? Furthermore, …

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

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