# Processing

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

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

**Page:** 291

---

## [\[SOLVED\] S4P best movement for the player in the world](https://discourse.processing.org/t/solved-s4p-best-movement-for-the-player-in-the-world/12051)

<div class="topic-metadata">

**Author:** [@InferNova](https://discourse.processing.org/u/InferNova)\
**Replies:** 7\
**Last updated:** [June 16, 2019, 3:14pm UTC](https://discourse.processing.org/t/solved-s4p-best-movement-for-the-player-in-the-world/12051 "2019-06-16T15:14:01Z")

</div>

Hey Guys ! I am working on a game. And I have been incorporating S4P and I was thinking what is the best to move the player within the world. Currently I keep the player in the middle of the screen and just used S4P.mov…

---

## [Analog Video Synthesis](https://discourse.processing.org/t/analog-video-synthesis/12085)

<div class="topic-metadata">

**Author:** [@anon57009815](https://discourse.processing.org/u/anon57009815)\
**Replies:** 2\
**Last updated:** [June 16, 2019, 10:20am UTC](https://discourse.processing.org/t/analog-video-synthesis/12085 "2019-06-16T10:20:29Z")

</div>

Hello everyone!! Any project like VSynth on processing?? GLSL also counts :slight\_smile: Best!

---

## [Cyclical Path Following](https://discourse.processing.org/t/cyclical-path-following/12072)

<div class="topic-metadata">

**Author:** [@LordCacops](https://discourse.processing.org/u/LordCacops)\
**Replies:** 2\
**Last updated:** [June 16, 2019, 12:03am UTC](https://discourse.processing.org/t/cyclical-path-following/12072 "2019-06-16T00:03:40Z")

</div>

Hello! I have the following code written by Daniel Shiffman. It makes vehicles follow a complex path. I thought that by joining the vertices of the shape I would have the vehicles go round the path cyclically, but inste…

---

## [Counting total drag rotation about a point](https://discourse.processing.org/t/counting-total-drag-rotation-about-a-point/12079)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 2\
**Last updated:** [June 15, 2019, 11:21pm UTC](https://discourse.processing.org/t/counting-total-drag-rotation-about-a-point/12079 "2019-06-15T23:21:12Z")

</div>

I was hoping to make something like an encoder wheel that would take a measurement of the accumulated rotation angle during a mouse drag around a center point. This code works fairly well for the main idea, but .angleBe…

---

## [Reverse scale size with Geomerative](https://discourse.processing.org/t/reverse-scale-size-with-geomerative/12043)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 2\
**Last updated:** [June 15, 2019, 10:00pm UTC](https://discourse.processing.org/t/reverse-scale-size-with-geomerative/12043 "2019-06-15T22:00:17Z")

</div>

Hello, I am working on a text deformed and scaled using Geomerative library. I am on hurry… I would like to reverse these transformations when the sound loop. How should I proceed ? Register the RPoints \[i\]\[j\] positio…

---

## [Problem with compiled program](https://discourse.processing.org/t/problem-with-compiled-program/12048)

<div class="topic-metadata">

**Author:** [@qualidat](https://discourse.processing.org/u/qualidat)\
**Replies:** 1\
**Last updated:** [June 15, 2019, 6:00pm UTC](https://discourse.processing.org/t/problem-with-compiled-program/12048 "2019-06-15T18:00:39Z")

</div>

I have written an application in Processing that comes out of the GUI starts easily and does exactly what it should: mixing the image of a usb camera with an animated film and play together. (under Windows 10 Pro 64 bit…

---

## [Horrible fringing artefacts](https://discourse.processing.org/t/horrible-fringing-artefacts/12077)

<div class="topic-metadata">

**Author:** [@zenglenn](https://discourse.processing.org/u/zenglenn)\
**Replies:** 8\
**Last updated:** [June 15, 2019, 4:07pm UTC](https://discourse.processing.org/t/horrible-fringing-artefacts/12077 "2019-06-15T16:07:17Z")

</div>

Hi, I’m having this problem when using this particular process of drawing an image multiple times to the screen. I’m getting either white or black fringing, depending on which renderer I use (Default / OpenGL). I imag…

---

## [What's the symbol for "the power of 2"](https://discourse.processing.org/t/whats-the-symbol-for-the-power-of-2/12070)

<div class="topic-metadata">

**Author:** [@osibada](https://discourse.processing.org/u/osibada)\
**Replies:** 4\
**Last updated:** [June 15, 2019, 2:35pm UTC](https://discourse.processing.org/t/whats-the-symbol-for-the-power-of-2/12070 "2019-06-15T14:35:30Z")

</div>

How to print the symbol (^2) in text for Processing 3? Thanks for the help.

---

## [Delaying function blocks?](https://discourse.processing.org/t/delaying-function-blocks/12054)

<div class="topic-metadata">

**Author:** [@Pbchocochipcheerios](https://discourse.processing.org/u/Pbchocochipcheerios)\
**Replies:** 11\
**Last updated:** [June 15, 2019, 11:43am UTC](https://discourse.processing.org/t/delaying-function-blocks/12054 "2019-06-15T11:43:47Z")

</div>

Hi there, I am very very new to processing. I have created 4 different function blocks. Is there a way to have one function run for 3 seconds, and then switch to the next function for 3 seconds, etc, etc? when I put the…

---

## [How long does it take to learn C?](https://discourse.processing.org/t/how-long-does-it-take-to-learn-c/11797)

<div class="topic-metadata">

**Author:** [@adisharma](https://discourse.processing.org/u/adisharma)\
**Replies:** 8\
**Last updated:** [June 15, 2019, 9:22am UTC](https://discourse.processing.org/t/how-long-does-it-take-to-learn-c/11797 "2019-06-15T09:22:21Z")

</div>

Is there an online course that can help me to get basic skills and start my career in C programming.

---

## [Copy / Clone PVector?](https://discourse.processing.org/t/copy-clone-pvector/12068)

<div class="topic-metadata">

**Author:** [@CelloVerp](https://discourse.processing.org/u/CelloVerp)\
**Replies:** 1\
**Last updated:** [June 14, 2019, 11:26pm UTC](https://discourse.processing.org/t/copy-clone-pvector/12068 "2019-06-14T23:26:02Z")

</div>

Hi there, When I use processing on my local system (with Java I assume), I can call copy() on PVectors to copy / clone them. I notice that doesn’t work in the browser-based systems. Is there a cross-platform way to co…

---

## [Gearjoint example in Fisica](https://discourse.processing.org/t/gearjoint-example-in-fisica/12011)

<div class="topic-metadata">

**Author:** [@yiyang](https://discourse.processing.org/u/yiyang)\
**Replies:** 1\
**Last updated:** [June 14, 2019, 10:54pm UTC](https://discourse.processing.org/t/gearjoint-example-in-fisica/12011 "2019-06-14T22:54:14Z")

</div>

Hello dear fellows, Could you offer me an example in the library Fisica to demonstrate the usage of the FGearJoint object? Thank you so much for your help. BTW, It’s been 10 years since I have posted my last question i…

---

## [Objects, texts and array - need help with arrange](https://discourse.processing.org/t/objects-texts-and-array-need-help-with-arrange/12058)

<div class="topic-metadata">

**Author:** [@patrushka](https://discourse.processing.org/u/patrushka)\
**Replies:** 4\
**Last updated:** [June 14, 2019, 6:15pm UTC](https://discourse.processing.org/t/objects-texts-and-array-need-help-with-arrange/12058 "2019-06-14T18:15:18Z")

</div>

Hey everyone :slight\_smile: i am new to processing and starting to work with arrays, I want to make a nice typography poster with it. so I thought it would look cool to place some objects on the poster, but the problem…

---

## [Nested loops and asterisk patterns](https://discourse.processing.org/t/nested-loops-and-asterisk-patterns/12015)

<div class="topic-metadata">

**Author:** [@otorp2](https://discourse.processing.org/u/otorp2)\
**Replies:** 9\
**Last updated:** [June 14, 2019, 6:09pm UTC](https://discourse.processing.org/t/nested-loops-and-asterisk-patterns/12015 "2019-06-14T18:09:32Z")

</div>

hi i know this isn’t very appealing visually but I’m trying to learn how to control nested loops - whats a good way to use nested loops and text to create asterisk patterns (simple triangle, diamond etc). thanks for h…

---

## [Diamond square shaped pixelation of an image](https://discourse.processing.org/t/diamond-square-shaped-pixelation-of-an-image/11990)

<div class="topic-metadata">

**Author:** [@Ruchi](https://discourse.processing.org/u/Ruchi)\
**Replies:** 1\
**Last updated:** [June 14, 2019, 5:05pm UTC](https://discourse.processing.org/t/diamond-square-shaped-pixelation-of-an-image/11990 "2019-06-14T17:05:41Z")

</div>

Hi, is there a way to get diamond square shaped pixels or for that matter give different shapes pixelation to an image just like photoshop in processing?

---

## [Implementing Grid-Based Collision System](https://discourse.processing.org/t/implementing-grid-based-collision-system/3248)

<div class="topic-metadata">

**Author:** [@Sarah](https://discourse.processing.org/u/Sarah)\
**Replies:** 12\
**Last updated:** [September 9, 2018, 12:17pm UTC](https://discourse.processing.org/t/implementing-grid-based-collision-system/3248 "2018-09-09T12:17:18Z")

</div>

Hi, Recently I’ve been creating a game with a player and enemies (Both classes). The player and enemies both shoot at each other, and I’ve been checking the collision between them a function void hit(Bullet b) { if (\<Co…

---

## [Applying collisions and physics to a processing 3 project](https://discourse.processing.org/t/applying-collisions-and-physics-to-a-processing-3-project/12049)

<div class="topic-metadata">

**Author:** [@Bluu](https://discourse.processing.org/u/Bluu)\
**Replies:** 0\
**Last updated:** [June 14, 2019, 12:21am UTC](https://discourse.processing.org/t/applying-collisions-and-physics-to-a-processing-3-project/12049 "2019-06-14T00:21:46Z")

</div>

I’ve been working on a simulation project which has a cannon and 2 towers of blocks which must collide with each other in a way that causes movement(however rotation is not required, just displacement and gravity) I’ve …

---

## [Using OscP5 with computer-to-computer network](https://discourse.processing.org/t/using-oscp5-with-computer-to-computer-network/11986)

<div class="topic-metadata">

**Author:** [@litiec](https://discourse.processing.org/u/litiec)\
**Replies:** 1\
**Last updated:** [June 13, 2019, 7:09pm UTC](https://discourse.processing.org/t/using-oscp5-with-computer-to-computer-network/11986 "2019-06-13T19:09:00Z")

</div>

Dear all I attempted to create a network in my mac and connect another mac to my network. Connection was succeed and both mac received a self-assigned Ip address from this network(computer-to-computer network). Then I s…

---

## [Border for a picture](https://discourse.processing.org/t/border-for-a-picture/11812)

<div class="topic-metadata">

**Author:** [@Dominik\_rgn](https://discourse.processing.org/u/Dominik_rgn)\
**Replies:** 15\
**Last updated:** [June 13, 2019, 10:27am UTC](https://discourse.processing.org/t/border-for-a-picture/11812 "2019-06-13T10:27:24Z")

</div>

I would like to have a border for the picture Can anybody help me with this? PImage bg; float xo; float yo; float zoom = 1.7; void setup () { size(800, 600); smooth(); noStroke(); bg = loadImage("bg.jpg"); } …

---

## [How to label live graph visualizer](https://discourse.processing.org/t/how-to-label-live-graph-visualizer/11982)

<div class="topic-metadata">

**Author:** [@osibada](https://discourse.processing.org/u/osibada)\
**Replies:** 0\
**Last updated:** [June 10, 2019, 10:52pm UTC](https://discourse.processing.org/t/how-to-label-live-graph-visualizer/11982 "2019-06-10T22:52:55Z")

</div>

Hi, I have found a live Blood Pressure and Pulse Pressure visualiser that works with my PPG sensor but the current graph screen doesn’t show the labels for the vertical and horizontal axis. I’d like to have these labell…

---

## [Simplify box selection in a table](https://discourse.processing.org/t/simplify-box-selection-in-a-table/12026)

<div class="topic-metadata">

**Author:** [@hugo](https://discourse.processing.org/u/hugo)\
**Replies:** 4\
**Last updated:** [June 13, 2019, 5:40am UTC](https://discourse.processing.org/t/simplify-box-selection-in-a-table/12026 "2019-06-13T05:40:58Z")

</div>

hello, here is my program : int AM=0; int R=0; void setup() { frameRate(30); size(480,320); } void draw() { background(255); stroke(180); strokeWeight(2); for (int ix = 64; ix \< 315; ix = ix+64) { lin…

---

## [Insert 3D HSB Colormodel in Space Colonization Algorithm](https://discourse.processing.org/t/insert-3d-hsb-colormodel-in-space-colonization-algorithm/12023)

<div class="topic-metadata">

**Author:** [@theresel](https://discourse.processing.org/u/theresel)\
**Replies:** 1\
**Last updated:** [June 13, 2019, 4:29am UTC](https://discourse.processing.org/t/insert-3d-hsb-colormodel-in-space-colonization-algorithm/12023 "2019-06-13T04:29:47Z")

</div>

Hi there! I’m trying to create generative plants with a space colonization algorithm. I found a tutorial/code from Daniel Shiffman who’s using random dots in a 3D coordinate System which then connect with each other. I…

---

## [Game control plus buttonPressed](https://discourse.processing.org/t/game-control-plus-buttonpressed/6061)

<div class="topic-metadata">

**Author:** [@bryan](https://discourse.processing.org/u/bryan)\
**Replies:** 4\
**Last updated:** [June 13, 2019, 3:12am UTC](https://discourse.processing.org/t/game-control-plus-buttonpressed/6061 "2019-06-13T03:12:14Z")

</div>

Hi! i’m using the library game control plus to interact with on sketch in processing. what i’m trying to do is that if i press a button, change his state to the contrary, like in the code below. i want to create or use a…

---

## [Why aren't my ellipses spawning in the proper location?](https://discourse.processing.org/t/why-arent-my-ellipses-spawning-in-the-proper-location/11972)

<div class="topic-metadata">

**Author:** [@newone](https://discourse.processing.org/u/newone)\
**Replies:** 1\
**Last updated:** [June 12, 2019, 6:46pm UTC](https://discourse.processing.org/t/why-arent-my-ellipses-spawning-in-the-proper-location/11972 "2019-06-12T18:46:00Z")

</div>

Hello Processing forum users, I am currently having an issue with my Tank simulation program: there are a few tanks roaming around on my screen and they shoot bullets(ellipses) at each other. The fire() method adds a bu…

---

## [Geomerative: Smooth Font Rendering](https://discourse.processing.org/t/geomerative-smooth-font-rendering/11978)

<div class="topic-metadata">

**Author:** [@heyarne](https://discourse.processing.org/u/heyarne)\
**Replies:** 1\
**Last updated:** [June 12, 2019, 5:40pm UTC](https://discourse.processing.org/t/geomerative-smooth-font-rendering/11978 "2019-06-12T17:40:50Z")

</div>

Hi! I started playing around with the Geomerative library and I like it a lot. I intended to play around with different fonts and noticed that when polygonizing the outlines, the resulting shape looks a bit jagged. Here’…

---

## [\[SOLVED\] .hide() not working for buttons](https://discourse.processing.org/t/solved-hide-not-working-for-buttons/11962)

<div class="topic-metadata">

**Author:** [@NadeW](https://discourse.processing.org/u/NadeW)\
**Replies:** 4\
**Last updated:** [June 12, 2019, 8:31am UTC](https://discourse.processing.org/t/solved-hide-not-working-for-buttons/11962 "2019-06-12T08:31:31Z")

</div>

Hello I just started using Processing. I intend to have this code such that when the buttons are pressed, they disappear. However when I click, the buttons remain on screen. How do I fix this? Pardon my unusual way of c…

---

## [URGENT! Need help for test tomorrow!](https://discourse.processing.org/t/urgent-need-help-for-test-tomorrow/12004)

<div class="topic-metadata">

**Author:** [@KZ0202](https://discourse.processing.org/u/KZ0202)\
**Replies:** 1\
**Last updated:** [June 12, 2019, 4:27am UTC](https://discourse.processing.org/t/urgent-need-help-for-test-tomorrow/12004 "2019-06-12T04:27:58Z")

</div>

I have a test tomorrow and I don’t know what is wrong with my code. I am supposed to make one ellipse and a rectangle with a circle following the mouse. The circle is on top of the ellipse but behind the rectangle. How d…

---

## [How to visualise in 2D in processing 1.5 and apply color to points](https://discourse.processing.org/t/how-to-visualise-in-2d-in-processing-1-5-and-apply-color-to-points/11996)

<div class="topic-metadata">

**Author:** [@alice](https://discourse.processing.org/u/alice)\
**Replies:** 6\
**Last updated:** [June 11, 2019, 11:19pm UTC](https://discourse.processing.org/t/how-to-visualise-in-2d-in-processing-1-5-and-apply-color-to-points/11996 "2019-06-11T23:19:38Z")

</div>

Hi everybody, I’m a beginner in processing and I hope someone can help me with a small question… I’ll leave you below the code that I have done ( the name is “test1” and it has a tab with the points, I sent you both). …

---

## [How to apply color pixels](https://discourse.processing.org/t/how-to-apply-color-pixels/11941)

<div class="topic-metadata">

**Author:** [@alice](https://discourse.processing.org/u/alice)\
**Replies:** 8\
**Last updated:** [June 11, 2019, 10:27pm UTC](https://discourse.processing.org/t/how-to-apply-color-pixels/11941 "2019-06-11T22:27:39Z")

</div>

Hi all, I’m new using processing and still learning, I hope someone can help me . I have this script of the reaction Diffusion, I just want to apply a color of the chemical A and B. Also how to import an image and appl…

---

## [Loading data into the processing](https://discourse.processing.org/t/loading-data-into-the-processing/11949)

<div class="topic-metadata">

**Author:** [@BallazX](https://discourse.processing.org/u/BallazX)\
**Replies:** 2\
**Last updated:** [June 11, 2019, 3:29pm UTC](https://discourse.processing.org/t/loading-data-into-the-processing/11949 "2019-06-11T15:29:40Z")

</div>

Hey, Im trying to load some data from a csv file. The data tab contains this code: Table data=loadTable("values.csv"); TableRow row=data.getRow(0); float x1=row.getInt(0); float y1=row.getInt(1); float x2=row.getInt…

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

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