# Latest

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

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

**Page:** 121

---

## [Destroying p5.js instances](https://discourse.processing.org/t/destroying-p5-js-instances/38333)

<div class="topic-metadata">

**Author:** [@Ckyiu](https://discourse.processing.org/u/Ckyiu)\
**Replies:** 1\
**Last updated:** [August 13, 2022, 12:01am UTC](https://discourse.processing.org/t/destroying-p5-js-instances/38333 "2022-08-13T00:01:45Z")

</div>

I’m trying to run a p5.js sketch on my Gatsby website, and I’ve managed to get it to work by starting it in instance mode in useEffect in a component. It works, but since I’m using \<Link\> instead of \<a\> for a lot of link…

---

## [Wrong path of jks file](https://discourse.processing.org/t/wrong-path-of-jks-file/37603)

<div class="topic-metadata">

**Author:** [@neptunee77](https://discourse.processing.org/u/neptunee77)\
**Replies:** 1\
**Last updated:** [August 12, 2022, 7:15pm UTC](https://discourse.processing.org/t/wrong-path-of-jks-file/37603 "2022-08-12T19:15:09Z")

</div>

While I’m trying to export signed package, the ide gives error with package export What went wrong: Execution failed for task ‘:app:validateSigningRelease’. Keystore file ‘C:\\Users\\username\\AppData\\Local\\Temp\\android…

---

## [Translating javascript to Processing ---Uint32Array---](https://discourse.processing.org/t/translating-javascript-to-processing-uint32array/38323)

<div class="topic-metadata">

**Author:** [@jeykech](https://discourse.processing.org/u/jeykech)\
**Replies:** 3\
**Last updated:** [August 12, 2022, 4:07pm UTC](https://discourse.processing.org/t/translating-javascript-to-processing-uint32array/38323 "2022-08-12T16:07:04Z")

</div>

hi guys, please I need your help translating chi piece of code from P5 to Processing. I am working on a code and came across this one from this Skitch : QuadTree - OpenProcessing I am having trouble understanding the …

---

## [Slight pause when reversing video playback speed](https://discourse.processing.org/t/slight-pause-when-reversing-video-playback-speed/38325)

<div class="topic-metadata">

**Author:** [@sm0ldata](https://discourse.processing.org/u/sm0ldata)\
**Replies:** 0\
**Last updated:** [August 12, 2022, 2:28pm UTC](https://discourse.processing.org/t/slight-pause-when-reversing-video-playback-speed/38325 "2022-08-12T14:28:59Z")

</div>

Hi all – I’m working on a project that requrires looping certain portions of a video by sort of scrubbing backwards and forwards over the same portion – i.e. play the video from 00:37 to 00:48, then reverse the speed so …

---

## [Raspberry PI 64-bit, Processing 4.0b8 and OpenCV 4.5.5 looking for co-workers, volunteers](https://discourse.processing.org/t/raspberry-pi-64-bit-processing-4-0b8-and-opencv-4-5-5-looking-for-co-workers-volunteers/38166)

<div class="topic-metadata">

**Author:** [@f42ter](https://discourse.processing.org/u/f42ter)\
**Replies:** 0\
**Last updated:** [July 30, 2022, 2:02pm UTC](https://discourse.processing.org/t/raspberry-pi-64-bit-processing-4-0b8-and-opencv-4-5-5-looking-for-co-workers-volunteers/38166 "2022-07-30T14:02:57Z")

</div>

To whom it may concern. Looking for volunteers. Based on CVImage from Bryan Chung (magicandlove.com, Honkong) I start to build a library using his CVImage.class and my fresh brew opencv java lib. So are here any volunt…

---

## [Type words to start an animation?](https://discourse.processing.org/t/type-words-to-start-an-animation/38273)

<div class="topic-metadata">

**Author:** [@zara2355](https://discourse.processing.org/u/zara2355)\
**Replies:** 1\
**Last updated:** [August 8, 2022, 4:45am UTC](https://discourse.processing.org/t/type-words-to-start-an-animation/38273 "2022-08-08T04:45:57Z")

</div>

Hi all, Im trying to find a tutorial that might explain how to allow a user to type in a word and begin an animation for an interactive map of my shop’s inventory. For example, if a person types in “screwdrivers” it woul…

---

## [Random position ellipse smear/freeze](https://discourse.processing.org/t/random-position-ellipse-smear-freeze/38300)

<div class="topic-metadata">

**Author:** [@Tilman](https://discourse.processing.org/u/Tilman)\
**Replies:** 5\
**Last updated:** [August 12, 2022, 2:24am UTC](https://discourse.processing.org/t/random-position-ellipse-smear-freeze/38300 "2022-08-12T02:24:44Z")

</div>

Hi I am doing chapter 7-10 in learning processing. And want to do a jiggeling UFO. Somehow in my code it makes the graphic not update correctly. It smears freezes (paints over one an other) Hope someone can help me what…

---

## [Minim library, trying to synchronize waveforms](https://discourse.processing.org/t/minim-library-trying-to-synchronize-waveforms/38318)

<div class="topic-metadata">

**Author:** [@misterbo](https://discourse.processing.org/u/misterbo)\
**Replies:** 0\
**Last updated:** [August 11, 2022, 11:54pm UTC](https://discourse.processing.org/t/minim-library-trying-to-synchronize-waveforms/38318 "2022-08-11T23:54:15Z")

</div>

Hi everyone, I want to create a synth that constantly changes the waveform for a new one each draw() call. The problem is that the waveform will change whenever the array is filled with new values, so there will be a cra…

---

## [Windows Sketch Screen Size Problem](https://discourse.processing.org/t/windows-sketch-screen-size-problem/38298)

<div class="topic-metadata">

**Author:** [@searchingforananswer](https://discourse.processing.org/u/searchingforananswer)\
**Replies:** 5\
**Last updated:** [August 11, 2022, 9:21pm UTC](https://discourse.processing.org/t/windows-sketch-screen-size-problem/38298 "2022-08-11T21:21:11Z")

</div>

Hello everyone, I got this problem. When I’m working on Mac, I can see my design in sketch screen as exactly as I coded. But then when I try to open in my Windows laptop, I see the screen size different. In my last draft…

---

## [Wacatac trojan found in Processing Windows x64 download](https://discourse.processing.org/t/wacatac-trojan-found-in-processing-windows-x64-download/38297)

<div class="topic-metadata">

**Author:** [@IMLXH](https://discourse.processing.org/u/IMLXH)\
**Replies:** 3\
**Last updated:** [August 11, 2022, 7:12pm UTC](https://discourse.processing.org/t/wacatac-trojan-found-in-processing-windows-x64-download/38297 "2022-08-11T19:12:33Z")

</div>

Yesterday I tried to download Processing onto my new PC, only to have Windows tell me that Windows Defender had quarantined the Wacatac trojan horse in Processing’s core.jar file. I highly doubt the Processing Foundation…

---

## [P5JS Slider problems](https://discourse.processing.org/t/p5js-slider-problems/38289)

<div class="topic-metadata">

**Author:** [@astrogeek](https://discourse.processing.org/u/astrogeek)\
**Replies:** 5\
**Last updated:** [August 10, 2022, 8:26pm UTC](https://discourse.processing.org/t/p5js-slider-problems/38289 "2022-08-10T20:26:25Z")

</div>

I’m working on a p5js data visualization that I want to control with sliders. I’ve successfully used sliders on an earlier visualization. I compared the html, js, and css files for my older successful project and my new …

---

## [Can I reconnect a serial Port without re-Starting a sketch?](https://discourse.processing.org/t/can-i-reconnect-a-serial-port-without-re-starting-a-sketch/20697)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 5\
**Last updated:** [August 10, 2022, 1:44pm UTC](https://discourse.processing.org/t/can-i-reconnect-a-serial-port-without-re-starting-a-sketch/20697 "2022-08-10T13:44:25Z")

</div>

I am building a robot ran by an Arduino and I am using the Processing as a GUI. Sometimes I loose my m BT connection and is a pain to restart the sketch I am using a GUI button trying to re initialize the connection, b…

---

## [PGraphics Transform Tool (Gist)](https://discourse.processing.org/t/pgraphics-transform-tool-gist/38285)

<div class="topic-metadata">

**Author:** [@Ignotus](https://discourse.processing.org/u/Ignotus)\
**Replies:** 0\
**Last updated:** [August 9, 2022, 8:41pm UTC](https://discourse.processing.org/t/pgraphics-transform-tool-gist/38285 "2022-08-09T20:41:17Z")

</div>

Having spent many hours flipping and rotating images, I decided to create a tool that might save some time. The TransformTool gist provides a class, ImageTransform, with methods that make it easy to do 90-degree rotation…

---

## [Which face is which? Persistence faces tracking](https://discourse.processing.org/t/which-face-is-which-persistence-faces-tracking/38282)

<div class="topic-metadata">

**Author:** [@AndreasRef](https://discourse.processing.org/u/AndreasRef)\
**Replies:** 0\
**Last updated:** [August 9, 2022, 2:29pm UTC](https://discourse.processing.org/t/which-face-is-which-persistence-faces-tracking/38282 "2022-08-09T14:29:18Z")

</div>

Hi! I have this p5js sketch that uses tensorflow Blazeface to track faces. I was wondering how I would go about keeping track of multiple faces for an interactive installation I am doing? Kinda like Face-It/FaceDetec…

---

## [My Processing 4.0 will not open](https://discourse.processing.org/t/my-processing-4-0-will-not-open/35359)

<div class="topic-metadata">

**Author:** [@Guus](https://discourse.processing.org/u/Guus)\
**Replies:** 3\
**Last updated:** [August 9, 2022, 7:25pm UTC](https://discourse.processing.org/t/my-processing-4-0-will-not-open/35359 "2022-08-09T19:25:58Z")

</div>

Hello I have been trying to use the new version of processing but to no avail. The program does not boot at all after double clicking it. It does not apear in taskmanager yes it is unzipped. I tried uninstalling it an…

---

## [Uniformly Distributed Perlin Noise](https://discourse.processing.org/t/uniformly-distributed-perlin-noise/31768)

<div class="topic-metadata">

**Author:** [@micycle](https://discourse.processing.org/u/micycle)\
**Replies:** 23\
**Last updated:** [August 9, 2022, 6:41pm UTC](https://discourse.processing.org/t/uniformly-distributed-perlin-noise/31768 "2022-08-09T18:41:26Z")

</div>

Problem Processing’s noise implementation has many issues: Repeats after a very small cycle in the x and y axes. Strange repeating motion in z axis. Block-like pattern/artefacts Normally distributed (bell-curve distrib…

---

## [Fullscreen web app ios orientation bug?](https://discourse.processing.org/t/fullscreen-web-app-ios-orientation-bug/28734)

<div class="topic-metadata">

**Author:** [@rikitiki](https://discourse.processing.org/u/rikitiki)\
**Replies:** 2\
**Last updated:** [August 9, 2022, 3:32pm UTC](https://discourse.processing.org/t/fullscreen-web-app-ios-orientation-bug/28734 "2022-08-09T15:32:07Z")

</div>

Hello, I’m attempting to create an iPadOS/iOS webclip of my p5 code and I’m encountering some strange behavior on rotation with windowResized(). Rotation (and windowResize()) works fine within Safari, but as soon as I …

---

## [Code editor dedicated to learning](https://discourse.processing.org/t/code-editor-dedicated-to-learning/31826)

<div class="topic-metadata">

**Author:** [@vamoss](https://discourse.processing.org/u/vamoss)\
**Replies:** 4\
**Last updated:** [August 8, 2022, 11:32pm UTC](https://discourse.processing.org/t/code-editor-dedicated-to-learning/31826 "2022-08-08T23:32:08Z")

</div>

Hi there, these past months I´ve been collaborating with André Anastácio to develop this code editor with some GUI helpers. https://funfic.com.br It was developed during a library hacking artistic residence. The goal …

---

## [Processing code to p5.js code](https://discourse.processing.org/t/processing-code-to-p5-js-code/38250)

<div class="topic-metadata">

**Author:** [@carol](https://discourse.processing.org/u/carol)\
**Replies:** 2\
**Last updated:** [August 8, 2022, 5:30pm UTC](https://discourse.processing.org/t/processing-code-to-p5-js-code/38250 "2022-08-08T17:30:50Z")

</div>

Hey! I’m looking to change some Processing code into p5.js code. I tried the converter but it doesn’t seem to work on p5. I’m wondering if anyone can help transfer theProcessing code to p5.js. Please help! Thanks! float…

---

## [GLSL / Shader particle system - how to store and retrieve data from a buffer](https://discourse.processing.org/t/glsl-shader-particle-system-how-to-store-and-retrieve-data-from-a-buffer/38253)

<div class="topic-metadata">

**Author:** [@zenglenn](https://discourse.processing.org/u/zenglenn)\
**Replies:** 3\
**Last updated:** [August 8, 2022, 2:01pm UTC](https://discourse.processing.org/t/glsl-shader-particle-system-how-to-store-and-retrieve-data-from-a-buffer/38253 "2022-08-08T14:01:40Z")

</div>

So I’m trying to create a particle system using a frag shader - for purposes of fast GPU use. I know this can be done by using a texture to store all the particle info like position and velocity etc. I know how to encod…

---

## [AxiStrip a plotter comix case drawer](https://discourse.processing.org/t/axistrip-a-plotter-comix-case-drawer/38221)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 3\
**Last updated:** [August 8, 2022, 11:20am UTC](https://discourse.processing.org/t/axistrip-a-plotter-comix-case-drawer/38221 "2022-08-08T11:20:38Z")

</div>

Hi, here’s the program I have adapted to draw my comic’s cases with AxiDraw plotter. The code : AxiStrip on Github I made the music myself and video editing tools with Processing.

---

## [Reversed Round Function](https://discourse.processing.org/t/reversed-round-function/38274)

<div class="topic-metadata">

**Author:** [@Mattyjak](https://discourse.processing.org/u/Mattyjak)\
**Replies:** 3\
**Last updated:** [August 8, 2022, 7:37am UTC](https://discourse.processing.org/t/reversed-round-function/38274 "2022-08-08T07:37:30Z")

</div>

Hello fellow programmers! I was working on a small code snippet and I ran into an issue. In my project, I use floor() to convert from global coordinates to “chunk” coordinates via a simple mathematic equation: floor(gl…

---

## [Rasterize Image/ Flowfield with Noise values from image](https://discourse.processing.org/t/rasterize-image-flowfield-with-noise-values-from-image/38176)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 12\
**Last updated:** [August 7, 2022, 6:05pm UTC](https://discourse.processing.org/t/rasterize-image-flowfield-with-noise-values-from-image/38176 "2022-08-07T18:05:35Z")

</div>

Hi, how can I change the code below to shift lines that respond to the image file? Via Coding Challenge #24: Perlin Noise Flow Field PImage img; void setup(){ size(900, 900, P3D); img = loadImage("Jan24.jpg"); …

---

## [Video Export Library / Export Error](https://discourse.processing.org/t/video-export-library-export-error/38256)

<div class="topic-metadata">

**Author:** [@searchingforananswer](https://discourse.processing.org/u/searchingforananswer)\
**Replies:** 4\
**Last updated:** [August 7, 2022, 4:45pm UTC](https://discourse.processing.org/t/video-export-library-export-error/38256 "2022-08-07T16:45:24Z")

</div>

Hello everyone! I want to export my work at the bottom as a video with “video export” library. But when i run it, it gives me this error: " RuntimeException: java.lang.NoSuchFieldError: frame java.lang.RuntimeException…

---

## [How to go from plane to 3D](https://discourse.processing.org/t/how-to-go-from-plane-to-3d/38263)

<div class="topic-metadata">

**Author:** [@Karrajo](https://discourse.processing.org/u/Karrajo)\
**Replies:** 2\
**Last updated:** [August 7, 2022, 4:32pm UTC](https://discourse.processing.org/t/how-to-go-from-plane-to-3d/38263 "2022-08-07T16:32:30Z")

</div>

float t=1; void setup() { size(800, 800); } void draw() { background(0); noStroke(); fill(255); translate(width/2, height/2); for (int i = 0; i \< 100; i++) { float x = width/4 \* sin(t\*i\*PI\*2); …

---

## [Using ES6 Modules in the p5.js Web Editor](https://discourse.processing.org/t/using-es6-modules-in-the-p5-js-web-editor/38258)

<div class="topic-metadata">

**Author:** [@Pieter](https://discourse.processing.org/u/Pieter)\
**Replies:** 4\
**Last updated:** [August 7, 2022, 4:32pm UTC](https://discourse.processing.org/t/using-es6-modules-in-the-p5-js-web-editor/38258 "2022-08-07T16:32:23Z")

</div>

I’m trying to use modules on the web editor, but I can’t seem to get it to work because it cannot resolve the relative paths. Is it even possible? Any help would be greatly appreciated, for my specific use case I want to…

---

## [How to link grid to image as a height map](https://discourse.processing.org/t/how-to-link-grid-to-image-as-a-height-map/38254)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 2\
**Last updated:** [August 7, 2022, 1:42pm UTC](https://discourse.processing.org/t/how-to-link-grid-to-image-as-a-height-map/38254 "2022-08-07T13:42:47Z")

</div>

I’m interested in morphing the grid with randomness while also having an image interact with the grid. How do I go about designing varying cells and joining them together as a grid image? Can I use the random(); with (TR…

---

## [Issue when rendering small rectangles](https://discourse.processing.org/t/issue-when-rendering-small-rectangles/38217)

<div class="topic-metadata">

**Author:** [@ishback](https://discourse.processing.org/u/ishback)\
**Replies:** 4\
**Last updated:** [August 7, 2022, 12:49am UTC](https://discourse.processing.org/t/issue-when-rendering-small-rectangles/38217 "2022-08-07T00:49:15Z")

</div>

Hi, I’m trying to render noSmooth small rectangles, and I don’t know why I’m getting them non simmetrical (1st one), or not centered (2nd one). Do you know what’s the reason?

---

## [Finding the x,y location of a word when text wrapped](https://discourse.processing.org/t/finding-the-x-y-location-of-a-word-when-text-wrapped/38243)

<div class="topic-metadata">

**Author:** [@sspboyd](https://discourse.processing.org/u/sspboyd)\
**Replies:** 4\
**Last updated:** [August 7, 2022, 10:48am UTC](https://discourse.processing.org/t/finding-the-x-y-location-of-a-word-when-text-wrapped/38243 "2022-08-07T10:48:10Z")

</div>

Is there a way to find the x,y location of a word in a string where the text is wrapped? I’ve made a simple example to illustrate my question. How would I go about finding the location of the first word in the third sen…

---

## [Resize and image -\> cropping](https://discourse.processing.org/t/resize-and-image-cropping/38255)

<div class="topic-metadata">

**Author:** [@ishback](https://discourse.processing.org/u/ishback)\
**Replies:** 1\
**Last updated:** [August 6, 2022, 11:10pm UTC](https://discourse.processing.org/t/resize-and-image-cropping/38255 "2022-08-06T23:10:06Z")

</div>

Hi, I’m trying to resize a video before displaying it. The original video is 100x200px. If I resize to 100x100px it crops the top part, looks good. If I resize to 50x100px (50% proportionally for each dimension), …

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

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