# Latest

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

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

**Page:** 481

---

## [Using Noise to create "Biomes" for a map](https://discourse.processing.org/t/using-noise-to-create-biomes-for-a-map/11241)

<div class="topic-metadata">

**Author:** [@ILikePi](https://discourse.processing.org/u/ILikePi)\
**Replies:** 5\
**Last updated:** [May 30, 2019, 12:19am UTC](https://discourse.processing.org/t/using-noise-to-create-biomes-for-a-map/11241 "2019-05-30T00:19:21Z")

</div>

I currently am making some sort of map with biomes, I am attempting to use noise. I only know who to make simplex and perlin noise. I know there are many ways to make it so your noise does not repeat on itself… Right now…

---

## [Hi! I need some help in spawning ellipses at a set interval!](https://discourse.processing.org/t/hi-i-need-some-help-in-spawning-ellipses-at-a-set-interval/11691)

<div class="topic-metadata">

**Author:** [@imBrinCKER](https://discourse.processing.org/u/imBrinCKER)\
**Replies:** 17\
**Last updated:** [May 29, 2019, 11:12pm UTC](https://discourse.processing.org/t/hi-i-need-some-help-in-spawning-ellipses-at-a-set-interval/11691 "2019-05-29T23:12:08Z")

</div>

Hi, I was able to create the functionality of almost everything in the game I’m making, except the spawning of the orbs at a set interval. I looked up some forums and attempted multiple methods, but I’m stuck. Essentiall…

---

## [Pass the sketchname like a final](https://discourse.processing.org/t/pass-the-sketchname-like-a-final/11654)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 14\
**Last updated:** [May 29, 2019, 6:43pm UTC](https://discourse.processing.org/t/pass-the-sketchname-like-a-final/11654 "2019-05-29T18:43:57Z")

</div>

I try to pass my sketch name like a final but i don’t find a way to do that, is it possible ? sketch name in my case is call\_class\_itself.pdebut I try to find something more universel. void setup() { println(this.get…

---

## [Reading Arduino Pin](https://discourse.processing.org/t/reading-arduino-pin/11682)

<div class="topic-metadata">

**Author:** [@Aryn](https://discourse.processing.org/u/Aryn)\
**Replies:** 1\
**Last updated:** [May 29, 2019, 5:08pm UTC](https://discourse.processing.org/t/reading-arduino-pin/11682 "2019-05-29T17:08:26Z")

</div>

Hello, I’m working on a project but never used Processing before. I’m having some troubles in reading an Arduino pin state with Processing. I have a LED connected to my PIN13, I opened StandardFirmata in Arduino and set…

---

## [How to draw text that follows scale and translations? GUI?](https://discourse.processing.org/t/how-to-draw-text-that-follows-scale-and-translations-gui/11683)

<div class="topic-metadata">

**Author:** [@oOoOoO](https://discourse.processing.org/u/oOoOoO)\
**Replies:** 2\
**Last updated:** [May 29, 2019, 4:35pm UTC](https://discourse.processing.org/t/how-to-draw-text-that-follows-scale-and-translations-gui/11683 "2019-05-29T16:35:49Z")

</div>

I want to draw a highscore table over my game, but I am constantly scaling and translating the canvas, so it wont stay where I want it to. How do I create a GUI type thing that will stay in the top right corner of the sc…

---

## [ArrayList interaction only recognizing one instance](https://discourse.processing.org/t/arraylist-interaction-only-recognizing-one-instance/11678)

<div class="topic-metadata">

**Author:** [@Lachieblue](https://discourse.processing.org/u/Lachieblue)\
**Replies:** 3\
**Last updated:** [May 29, 2019, 4:12pm UTC](https://discourse.processing.org/t/arraylist-interaction-only-recognizing-one-instance/11678 "2019-05-29T16:12:22Z")

</div>

Hello, I am trying to create a code that will link circles to squares if they are within a specified distance, I obviously want to expand upon this later but for now this is my code. int numBalls = 15; int numSquares = …

---

## [Sketch set-up - time of actions](https://discourse.processing.org/t/sketch-set-up-time-of-actions/11651)

<div class="topic-metadata">

**Author:** [@aleandrosinatra](https://discourse.processing.org/u/aleandrosinatra)\
**Replies:** 8\
**Last updated:** [May 29, 2019, 10:29am UTC](https://discourse.processing.org/t/sketch-set-up-time-of-actions/11651 "2019-05-29T10:29:45Z")

</div>

Hello guys, i need to help to set a project. I’d like to know how can i write the code by Processing. I don’t understand to set a counter to make some operations. I explain my project; there is a beamer will project a b…

---

## [loadFont is not working](https://discourse.processing.org/t/loadfont-is-not-working/10146)

<div class="topic-metadata">

**Author:** [@baisampayans](https://discourse.processing.org/u/baisampayans)\
**Replies:** 9\
**Last updated:** [May 29, 2019, 10:17am UTC](https://discourse.processing.org/t/loadfont-is-not-working/10146 "2019-05-29T10:17:59Z")

</div>

Hi All, I am using react-p5-wrapper npm module to use p5 sketches inside my react based portfolio site. While it works pretty fine, I got stuck in loadFonts. As per the example and documentation, in preload function l…

---

## [Having a second window makes the first tiny](https://discourse.processing.org/t/having-a-second-window-makes-the-first-tiny/11667)

<div class="topic-metadata">

**Author:** [@DerekCresswell](https://discourse.processing.org/u/DerekCresswell)\
**Replies:** 0\
**Last updated:** [May 29, 2019, 5:07am UTC](https://discourse.processing.org/t/having-a-second-window-makes-the-first-tiny/11667 "2019-05-29T05:07:35Z")

</div>

Using a SecondApplet class extending PApplet to create a second window. Works great for the second window. But the first window gets really small when I have settings() and draw() in my second class. Why does this happen…

---

## [Drawing fire in processing](https://discourse.processing.org/t/drawing-fire-in-processing/11581)

<div class="topic-metadata">

**Author:** [@Lili1](https://discourse.processing.org/u/Lili1)\
**Replies:** 3\
**Last updated:** [May 29, 2019, 1:55am UTC](https://discourse.processing.org/t/drawing-fire-in-processing/11581 "2019-05-29T01:55:54Z")

</div>

Does anyone know how can I create a fire symbol in processing?

---

## [Steps to nodes again](https://discourse.processing.org/t/steps-to-nodes-again/11619)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 1\
**Last updated:** [May 28, 2019, 5:19pm UTC](https://discourse.processing.org/t/steps-to-nodes-again/11619 "2019-05-28T17:19:36Z")

</div>

https://editor.p5js.org/paulgoux/sketches/eiY8BkMUm So I’m trying to calculate the steps in between each node, and this is working seemingly ok, however some will be out by about 1-5 steps. I don’t understand whats caus…

---

## [After port to AS, adding a button](https://discourse.processing.org/t/after-port-to-as-adding-a-button/11634)

<div class="topic-metadata">

**Author:** [@lve0200](https://discourse.processing.org/u/lve0200)\
**Replies:** 6\
**Last updated:** [May 28, 2019, 7:02pm UTC](https://discourse.processing.org/t/after-port-to-as-adding-a-button/11634 "2019-05-28T19:02:53Z")

</div>

Hi, I have ported my Proc4A app to AS. The App works “full screen”, I guess what’s called “match parent”. The App only draws Graphics elements in there. The related XML file, which was created by AS during the importat…

---

## [Trying to recreate undertale in processing](https://discourse.processing.org/t/trying-to-recreate-undertale-in-processing/4809)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 10\
**Last updated:** [May 28, 2019, 5:29pm UTC](https://discourse.processing.org/t/trying-to-recreate-undertale-in-processing/4809 "2019-05-28T17:29:33Z")

</div>

Hi I haven’t used processing for so long and i am kinda new to programming. I decided to challenge myself by trying to recreate the videogame undertale because I thought it would be a fun thing to spend my time on. I hav…

---

## [Alternatives for 3D scanning after Kinect](https://discourse.processing.org/t/alternatives-for-3d-scanning-after-kinect/2132)

<div class="topic-metadata">

**Author:** [@gerome](https://discourse.processing.org/u/gerome)\
**Replies:** 1\
**Last updated:** [May 28, 2019, 4:46pm UTC](https://discourse.processing.org/t/alternatives-for-3d-scanning-after-kinect/2132 "2019-05-28T16:46:36Z")

</div>

Hi, is there any alternative for the kinect sensor which even have a Proc library? I based I a quite big application on it and after MS stopped Kinect I worry about further development of devices, support and availabilit…

---

## [Import and initialize libraries from REPL console in Processing Live Coding (Hot Swap)](https://discourse.processing.org/t/import-and-initialize-libraries-from-repl-console-in-processing-live-coding-hot-swap/6851)

<div class="topic-metadata">

**Author:** [@kesson](https://discourse.processing.org/u/kesson)\
**Replies:** 6\
**Last updated:** [May 28, 2019, 4:36pm UTC](https://discourse.processing.org/t/import-and-initialize-libraries-from-repl-console-in-processing-live-coding-hot-swap/6851 "2019-05-28T16:36:17Z")

</div>

Hello everyone, I am not sure if this question has been asked already, but is there any way to import and initialize libraries from REPL console to a sketch running into Live Coding / Hot Swap Mode? I mean, I am runnin…

---

## [How to filter triangles from Delaunay to match human shape](https://discourse.processing.org/t/how-to-filter-triangles-from-delaunay-to-match-human-shape/11658)

<div class="topic-metadata">

**Author:** [@Dazzid](https://discourse.processing.org/u/Dazzid)\
**Replies:** 1\
**Last updated:** [May 28, 2019, 2:22pm UTC](https://discourse.processing.org/t/how-to-filter-triangles-from-delaunay-to-match-human-shape/11658 "2019-05-28T14:22:40Z")

</div>

I am working in an Interactive project and I am trying to define the correct area inside the body silhouette. The sketch is using OpenCV, Delaunay triangulation and the goal is to add Box2D for the interaction. My ques…

---

## [Device events doesn't work anymore](https://discourse.processing.org/t/device-events-doesnt-work-anymore/11649)

<div class="topic-metadata">

**Author:** [@Ingo](https://discourse.processing.org/u/Ingo)\
**Replies:** 0\
**Last updated:** [May 28, 2019, 5:38am UTC](https://discourse.processing.org/t/device-events-doesnt-work-anymore/11649 "2019-05-28T05:38:37Z")

</div>

Hi there, I started yesterday to develop a game for iOS and had to realize that it isn’t possible anymore to use the mobile orientations like accelerationX, rotateX or deviceoriention: http://ingo-bartling.de/planks/ . …

---

## [Time of actions](https://discourse.processing.org/t/time-of-actions/11629)

<div class="topic-metadata">

**Author:** [@aleandrosinatra](https://discourse.processing.org/u/aleandrosinatra)\
**Replies:** 4\
**Last updated:** [May 28, 2019, 8:30am UTC](https://discourse.processing.org/t/time-of-actions/11629 "2019-05-28T08:30:33Z")

</div>

Hello guys, i need to help to set a project. I’d like to know how can i write the code by Processing. I don’t understand to set a counter to make some operations. I explain my project; there is a beamer will project a b…

---

## [GL Video library installing not working (Pi)](https://discourse.processing.org/t/gl-video-library-installing-not-working-pi/11646)

<div class="topic-metadata">

**Author:** [@justinlui](https://discourse.processing.org/u/justinlui)\
**Replies:** 3\
**Last updated:** [May 28, 2019, 8:06am UTC](https://discourse.processing.org/t/gl-video-library-installing-not-working-pi/11646 "2019-05-28T08:06:18Z")

</div>

A noob question: I’m trying to install @gohai 's GL Video library on a Raspberry Pi, using the Contribution Manager in Processing. The install process gets stuck at ‘Installing’ (see photo), and can’t get out of it. T…

---

## [\[CLOSED\] Images appearing while using rect()](https://discourse.processing.org/t/closed-images-appearing-while-using-rect/11517)

<div class="topic-metadata">

**Author:** [@YDGames](https://discourse.processing.org/u/YDGames)\
**Replies:** 19\
**Last updated:** [May 28, 2019, 6:00am UTC](https://discourse.processing.org/t/closed-images-appearing-while-using-rect/11517 "2019-05-28T06:00:54Z")

</div>

In my game there are enemies wandering around, their draw() method is simple: if(facingRight) { core.displayBuffer.image(image, x, y + offsetY, 80, 80); } else { …

---

## [How to draw a simple brain sketch in processing?](https://discourse.processing.org/t/how-to-draw-a-simple-brain-sketch-in-processing/11580)

<div class="topic-metadata">

**Author:** [@Lili1](https://discourse.processing.org/u/Lili1)\
**Replies:** 4\
**Last updated:** [May 28, 2019, 5:45am UTC](https://discourse.processing.org/t/how-to-draw-a-simple-brain-sketch-in-processing/11580 "2019-05-28T05:45:40Z")

</div>

Can someone help me in drawing a brain sketch in processing? If I want to put 7 brain sketches on the same page, how can I do that? Thanks

---

## [Voice recognition](https://discourse.processing.org/t/voice-recognition/11563)

<div class="topic-metadata">

**Author:** [@Margu](https://discourse.processing.org/u/Margu)\
**Replies:** 1\
**Last updated:** [May 28, 2019, 5:33am UTC](https://discourse.processing.org/t/voice-recognition/11563 "2019-05-28T05:33:54Z")

</div>

Hello everyone! I’m really new to processing, I’m trying to do a voice recognition patch in which if certain words are said the program display images or text and so on… The voice recognition work, but I think I’m miss…

---

## [Fade in and Fade out shader to video](https://discourse.processing.org/t/fade-in-and-fade-out-shader-to-video/11585)

<div class="topic-metadata">

**Author:** [@karinalopez87](https://discourse.processing.org/u/karinalopez87)\
**Replies:** 5\
**Last updated:** [May 28, 2019, 12:43am UTC](https://discourse.processing.org/t/fade-in-and-fade-out-shader-to-video/11585 "2019-05-28T00:43:28Z")

</div>

Hello, I’m trying to make my shader fade in every 8 - 10 seconds and then fade out and have my video playing in the back. However, I just seem to make it fade in and can’t figure out how to make it fade out. I think ther…

---

## [From Application to OpenProcessing](https://discourse.processing.org/t/from-application-to-openprocessing/11645)

<div class="topic-metadata">

**Author:** [@leejones15](https://discourse.processing.org/u/leejones15)\
**Replies:** 1\
**Last updated:** [May 28, 2019, 12:28am UTC](https://discourse.processing.org/t/from-application-to-openprocessing/11645 "2019-05-28T00:28:35Z")

</div>

Hello, all. I am a CS teacher and wrapped up the year (after using MIT App Inventor) teaching my students to use text-based coding through Processing. I am looking for a platform to share student work that doesn’t invo…

---

## [TCP mail client session in Processing not working](https://discourse.processing.org/t/tcp-mail-client-session-in-processing-not-working/11618)

<div class="topic-metadata">

**Author:** [@Birb](https://discourse.processing.org/u/Birb)\
**Replies:** 7\
**Last updated:** [May 27, 2019, 11:13pm UTC](https://discourse.processing.org/t/tcp-mail-client-session-in-processing-not-working/11618 "2019-05-27T23:13:48Z")

</div>

I’m trying to open a TCP socket with a mail server and then send/read commands, but it isn’t working. After running for several minutes with no response I get the IOException catch error “Couldn’t get I/O for the connect…

---

## [Display and scale text size from .csv file](https://discourse.processing.org/t/display-and-scale-text-size-from-csv-file/11633)

<div class="topic-metadata">

**Author:** [@Darius](https://discourse.processing.org/u/Darius)\
**Replies:** 16\
**Last updated:** [May 27, 2019, 9:27pm UTC](https://discourse.processing.org/t/display-and-scale-text-size-from-csv-file/11633 "2019-05-27T21:27:42Z")

</div>

Hi there, I am stuck again… I am building a small program using a .csv file to display the text information of each row. The program display one row/line of text for each mouse click…so far so good. I then tried to adap…

---

## [Detect if over object when object is zoomed/scaled](https://discourse.processing.org/t/detect-if-over-object-when-object-is-zoomed-scaled/11557)

<div class="topic-metadata">

**Author:** [@mala](https://discourse.processing.org/u/mala)\
**Replies:** 5\
**Last updated:** [May 27, 2019, 5:06pm UTC](https://discourse.processing.org/t/detect-if-over-object-when-object-is-zoomed-scaled/11557 "2019-05-27T17:06:43Z")

</div>

This bascially comes from an attempt at zoom and pan (not using peasyCam ) it’s part of a much bigger project. I have a load of ‘cells’ that are clickable and I want to be able to scale them to ‘simulate’ a zoom in 2D, …

---

## [My camera is not working](https://discourse.processing.org/t/my-camera-is-not-working/9783)

<div class="topic-metadata">

**Author:** [@kripit](https://discourse.processing.org/u/kripit)\
**Replies:** 6\
**Last updated:** [May 27, 2019, 2:48pm UTC](https://discourse.processing.org/t/my-camera-is-not-working/9783 "2019-05-27T14:48:47Z")

</div>

I use processing 3.5.3 on windows7. I launched capture sketch. My camera is recognized in console but no image appeared… Where is the problem?

---

## [How to process the sound of a video?](https://discourse.processing.org/t/how-to-process-the-sound-of-a-video/11487)

<div class="topic-metadata">

**Author:** [@kaotiklabs](https://discourse.processing.org/u/kaotiklabs)\
**Replies:** 3\
**Last updated:** [May 27, 2019, 12:55pm UTC](https://discourse.processing.org/t/how-to-process-the-sound-of-a-video/11487 "2019-05-27T12:55:22Z")

</div>

Hi, I would like to access the movie sound data in order to detect high volume peaks to mark them as highlights. Any way to do it? Preferebly without having to play the whole movie. Thanks

---

## [Two mouse inputs](https://discourse.processing.org/t/two-mouse-inputs/11594)

<div class="topic-metadata">

**Author:** [@Abi](https://discourse.processing.org/u/Abi)\
**Replies:** 8\
**Last updated:** [May 27, 2019, 10:11am UTC](https://discourse.processing.org/t/two-mouse-inputs/11594 "2019-05-27T10:11:23Z")

</div>

I am making a game where I need two different mouse inputs. How can I do that with Processing?

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

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