# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=70

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

**Page:** 71

---

## [Help with video mixer logic](https://discourse.processing.org/t/help-with-video-mixer-logic/38386)

<div class="topic-metadata">

**Author:** [@JSGauthier](https://discourse.processing.org/u/JSGauthier)\
**Replies:** 1\
**Last updated:** [August 16, 2022, 8:13pm UTC](https://discourse.processing.org/t/help-with-video-mixer-logic/38386 "2022-08-16T20:13:24Z")

</div>

I am having a problem with the implementation of a project which uses the video library as well as the serial library and could really use some help. HELP!! If you like I can also provide a private zoom link and screen …

---

## [Image Change with Microphone in Image Processing](https://discourse.processing.org/t/image-change-with-microphone-in-image-processing/38387)

<div class="topic-metadata">

**Author:** [@searchingforananswer](https://discourse.processing.org/u/searchingforananswer)\
**Replies:** 0\
**Last updated:** [August 16, 2022, 6:33pm UTC](https://discourse.processing.org/t/image-change-with-microphone-in-image-processing/38387 "2022-08-16T18:33:02Z")

</div>

Hello, I want to change the image already in the code below with another one I have depend on microphone. How can I do this? /\*\* \* Extrusion. \* \* Converts a flat image into spatial data points and rotates the poin…

---

## [Circulo con loop](https://discourse.processing.org/t/circulo-con-loop/38373)

<div class="topic-metadata">

**Author:** [@Eghost](https://discourse.processing.org/u/Eghost)\
**Replies:** 3\
**Last updated:** [August 16, 2022, 6:55am UTC](https://discourse.processing.org/t/circulo-con-loop/38373 "2022-08-16T06:55:44Z")

</div>

please format code with \</\> button \* homework policy \* asking questions quiero que el circulo interior y el loop tengan color

---

## [Image quality with line(); & (TRIANGLE\_STRIP);](https://discourse.processing.org/t/image-quality-with-line-triangle-strip/38267)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 5\
**Last updated:** [August 15, 2022, 8:41pm UTC](https://discourse.processing.org/t/image-quality-with-line-triangle-strip/38267 "2022-08-15T20:41:24Z")

</div>

Hi there! I’m wondering how I can create a higher resolution image in processing. Currently, I am creating very pixelated nets. How can I make crisper nets? // a class to representing a point on our grid. // This s…

---

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

<div class="topic-metadata">

**Author:** [@f42ter](https://discourse.processing.org/u/f42ter)\
**Replies:** 1\
**Last updated:** [August 15, 2022, 4:38pm UTC](https://discourse.processing.org/t/rasterize-image-flowfield-with-noise-values-from-image-two-the-answer/38316 "2022-08-15T16:38:55Z")

</div>

Here is an other solution https://discourse.processing.org/t/rasterize-image-flowfield-with-noise-values-from-image/38176/4 This is for a single video (noLoop) or a video stream. Will be simple to adopt it for pictures…

---

## [Delaying/Changing the speed of a section of code without delaying the entire code](https://discourse.processing.org/t/delaying-changing-the-speed-of-a-section-of-code-without-delaying-the-entire-code/38357)

<div class="topic-metadata">

**Author:** [@Isobelcameron](https://discourse.processing.org/u/Isobelcameron)\
**Replies:** 4\
**Last updated:** [August 15, 2022, 1:26pm UTC](https://discourse.processing.org/t/delaying-changing-the-speed-of-a-section-of-code-without-delaying-the-entire-code/38357 "2022-08-15T13:26:25Z")

</div>

Hi! I am trying to delay expanding ball 2 so that it starts expanding after expanding ball 1. I have tried the pushMatrix(); and popMatrix(); which made my program crash and I also tried the delay example on the process…

---

## [Enable all java built-in libraries?](https://discourse.processing.org/t/enable-all-java-built-in-libraries/38358)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 3\
**Last updated:** [August 15, 2022, 12:16pm UTC](https://discourse.processing.org/t/enable-all-java-built-in-libraries/38358 "2022-08-15T12:16:11Z")

</div>

I’m currently trying to use a bit of the com.sun libraries. However processing seems to be lacking these libraries. Is there a way to make these libraries work with Processing? In the source code of the app I saw them …

---

## [Python Windows 11 problem](https://discourse.processing.org/t/python-windows-11-problem/38360)

<div class="topic-metadata">

**Author:** [@gustav](https://discourse.processing.org/u/gustav)\
**Replies:** 0\
**Last updated:** [August 15, 2022, 9:27am UTC](https://discourse.processing.org/t/python-windows-11-problem/38360 "2022-08-15T09:27:14Z")

</div>

I want to use processing mith python mode, but I have a few problems. Version 4 doesn’t seem to work on windows 11. The program simply wont start. Version 3 works with java, but when I switch to python mode I get “Cann…

---

## [Altering global variables of a processing code running via processing.js within an html page](https://discourse.processing.org/t/altering-global-variables-of-a-processing-code-running-via-processing-js-within-an-html-page/38330)

<div class="topic-metadata">

**Author:** [@anrui71](https://discourse.processing.org/u/anrui71)\
**Replies:** 0\
**Last updated:** [August 12, 2022, 8:53pm UTC](https://discourse.processing.org/t/altering-global-variables-of-a-processing-code-running-via-processing-js-within-an-html-page/38330 "2022-08-12T20:53:33Z")

</div>

Hello everyone, I am currently trying to find a way to alter the values of some global variables of a processing code running in an html page through user value input on the html page. Generally, when importing an sepa…

---

## [Extracting SVG from URI](https://discourse.processing.org/t/extracting-svg-from-uri/38335)

<div class="topic-metadata">

**Author:** [@almostsci](https://discourse.processing.org/u/almostsci)\
**Replies:** 0\
**Last updated:** [August 13, 2022, 12:56am UTC](https://discourse.processing.org/t/extracting-svg-from-uri/38335 "2022-08-13T00:56:49Z")

</div>

Hello! I have a URI sting with data:image/svg+xml;base64 format, I need to display the SVG encoded in this URI. Is there an easy way to do this in Processing? Thanks in advance

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

## [Detect Right and left mouse click](https://discourse.processing.org/t/detect-right-and-left-mouse-click/38239)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 3\
**Last updated:** [August 5, 2022, 6:12pm UTC](https://discourse.processing.org/t/detect-right-and-left-mouse-click/38239 "2022-08-05T18:12:12Z")

</div>

Hi, I’ve got the problem that I want to detect via a boolean when I press either my left or my right mouse bottom, however, it seems I can’t do it with keyCode. It would really help a lot if someone could make a small p…

---

## [Disable display](https://discourse.processing.org/t/disable-display/38236)

<div class="topic-metadata">

**Author:** [@mothsa](https://discourse.processing.org/u/mothsa)\
**Replies:** 1\
**Last updated:** [August 5, 2022, 3:25pm UTC](https://discourse.processing.org/t/disable-display/38236 "2022-08-05T15:25:21Z")

</div>

Hi everyone, This is my first time using processing, and I’d like to generate png files when running processing code from command-line. This part works fine, but I’m having trouble disabling previews. I saw this tutoria…

---

## [Processing error with display attached to MacBook](https://discourse.processing.org/t/processing-error-with-display-attached-to-macbook/38216)

<div class="topic-metadata">

**Author:** [@steve\_j](https://discourse.processing.org/u/steve_j)\
**Replies:** 3\
**Last updated:** [August 5, 2022, 11:51am UTC](https://discourse.processing.org/t/processing-error-with-display-attached-to-macbook/38216 "2022-08-05T11:51:36Z")

</div>

Processing has stopped working when i have a high res monitor attached to my M1 macbook. This only occurs when using a USB C out, HDMI works fine at 3840 x 2160 Running USB C out to a 3840 x 2160 display works fine als…

---

## [Noise() periodicity different in each dimension?](https://discourse.processing.org/t/noise-periodicity-different-in-each-dimension/38223)

<div class="topic-metadata">

**Author:** [@jeremym](https://discourse.processing.org/u/jeremym)\
**Replies:** 11\
**Last updated:** [August 4, 2022, 11:28pm UTC](https://discourse.processing.org/t/noise-periodicity-different-in-each-dimension/38223 "2022-08-04T23:28:56Z")

</div>

Through a bit of trial and error I’ve discovered that the period of perlin noise produced by the noise() function differs in each dimension. Specifically, the period in the x dimension is 4096 ,the period in the y dimens…

---

## [macOS exported application "Unable to load java runtime environment"](https://discourse.processing.org/t/macos-exported-application-unable-to-load-java-runtime-environment/38136)

<div class="topic-metadata">

**Author:** [@clauscarnival](https://discourse.processing.org/u/clauscarnival)\
**Replies:** 7\
**Last updated:** [August 4, 2022, 10:37pm UTC](https://discourse.processing.org/t/macos-exported-application-unable-to-load-java-runtime-environment/38136 "2022-08-04T22:37:16Z")

</div>

Hello there, I have run into trouble with my exported sketch. I hope this is the right place for this. If I click on the exported app I get the warning “Unable to load java runtime environment”. But if I open the exec…

[Previous page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=69)

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=71)
