# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=474

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

**Page:** 475

---

## [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…

---

## [Understanding paint depth & opacity in p5js & webgl](https://discourse.processing.org/t/understanding-paint-depth-opacity-in-p5js-webgl/12046)

<div class="topic-metadata">

**Author:** [@jedierikb](https://discourse.processing.org/u/jedierikb)\
**Replies:** 2\
**Last updated:** [June 15, 2019, 5:58pm UTC](https://discourse.processing.org/t/understanding-paint-depth-opacity-in-p5js-webgl/12046 "2019-06-15T17:58:15Z")

</div>

https://codepen.io/jedierikb/pen/EBVyPE?editors=1010 In this example, I am confused that the green plane is over the red plane when on the right side of the sketch. If I change the opacity of the planes to 100%, then I…

---

## [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…

---

## [How to use mousePressed with mouseX and mouseY?](https://discourse.processing.org/t/how-to-use-mousepressed-with-mousex-and-mousey/12000)

<div class="topic-metadata">

**Author:** [@carriemarrie](https://discourse.processing.org/u/carriemarrie)\
**Replies:** 2\
**Last updated:** [June 14, 2019, 11:02pm UTC](https://discourse.processing.org/t/how-to-use-mousepressed-with-mousex-and-mousey/12000 "2019-06-14T23:02:40Z")

</div>

I have 6 different objects and I’d like to choose one of the objects and move it to the next screen. Right now there is just 3D box on the next screen. But I don’t know how to do it. Any help would be needed! Here’s the…

---

## [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…

---

## [Issues with panning & checking for visibility on a translated canvas?](https://discourse.processing.org/t/issues-with-panning-checking-for-visibility-on-a-translated-canvas/12006)

<div class="topic-metadata">

**Author:** [@Tinstar](https://discourse.processing.org/u/Tinstar)\
**Replies:** 2\
**Last updated:** [June 14, 2019, 7:06pm UTC](https://discourse.processing.org/t/issues-with-panning-checking-for-visibility-on-a-translated-canvas/12006 "2019-06-14T19:06:14Z")

</div>

I originally posted this on Stack Overflow via the p5 tag, but figured this might be a better place for it. I’m working on getting 2D zooming and panning working in a p5 project, a la this example code. I’m working in 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 …

---

## [Coding a Linked List utilizing PVector.Random2D](https://discourse.processing.org/t/coding-a-linked-list-utilizing-pvector-random2d/11998)

<div class="topic-metadata">

**Author:** [@zooey105](https://discourse.processing.org/u/zooey105)\
**Replies:** 3\
**Last updated:** [June 13, 2019, 8:48pm UTC](https://discourse.processing.org/t/coding-a-linked-list-utilizing-pvector-random2d/11998 "2019-06-13T20:48:44Z")

</div>

The above pic is a visualization of ~1000 nodes in a linked list, and here’s a video of me coding it. Would anyone be interested in a series of data-structure heavy videos? Dan from the Coding Train does a lot of whit…

---

## [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…

---

## [fullScreen() crashes with P2D in Python mode](https://discourse.processing.org/t/fullscreen-crashes-with-p2d-in-python-mode/11975)

<div class="topic-metadata">

**Author:** [@data-arts](https://discourse.processing.org/u/data-arts)\
**Replies:** 7\
**Last updated:** [June 13, 2019, 7:07pm UTC](https://discourse.processing.org/t/fullscreen-crashes-with-p2d-in-python-mode/11975 "2019-06-13T19:07:45Z")

</div>

Hello all, Can anyone help me understand why fullScreen(P2D) crashes in Python mode? I’ve included a sketch below that demonstrates the problem, although for me this happens with all sketches. In my environment (Proces…

---

## [:Inside the processing libraries: Method Rect();](https://discourse.processing.org/t/inside-the-processing-libraries-method-rect/11830)

<div class="topic-metadata">

**Author:** [@RayRay](https://discourse.processing.org/u/RayRay)\
**Replies:** 6\
**Last updated:** [June 13, 2019, 5:08pm UTC](https://discourse.processing.org/t/inside-the-processing-libraries-method-rect/11830 "2019-06-13T17:08:17Z")

</div>

as I did not find information about the processing rect library on the official page, I decided to try to make my own. what do you think? feel free to complement this code att\_rect(width/2,height/2,100,100); void at…

---

## [How to use split screen video sections as textures?](https://discourse.processing.org/t/how-to-use-split-screen-video-sections-as-textures/11463)

<div class="topic-metadata">

**Author:** [@jedierikb](https://discourse.processing.org/u/jedierikb)\
**Replies:** 3\
**Last updated:** [June 13, 2019, 4:54pm UTC](https://discourse.processing.org/t/how-to-use-split-screen-video-sections-as-textures/11463 "2019-06-13T16:54:34Z")

</div>

Here is what I am trying to do: load one split screen video (for example https://www.youtube.com/watch?v=5eEXKzbeH7c ) and then use either side of the video as a texture for two different GL shapes. Hoping the community…

---

## [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…

---

## [Android mode loadShape() is broken?](https://discourse.processing.org/t/android-mode-loadshape-is-broken/11938)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 5\
**Last updated:** [June 13, 2019, 10:04am UTC](https://discourse.processing.org/t/android-mode-loadshape-is-broken/11938 "2019-06-13T10:04:28Z")

</div>

Hi, i run this simple code and works fine on windows, but only loads the first .obj model… untitled.obj eject error when attempt to load a .mtl material file, i dont´k known the problem. PShape s1,s2; float ry; public…

---

## [Processing.py equivalent of drawing from within another thread?](https://discourse.processing.org/t/processing-py-equivalent-of-drawing-from-within-another-thread/11983)

<div class="topic-metadata">

**Author:** [@chupo\_cro](https://discourse.processing.org/u/chupo_cro)\
**Replies:** 3\
**Last updated:** [June 11, 2019, 9:08am UTC](https://discourse.processing.org/t/processing-py-equivalent-of-drawing-from-within-another-thread/11983 "2019-06-11T09:08:17Z")

</div>

Hi all, my first post here. I’ve seen there are quite a few topics (in the old forums) about drawing from within another thread to be able to update the screen during intermediate states of different algorithms which ar…

---

## [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…

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=473)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=475)
