# Processing

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

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

**Page:** 257

---

## [Add texts in markers using unfolding maps?](https://discourse.processing.org/t/add-texts-in-markers-using-unfolding-maps/15749)

<div class="topic-metadata">

**Author:** [@kkxxbdm](https://discourse.processing.org/u/kkxxbdm)\
**Replies:** 3\
**Last updated:** [November 24, 2019, 3:56pm UTC](https://discourse.processing.org/t/add-texts-in-markers-using-unfolding-maps/15749 "2019-11-24T15:56:23Z")

</div>

Hi, I was wondering, how to do this. The following is what I have tried so far. import de.fhpotsdam.unfolding.\*; import de.fhpotsdam.unfolding.geo.\*; import de.fhpotsdam.unfolding.utils.\*; import de.fhpotsdam.unfolding.…

---

## [How to remove a marker in unfolding?](https://discourse.processing.org/t/how-to-remove-a-marker-in-unfolding/15746)

<div class="topic-metadata">

**Author:** [@kkxxbdm](https://discourse.processing.org/u/kkxxbdm)\
**Replies:** 2\
**Last updated:** [November 24, 2019, 3:23pm UTC](https://discourse.processing.org/t/how-to-remove-a-marker-in-unfolding/15746 "2019-11-24T15:23:18Z")

</div>

Hi, I was wondering, how to remove a marker in unfolding map with processing 3. The following is some code: import de.fhpotsdam.unfolding.\*; import de.fhpotsdam.unfolding.geo.\*; import de.fhpotsdam.unfolding.utils.\*; im…

---

## [Ball on platforms \[School project\]](https://discourse.processing.org/t/ball-on-platforms-school-project/15764)

<div class="topic-metadata">

**Author:** [@alltimedreamcatcher](https://discourse.processing.org/u/alltimedreamcatcher)\
**Replies:** 5\
**Last updated:** [November 24, 2019, 1:28pm UTC](https://discourse.processing.org/t/ball-on-platforms-school-project/15764 "2019-11-24T13:28:43Z")

</div>

Hi ! Sorry if this is a bit random, I’ve never actually asked a question on here and english isn’t my first language but anyway, I have to do this project for school and I did like 85% of it no problem but I still have …

---

## [Get and Set System Output Volume](https://discourse.processing.org/t/get-and-set-system-output-volume/15761)

<div class="topic-metadata">

**Author:** [@mildyredbeard](https://discourse.processing.org/u/mildyredbeard)\
**Replies:** 1\
**Last updated:** [November 24, 2019, 12:13pm UTC](https://discourse.processing.org/t/get-and-set-system-output-volume/15761 "2019-11-24T12:13:29Z")

</div>

Hi Everyone, I’m working on a project that is supposed to take the Windows Output Volume, and map that to an LED strip. I’ve managed to get everything working exactly the way I want except for the part where I actually …

---

## [What comes after cols and rows?](https://discourse.processing.org/t/what-comes-after-cols-and-rows/15729)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 5\
**Last updated:** [November 24, 2019, 2:42am UTC](https://discourse.processing.org/t/what-comes-after-cols-and-rows/15729 "2019-11-24T02:42:15Z")

</div>

General question. What is the standard/conventional name for a component in the z direction

---

## [MIDIBUS: Does using note.setTicks() still require "note off"?](https://discourse.processing.org/t/midibus-does-using-note-setticks-still-require-note-off/15667)

<div class="topic-metadata">

**Author:** [@mark\_orion](https://discourse.processing.org/u/mark_orion)\
**Replies:** 3\
**Last updated:** [November 24, 2019, 12:05am UTC](https://discourse.processing.org/t/midibus-does-using-note-setticks-still-require-note-off/15667 "2019-11-24T00:05:59Z")

</div>

The Midibus library contains a “note” object with an associated method “setTicks()”. Does this mean that midibus automatically sends “note off” when the ticks have passed or is it still required to send the “note off” m…

---

## [Random lines emanating from a sphere in 3D](https://discourse.processing.org/t/random-lines-emanating-from-a-sphere-in-3d/15707)

<div class="topic-metadata">

**Author:** [@nicnut](https://discourse.processing.org/u/nicnut)\
**Replies:** 2\
**Last updated:** [November 24, 2019, 12:05am UTC](https://discourse.processing.org/t/random-lines-emanating-from-a-sphere-in-3d/15707 "2019-11-24T00:05:38Z")

</div>

Hi, I am still pretty new to processing. There are a few things I don’t really have a great grasp on yet, including arrays and 3d space. I am trying to have a Sphere in 3D that has lines emanating from the sphere in r…

---

## [Setting up background](https://discourse.processing.org/t/setting-up-background/15689)

<div class="topic-metadata">

**Author:** [@ProcessingNam](https://discourse.processing.org/u/ProcessingNam)\
**Replies:** 2\
**Last updated:** [November 23, 2019, 8:54pm UTC](https://discourse.processing.org/t/setting-up-background/15689 "2019-11-23T20:54:55Z")

</div>

I just moved on from Scratch to Processing. I want to make a project that generates certain tesselations as the background just like scratch. e.g. you can set up certain backgrounds and randomly generate them on scratch.…

---

## [Char to int producing different result](https://discourse.processing.org/t/char-to-int-producing-different-result/15655)

<div class="topic-metadata">

**Author:** [@Ruchi](https://discourse.processing.org/u/Ruchi)\
**Replies:** 5\
**Last updated:** [November 23, 2019, 9:34am UTC](https://discourse.processing.org/t/char-to-int-producing-different-result/15655 "2019-11-23T09:34:34Z")

</div>

String bin ="100"; char bit; float sum; void setup(){ size(500,200); noLoop(); sum=0; } void draw(){ background(0); for(int i=0;i\<bin.length();i++){ bit = bin.charAt(bin.length()-1-i); //println(bi…

---

## [Arduino-processing glove](https://discourse.processing.org/t/arduino-processing-glove/15619)

<div class="topic-metadata">

**Author:** [@neneeangulo](https://discourse.processing.org/u/neneeangulo)\
**Replies:** 4\
**Last updated:** [November 23, 2019, 3:26pm UTC](https://discourse.processing.org/t/arduino-processing-glove/15619 "2019-11-23T15:26:09Z")

</div>

Hi! I am trying to make a glove with flex sensors using the arduino UNO board and connecting it to processing to create an animation of a hand. The idea is to have a hand drawn in processing and every time a finger from…

---

## [Is this realizable in Processing?](https://discourse.processing.org/t/is-this-realizable-in-processing/15544)

<div class="topic-metadata">

**Author:** [@ImDaGr3en](https://discourse.processing.org/u/ImDaGr3en)\
**Replies:** 4\
**Last updated:** [November 23, 2019, 3:08pm UTC](https://discourse.processing.org/t/is-this-realizable-in-processing/15544 "2019-11-23T15:08:50Z")

</div>

Hi folks! I just need your help for a simple question. I’m about on doing a sort of mini-game in which you can choose between playing against the CPU or another player… but I don’t know how! In fact, I need to have a “…

---

## [Trouble with box transparency](https://discourse.processing.org/t/trouble-with-box-transparency/15708)

<div class="topic-metadata">

**Author:** [@graysonh](https://discourse.processing.org/u/graysonh)\
**Replies:** 4\
**Last updated:** [November 23, 2019, 12:37pm UTC](https://discourse.processing.org/t/trouble-with-box-transparency/15708 "2019-11-23T12:37:14Z")

</div>

I am drawing boxes with color from 0-255 with the same value for alpha. It appears that each box being drawn is only visible from certain angles. The images show the sketch rotating to the left and as it rotates the boxe…

---

## [Are createFont and loadFont unusable in Processing iOS?](https://discourse.processing.org/t/are-createfont-and-loadfont-unusable-in-processing-ios/15714)

<div class="topic-metadata">

**Author:** [@Qwqwwqqqweeewqw](https://discourse.processing.org/u/Qwqwwqqqweeewqw)\
**Replies:** 2\
**Last updated:** [November 23, 2019, 10:43am UTC](https://discourse.processing.org/t/are-createfont-and-loadfont-unusable-in-processing-ios/15714 "2019-11-23T10:43:18Z")

</div>

void setup() { size(screen.width, screen.height); textAlign(CENTER); textFont(createFont("Lato-Medium.ttf", 30)); frameRate(60); } void draw() { ... } I wanted to use Lato font, ant I wrote this code, but …

---

## [Finding the velocity at a specific point using the PixelFlow library](https://discourse.processing.org/t/finding-the-velocity-at-a-specific-point-using-the-pixelflow-library/15603)

<div class="topic-metadata">

**Author:** [@BongoTurtle](https://discourse.processing.org/u/BongoTurtle)\
**Replies:** 3\
**Last updated:** [November 23, 2019, 6:58am UTC](https://discourse.processing.org/t/finding-the-velocity-at-a-specific-point-using-the-pixelflow-library/15603 "2019-11-23T06:58:39Z")

</div>

How would I find the velocity at a specific point for the basic 2D flow like in the example: // FLUID SIMULATION EXAMPLE import com.thomasdiewald.pixelflow.java.DwPixelFlow; import com.thomasdiewald.pixelflow.java.fluid…

---

## [Backpropagation doesn't work properly](https://discourse.processing.org/t/backpropagation-doesnt-work-properly/15724)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 2\
**Last updated:** [November 23, 2019, 5:55am UTC](https://discourse.processing.org/t/backpropagation-doesnt-work-properly/15724 "2019-11-23T05:55:15Z")

</div>

I got a problem with learning in Neuronal Networks again. I tried using backpropagation and created following two classes: class Neuron { float lastinputs\[\]; int id; float\[\] weights; Neuron(int id\_, int lengthw…

---

## [Does anybody have tips with smooth moving?](https://discourse.processing.org/t/does-anybody-have-tips-with-smooth-moving/15456)

<div class="topic-metadata">

**Author:** [@24stevek](https://discourse.processing.org/u/24stevek)\
**Replies:** 7\
**Last updated:** [November 23, 2019, 4:57am UTC](https://discourse.processing.org/t/does-anybody-have-tips-with-smooth-moving/15456 "2019-11-23T04:57:53Z")

</div>

Hi, I’m back with my second question:) I am currently making a zooming effect, by gradually increasing the size of an image. It does work well, but it kind of lags and the pixels get all mixed up; I don’t want to slow …

---

## [Allow people to vote in videos/streams on youtube](https://discourse.processing.org/t/allow-people-to-vote-in-videos-streams-on-youtube/15594)

<div class="topic-metadata">

**Author:** [@HAL989](https://discourse.processing.org/u/HAL989)\
**Replies:** 2\
**Last updated:** [November 23, 2019, 12:04am UTC](https://discourse.processing.org/t/allow-people-to-vote-in-videos-streams-on-youtube/15594 "2019-11-23T00:04:58Z")

</div>

Hello. I currently have some code working that reads a discussion page and looks for a keyword (!type), i’m wondering how exactly would i turn it into a thing to read: (preferably stream comments) or video comments. imp…

---

## [\[SOLVED\] Circle around a pixel](https://discourse.processing.org/t/solved-circle-around-a-pixel/1071)

<div class="topic-metadata">

**Author:** [@MxFxM](https://discourse.processing.org/u/MxFxM)\
**Replies:** 8\
**Last updated:** [November 22, 2019, 11:34pm UTC](https://discourse.processing.org/t/solved-circle-around-a-pixel/1071 "2019-11-22T23:34:27Z")

</div>

Hello everbody, I’m currently working on a project where I need to find a specific distance between a point and a line. To do that, I draw the line in green and start scanning each pixel around the point. This can take…

---

## [Forwarding and reversing time in physics sim](https://discourse.processing.org/t/forwarding-and-reversing-time-in-physics-sim/15597)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 10\
**Last updated:** [November 22, 2019, 11:14pm UTC](https://discourse.processing.org/t/forwarding-and-reversing-time-in-physics-sim/15597 "2019-11-22T23:14:43Z")

</div>

void update(){ steps = pos.size()-1; text (counter, 150,20); fill(255); text(index,200,10); fill(col); if(forward){ if(index==0){ if(pos.size()\>0){ counter = pos…

---

## [Interactivity and capture](https://discourse.processing.org/t/interactivity-and-capture/15613)

<div class="topic-metadata">

**Author:** [@Aelita](https://discourse.processing.org/u/Aelita)\
**Replies:** 4\
**Last updated:** [November 22, 2019, 10:36pm UTC](https://discourse.processing.org/t/interactivity-and-capture/15613 "2019-11-22T22:36:47Z")

</div>

Hi! I’m working on a project for university and I’m having some difficulties with Processing. Concept: There are two pictures and the program makes a transition by transparency from one picture to another, by moving the…

---

## [How to display a special font in Processing?](https://discourse.processing.org/t/how-to-display-a-special-font-in-processing/15459)

<div class="topic-metadata">

**Author:** [@z.chen](https://discourse.processing.org/u/z.chen)\
**Replies:** 8\
**Last updated:** [November 22, 2019, 8:57pm UTC](https://discourse.processing.org/t/how-to-display-a-special-font-in-processing/15459 "2019-11-22T20:57:18Z")

</div>

Hello, I downloaded this kind of font online, and I need to translate the input of others into this font in Processing and save the file in SVG format to the local folder. Cuz I need to upload the SVG file to my plotter …

---

## [Download/upload stats Monitor](https://discourse.processing.org/t/download-upload-stats-monitor/15582)

<div class="topic-metadata">

**Author:** [@FPAIS](https://discourse.processing.org/u/FPAIS)\
**Replies:** 1\
**Last updated:** [November 22, 2019, 8:55pm UTC](https://discourse.processing.org/t/download-upload-stats-monitor/15582 "2019-11-22T20:55:23Z")

</div>

Hi, I would like to use my computer or browser download/upload stats (Mb/Kb downloaded in a certain time frame) in processing and visualize these in different ways. Does anyone have a clue on how I could access these v…

---

## [Getting the video library to work outside the PDE](https://discourse.processing.org/t/getting-the-video-library-to-work-outside-the-pde/15532)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 1\
**Last updated:** [November 22, 2019, 8:28pm UTC](https://discourse.processing.org/t/getting-the-video-library-to-work-outside-the-pde/15532 "2019-11-22T20:28:33Z")

</div>

How can I get the video library to work outside the pde. I can load a movie, I can hear the sound, but it is not displaying. I tried System.setProperty("java.library.path", "/java/libs/processing/video/macosx/gstreame…

---

## [How to make bouncing balls?](https://discourse.processing.org/t/how-to-make-bouncing-balls/15465)

<div class="topic-metadata">

**Author:** [@Soloh](https://discourse.processing.org/u/Soloh)\
**Replies:** 2\
**Last updated:** [November 22, 2019, 4:54pm UTC](https://discourse.processing.org/t/how-to-make-bouncing-balls/15465 "2019-11-22T16:54:38Z")

</div>

i have to do ball Flying left, and when it reach wall it return

---

## [Scale the whole screen content to the back](https://discourse.processing.org/t/scale-the-whole-screen-content-to-the-back/15712)

<div class="topic-metadata">

**Author:** [@lumicon9](https://discourse.processing.org/u/lumicon9)\
**Replies:** 5\
**Last updated:** [November 22, 2019, 3:56pm UTC](https://discourse.processing.org/t/scale-the-whole-screen-content-to-the-back/15712 "2019-11-22T15:56:56Z")

</div>

i want to scale the screen content slowly to the (pseudo)back, using a 2d scale (shrinking). here is what i have as start out; int siz = 66; void setup(){ size(800,600); } void draw(){ ellipse((int)random(widt…

---

## [Serial write char larger than 127](https://discourse.processing.org/t/serial-write-char-larger-than-127/15449)

<div class="topic-metadata">

**Author:** [@pandl](https://discourse.processing.org/u/pandl)\
**Replies:** 2\
**Last updated:** [November 22, 2019, 3:44pm UTC](https://discourse.processing.org/t/serial-write-char-larger-than-127/15449 "2019-11-22T15:44:46Z")

</div>

Thank you for reading this. I’ve been playing with the g4p text box and the knob to send serial data to an Arduino but have run into a problem with char values larger than 127. Is there another method to serial write in…

---

## [How do I attach a rectangle to a line?](https://discourse.processing.org/t/how-do-i-attach-a-rectangle-to-a-line/15423)

<div class="topic-metadata">

**Author:** [@Lucc39](https://discourse.processing.org/u/Lucc39)\
**Replies:** 6\
**Last updated:** [November 22, 2019, 3:37pm UTC](https://discourse.processing.org/t/how-do-i-attach-a-rectangle-to-a-line/15423 "2019-11-22T15:37:25Z")

</div>

So, I’m trying to create Pac Man and I’m not sure on how to do so. My best idea so far was to attach the rectangle (which will be Pac Man himself, the player) to certain invisible lines, as if he is a train on a railroad…

---

## [enable and disable a button](https://discourse.processing.org/t/enable-and-disable-a-button/15721)

<div class="topic-metadata">

**Author:** [@pdecaro](https://discourse.processing.org/u/pdecaro)\
**Replies:** 2\
**Last updated:** [November 22, 2019, 3:36pm UTC](https://discourse.processing.org/t/enable-and-disable-a-button/15721 "2019-11-22T15:36:37Z")

</div>

Hello, I have the problem of disabling a key after pressing it. in practice I created two “on”, “off” buttons. When I press “on”, “off” is enabled and “on” must be disabled, and vice versa. I could not find a disbled-ena…

---

## [blendMode framerate performance issues](https://discourse.processing.org/t/blendmode-framerate-performance-issues/15439)

<div class="topic-metadata">

**Author:** [@jstarbell](https://discourse.processing.org/u/jstarbell)\
**Replies:** 4\
**Last updated:** [November 22, 2019, 3:28pm UTC](https://discourse.processing.org/t/blendmode-framerate-performance-issues/15439 "2019-11-22T15:28:02Z")

</div>

I have a large project that uses blendMode(SCREEN). I call the blendMode() function once in setup(). I am using the FX2D renderer, but the issue also presents itself in P2D mode as well. On my Windows 10 pc, the project…

---

## [Please advise me on my cannon simulation code!](https://discourse.processing.org/t/please-advise-me-on-my-cannon-simulation-code/15717)

<div class="topic-metadata">

**Author:** [@O-O](https://discourse.processing.org/u/O-O)\
**Replies:** 3\
**Last updated:** [November 22, 2019, 2:18pm UTC](https://discourse.processing.org/t/please-advise-me-on-my-cannon-simulation-code/15717 "2019-11-22T14:18:51Z")

</div>

int angle=0,a=1; void setup(){ size(1500,750); fill(26,185,53); rectMode(CORNER); rect(0,600,1500,150); fill(75,78,75); rect(0,610,1500,20); fill(233,243,255); rect(0,0,1500,600); stroke(247,251,0); line(0,620,100,620)…

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

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