# Latest

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

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

**Page:** 46

---

## [ASCII art + GLSL shaders](https://discourse.processing.org/t/ascii-art-glsl-shaders/44122)

<div class="topic-metadata">

**Author:** [@funnyrectangles](https://discourse.processing.org/u/funnyrectangles)\
**Replies:** 0\
**Last updated:** [March 20, 2024, 2:40am UTC](https://discourse.processing.org/t/ascii-art-glsl-shaders/44122 "2024-03-20T02:40:39Z")

</div>

Hi! I would like to start coding some animations like this: https://twitter.com/i/status/1767859604191318235 https://www.instagram.com/p/CznnRLEI7yL/?img\_index=1 https://www.instagram.com/p/C4YcE1-NaWI/?img\_index=…

---

## [Help with HTTP requests - POST](https://discourse.processing.org/t/help-with-http-requests-post/44119)

<div class="topic-metadata">

**Author:** [@chatNoir](https://discourse.processing.org/u/chatNoir)\
**Replies:** 3\
**Last updated:** [March 19, 2024, 1:25pm UTC](https://discourse.processing.org/t/help-with-http-requests-post/44119 "2024-03-19T13:25:40Z")

</div>

I need some help with rest api from Processing. I’m using HTTP Request for Processing library, but I can’t get addFile() to locate my image file. Image file is saved in data folder. Error message received: “I/O exceptio…

---

## [Bug when converting pixel into text value. ASCII](https://discourse.processing.org/t/bug-when-converting-pixel-into-text-value-ascii/44092)

<div class="topic-metadata">

**Author:** [@RomainGr](https://discourse.processing.org/u/RomainGr)\
**Replies:** 5\
**Last updated:** [March 17, 2024, 3:07pm UTC](https://discourse.processing.org/t/bug-when-converting-pixel-into-text-value-ascii/44092 "2024-03-17T15:07:35Z")

</div>

Hi, Sorry I’m unable to explain the issue I have in the title without showing the example. So here is the little p5 sketch and the version with the code When you drop an image it vectorises the image, something very …

---

## [How do I export an image to a transparent background](https://discourse.processing.org/t/how-do-i-export-an-image-to-a-transparent-background/44111)

<div class="topic-metadata">

**Author:** [@W24](https://discourse.processing.org/u/W24)\
**Replies:** 2\
**Last updated:** [March 17, 2024, 2:02pm UTC](https://discourse.processing.org/t/how-do-i-export-an-image-to-a-transparent-background/44111 "2024-03-17T14:02:28Z")

</div>

Hi there - I have made a simple design . I would like to modify this code to save this image as a PNG with a transparent background. Can anyone help me? Thanks! \< PImage pic; void setup(){ size(600,1000); backgro…

---

## [Where can you download Processing 1?](https://discourse.processing.org/t/where-can-you-download-processing-1/44109)

<div class="topic-metadata">

**Author:** [@ScottButCoding](https://discourse.processing.org/u/ScottButCoding)\
**Replies:** 1\
**Last updated:** [March 17, 2024, 4:19am UTC](https://discourse.processing.org/t/where-can-you-download-processing-1/44109 "2024-03-17T04:19:42Z")

</div>

Hey Processing community! So I am trying to run an old code from 2013 that ran on Processing 1 so is there still any place to download Processing 1 or am I screwed?

---

## [How to make 1 rectangle on mouse click and not make a million, but still change colour depending on mouse position](https://discourse.processing.org/t/how-to-make-1-rectangle-on-mouse-click-and-not-make-a-million-but-still-change-colour-depending-on-mouse-position/44107)

<div class="topic-metadata">

**Author:** [@celestia](https://discourse.processing.org/u/celestia)\
**Replies:** 6\
**Last updated:** [March 16, 2024, 10:05pm UTC](https://discourse.processing.org/t/how-to-make-1-rectangle-on-mouse-click-and-not-make-a-million-but-still-change-colour-depending-on-mouse-position/44107 "2024-03-16T22:05:32Z")

</div>

Help needed. We need to make an algorithm where: if you click somewhere with left mouse button, a rectangle appears (so if you click again with left mouse button, another one will appear and the old one will remain) if…

---

## [Is a fresh install of Processing 3.5.4 and Python mode possible? (Mac OS)](https://discourse.processing.org/t/is-a-fresh-install-of-processing-3-5-4-and-python-mode-possible-mac-os/44104)

<div class="topic-metadata">

**Author:** [@SLG](https://discourse.processing.org/u/SLG)\
**Replies:** 2\
**Last updated:** [March 16, 2024, 3:33am UTC](https://discourse.processing.org/t/is-a-fresh-install-of-processing-3-5-4-and-python-mode-possible-mac-os/44104 "2024-03-16T03:33:39Z")

</div>

I have been using Mac OS Processing Python mode in my computer science classes for many years now. Due to the almost non-existent error checking and various other issues with Processing 4 Python mode, I would really lik…

---

## [Problems with Python mode in Processing 4.3 on M1 Mac running OSX 12.7.1](https://discourse.processing.org/t/problems-with-python-mode-in-processing-4-3-on-m1-mac-running-osx-12-7-1/44102)

<div class="topic-metadata">

**Author:** [@jrsjrs](https://discourse.processing.org/u/jrsjrs)\
**Replies:** 3\
**Last updated:** [March 16, 2024, 3:12am UTC](https://discourse.processing.org/t/problems-with-python-mode-in-processing-4-3-on-m1-mac-running-osx-12-7-1/44102 "2024-03-16T03:12:50Z")

</div>

I am trying to use Python mode in Processing 4.3 on M1 Mac running OSX 12.7.1. At a certain point in my program I am getting these two errors (below). Any suggestions welcome. Errors: Hmm. Can’t load native code to br…

---

## [Line Loop bouncing](https://discourse.processing.org/t/line-loop-bouncing/44090)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 23\
**Last updated:** [March 15, 2024, 10:38pm UTC](https://discourse.processing.org/t/line-loop-bouncing/44090 "2024-03-15T22:38:20Z")

</div>

Hello! how could I reduce speed of these lines in this sketch? I tried frameRate but it did not work. Thanks! float x; float xDirection; void setup() { size(800,1000); colorMode(HSB,360,100,100); background(360)…

---

## [Code source of famous David Szakaly art works?](https://discourse.processing.org/t/code-source-of-famous-david-szakaly-art-works/44097)

<div class="topic-metadata">

**Author:** [@KDorohov](https://discourse.processing.org/u/KDorohov)\
**Replies:** 9\
**Last updated:** [March 15, 2024, 5:15pm UTC](https://discourse.processing.org/t/code-source-of-famous-david-szakaly-art-works/44097 "2024-03-15T17:15:15Z")

</div>

I am fascinated by these outstanding animations by Hungarian artist: I so much want to developed something in this style - does anybody know what would be a possible approach for creating that sort of images?

---

## [Understanding coordinates in Processing. Help! Thank you](https://discourse.processing.org/t/understanding-coordinates-in-processing-help-thank-you/44084)

<div class="topic-metadata">

**Author:** [@BBG](https://discourse.processing.org/u/BBG)\
**Replies:** 6\
**Last updated:** [March 15, 2024, 3:34pm UTC](https://discourse.processing.org/t/understanding-coordinates-in-processing-help-thank-you/44084 "2024-03-15T15:34:05Z")

</div>

//This is a lesson to understand coordinates with lines in processing. void setup(){ size(600, 600); } void draw(){ background (255); //white //DRAW SQUARE WITH LINES stroke(0); line(100, 200, 100, 400); line(10…

---

## [2 player pong game](https://discourse.processing.org/t/2-player-pong-game/44095)

<div class="topic-metadata">

**Author:** [@cattclawzz](https://discourse.processing.org/u/cattclawzz)\
**Replies:** 2\
**Last updated:** [March 15, 2024, 10:03am UTC](https://discourse.processing.org/t/2-player-pong-game/44095 "2024-03-15T10:03:31Z")

</div>

Made this a couple months ago, still really proud of how it tuned out you can play it single player too that’s really fun still float p1y=212; float p2y=212; float bx=429; float by=-10; float x; float y=5; float p1=0; …

---

## [Just Released: EasyEase - Easing functions library for Processing](https://discourse.processing.org/t/just-released-easyease-easing-functions-library-for-processing/44079)

<div class="topic-metadata">

**Author:** [@fredegd](https://discourse.processing.org/u/fredegd)\
**Replies:** 2\
**Last updated:** [March 14, 2024, 12:06am UTC](https://discourse.processing.org/t/just-released-easyease-easing-functions-library-for-processing/44079 "2024-03-14T00:06:56Z")

</div>

Hey Processing Community! :wave: I’m excited to announce the release of a new library contribution i’ve made: is called EasyEase It’s all about bringing Natural Animation effects with super simple integration of easing…

---

## [RegEx Expression for matchAll() for Bible References?](https://discourse.processing.org/t/regex-expression-for-matchall-for-bible-references/43937)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 7\
**Last updated:** [March 13, 2024, 3:56pm UTC](https://discourse.processing.org/t/regex-expression-for-matchall-for-bible-references/43937 "2024-03-13T15:56:45Z")

</div>

Hello all! I am looking for a RegEx Expression for matchAll() for Bible References. I found a version for JavaScript but it doesn’t work in Processing. Full code below. Because in Processing I get an error, Syntax er…

---

## [Shameful plug: I printed my course on paper ... feedback please](https://discourse.processing.org/t/shameful-plug-i-printed-my-course-on-paper-feedback-please/44091)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 1\
**Last updated:** [March 13, 2024, 1:42am UTC](https://discourse.processing.org/t/shameful-plug-i-printed-my-course-on-paper-feedback-please/44091 "2024-03-13T01:42:04Z")

</div>

Hello all, I made a dry run and printed my coding course on paper. It has almost 700 pages of illustrated JavaScript content. https://www.youtube.com/shorts/745fht2RL7g What’s your opinion about this?

---

## [I've created a multilinear noise generator (and need help)](https://discourse.processing.org/t/ive-created-a-multilinear-noise-generator-and-need-help/44083)

<div class="topic-metadata">

**Author:** [@Tsskyx](https://discourse.processing.org/u/Tsskyx)\
**Replies:** 3\
**Last updated:** [March 12, 2024, 7:22pm UTC](https://discourse.processing.org/t/ive-created-a-multilinear-noise-generator-and-need-help/44083 "2024-03-12T19:22:37Z")

</div>

I wanted to challenge myself and create my own noise generator which would work with arbitrary many dimensions, have no symmetry artifacts around the origin, etc. I also wanted it to be linear, because I wanted to know h…

---

## [Removing camera influence from shader](https://discourse.processing.org/t/removing-camera-influence-from-shader/44088)

<div class="topic-metadata">

**Author:** [@bdooley](https://discourse.processing.org/u/bdooley)\
**Replies:** 0\
**Last updated:** [March 12, 2024, 5:54pm UTC](https://discourse.processing.org/t/removing-camera-influence-from-shader/44088 "2024-03-12T17:54:00Z")

</div>

Hi all, This is a bit of a two-part question: I’m working on a sketch of falling 3D cubes that uses cannon.js and shaders. I currently have a shader applied that creates a gradient on each face based on the vertex posi…

---

## [Unable to apply filter to a capture from the webcam](https://discourse.processing.org/t/unable-to-apply-filter-to-a-capture-from-the-webcam/44045)

<div class="topic-metadata">

**Author:** [@RomainGr](https://discourse.processing.org/u/RomainGr)\
**Replies:** 10\
**Last updated:** [March 12, 2024, 5:41pm UTC](https://discourse.processing.org/t/unable-to-apply-filter-to-a-capture-from-the-webcam/44045 "2024-03-12T17:41:21Z")

</div>

Hi, I’m trying to apply filter using the filter() ( eg: filter(GRAY) ), the problem I have is that it applies the filter to the whole Canvas instead of only the “selected” element. So what I’m doing exactly is capturin…

---

## [G4P elements missing mouse actions?](https://discourse.processing.org/t/g4p-elements-missing-mouse-actions/44028)

<div class="topic-metadata">

**Author:** [@matwolf](https://discourse.processing.org/u/matwolf)\
**Replies:** 10\
**Last updated:** [March 12, 2024, 10:49am UTC](https://discourse.processing.org/t/g4p-elements-missing-mouse-actions/44028 "2024-03-12T10:49:41Z")

</div>

Hi! It seems, mouse clicks are being missed quite often. In this trivial test 4 out of 10 clicks showed the yellow flash of the button when clicked, but the counter didn’t change. I can’t tell anything about other elem…

---

## [Processing export files to PDF or SVG](https://discourse.processing.org/t/processing-export-files-to-pdf-or-svg/44064)

<div class="topic-metadata">

**Author:** [@travis.stdenis](https://discourse.processing.org/u/travis.stdenis)\
**Replies:** 1\
**Last updated:** [March 11, 2024, 3:44am UTC](https://discourse.processing.org/t/processing-export-files-to-pdf-or-svg/44064 "2024-03-11T03:44:25Z")

</div>

I have a question for the community, some of whom I’m hoping are using Processing for use with plotters as I am. My question is about working with exported files, either PDF or SVG. When I create intricate line work, I’m…

---

## [Computational Thinking as a Problem-Solving Method in Creative Coding](https://discourse.processing.org/t/computational-thinking-as-a-problem-solving-method-in-creative-coding/44062)

<div class="topic-metadata">

**Author:** [@alptugan](https://discourse.processing.org/u/alptugan)\
**Replies:** 0\
**Last updated:** [March 10, 2024, 5:36pm UTC](https://discourse.processing.org/t/computational-thinking-as-a-problem-solving-method-in-creative-coding/44062 "2024-03-10T17:36:42Z")

</div>

Hey everyone! Just wanted to share a tutorial I wrote on using Computational Thinking in creative coding. It covers theory and practice with a real case study. Perfect for beginners looking to approach coding challenges …

---

## [How to converting ShaderToy shader color channel to Processing correctly](https://discourse.processing.org/t/how-to-converting-shadertoy-shader-color-channel-to-processing-correctly/43965)

<div class="topic-metadata">

**Author:** [@psamead](https://discourse.processing.org/u/psamead)\
**Replies:** 2\
**Last updated:** [March 9, 2024, 8:17pm UTC](https://discourse.processing.org/t/how-to-converting-shadertoy-shader-color-channel-to-processing-correctly/43965 "2024-03-09T20:17:25Z")

</div>

Hi my friends, I am trying to convert this ShaderToy shader (link to Shadertoy shader) to the Processing, but the processing seems to have different color channel, as shown below: In Shadertoy shader by using this sect…

---

## [Using Minim to Deconstruct Waveform for Machine Troubleshooting](https://discourse.processing.org/t/using-minim-to-deconstruct-waveform-for-machine-troubleshooting/44041)

<div class="topic-metadata">

**Author:** [@soundzgud](https://discourse.processing.org/u/soundzgud)\
**Replies:** 2\
**Last updated:** [March 8, 2024, 8:07pm UTC](https://discourse.processing.org/t/using-minim-to-deconstruct-waveform-for-machine-troubleshooting/44041 "2024-03-08T20:07:27Z")

</div>

Hi, I’m new to this forum. Currently trying to characterize different sounds in a mechanical process for troubleshooting purposes. My current approach utilizes a combination of the example script offlineAnalysis in the …

---

## [Weird randomSeed() behaviour](https://discourse.processing.org/t/weird-randomseed-behaviour/44052)

<div class="topic-metadata">

**Author:** [@ripolas](https://discourse.processing.org/u/ripolas)\
**Replies:** 4\
**Last updated:** [March 8, 2024, 5:46pm UTC](https://discourse.processing.org/t/weird-randomseed-behaviour/44052 "2024-03-08T17:46:36Z")

</div>

Hey, so I found this weird thing while experimenting with randomSeed(); void setup(){ for(int i = -100;i\<100;i++){ randomSeed(i); println(i,int(random(100))); } } this code prints the i, then the first rand…

---

## [Millis() rolls over after 24 days](https://discourse.processing.org/t/millis-rolls-over-after-24-days/44039)

<div class="topic-metadata">

**Author:** [@schmittmachine](https://discourse.processing.org/u/schmittmachine)\
**Replies:** 5\
**Last updated:** [March 8, 2024, 12:47pm UTC](https://discourse.processing.org/t/millis-rolls-over-after-24-days/44039 "2024-03-08T12:47:05Z")

</div>

Hello, as the return value of millis() is an int, it rolls over after 2147483647 ms, that is 24.8 days. long t0 = System.currentTimeMillis(); long t1 = t0 + 2147483647 + 10; int dt = (int)(t1 - t0); println(“dt=”+dt…

---

## [Default frame rate of app is painfully low, even with default settings of frame\_rate = 60](https://discourse.processing.org/t/default-frame-rate-of-app-is-painfully-low-even-with-default-settings-of-frame-rate-60/44036)

<div class="topic-metadata">

**Author:** [@danelyn](https://discourse.processing.org/u/danelyn)\
**Replies:** 1\
**Last updated:** [March 6, 2024, 4:24am UTC](https://discourse.processing.org/t/default-frame-rate-of-app-is-painfully-low-even-with-default-settings-of-frame-rate-60/44036 "2024-03-06T04:24:01Z")

</div>

As topic. I can run Processing’s Python mode with ease, but running a simple project that runs at 60fps on that Python mode, ported over to p5, runs at a painful frame rate. I’ve created a simple test app that just calc…

---

## [Tensorflow js processing](https://discourse.processing.org/t/tensorflow-js-processing/44038)

<div class="topic-metadata">

**Author:** [@ctremblay](https://discourse.processing.org/u/ctremblay)\
**Replies:** 0\
**Last updated:** [March 6, 2024, 4:05am UTC](https://discourse.processing.org/t/tensorflow-js-processing/44038 "2024-03-06T04:05:14Z")

</div>

I was following this example https://www.youtube.com/watch?v=cdUNkwXx-I4 & then when i went to test i keep getting this error, but in the code he used he didn’t add shape; Right now I’m just trying to get 1 bird to thin…

---

## [G4P gui-builder caused trouble](https://discourse.processing.org/t/g4p-gui-builder-caused-trouble/44030)

<div class="topic-metadata">

**Author:** [@matwolf](https://discourse.processing.org/u/matwolf)\
**Replies:** 2\
**Last updated:** [March 5, 2024, 5:35pm UTC](https://discourse.processing.org/t/g4p-gui-builder-caused-trouble/44030 "2024-03-05T17:35:23Z")

</div>

Hi! This one might be serious: Right in the middle of the development of a project, the gui-builder “broke down”, meaning, it all of a sudden wasn’t any longer able to open the gui for design. The project itself continu…

---

## [G4P and perspective()](https://discourse.processing.org/t/g4p-and-perspective/44027)

<div class="topic-metadata">

**Author:** [@matwolf](https://discourse.processing.org/u/matwolf)\
**Replies:** 6\
**Last updated:** [March 5, 2024, 2:32pm UTC](https://discourse.processing.org/t/g4p-and-perspective/44027 "2024-03-05T14:32:25Z")

</div>

Hi! Recently I stumbled over G4P and I love it! Ta so much, Peter, for this fine library! Especially the gui-builder is a knock-out (and in my case it knocked out ControlP5, which, to the best of my knowledge, lacks a g…

---

## [Web browser crashing When running for loops](https://discourse.processing.org/t/web-browser-crashing-when-running-for-loops/43994)

<div class="topic-metadata">

**Author:** [@the](https://discourse.processing.org/u/the)\
**Replies:** 4\
**Last updated:** [March 4, 2024, 10:05pm UTC](https://discourse.processing.org/t/web-browser-crashing-when-running-for-loops/43994 "2024-03-04T22:05:12Z")

</div>

Hello, I am running a coding class and have come across an issue I am not sure how to deal with, or even the root cause. I have started on a unit that teaches arrays, and when running simple for loops to iterate over t…

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

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