# Latest

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

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

**Page:** 196

---

## [Beautiful poster designed with code](https://discourse.processing.org/t/beautiful-poster-designed-with-code/8126)

<div class="topic-metadata">

**Author:** [@lobodelmar](https://discourse.processing.org/u/lobodelmar)\
**Replies:** 0\
**Last updated:** [February 4, 2019, 11:08pm UTC](https://discourse.processing.org/t/beautiful-poster-designed-with-code/8126 "2019-02-04T23:08:53Z")

</div>

My students on the MA in Computational Arts at Goldsmiths, University of London are running a popup exhibition and they made their poster in openFrameworks. Because they are showing work-in-progress, as we are in the mi…

---

## [Getting a SoundFile as a copy. (SoundFile.copy() nonexistant)](https://discourse.processing.org/t/getting-a-soundfile-as-a-copy-soundfile-copy-nonexistant/32064)

<div class="topic-metadata">

**Author:** [@Mattyjak](https://discourse.processing.org/u/Mattyjak)\
**Replies:** 6\
**Last updated:** [September 7, 2021, 1:45pm UTC](https://discourse.processing.org/t/getting-a-soundfile-as-a-copy-soundfile-copy-nonexistant/32064 "2021-09-07T13:45:14Z")

</div>

Hello everyone! It’s Matty here, back with another question in regards to Processing. I’m messing around with sound right now, and I wanted to know if there was an easy way to ‘clone’ or copy a soundfile object? I know…

---

## [How can I create objects to make this work? (Spaceships)](https://discourse.processing.org/t/how-can-i-create-objects-to-make-this-work-spaceships/32017)

<div class="topic-metadata">

**Author:** [@lucaswoah](https://discourse.processing.org/u/lucaswoah)\
**Replies:** 2\
**Last updated:** [September 6, 2021, 9:02pm UTC](https://discourse.processing.org/t/how-can-i-create-objects-to-make-this-work-spaceships/32017 "2021-09-06T21:02:33Z")

</div>

So, I’m making this minigame where you have many spaceships on screen and their lights go out when you click them. I was able to make it work when you click the third spaceship (from the top to the bottom), but when I cl…

---

## [Drawing circles in random sequence](https://discourse.processing.org/t/drawing-circles-in-random-sequence/32077)

<div class="topic-metadata">

**Author:** [@jsco](https://discourse.processing.org/u/jsco)\
**Replies:** 14\
**Last updated:** [September 6, 2021, 7:53pm UTC](https://discourse.processing.org/t/drawing-circles-in-random-sequence/32077 "2021-09-06T19:53:13Z")

</div>

Hi, so I am just a beginner, so this may be a silly question. But in searching, I haven’t quite found what I want. I have a bunch of ellipses being drawn. Now I know they are drawn in the sequence they are written from …

---

## [Where did the (P)Shader tutorial go?](https://discourse.processing.org/t/where-did-the-p-shader-tutorial-go/32090)

<div class="topic-metadata">

**Author:** [@rapatski](https://discourse.processing.org/u/rapatski)\
**Replies:** 3\
**Last updated:** [September 6, 2021, 7:22pm UTC](https://discourse.processing.org/t/where-did-the-p-shader-tutorial-go/32090 "2021-09-06T19:22:11Z")

</div>

Hi there! I remember this super helpful tutorial on PShader and shader 101, which I believe was either done by Andres Colubri, or by one of the newer kids on the block, going over how to set up your vertex an pixel sha…

---

## [Guibuilder -\> Event -\> NullPointerException](https://discourse.processing.org/t/guibuilder-event-nullpointerexception/32104)

<div class="topic-metadata">

**Author:** [@Student001](https://discourse.processing.org/u/Student001)\
**Replies:** 1\
**Last updated:** [September 5, 2021, 4:05pm UTC](https://discourse.processing.org/t/guibuilder-event-nullpointerexception/32104 "2021-09-05T16:05:33Z")

</div>

Hi! this code produces a NullPointerException: public void tf\_step\_delay\_change(GTextField source, GEvent event) { //\_CODE\_:tf\_step\_delay:234478: if(event == GEvent.ENTERED){ slider\_step\_delay.setValue(Integer.v…

---

## [Customizeable Keyboard Controls for Games](https://discourse.processing.org/t/customizeable-keyboard-controls-for-games/22003)

<div class="topic-metadata">

**Author:** [@Shwaa](https://discourse.processing.org/u/Shwaa)\
**Replies:** 1\
**Last updated:** [September 6, 2021, 11:22am UTC](https://discourse.processing.org/t/customizeable-keyboard-controls-for-games/22003 "2021-09-06T11:22:27Z")

</div>

After making games in processing for a while, I and many of you have realized that processing’s keyboard input is not that great for games, especially games when remapping controls is a desired feature. I made a class th…

---

## [Making rects disappear on touch](https://discourse.processing.org/t/making-rects-disappear-on-touch/32094)

<div class="topic-metadata">

**Author:** [@Kenga123456](https://discourse.processing.org/u/Kenga123456)\
**Replies:** 2\
**Last updated:** [September 5, 2021, 4:16pm UTC](https://discourse.processing.org/t/making-rects-disappear-on-touch/32094 "2021-09-05T16:16:17Z")

</div>

float xOffset = 0.0; float yOffset = 0.0; int rectSize = 30; int ellipseX = 90; int ellipseY = 320; int ellipseSize = 30; int boxPosX = 250; int boxPosY = 130; int spacingX = 45; int spacingY = 45; boolean ellipse…

---

## [How to force chrome to open a link?](https://discourse.processing.org/t/how-to-force-chrome-to-open-a-link/31617)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 3\
**Last updated:** [September 5, 2021, 8:30pm UTC](https://discourse.processing.org/t/how-to-force-chrome-to-open-a-link/31617 "2021-09-05T20:30:35Z")

</div>

Hi! I have been using a website that takes forever to load and has several other issues. I want to generate links and force them to open in browser. How can I do it (preferably in processing). I would prefer for it to be…

---

## [Apps in Login Items on Mac do not launch](https://discourse.processing.org/t/apps-in-login-items-on-mac-do-not-launch/31995)

<div class="topic-metadata">

**Author:** [@GeorgeRoland](https://discourse.processing.org/u/GeorgeRoland)\
**Replies:** 13\
**Last updated:** [September 5, 2021, 11:42pm UTC](https://discourse.processing.org/t/apps-in-login-items-on-mac-do-not-launch/31995 "2021-09-05T23:42:41Z")

</div>

I am using a Macintosh When I place a Processing App in the Login Items to launch at startup, it does not launch. The App icon appears in the Dock and bounces a couple of times as though it is starting to launch, but t…

---

## [Frozen Pixels in Shaders?](https://discourse.processing.org/t/frozen-pixels-in-shaders/32038)

<div class="topic-metadata">

**Author:** [@bwerness](https://discourse.processing.org/u/bwerness)\
**Replies:** 10\
**Last updated:** [September 5, 2021, 7:55pm UTC](https://discourse.processing.org/t/frozen-pixels-in-shaders/32038 "2021-09-05T19:55:31Z")

</div>

Hello, I’m a long time Processing user and I’m currently getting extremely strange behavior from a shader I’m developing. I’ve stripped it down to the core, and I’ve simply never seen anything similar. When using the …

---

## [Chroma Library verification](https://discourse.processing.org/t/chroma-library-verification/32072)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 2\
**Last updated:** [September 5, 2021, 6:06pm UTC](https://discourse.processing.org/t/chroma-library-verification/32072 "2021-09-05T18:06:37Z")

</div>

If you go to \<https://github.com/neilpanchal/Chroma\> then scroll down to the section called Motivation, you will see an image. The text states, “The bottom row is generated in CIE-LCH color space by setting Luminosit…

---

## [How does Python Mode actually work?](https://discourse.processing.org/t/how-does-python-mode-actually-work/32008)

<div class="topic-metadata">

**Author:** [@LindowMan](https://discourse.processing.org/u/LindowMan)\
**Replies:** 4\
**Last updated:** [September 5, 2021, 5:54pm UTC](https://discourse.processing.org/t/how-does-python-mode-actually-work/32008 "2021-09-05T17:54:30Z")

</div>

Out of personal interest, and to get to understand Processing better: How does Python Mode actually work? When I started with Python Mode I was already wondering because I can’t recall having had to tell Processing whe…

---

## [P5.js not working in blogger](https://discourse.processing.org/t/p5-js-not-working-in-blogger/32086)

<div class="topic-metadata">

**Author:** [@processing\_user](https://discourse.processing.org/u/processing_user)\
**Replies:** 12\
**Last updated:** [September 5, 2021, 5:31pm UTC](https://discourse.processing.org/t/p5-js-not-working-in-blogger/32086 "2021-09-05T17:31:02Z")

</div>

Hi, Does p5.js work on blogger.com platform? It is not working for me. Tried with simple p5.js with canvas and included the cdn link but does not work. Has anyone tried p5.js on blogger?

---

## [Text indicator not in the right place](https://discourse.processing.org/t/text-indicator-not-in-the-right-place/32073)

<div class="topic-metadata">

**Author:** [@KaliBrain](https://discourse.processing.org/u/KaliBrain)\
**Replies:** 3\
**Last updated:** [September 5, 2021, 5:12pm UTC](https://discourse.processing.org/t/text-indicator-not-in-the-right-place/32073 "2021-09-05T17:12:57Z")

</div>

This issue has nothing to do with code, it has to do with the text editor. I use Processing 4.0b1 64 bits on a windows 10 laptop… The program works fine except for the text indicator (the one that blinks and tells you …

---

## [My code for selectable resolution does not work](https://discourse.processing.org/t/my-code-for-selectable-resolution-does-not-work/32045)

<div class="topic-metadata">

**Author:** [@Quorum](https://discourse.processing.org/u/Quorum)\
**Replies:** 2\
**Last updated:** [September 5, 2021, 4:37pm UTC](https://discourse.processing.org/t/my-code-for-selectable-resolution-does-not-work/32045 "2021-09-05T16:37:49Z")

</div>

I want to change the canvas between some resolutions that I have preset. But my solution doesn’t work completely. It works with the first two, but when I select one of the other four, a resolution equal to one of the fi…

---

## [Best cheap setup for (audio reactive) live visuals](https://discourse.processing.org/t/best-cheap-setup-for-audio-reactive-live-visuals/31550)

<div class="topic-metadata">

**Author:** [@Grau](https://discourse.processing.org/u/Grau)\
**Replies:** 2\
**Last updated:** [September 5, 2021, 4:25pm UTC](https://discourse.processing.org/t/best-cheap-setup-for-audio-reactive-live-visuals/31550 "2021-09-05T16:25:23Z")

</div>

Hey, I want to delve into live visuals for my music projects. For that I would need a new computer, because I’d like to keep my audio and video systems separate. I’m new to processing and visuals. As far as I understan…

---

## [Convert PImage to byte array](https://discourse.processing.org/t/convert-pimage-to-byte-array/20268)

<div class="topic-metadata">

**Author:** [@Marce](https://discourse.processing.org/u/Marce)\
**Replies:** 17\
**Last updated:** [September 5, 2021, 10:23am UTC](https://discourse.processing.org/t/convert-pimage-to-byte-array/20268 "2021-09-05T10:23:19Z")

</div>

Hi ! I’m looking for a way to convert a Pimage to a byte array. I feel like this should be a pretty common things to do, and I tried plenty of things found online but, not a single one seems to work. If anyone knows h…

---

## [Runtime Library Installed, but not found? (Win10, Processing 4)](https://discourse.processing.org/t/runtime-library-installed-but-not-found-win10-processing-4/31937)

<div class="topic-metadata">

**Author:** [@ScottW1](https://discourse.processing.org/u/ScottW1)\
**Replies:** 5\
**Last updated:** [September 5, 2021, 9:52am UTC](https://discourse.processing.org/t/runtime-library-installed-but-not-found-win10-processing-4/31937 "2021-09-05T09:52:43Z")

</div>

I am running Processing 4.0b1 on Win10x64. When I “export application” and choose the “Embed Java” option, the .exe launches and runs fine. However… When I “export application” and do NOT choose “Embed Java”, clicking…

---

## [Starting from straight line and curling into a spiral](https://discourse.processing.org/t/starting-from-straight-line-and-curling-into-a-spiral/32084)

<div class="topic-metadata">

**Author:** [@endymion](https://discourse.processing.org/u/endymion)\
**Replies:** 3\
**Last updated:** [September 4, 2021, 11:35pm UTC](https://discourse.processing.org/t/starting-from-straight-line-and-curling-into-a-spiral/32084 "2021-09-04T23:35:23Z")

</div>

Hi, I want to create a simple animation that starts with a line and the line slowly curls into a spiral. I thought initially that I might be able to do this by making multiple curveVertex segments and rotating the coordi…

---

## [Mobile performance different between "present" and "full screen"](https://discourse.processing.org/t/mobile-performance-different-between-present-and-full-screen/31455)

<div class="topic-metadata">

**Author:** [@Miguelac](https://discourse.processing.org/u/Miguelac)\
**Replies:** 3\
**Last updated:** [September 4, 2021, 7:40pm UTC](https://discourse.processing.org/t/mobile-performance-different-between-present-and-full-screen/31455 "2021-09-04T19:40:50Z")

</div>

Hi, I made a checkers game in p5 and it is working well, but I noticed a really strange behavior when using the share links. When I use “full screen” in my mobile (or mobile emulation with inspect mode in chrome) I get …

---

## [Rect not showing](https://discourse.processing.org/t/rect-not-showing/32092)

<div class="topic-metadata">

**Author:** [@Kenga123456](https://discourse.processing.org/u/Kenga123456)\
**Replies:** 1\
**Last updated:** [September 4, 2021, 6:18pm UTC](https://discourse.processing.org/t/rect-not-showing/32092 "2021-09-04T18:18:25Z")

</div>

int rectY = 400; int rectX = 100; void setup () { size (500, 350); } void draw() { background (0); fill(255, 100, 100); rect(rectX, rectY, 100, 100); } this is my code, I dont know what I did wrong. Probably…

---

## [Unable to update pixels from text file containing pixel locations](https://discourse.processing.org/t/unable-to-update-pixels-from-text-file-containing-pixel-locations/2021)

<div class="topic-metadata">

**Author:** [@socraticbot](https://discourse.processing.org/u/socraticbot)\
**Replies:** 8\
**Last updated:** [September 4, 2021, 6:01pm UTC](https://discourse.processing.org/t/unable-to-update-pixels-from-text-file-containing-pixel-locations/2021 "2021-09-04T18:01:15Z")

</div>

Hi all, I wrote a program in Processing which writes the 1D coordinates of black pixels in an image to a text file. I wrote a second program which should read the text file and recreate the black pixels on a white imag…

---

## [Overlay video on PNG (w/ transparent bg) =\> Sequence of PNGs](https://discourse.processing.org/t/overlay-video-on-png-w-transparent-bg-sequence-of-pngs/32054)

<div class="topic-metadata">

**Author:** [@ishback](https://discourse.processing.org/u/ishback)\
**Replies:** 1\
**Last updated:** [September 4, 2021, 11:01am UTC](https://discourse.processing.org/t/overlay-video-on-png-w-transparent-bg-sequence-of-pngs/32054 "2021-09-04T11:01:12Z")

</div>

Hello, I’m trying to overlay a video (played at a size let’s say 50x50pixels) on top of a PNG with transparent background. My goal is to get a GIF out of it, for which I’d probably need to save a PNG for each frame. I’…

---

## [Graphing analog sensor data from Arduino in Processing](https://discourse.processing.org/t/graphing-analog-sensor-data-from-arduino-in-processing/32078)

<div class="topic-metadata">

**Author:** [@nyeas001](https://discourse.processing.org/u/nyeas001)\
**Replies:** 2\
**Last updated:** [September 4, 2021, 9:08am UTC](https://discourse.processing.org/t/graphing-analog-sensor-data-from-arduino-in-processing/32078 "2021-09-04T09:08:35Z")

</div>

Hi, I am totally new in processing. I was following some of the you tube materials to familiarize myself with processing.I wanted to plot a graph of analog sensor using arduino. But I am getting error and I could not f…

---

## [Vignette effect only being applied vertically](https://discourse.processing.org/t/vignette-effect-only-being-applied-vertically/32071)

<div class="topic-metadata">

**Author:** [@raspberrybrick](https://discourse.processing.org/u/raspberrybrick)\
**Replies:** 2\
**Last updated:** [September 4, 2021, 1:51am UTC](https://discourse.processing.org/t/vignette-effect-only-being-applied-vertically/32071 "2021-09-04T01:51:55Z")

</div>

Hello, Currently I am trying to create a vignette effect, and have been somewhat successful. Most tutorials/examples I have found are either black and white, or use the point() function to draw each pixel. However neit…

---

## [How to save an animated moving image in processing](https://discourse.processing.org/t/how-to-save-an-animated-moving-image-in-processing/32075)

<div class="topic-metadata">

**Author:** [@Stella9](https://discourse.processing.org/u/Stella9)\
**Replies:** 1\
**Last updated:** [September 3, 2021, 6:39pm UTC](https://discourse.processing.org/t/how-to-save-an-animated-moving-image-in-processing/32075 "2021-09-03T18:39:36Z")

</div>

Hello, I would to know how to save a animation as a gif files or png on processing. I created a an animation into two tab on processing : Excuse me for my mistake, English is not my mother language.

---

## [B-splines implementation](https://discourse.processing.org/t/b-splines-implementation/31991)

<div class="topic-metadata">

**Author:** [@molo32](https://discourse.processing.org/u/molo32)\
**Replies:** 2\
**Last updated:** [September 2, 2021, 10:11pm UTC](https://discourse.processing.org/t/b-splines-implementation/31991 "2021-09-02T22:11:42Z")

</div>

I am trying to draw a b-spline, i don’t want to use third party libraries I want to implement it myself., the code below does not work correctly. control point px \[0\] p and \[0\] appears to be at 0.0. but it should be x …

---

## [Gradient with lines](https://discourse.processing.org/t/gradient-with-lines/32035)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 4\
**Last updated:** [September 2, 2021, 7:37pm UTC](https://discourse.processing.org/t/gradient-with-lines/32035 "2021-09-02T19:37:07Z")

</div>

Hi there! I have found an interesting way to create gradients with lines in a tutorial. size (900, 900); background (255); colorMode(HSB,360,100,100); for (int i = 0; i \< 300; i++) { stroke(i,100,100); line(0, i, 1000,…

---

## [Using Processing to create a visual numeric keyboard for Arduino](https://discourse.processing.org/t/using-processing-to-create-a-visual-numeric-keyboard-for-arduino/32060)

<div class="topic-metadata">

**Author:** [@Norac](https://discourse.processing.org/u/Norac)\
**Replies:** 2\
**Last updated:** [September 2, 2021, 5:01pm UTC](https://discourse.processing.org/t/using-processing-to-create-a-visual-numeric-keyboard-for-arduino/32060 "2021-09-02T17:01:35Z")

</div>

I create a code to use the Processing interface as a numeric Keyboard for my arduino Mega. It works just fine i keep becoming this warning. can somebody tell me what i did wrong? :face\_with\_raised\_eyebrow: import contro…

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

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