# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?page=75

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

**Page:** 76

---

## [New computer, sketches don't work? \[Updated and "fix" found\]](https://discourse.processing.org/t/new-computer-sketches-dont-work-updated-and-fix-found/37722)

<div class="topic-metadata">

**Author:** [@darinb](https://discourse.processing.org/u/darinb)\
**Replies:** 0\
**Last updated:** [June 26, 2022, 9:00pm UTC](https://discourse.processing.org/t/new-computer-sketches-dont-work-updated-and-fix-found/37722 "2022-06-26T21:00:15Z")

</div>

I upgraded to an M1 Mac mini and and coming back to Processing after not using it for a while. I’m running into a problem with all of my sketches in that they will run, in a way, but display only a black screen while doi…

---

## [How to record many Audio Recorder?](https://discourse.processing.org/t/how-to-record-many-audio-recorder/4244)

<div class="topic-metadata">

**Author:** [@cocolembo](https://discourse.processing.org/u/cocolembo)\
**Replies:** 3\
**Last updated:** [June 26, 2022, 9:52pm UTC](https://discourse.processing.org/t/how-to-record-many-audio-recorder/4244 "2022-06-26T21:52:53Z")

</div>

Hi, I’m a beginner in Processing, here is a code to record an audio from micro input. (from minim library) The sketch allow to record an audio but just only one recording. I would like to record a new recording at eac…

---

## [Static reference to the non-static method](https://discourse.processing.org/t/static-reference-to-the-non-static-method/37711)

<div class="topic-metadata">

**Author:** [@PixelMx](https://discourse.processing.org/u/PixelMx)\
**Replies:** 2\
**Last updated:** [June 25, 2022, 2:32pm UTC](https://discourse.processing.org/t/static-reference-to-the-non-static-method/37711 "2022-06-25T14:32:49Z")

</div>

Hi, I’ve been reading about The Salesman Problem and I’ve seen TSP art, which I’m interested in creating. I found an existing sketch in gihub and I’m trying to adapt it to randomly read pixels from a black and white ima…

---

## [Minim delay & other effects](https://discourse.processing.org/t/minim-delay-other-effects/34707)

<div class="topic-metadata">

**Author:** [@Froschgelb](https://discourse.processing.org/u/Froschgelb)\
**Replies:** 2\
**Last updated:** [June 25, 2022, 1:32am UTC](https://discourse.processing.org/t/minim-delay-other-effects/34707 "2022-06-25T01:32:53Z")

</div>

Hi there, I am writing a small program to record audio and apply some basic effects from the minim library, delay & flanger etc. I have implimented the record feature and it works fine however trying to patch effects is …

---

## [Processing not compiling my code anymore](https://discourse.processing.org/t/processing-not-compiling-my-code-anymore/37654)

<div class="topic-metadata">

**Author:** [@jhsa](https://discourse.processing.org/u/jhsa)\
**Replies:** 20\
**Last updated:** [June 23, 2022, 2:41pm UTC](https://discourse.processing.org/t/processing-not-compiling-my-code-anymore/37654 "2022-06-23T14:41:58Z")

</div>

Hi guys. I am having a problem. I was running a sketch on processing on my old PC with windows 7 and it worked fine. the IDE compiled it and the compiled .exe file also worked. that computer’s hard drive stopped working …

---

## [Implicit super constructor classes.Mover() is undefined. Must explicitly invoke another constructor](https://discourse.processing.org/t/implicit-super-constructor-classes-mover-is-undefined-must-explicitly-invoke-another-constructor/37683)

<div class="topic-metadata">

**Author:** [@BeshooD](https://discourse.processing.org/u/BeshooD)\
**Replies:** 11\
**Last updated:** [June 23, 2022, 5:15am UTC](https://discourse.processing.org/t/implicit-super-constructor-classes-mover-is-undefined-must-explicitly-invoke-another-constructor/37683 "2022-06-23T05:15:29Z")

</div>

Not sure what this message means, can I get some help?

---

## [Understanding which curve function is most efficent for drawing a pointed oval?](https://discourse.processing.org/t/understanding-which-curve-function-is-most-efficent-for-drawing-a-pointed-oval/37685)

<div class="topic-metadata">

**Author:** [@SpaceWave](https://discourse.processing.org/u/SpaceWave)\
**Replies:** 1\
**Last updated:** [June 22, 2022, 9:53pm UTC](https://discourse.processing.org/t/understanding-which-curve-function-is-most-efficent-for-drawing-a-pointed-oval/37685 "2022-06-22T21:53:24Z")

</div>

Hello, probably a very simple question. I’m trying to draw a pointed oval as part of a sketch I’m doing. I’m having trouble parsing the reference material for all the different options to draw a curve. I’ve tried to unde…

---

## [Window size of exported windows executable](https://discourse.processing.org/t/window-size-of-exported-windows-executable/36311)

<div class="topic-metadata">

**Author:** [@mcmonty](https://discourse.processing.org/u/mcmonty)\
**Replies:** 5\
**Last updated:** [June 22, 2022, 8:59pm UTC](https://discourse.processing.org/t/window-size-of-exported-windows-executable/36311 "2022-06-22T20:59:11Z")

</div>

Hello, I’m working in Processing 4.0b7. When I export my program (file-\>export application) and choose Windows, the exported program works fine. However, the size of the window is larger than when I run the program fro…

---

## [Table findRows() multiple criteria](https://discourse.processing.org/t/table-findrows-multiple-criteria/37595)

<div class="topic-metadata">

**Author:** [@Erif](https://discourse.processing.org/u/Erif)\
**Replies:** 18\
**Last updated:** [June 22, 2022, 9:56am UTC](https://discourse.processing.org/t/table-findrows-multiple-criteria/37595 "2022-06-22T09:56:39Z")

</div>

Hello, Say I’m importing a .csv table where headers are: Column 2 - Data\_value Column 11 - Series\_title\_2 and I’m printing out the values from column 2 where column 11 contains “Mining”, as follows: Table table = lo…

---

## [Math.Sqrt(x); not working?](https://discourse.processing.org/t/math-sqrt-x-not-working/37681)

<div class="topic-metadata">

**Author:** [@neon124](https://discourse.processing.org/u/neon124)\
**Replies:** 2\
**Last updated:** [June 22, 2022, 9:36am UTC](https://discourse.processing.org/t/math-sqrt-x-not-working/37681 "2022-06-22T09:36:57Z")

</div>

I’m making a calculator and when trying to make the square root function, it outputs the number you put in, not the square root. Here’s the bit of code that applies to the square root function. SquareRoot = (Button)find…

---

## [Multiple variables in one for loop?](https://discourse.processing.org/t/multiple-variables-in-one-for-loop/37635)

<div class="topic-metadata">

**Author:** [@sleepycode](https://discourse.processing.org/u/sleepycode)\
**Replies:** 7\
**Last updated:** [June 22, 2022, 2:24am UTC](https://discourse.processing.org/t/multiple-variables-in-one-for-loop/37635 "2022-06-22T02:24:04Z")

</div>

Is it possible to use two variables in a single for loop? Here’s my non-working code: void sqrNew() { for (float x = random(295,300),float y = random(355,360); x \< 700 && y \< 700; x = x + 55, y = y + 55) { …

---

## [Sieve of Eratosthenes Crash! NullPointerException](https://discourse.processing.org/t/sieve-of-eratosthenes-crash-nullpointerexception/22450)

<div class="topic-metadata">

**Author:** [@Maxnotabletoprogramm](https://discourse.processing.org/u/Maxnotabletoprogramm)\
**Replies:** 10\
**Last updated:** [June 21, 2022, 3:35pm UTC](https://discourse.processing.org/t/sieve-of-eratosthenes-crash-nullpointerexception/22450 "2022-06-21T15:35:07Z")

</div>

Hey, Im currently trying(!) to make a sieve of eratosthenes in processing as a school project. This is my code: int max=1500; //maximale zahl für die Primzahlen berechnet werden sollen int p=2; // boolean\[\] pr…

---

## [Could Processing run on MacBook M1？](https://discourse.processing.org/t/could-processing-run-on-macbook-m1/25786)

<div class="topic-metadata">

**Author:** [@XUqb](https://discourse.processing.org/u/XUqb)\
**Replies:** 3\
**Last updated:** [June 21, 2022, 2:21pm UTC](https://discourse.processing.org/t/could-processing-run-on-macbook-m1/25786 "2022-06-21T14:21:26Z")

</div>

please format code with \</\> button \* homework policy \* asking questions with libraries

---

## [Random word generator](https://discourse.processing.org/t/random-word-generator/37667)

<div class="topic-metadata">

**Author:** [@FrankyWes](https://discourse.processing.org/u/FrankyWes)\
**Replies:** 1\
**Last updated:** [June 21, 2022, 11:26am UTC](https://discourse.processing.org/t/random-word-generator/37667 "2022-06-21T11:26:18Z")

</div>

Yo smart people, I am currently working on a random word generator. The reason for it is to give an objective either every 15 minutes or by key press. For instance “Draw the letter B”. I got the randomiser, but it is ei…

---

## [Video Capture from Skydroid OTG receiver](https://discourse.processing.org/t/video-capture-from-skydroid-otg-receiver/37662)

<div class="topic-metadata">

**Author:** [@jake99](https://discourse.processing.org/u/jake99)\
**Replies:** 1\
**Last updated:** [June 21, 2022, 9:39am UTC](https://discourse.processing.org/t/video-capture-from-skydroid-otg-receiver/37662 "2022-06-21T09:39:08Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I have been trying to load video from FPV receiver using video library. I have confirmed that it successfully loads feeds from the webcam, and C…

---

## [Using p5.play with React?](https://discourse.processing.org/t/using-p5-play-with-react/37658)

<div class="topic-metadata">

**Author:** [@spallis](https://discourse.processing.org/u/spallis)\
**Replies:** 0\
**Last updated:** [June 20, 2022, 7:19pm UTC](https://discourse.processing.org/t/using-p5-play-with-react/37658 "2022-06-20T19:19:08Z")

</div>

I am trying to use p5.play with React (p5.play - a game library for p5.js). I tried following the example listed on the Github, but the example only uses an index.html and sketch.js file. When I tried using in a React co…

---

## [Text outline neon](https://discourse.processing.org/t/text-outline-neon/37639)

<div class="topic-metadata">

**Author:** [@PhySan](https://discourse.processing.org/u/PhySan)\
**Replies:** 5\
**Last updated:** [June 20, 2022, 7:06pm UTC](https://discourse.processing.org/t/text-outline-neon/37639 "2022-06-20T19:06:33Z")

</div>

Hi all, I am trying to play a little with lettering, outline and lights and I am trying to simulate some neon letters that can light up and appear to glow. I used the blur filter to achieve the glow effect. However, th…

---

## [Stream Processing Sketch using NDI](https://discourse.processing.org/t/stream-processing-sketch-using-ndi/37650)

<div class="topic-metadata">

**Author:** [@erkek](https://discourse.processing.org/u/erkek)\
**Replies:** 0\
**Last updated:** [June 20, 2022, 2:13pm UTC](https://discourse.processing.org/t/stream-processing-sketch-using-ndi/37650 "2022-06-20T14:13:44Z")

</div>

Hi, I am currently working on a project in which I want to create an animation using Processing that is modified live by microphone input. The whole thing should be transmitted (preferably via NDI) to an ioversal vertex…

---

## [Frogger High score](https://discourse.processing.org/t/frogger-high-score/37427)

<div class="topic-metadata">

**Author:** [@king\_B99](https://discourse.processing.org/u/king_B99)\
**Replies:** 2\
**Last updated:** [June 9, 2022, 5:17pm UTC](https://discourse.processing.org/t/frogger-high-score/37427 "2022-06-09T17:17:17Z")

</div>

So I am trying to make a high score system for my frogger game I am using JSONObjects but its a little confusing can anyone show an example or explain it. Thanks.

---

## [Constant length line](https://discourse.processing.org/t/constant-length-line/37637)

<div class="topic-metadata">

**Author:** [@chaotic.rabbit](https://discourse.processing.org/u/chaotic.rabbit)\
**Replies:** 3\
**Last updated:** [June 19, 2022, 1:54pm UTC](https://discourse.processing.org/t/constant-length-line/37637 "2022-06-19T13:54:10Z")

</div>

Hi! I’m still new at processing. I’m trying to write a program that generates random line positions but all lines are of the same length. I want to further develop it to generate different coloured lines according to the…

---

## [Any way to access stored values of fill() outside of rect(), circle(), etc.?](https://discourse.processing.org/t/any-way-to-access-stored-values-of-fill-outside-of-rect-circle-etc/37631)

<div class="topic-metadata">

**Author:** [@Epsilon11](https://discourse.processing.org/u/Epsilon11)\
**Replies:** 4\
**Last updated:** [June 19, 2022, 6:45am UTC](https://discourse.processing.org/t/any-way-to-access-stored-values-of-fill-outside-of-rect-circle-etc/37631 "2022-06-19T06:45:26Z")

</div>

Is there a way to get the current color values in a function? for example: fill(255, 0, 80); void function() { loadPixels(); for (int i = 0; i \< pixels.length; i++) { pixels\[i\] = color( \*\*\*fill values\*\*…

---

## [Are properties such as fill color, stroke weight, text size, etc. write only?](https://discourse.processing.org/t/are-properties-such-as-fill-color-stroke-weight-text-size-etc-write-only/33024)

<div class="topic-metadata">

**Author:** [@Math\_Machine](https://discourse.processing.org/u/Math_Machine)\
**Replies:** 7\
**Last updated:** [June 19, 2022, 6:33am UTC](https://discourse.processing.org/t/are-properties-such-as-fill-color-stroke-weight-text-size-etc-write-only/33024 "2022-06-19T06:33:10Z")

</div>

Hi, this is a question I’ve had on my mind for quite a while, and I apologize in advance if someone already asked it, but is there any way to just ask processing what the current stroke weight is? Or the current fill co…

---

## [Turn a circle into a square](https://discourse.processing.org/t/turn-a-circle-into-a-square/37509)

<div class="topic-metadata">

**Author:** [@student00](https://discourse.processing.org/u/student00)\
**Replies:** 1\
**Last updated:** [June 13, 2022, 3:33am UTC](https://discourse.processing.org/t/turn-a-circle-into-a-square/37509 "2022-06-13T03:33:49Z")

</div>

Hi, I am not used to English, so the sentences may be strange. When the mouse clicks on the moving circle, I want the clicked circle to be changed to a line. The square should move like a mouse pointer. boolean doSa…

---

## [Need Help / Processing change video if](https://discourse.processing.org/t/need-help-processing-change-video-if/37566)

<div class="topic-metadata">

**Author:** [@Player07781](https://discourse.processing.org/u/Player07781)\
**Replies:** 2\
**Last updated:** [June 16, 2022, 7:09am UTC](https://discourse.processing.org/t/need-help-processing-change-video-if/37566 "2022-06-16T07:09:34Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I have tried using this code but the code I put in 4 videos but the video only plays the first video as if other videos are playing after the fir…

---

## [DropTarget in PSurface](https://discourse.processing.org/t/droptarget-in-psurface/37616)

<div class="topic-metadata">

**Author:** [@TimeLex](https://discourse.processing.org/u/TimeLex)\
**Replies:** 2\
**Last updated:** [June 18, 2022, 4:45pm UTC](https://discourse.processing.org/t/droptarget-in-psurface/37616 "2022-06-18T16:45:56Z")

</div>

Hi I want my processing surface to receive drag and drop input like the DropTarget in Java. For example, if I grab an item from the desktop and release my mouse over the processing window, I want to get the path of the …

---

## [The function blendmode(int) does not exist](https://discourse.processing.org/t/the-function-blendmode-int-does-not-exist/37619)

<div class="topic-metadata">

**Author:** [@rpp](https://discourse.processing.org/u/rpp)\
**Replies:** 1\
**Last updated:** [June 18, 2022, 2:51pm UTC](https://discourse.processing.org/t/the-function-blendmode-int-does-not-exist/37619 "2022-06-18T14:51:28Z")

</div>

Hi Team, Just installed Processing 4 and started followed some tutorials, namely the one from Daniel Simu (https://www.youtube.com/watch?v=wghDDYnIFM0). I’ve ran his code and the BlendMode() function is not present (do…

---

## [Programs for making Scenes or movies (advice needed)](https://discourse.processing.org/t/programs-for-making-scenes-or-movies-advice-needed/37584)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 3\
**Last updated:** [June 18, 2022, 3:21pm UTC](https://discourse.processing.org/t/programs-for-making-scenes-or-movies-advice-needed/37584 "2022-06-18T15:21:45Z")

</div>

Hello all, I am looking for a Program for making Scenes or movies. Presumably something like Blender or POVray but easier to use with a less steep learning curve. I want to use it additionally to Processing since I re…

---

## [Converting straight lines segments into a bezier curve of same shape](https://discourse.processing.org/t/converting-straight-lines-segments-into-a-bezier-curve-of-same-shape/35333)

<div class="topic-metadata">

**Author:** [@grshch](https://discourse.processing.org/u/grshch)\
**Replies:** 8\
**Last updated:** [June 17, 2022, 6:59pm UTC](https://discourse.processing.org/t/converting-straight-lines-segments-into-a-bezier-curve-of-same-shape/35333 "2022-06-17T18:59:31Z")

</div>

Hello, everyone! I am making a typeface, styles of which are generated by algorithm from one root style. the main alogritm is raster-based (reaction-diffusion). Then I make a super detailed PVector curve by finding the…

---

## [Regular expressions "bypassing" conditions](https://discourse.processing.org/t/regular-expressions-bypassing-conditions/37613)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 1\
**Last updated:** [June 18, 2022, 11:39am UTC](https://discourse.processing.org/t/regular-expressions-bypassing-conditions/37613 "2022-06-18T11:39:31Z")

</div>

I’m currently experementing with regular expressions. And am currently writing code that is supposed to take a String and find all points where a string is defined in code like “test” or ““this text is in quotes””. I se…

---

## [OpenCV 4 Upgrade](https://discourse.processing.org/t/opencv-4-upgrade/27640)

<div class="topic-metadata">

**Author:** [@cansik](https://discourse.processing.org/u/cansik)\
**Replies:** 1\
**Last updated:** [June 17, 2022, 3:25pm UTC](https://discourse.processing.org/t/opencv-4-upgrade/27640 "2022-06-17T15:25:20Z")

</div>

I just recently upgraded OpenCV for Processing to version 4.4.0. It uses the pre-compiled binaries provided by the javacpp project and thus supports every major operating system as well as armhf & arm64. All the example…

[Previous page](https://discourse.processing.org/c/processing/6.md?page=74)

[Next page](https://discourse.processing.org/c/processing/6.md?page=76)
