# Latest

**URL:** https://discourse.processing.org/latest.md?page=200

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

**Page:** 201

---

## [Dealing with editing large images](https://discourse.processing.org/t/dealing-with-editing-large-images/26846)

<div class="topic-metadata">

**Author:** [@tinywitchdraws](https://discourse.processing.org/u/tinywitchdraws)\
**Replies:** 3\
**Last updated:** [August 4, 2021, 5:44pm UTC](https://discourse.processing.org/t/dealing-with-editing-large-images/26846 "2021-08-04T17:44:40Z")

</div>

Hi all, I’m working on a little p5js app that will take an image and convert the brightness to opacity. So far, it works well but it crashes the browser when editing large images. here’s the code: https://editor.p5js.or…

---

## [Möbius Strip Animation](https://discourse.processing.org/t/mobius-strip-animation/13273)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 6\
**Last updated:** [July 20, 2021, 6:23pm UTC](https://discourse.processing.org/t/mobius-strip-animation/13273 "2021-07-20T18:23:25Z")

</div>

Simple Mobius Strip Enjoy! // Author: GLV // Date: 2019-08-08 // Description: Simple Mobius strip // References: // https://en.wikipedia.org/wiki/M%C3%B6bius\_strip PShape m1; boolean vTog = true; boolean…

---

## [Google Streetview](https://discourse.processing.org/t/google-streetview/7105)

<div class="topic-metadata">

**Author:** [@Noisathry](https://discourse.processing.org/u/Noisathry)\
**Replies:** 6\
**Last updated:** [August 18, 2021, 5:41pm UTC](https://discourse.processing.org/t/google-streetview/7105 "2021-08-18T17:41:38Z")

</div>

Hello Everybody! I started processing this year at the university and now I want to make an interaktive programm with processing, where you sit on a swing and with every move forward you go one frame forward in google m…

---

## [The function enableCollapse() does not exist](https://discourse.processing.org/t/the-function-enablecollapse-does-not-exist/17718)

<div class="topic-metadata">

**Author:** [@yjoeyj](https://discourse.processing.org/u/yjoeyj)\
**Replies:** 4\
**Last updated:** [August 18, 2021, 5:11pm UTC](https://discourse.processing.org/t/the-function-enablecollapse-does-not-exist/17718 "2021-08-18T17:11:27Z")

</div>

Hello All, First time user of Processing and stuck on a script I obtained from github Link. I cut down the script to shorten it for here, so hope I didn’t cut off too much: import controlP5.\*; import processing.serial.…

---

## [How can I make my code work for multiple figure detection (poseNet)?](https://discourse.processing.org/t/how-can-i-make-my-code-work-for-multiple-figure-detection-posenet/10762)

<div class="topic-metadata">

**Author:** [@sguzmanolmos](https://discourse.processing.org/u/sguzmanolmos)\
**Replies:** 9\
**Last updated:** [August 18, 2021, 4:58pm UTC](https://discourse.processing.org/t/how-can-i-make-my-code-work-for-multiple-figure-detection-posenet/10762 "2021-08-18T16:58:55Z")

</div>

Hoi! I’ve just started learning how to code and in my school, there’s not much guidance about the subject. Currently, I’m doing a project with p5.js and poseNet. But I’m stuck trying to modify each keypoint independentl…

---

## [Transparency issues in P3D](https://discourse.processing.org/t/transparency-issues-in-p3d/31784)

<div class="topic-metadata">

**Author:** [@SNICKRS](https://discourse.processing.org/u/SNICKRS)\
**Replies:** 3\
**Last updated:** [August 18, 2021, 4:12pm UTC](https://discourse.processing.org/t/transparency-issues-in-p3d/31784 "2021-08-18T16:12:13Z")

</div>

Hello everyone, I am trying to code a voxel game in java with processing, but when generating structures like trees with transparent leaves and textures, the textures always have a weird blue color (the color of the sky)…

---

## [Affinity: an artificial life swarm simulation](https://discourse.processing.org/t/affinity-an-artificial-life-swarm-simulation/10616)

<div class="topic-metadata">

**Author:** [@scudly](https://discourse.processing.org/u/scudly)\
**Replies:** 6\
**Last updated:** [August 18, 2021, 2:53pm UTC](https://discourse.processing.org/t/affinity-an-artificial-life-swarm-simulation/10616 "2021-08-18T14:53:41Z")

</div>

In Affinity, https://codepen.io/scudly/full/aBdqpb, each entity has a hue and has an affinity to other entities with similar, though not quite the same, hues and flees from those with a different hue. The overall behavi…

---

## [Using. img.get to retrieve color values](https://discourse.processing.org/t/using-img-get-to-retrieve-color-values/31778)

<div class="topic-metadata">

**Author:** [@glen](https://discourse.processing.org/u/glen)\
**Replies:** 2\
**Last updated:** [August 18, 2021, 11:34am UTC](https://discourse.processing.org/t/using-img-get-to-retrieve-color-values/31778 "2021-08-18T11:34:07Z")

</div>

I am using the following code let c = img.get(xPos,yPos); to sample a color from a pixel of an image and it works brilliantly as I can then fill or stroke with the variable (c) My question is how do I then make (c) us…

---

## [Exporting still images from animations](https://discourse.processing.org/t/exporting-still-images-from-animations/31666)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 23\
**Last updated:** [August 18, 2021, 11:17am UTC](https://discourse.processing.org/t/exporting-still-images-from-animations/31666 "2021-08-18T11:17:40Z")

</div>

Hi there ! I want to export still images from this animation and I don’t know how to do it. This code make interesting images in different moments and I would like to frozen and export them to print them in HQ. Could yo…

---

## [Using save/saveFrame to save screenshot in iGeo update method](https://discourse.processing.org/t/using-save-saveframe-to-save-screenshot-in-igeo-update-method/31757)

<div class="topic-metadata">

**Author:** [@Renruojos](https://discourse.processing.org/u/Renruojos)\
**Replies:** 2\
**Last updated:** [August 18, 2021, 5:17am UTC](https://discourse.processing.org/t/using-save-saveframe-to-save-screenshot-in-igeo-update-method/31757 "2021-08-18T05:17:05Z")

</div>

I am fairly new to both Processing and iGeo and for the life of me I cannot figured out how to take a simple screenshot of the canvas properly. Take for instance the code below: I am creating a bunch of random points on…

---

## [Shuffle Song Code](https://discourse.processing.org/t/shuffle-song-code/6618)

<div class="topic-metadata">

**Author:** [@charmypatel](https://discourse.processing.org/u/charmypatel)\
**Replies:** 3\
**Last updated:** [August 9, 2021, 11:52am UTC](https://discourse.processing.org/t/shuffle-song-code/6618 "2021-08-09T11:52:46Z")

</div>

I’m trying to practice doing different things using minim. I wanted to play around with shuffling different songs using minim and I found this example. I was having trouble posting a comment to the user that posted this …

---

## [Question about \>\< and !=](https://discourse.processing.org/t/question-about-and/31419)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 6\
**Last updated:** [August 18, 2021, 3:50am UTC](https://discourse.processing.org/t/question-about-and/31419 "2021-08-18T03:50:00Z")

</div>

Is If(x \>\< 16){print(“yes”)} The same as If (x != 16){print(“yes”)} ?

---

## [Ciclo for con iteraciones](https://discourse.processing.org/t/ciclo-for-con-iteraciones/31566)

<div class="topic-metadata">

**Author:** [@tati1202](https://discourse.processing.org/u/tati1202)\
**Replies:** 2\
**Last updated:** [August 18, 2021, 2:34am UTC](https://discourse.processing.org/t/ciclo-for-con-iteraciones/31566 "2021-08-18T02:34:59Z")

</div>

for( int x=-600; x\<=600; x=x+60){ for (int y=-600; y\<=600; y=y+60){ quiero hacer esta grilla en un size(600,600) pero no se como meter las variables que puedan ser luego modificadas con eventos de teclado/mouse, como p…

---

## [How do I use the X and Y values from an object from touches in P5js?](https://discourse.processing.org/t/how-do-i-use-the-x-and-y-values-from-an-object-from-touches-in-p5js/31766)

<div class="topic-metadata">

**Author:** [@nothingness](https://discourse.processing.org/u/nothingness)\
**Replies:** 4\
**Last updated:** [August 18, 2021, 12:19am UTC](https://discourse.processing.org/t/how-do-i-use-the-x-and-y-values-from-an-object-from-touches-in-p5js/31766 "2021-08-18T00:19:09Z")

</div>

This is my first week playing with P5js and Processing so be gentle. I’ve got the following P5js code where I’m looking at touch values. By pressing multi-points on a touch screen brings up more circles anchored to a ce…

---

## [New version of the Beads audio library](https://discourse.processing.org/t/new-version-of-the-beads-audio-library/23669)

<div class="topic-metadata">

**Author:** [@olliebown](https://discourse.processing.org/u/olliebown)\
**Replies:** 3\
**Last updated:** [August 17, 2021, 10:02pm UTC](https://discourse.processing.org/t/new-version-of-the-beads-audio-library/23669 "2021-08-17T22:02:50Z")

</div>

Hi there, I’m please to announce a long overdue update to the Beads library for Processing. One of the main developments is a simplified API which doesn’t require the AudioContext argument creating UGens. The library co…

---

## [Getting a NullPointerException with opencv loadImage()!](https://discourse.processing.org/t/getting-a-nullpointerexception-with-opencv-loadimage/31739)

<div class="topic-metadata">

**Author:** [@maroslan](https://discourse.processing.org/u/maroslan)\
**Replies:** 1\
**Last updated:** [August 17, 2021, 5:24pm UTC](https://discourse.processing.org/t/getting-a-nullpointerexception-with-opencv-loadimage/31739 "2021-08-17T17:24:25Z")

</div>

I need someone more skilled than me to look at my code. I am trying to open my webcam, and make it track a location, where it will draw a circle. However, it wont even load the cam! I get a NullPointerException. I see th…

---

## [I coded circles everyday for a month and this is what I came up with](https://discourse.processing.org/t/i-coded-circles-everyday-for-a-month-and-this-is-what-i-came-up-with/30457)

<div class="topic-metadata">

**Author:** [@musiciantriescoding](https://discourse.processing.org/u/musiciantriescoding)\
**Replies:** 1\
**Last updated:** [August 17, 2021, 8:37am UTC](https://discourse.processing.org/t/i-coded-circles-everyday-for-a-month-and-this-is-what-i-came-up-with/30457 "2021-08-17T08:37:10Z")

</div>

Hello fellow creative coders! I would like to share something I wrote with you all. In the month of May, I coded daily and always worked with circles. This article is a summary of what I did and some techniques I explore…

---

## [Background/mask over webcam feed](https://discourse.processing.org/t/background-mask-over-webcam-feed/31753)

<div class="topic-metadata">

**Author:** [@maroslan](https://discourse.processing.org/u/maroslan)\
**Replies:** 2\
**Last updated:** [August 16, 2021, 8:14pm UTC](https://discourse.processing.org/t/background-mask-over-webcam-feed/31753 "2021-08-16T20:14:15Z")

</div>

Hi to whoever is reading this! I am trying to create an overlay over a webcam feed. I am using the webcam to capture the darkest points in its vision, where it will draw a circle. However, in the end result I don’t want…

---

## [Thought the new Processing 4 logo didn't really represent a P or a 4, so I rearranged it to look a bit more befitting](https://discourse.processing.org/t/thought-the-new-processing-4-logo-didnt-really-represent-a-p-or-a-4-so-i-rearranged-it-to-look-a-bit-more-befitting/31752)

<div class="topic-metadata">

**Author:** [@OpenSauce](https://discourse.processing.org/u/OpenSauce)\
**Replies:** 1\
**Last updated:** [August 16, 2021, 8:05pm UTC](https://discourse.processing.org/t/thought-the-new-processing-4-logo-didnt-really-represent-a-p-or-a-4-so-i-rearranged-it-to-look-a-bit-more-befitting/31752 "2021-08-16T20:05:33Z")

</div>

This took about 5 minutes

---

## [Ccapture to save graphics vs canvas](https://discourse.processing.org/t/ccapture-to-save-graphics-vs-canvas/31747)

<div class="topic-metadata">

**Author:** [@rkdnson](https://discourse.processing.org/u/rkdnson)\
**Replies:** 4\
**Last updated:** [August 16, 2021, 7:34pm UTC](https://discourse.processing.org/t/ccapture-to-save-graphics-vs-canvas/31747 "2021-08-16T19:34:33Z")

</div>

Hello all, using the library ccapture - I realize this is an older Library so if anyone has another recommendation for capturing png sequences from P5.js that would be fantasic. In the sketch here: I am using ccapture …

---

## [Convert digital photo into digital](https://discourse.processing.org/t/convert-digital-photo-into-digital/31745)

<div class="topic-metadata">

**Author:** [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Replies:** 2\
**Last updated:** [August 16, 2021, 5:37pm UTC](https://discourse.processing.org/t/convert-digital-photo-into-digital/31745 "2021-08-16T17:37:05Z")

</div>

I would like to import an image, and manipulate it in order to make it look like it created with digital tools. I found a code about how to convert full color image into gray scale one, but I am kinda stuck with the di…

---

## [Is there a way to paint a filled triangle?](https://discourse.processing.org/t/is-there-a-way-to-paint-a-filled-triangle/31647)

<div class="topic-metadata">

**Author:** [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Replies:** 6\
**Last updated:** [August 16, 2021, 2:22pm UTC](https://discourse.processing.org/t/is-there-a-way-to-paint-a-filled-triangle/31647 "2021-08-16T14:22:04Z")

</div>

I would like to know

---

## [Applying power by amount of time passed?](https://discourse.processing.org/t/applying-power-by-amount-of-time-passed/30295)

<div class="topic-metadata">

**Author:** [@int](https://discourse.processing.org/u/int)\
**Replies:** 5\
**Last updated:** [August 16, 2021, 12:35pm UTC](https://discourse.processing.org/t/applying-power-by-amount-of-time-passed/30295 "2021-08-16T12:35:15Z")

</div>

Hi, I’m struggling to figure out how you can set the speed/power of a moving object based on time. For example, When you press a key, a ball is thrown from one end to the other. the time taken to press the key is calcula…

---

## [Video library not working for exported application of the sketch](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264)

<div class="topic-metadata">

**Author:** [@aditya1](https://discourse.processing.org/u/aditya1)\
**Replies:** 11\
**Last updated:** [August 16, 2021, 7:57am UTC](https://discourse.processing.org/t/video-library-not-working-for-exported-application-of-the-sketch/25264 "2021-08-16T07:57:14Z")

</div>

My sketch works totally fine when I run in the Processing software containing the Processing video library. But when I export the sketch as exe application the same code doesn’t work. To try I removed the movie from the…

---

## [Exporting application Crashes on Mac Big Sug 11.4](https://discourse.processing.org/t/exporting-application-crashes-on-mac-big-sug-11-4/31202)

<div class="topic-metadata">

**Author:** [@manu](https://discourse.processing.org/u/manu)\
**Replies:** 9\
**Last updated:** [August 16, 2021, 6:08am UTC](https://discourse.processing.org/t/exporting-application-crashes-on-mac-big-sug-11-4/31202 "2021-08-16T06:08:02Z")

</div>

Hi Everyone! I am in a bit of a bind and wanted to see if anyone else ran into this problem. When I publish sketches from processing (3.4 or Alpha) as exported applications, the process goes ok. But when I try and open…

---

## [How to copy an array](https://discourse.processing.org/t/how-to-copy-an-array/5170)

<div class="topic-metadata">

**Author:** [@sLucas](https://discourse.processing.org/u/sLucas)\
**Replies:** 10\
**Last updated:** [August 16, 2021, 3:50am UTC](https://discourse.processing.org/t/how-to-copy-an-array/5170 "2021-08-16T03:50:45Z")

</div>

A bug has been found… (No bug has been found (edit)) Explanation follows void setup() { double\[\] a = {1, 2, 3}; double\[\] b = {1, 2, 3}; for (double print : b) { print(print + ", "); } println(); b = new…

---

## [A caught exception occured on thread](https://discourse.processing.org/t/a-caught-exception-occured-on-thread/31713)

<div class="topic-metadata">

**Author:** [@LuckSmith](https://discourse.processing.org/u/LuckSmith)\
**Replies:** 4\
**Last updated:** [August 15, 2021, 11:49am UTC](https://discourse.processing.org/t/a-caught-exception-occured-on-thread/31713 "2021-08-15T11:49:40Z")

</div>

Hi guys, I got the following error message running my sketch. Tried both 4.01 and 3.5.4 versions. What is wrong? RunnableTask.run(): A caught exception occured on thread main-Display-.windows\_nil-1-EDT-1: RunnableTask…

---

## [Why updating sand simulation in grid doesn't work?](https://discourse.processing.org/t/why-updating-sand-simulation-in-grid-doesnt-work/31722)

<div class="topic-metadata">

**Author:** [@Rafsing](https://discourse.processing.org/u/Rafsing)\
**Replies:** 2\
**Last updated:** [August 15, 2021, 1:19am UTC](https://discourse.processing.org/t/why-updating-sand-simulation-in-grid-doesnt-work/31722 "2021-08-15T01:19:17Z")

</div>

I want to make a falling sand simulation using cellular automata, but when I update it, nothing happens, and when I want to do a line of diffrent material using lineDrawing() this material appear in random cells. This is…

---

## [Odd behaviour with Processing 3 and Processing 4 installed](https://discourse.processing.org/t/odd-behaviour-with-processing-3-and-processing-4-installed/31725)

<div class="topic-metadata">

**Author:** [@PhilHaw](https://discourse.processing.org/u/PhilHaw)\
**Replies:** 3\
**Last updated:** [August 14, 2021, 9:22pm UTC](https://discourse.processing.org/t/odd-behaviour-with-processing-3-and-processing-4-installed/31725 "2021-08-14T21:22:08Z")

</div>

I have Processing 3 (3.5.4) and Processing 4.0b1 installed on a Windows 10 PC. Here’s an odd thing! If I have Processing 3 open and I try to run Processing 4, the Processing 4 splash screen appears briefly but the new s…

---

## [Calling different draw functions](https://discourse.processing.org/t/calling-different-draw-functions/31709)

<div class="topic-metadata">

**Author:** [@odecode](https://discourse.processing.org/u/odecode)\
**Replies:** 15\
**Last updated:** [August 14, 2021, 6:38pm UTC](https://discourse.processing.org/t/calling-different-draw-functions/31709 "2021-08-14T18:38:34Z")

</div>

Hello! I followed TheCodingTrain’s youtube video for the Rubik’s cube, and am now adding some functionality which I need help with. I am using java mode. I created a simple solver (brute force), and now I want to create …

[Previous page](https://discourse.processing.org/latest.md?page=199)

[Next page](https://discourse.processing.org/latest.md?page=201)
