# Processing

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

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

**Page:** 219

---

## [Altering Magnitude of Noise Value at Specific Coordinate](https://discourse.processing.org/t/altering-magnitude-of-noise-value-at-specific-coordinate/19718)

<div class="topic-metadata">

**Author:** [@heatmiser](https://discourse.processing.org/u/heatmiser)\
**Replies:** 1\
**Last updated:** [April 18, 2020, 6:59pm UTC](https://discourse.processing.org/t/altering-magnitude-of-noise-value-at-specific-coordinate/19718 "2020-04-18T18:59:54Z")

</div>

Hi, I’m wondering if there is a way to increase the magnitude of noise at specific coordinates. The code below allows me to create topography based on perlin noise. As one can see, I get a noise value for every i and j. …

---

## [Regarding using libraries for Computer vision](https://discourse.processing.org/t/regarding-using-libraries-for-computer-vision/19814)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 1\
**Last updated:** [April 18, 2020, 6:40pm UTC](https://discourse.processing.org/t/regarding-using-libraries-for-computer-vision/19814 "2020-04-18T18:40:58Z")

</div>

Are thr any libraries other than opencv that is compatible with Processing for computer vision I f any please suggest thanks

---

## [Quadrifolium curve](https://discourse.processing.org/t/quadrifolium-curve/19887)

<div class="topic-metadata">

**Author:** [@ElMatematico53](https://discourse.processing.org/u/ElMatematico53)\
**Replies:** 5\
**Last updated:** [April 18, 2020, 6:30pm UTC](https://discourse.processing.org/t/quadrifolium-curve/19887 "2020-04-18T18:30:06Z")

</div>

We have created a quadrifolium function, and we may need help to write its tangent. We would like to see the tangent line every time the mouse is on the function, for each point of it The equation and the parameterizati…

---

## [How to disable ESC key functionality in G4P child window](https://discourse.processing.org/t/how-to-disable-esc-key-functionality-in-g4p-child-window/19891)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 3\
**Last updated:** [April 18, 2020, 5:27pm UTC](https://discourse.processing.org/t/how-to-disable-esc-key-functionality-in-g4p-child-window/19891 "2020-04-18T17:27:22Z")

</div>

Problem: I want to disable the default functionality of the ESC key in a Processing sketch that creates a G4P child window. The standard method of doing this is: void keyPressed() { if (key == ESC) { key = 0; } …

---

## [Help about a code with Processing as a library (IJ IDE)](https://discourse.processing.org/t/help-about-a-code-with-processing-as-a-library-ij-ide/19319)

<div class="topic-metadata">

**Author:** [@Helron](https://discourse.processing.org/u/Helron)\
**Replies:** 7\
**Last updated:** [April 18, 2020, 2:41pm UTC](https://discourse.processing.org/t/help-about-a-code-with-processing-as-a-library-ij-ide/19319 "2020-04-18T14:41:15Z")

</div>

Hello everybody ! Let 's start by a quick présentation because this is my first post. I am learning slowly Java and i have start by processing there is a month and a half. I achieved a game with 2 balls, each jumping…

---

## [FFT lacking high frequency action](https://discourse.processing.org/t/fft-lacking-high-frequency-action/19845)

<div class="topic-metadata">

**Author:** [@EKM](https://discourse.processing.org/u/EKM)\
**Replies:** 2\
**Last updated:** [April 18, 2020, 9:31am UTC](https://discourse.processing.org/t/fft-lacking-high-frequency-action/19845 "2020-04-18T09:31:42Z")

</div>

Hey there, I’m new to Processing! I’m sending FFT analysis info to Grasshopper (a parametric tool for 3D software Rhino for anyone who isn’t familiar!) - I’m using my laptop microphone / system audio using a virtual aud…

---

## [I tried implementing a simple pathfinding algorithm by following along with wikipedia](https://discourse.processing.org/t/i-tried-implementing-a-simple-pathfinding-algorithm-by-following-along-with-wikipedia/19851)

<div class="topic-metadata">

**Author:** [@jimather](https://discourse.processing.org/u/jimather)\
**Replies:** 2\
**Last updated:** [April 18, 2020, 3:49am UTC](https://discourse.processing.org/t/i-tried-implementing-a-simple-pathfinding-algorithm-by-following-along-with-wikipedia/19851 "2020-04-18T03:49:21Z")

</div>

So not really sure how to phrase this. It’s not really a specific question as such just more like: “Hey look at this, where is it obviously pants?” So with all the free time recently I thought I’d try to make a tower de…

---

## [Public Class vs Private Class](https://discourse.processing.org/t/public-class-vs-private-class/19666)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 10\
**Last updated:** [April 17, 2020, 9:09pm UTC](https://discourse.processing.org/t/public-class-vs-private-class/19666 "2020-04-17T21:09:14Z")

</div>

This is basically a concept question. And I have read the reference entries on the processing site, as well as on stackoverflow site. Is public vs private class a similar concept as with variable scope – global vs loca…

---

## [Need some advice on assignment (menu symbols)](https://discourse.processing.org/t/need-some-advice-on-assignment-menu-symbols/19842)

<div class="topic-metadata">

**Author:** [@tengtengloves](https://discourse.processing.org/u/tengtengloves)\
**Replies:** 4\
**Last updated:** [April 17, 2020, 3:14pm UTC](https://discourse.processing.org/t/need-some-advice-on-assignment-menu-symbols/19842 "2020-04-17T15:14:20Z")

</div>

I have an assignment due today and I need some advice. I have to plan and create some compelling visual art that visibly changes in real times. I trying to transforming the menu bar into close bar but I not sure how c…

---

## [Animating a rotation of 1 rev/sec or faster smoothly](https://discourse.processing.org/t/animating-a-rotation-of-1-rev-sec-or-faster-smoothly/19857)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 6\
**Last updated:** [April 17, 2020, 6:43pm UTC](https://discourse.processing.org/t/animating-a-rotation-of-1-rev-sec-or-faster-smoothly/19857 "2020-04-17T18:43:45Z")

</div>

I would like to have a clock hand rotating at 60 rpm but get rid of the visual effect of seeing the hand in more than one location at a time. Obviously with a frame rate of 60, simply trying to draw the hand at 6 degree …

---

## [Hello! can someone help me with big image in P3D?](https://discourse.processing.org/t/hello-can-someone-help-me-with-big-image-in-p3d/19802)

<div class="topic-metadata">

**Author:** [@vargas](https://discourse.processing.org/u/vargas)\
**Replies:** 4\
**Last updated:** [April 17, 2020, 5:06pm UTC](https://discourse.processing.org/t/hello-can-someone-help-me-with-big-image-in-p3d/19802 "2020-04-17T17:06:18Z")

</div>

I’m writing code using P3D, but I can’t save a file larger than 48cm wide by 30cm high. can someone help me save images in large sizes? Like this: PImage nome; float angle; void setup(){ size(600,600,P3D); backgrou…

---

## [Why do radian degrees look different for arcs versus rotations?](https://discourse.processing.org/t/why-do-radian-degrees-look-different-for-arcs-versus-rotations/19856)

<div class="topic-metadata">

**Author:** [@mnoble](https://discourse.processing.org/u/mnoble)\
**Replies:** 10\
**Last updated:** [April 17, 2020, 4:56pm UTC](https://discourse.processing.org/t/why-do-radian-degrees-look-different-for-arcs-versus-rotations/19856 "2020-04-17T16:56:12Z")

</div>

Hello Forum, I have math confusion. Radian degrees seem to work differently for rotate() versus arc(). Below, I use the first image as a guide for rotating a rect() and the second image as guide for controlling the open…

---

## [A Pulsar Array. Need Help please](https://discourse.processing.org/t/a-pulsar-array-need-help-please/19797)

<div class="topic-metadata">

**Author:** [@gurki](https://discourse.processing.org/u/gurki)\
**Replies:** 9\
**Last updated:** [April 17, 2020, 11:29am UTC](https://discourse.processing.org/t/a-pulsar-array-need-help-please/19797 "2020-04-17T11:29:08Z")

</div>

Hey Guys, this is one of the hardest tasks in the exam. There are another variations in the other exams which I will include in the next days in another topics. Now This task in german Schreiben Sie eine Klasse Pulsar…

---

## [Button example: overRect() function's width and height variables](https://discourse.processing.org/t/button-example-overrect-functions-width-and-height-variables/19817)

<div class="topic-metadata">

**Author:** [@Leo\_Aguiar](https://discourse.processing.org/u/Leo_Aguiar)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 11:08am UTC](https://discourse.processing.org/t/button-example-overrect-functions-width-and-height-variables/19817 "2020-04-17T11:08:41Z")

</div>

Hi Forum, In the examples included with the Processing IDE and on the Processing Reference online there is an example showing how to code two simple buttons. One button is a rectangle and it uses a custom function calle…

---

## [TANGENT CURVE please](https://discourse.processing.org/t/tangent-curve-please/19838)

<div class="topic-metadata">

**Author:** [@onetwothree](https://discourse.processing.org/u/onetwothree)\
**Replies:** 5\
**Last updated:** [April 17, 2020, 1:14am UTC](https://discourse.processing.org/t/tangent-curve-please/19838 "2020-04-17T01:14:50Z")

</div>

Hi, someone who can help me get a code to get the tangent of the different points of a curve like the cissoid of diocles ??,

---

## [How to rotate object around edge?](https://discourse.processing.org/t/how-to-rotate-object-around-edge/19757)

<div class="topic-metadata">

**Author:** [@Cybernet](https://discourse.processing.org/u/Cybernet)\
**Replies:** 4\
**Last updated:** [April 17, 2020, 12:52am UTC](https://discourse.processing.org/t/how-to-rotate-object-around-edge/19757 "2020-04-17T00:52:03Z")

</div>

I have this code right here that rotates a rectangle. pushMatrix(); translate(xpos + 20, ypos - 10); rotate(radians(swing)); rect(0, 0, 7, 35); popMatrix(); swing += 1; But when I run the code,…

---

## [Tangent to parametric curve](https://discourse.processing.org/t/tangent-to-parametric-curve/19788)

<div class="topic-metadata">

**Author:** [@mcaaaalvo](https://discourse.processing.org/u/mcaaaalvo)\
**Replies:** 55\
**Last updated:** [April 16, 2020, 10:32pm UTC](https://discourse.processing.org/t/tangent-to-parametric-curve/19788 "2020-04-16T22:32:50Z")

</div>

I have to create a program, that when I put the mouse on any point of the curve, it draws its tangent line, and writes to me in a corner the value of the slope of this line. The drawing have to include the cartesian axis…

---

## [Cursor icon with Processing P2D renderer doesn't update as expected](https://discourse.processing.org/t/cursor-icon-with-processing-p2d-renderer-doesnt-update-as-expected/19537)

<div class="topic-metadata">

**Author:** [@Bjoe](https://discourse.processing.org/u/Bjoe)\
**Replies:** 3\
**Last updated:** [April 16, 2020, 8:53pm UTC](https://discourse.processing.org/t/cursor-icon-with-processing-p2d-renderer-doesnt-update-as-expected/19537 "2020-04-16T20:53:54Z")

</div>

Hi! I am using processings P2D renderer and want to change the cursor icon when it has a specific location. This works as expected without the renderer, but with P2D the cursor changes to my computers default cursor aft…

---

## [Reaction time experiment](https://discourse.processing.org/t/reaction-time-experiment/19813)

<div class="topic-metadata">

**Author:** [@14mmss](https://discourse.processing.org/u/14mmss)\
**Replies:** 5\
**Last updated:** [April 16, 2020, 8:25pm UTC](https://discourse.processing.org/t/reaction-time-experiment/19813 "2020-04-16T20:25:08Z")

</div>

hello, I am working on a reaction time experiment. I need to record the time from the second screen onwards until the rectangle changes from black to red in a random time stamp between 2 and 7 seconds and as a reaction t…

---

## [Trying to make 2 strings out of one Serial transmission](https://discourse.processing.org/t/trying-to-make-2-strings-out-of-one-serial-transmission/19819)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 2\
**Last updated:** [April 16, 2020, 4:59pm UTC](https://discourse.processing.org/t/trying-to-make-2-strings-out-of-one-serial-transmission/19819 "2020-04-16T16:59:01Z")

</div>

I made a GUI for an Arduino robot. Every 500 mS I am getting a serial communication and it works well. Now I have two data strings. One pertains to the Motor Currents and it always starts with M. The other provides o…

---

## [Pixels and images](https://discourse.processing.org/t/pixels-and-images/19558)

<div class="topic-metadata">

**Author:** [@Eduwu](https://discourse.processing.org/u/Eduwu)\
**Replies:** 1\
**Last updated:** [April 16, 2020, 3:17pm UTC](https://discourse.processing.org/t/pixels-and-images/19558 "2020-04-16T15:17:24Z")

</div>

HI! I’m a beginner in processing and I’m trying to do a sketch with an image with a noise filter using pixel, but I don’t know exactly what to do. this is my code right now, but I want the image to have the original col…

---

## [Calculator program, how to make it function](https://discourse.processing.org/t/calculator-program-how-to-make-it-function/19713)

<div class="topic-metadata">

**Author:** [@WeeBoEtte](https://discourse.processing.org/u/WeeBoEtte)\
**Replies:** 8\
**Last updated:** [April 16, 2020, 12:59pm UTC](https://discourse.processing.org/t/calculator-program-how-to-make-it-function/19713 "2020-04-16T12:59:59Z")

</div>

I am trying to make a calculator program in processing, but I’m not sure where to go from here, I’ve got how I want the calculator to look, but as for how to make it function, I’m pulling up a blank. If the mouse presses…

---

## [Masking .mp4 question](https://discourse.processing.org/t/masking-mp4-question/19822)

<div class="topic-metadata">

**Author:** [@sco66](https://discourse.processing.org/u/sco66)\
**Replies:** 1\
**Last updated:** [April 16, 2020, 7:44am UTC](https://discourse.processing.org/t/masking-mp4-question/19822 "2020-04-16T07:44:00Z")

</div>

Hi forum, I have a question about masking a .mp4. Masking seems to work excellently with PImage: PImage imgMask; void setup() { size(640, 360); img = loadImage("moonwalk.jpg"); imgMask = loadImage("moonwalk.jpg…

---

## [Https://processing.org/examples/hue.html](https://discourse.processing.org/t/https-processing-org-examples-hue-html/19506)

<div class="topic-metadata">

**Author:** [@wuzywute](https://discourse.processing.org/u/wuzywute)\
**Replies:** 4\
**Last updated:** [April 16, 2020, 2:07am UTC](https://discourse.processing.org/t/https-processing-org-examples-hue-html/19506 "2020-04-16T02:07:06Z")

</div>

https://processing.org/examples/hue.html I was curious how you embed a processing file in an html file like this link here? I’m picking up coding again, and starting with processing a language i was introduced to in 20…

---

## [How would you track two average points? (Shiffman tutorial)](https://discourse.processing.org/t/how-would-you-track-two-average-points-shiffman-tutorial/19786)

<div class="topic-metadata">

**Author:** [@samloos](https://discourse.processing.org/u/samloos)\
**Replies:** 2\
**Last updated:** [April 15, 2020, 10:20pm UTC](https://discourse.processing.org/t/how-would-you-track-two-average-points-shiffman-tutorial/19786 "2020-04-15T22:20:13Z")

</div>

Hello there! How would you guys track two (or multiple) average points instead of one as shown in the Shiffman video below? I have tried a lot of things but cannot seem to find the solution! Video: Code: …

---

## [A Ball bouncing in a rect](https://discourse.processing.org/t/a-ball-bouncing-in-a-rect/19799)

<div class="topic-metadata">

**Author:** [@gurki](https://discourse.processing.org/u/gurki)\
**Replies:** 5\
**Last updated:** [April 15, 2020, 8:37pm UTC](https://discourse.processing.org/t/a-ball-bouncing-in-a-rect/19799 "2020-04-15T20:37:59Z")

</div>

Hello Guys, This is my next taks where I need help; Schreiben Sie ein Programm mit einem 100x100 Fenster mit einem Ball (Durchmesser 20) in einem Rechteck(Position20,10 - Breite 60, Höhe 80). Verwenden Sie noFill() fü…

---

## [Rotating Vectors around different points](https://discourse.processing.org/t/rotating-vectors-around-different-points/19807)

<div class="topic-metadata">

**Author:** [@Kport1](https://discourse.processing.org/u/Kport1)\
**Replies:** 4\
**Last updated:** [April 15, 2020, 6:22pm UTC](https://discourse.processing.org/t/rotating-vectors-around-different-points/19807 "2020-04-15T18:22:03Z")

</div>

Im trying to make a visualizaztion I saw in one of 3blue1brown videos The code below is supposed to rotate two vectors (x,y and mpos.x, mpos.y) around another vector (dx,dy). I wrote my own function, because the built i…

---

## [Create a table of values](https://discourse.processing.org/t/create-a-table-of-values/19796)

<div class="topic-metadata">

**Author:** [@marethyu](https://discourse.processing.org/u/marethyu)\
**Replies:** 11\
**Last updated:** [April 15, 2020, 5:04pm UTC](https://discourse.processing.org/t/create-a-table-of-values/19796 "2020-04-15T17:04:22Z")

</div>

Hi, now I’m working on a mini project which require creating a table of possible value, then use these values to calculate and draw the graph. I have try the most ‘brutal’ way which uses just the function text(), but wh…

---

## [Having problem using saveTable() in void draw()](https://discourse.processing.org/t/having-problem-using-savetable-in-void-draw/19801)

<div class="topic-metadata">

**Author:** [@abdullahmq](https://discourse.processing.org/u/abdullahmq)\
**Replies:** 2\
**Last updated:** [April 15, 2020, 4:13pm UTC](https://discourse.processing.org/t/having-problem-using-savetable-in-void-draw/19801 "2020-04-15T16:13:25Z")

</div>

I am using the dist() function on collision between two objects and I want to record the data after every collision but when I use saveTable() in void draw() my program starts to hangs. When I used a timer and saved the…

---

## [Uncap frameRate in Processing 3](https://discourse.processing.org/t/uncap-framerate-in-processing-3/19805)

<div class="topic-metadata">

**Author:** [@henrylang](https://discourse.processing.org/u/henrylang)\
**Replies:** 2\
**Last updated:** [April 15, 2020, 3:42pm UTC](https://discourse.processing.org/t/uncap-framerate-in-processing-3/19805 "2020-04-15T15:42:24Z")

</div>

Hello, I am making a prototype for drifty car physics, and I though it would be cool to be able to uncap the framerate of the sketch. When using frameRate(1000);, I get over 400 FPS, but it speeds up all of the objects a…

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

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