# Latest

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

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

**Page:** 381

---

## [blendMode() behaves differently in Chrome vs Firefox](https://discourse.processing.org/t/blendmode-behaves-differently-in-chrome-vs-firefox/18590)

<div class="topic-metadata">

**Author:** [@hellonearthis](https://discourse.processing.org/u/hellonearthis)\
**Replies:** 1\
**Last updated:** [March 17, 2020, 6:16pm UTC](https://discourse.processing.org/t/blendmode-behaves-differently-in-chrome-vs-firefox/18590 "2020-03-17T18:16:45Z")

</div>

I’ve been playing around with blendmode() and found it seems to behave different in chrome vs firefox. Is this a browser thing or a p5 bug? I’m using latest versions of the browser and win 10 pro. Tried it on my deskt…

---

## [Spawn a shape or object whenever the initial object reaches a specific locaton](https://discourse.processing.org/t/spawn-a-shape-or-object-whenever-the-initial-object-reaches-a-specific-locaton/18737)

<div class="topic-metadata">

**Author:** [@NotConsumable](https://discourse.processing.org/u/NotConsumable)\
**Replies:** 2\
**Last updated:** [March 17, 2020, 3:45pm UTC](https://discourse.processing.org/t/spawn-a-shape-or-object-whenever-the-initial-object-reaches-a-specific-locaton/18737 "2020-03-17T15:45:20Z")

</div>

I have an ellipse moving across the screen with ellipse(redBallX,redBallY,40,40); redBallX = redBallX +1; I was wondering how I would make it so that when the X value of the ball hits 50 pixels across the screen as the…

---

## [Trouble using mouse events to control movement of an object](https://discourse.processing.org/t/trouble-using-mouse-events-to-control-movement-of-an-object/18553)

<div class="topic-metadata">

**Author:** [@Irhutchi](https://discourse.processing.org/u/Irhutchi)\
**Replies:** 10\
**Last updated:** [March 17, 2020, 3:33pm UTC](https://discourse.processing.org/t/trouble-using-mouse-events-to-control-movement-of-an-object/18553 "2020-03-17T15:33:30Z")

</div>

Hi, I am working on a project and am relatively new to programming. I am have setup a ball class outside of main tab and am having trouble with using mouse events inside the ball class which are then called in the draw()…

---

## [Display text on image](https://discourse.processing.org/t/display-text-on-image/18731)

<div class="topic-metadata">

**Author:** [@ej8000](https://discourse.processing.org/u/ej8000)\
**Replies:** 3\
**Last updated:** [March 17, 2020, 1:50pm UTC](https://discourse.processing.org/t/display-text-on-image/18731 "2020-03-17T13:50:32Z")

</div>

how can I write text on Image or shape ,and become(the image and the text) one unit,so when i drag the image,also the text within it is dragged.

---

## [Review of Proposal for GSoC 2020](https://discourse.processing.org/t/review-of-proposal-for-gsoc-2020/18728)

<div class="topic-metadata">

**Author:** [@alarcocs](https://discourse.processing.org/u/alarcocs)\
**Replies:** 0\
**Last updated:** [March 17, 2020, 10:06am UTC](https://discourse.processing.org/t/review-of-proposal-for-gsoc-2020/18728 "2020-03-17T10:06:25Z")

</div>

Hello all, this is my first draft proposal for GSoC 2020. I would really appreciate any comments and improvements that any of you may have. I am really excited at the possibility to contribute to this project. link: ht…

---

## [ArrayIndexOutOfBoundsException: 0](https://discourse.processing.org/t/arrayindexoutofboundsexception-0/18709)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 3\
**Last updated:** [March 17, 2020, 9:55am UTC](https://discourse.processing.org/t/arrayindexoutofboundsexception-0/18709 "2020-03-17T09:55:17Z")

</div>

Hello everyone, I have this error when I just want to rename a table like this in void draw: phazi \[i\] = net.phase \[i\]; I’m just posting a “light” program below if you see something badly written. net.phase\[i\] com fr…

---

## [Closing only PApplet with exit() code](https://discourse.processing.org/t/closing-only-papplet-with-exit-code/18591)

<div class="topic-metadata">

**Author:** [@GeorgeJava](https://discourse.processing.org/u/GeorgeJava)\
**Replies:** 5\
**Last updated:** [March 17, 2020, 9:33am UTC](https://discourse.processing.org/t/closing-only-papplet-with-exit-code/18591 "2020-03-17T09:33:11Z")

</div>

Hello, i want to close only PApplet, with close button and with self exit() event when i do somethink, for exemple in this, i just click, and want to end only “AnotherWindow” applet, how to do it ? PApplet cf; void set…

---

## [Array true o false cambio colore](https://discourse.processing.org/t/array-true-o-false-cambio-colore/18700)

<div class="topic-metadata">

**Author:** [@marika20](https://discourse.processing.org/u/marika20)\
**Replies:** 4\
**Last updated:** [March 17, 2020, 9:03am UTC](https://discourse.processing.org/t/array-true-o-false-cambio-colore/18700 "2020-03-17T09:03:10Z")

</div>

Ciao a tutti! Ho un blocco per quanto riguarda un codice che sto scrivendo, il mio obbiettivo è quello di far in modo che nel momento in cui ho un valore true i rettangoli assumano un determinato colore e nel caso fosse…

---

## [Move an ellipse](https://discourse.processing.org/t/move-an-ellipse/18717)

<div class="topic-metadata">

**Author:** [@NotConsumable](https://discourse.processing.org/u/NotConsumable)\
**Replies:** 2\
**Last updated:** [March 17, 2020, 6:54am UTC](https://discourse.processing.org/t/move-an-ellipse/18717 "2020-03-17T06:54:31Z")

</div>

I was wondering how I would make an ellipse continuously move down a x axis while maintaining it’s Y position, in better terms I am trying to make an ellipse start at one end of the canvas and continue down to the other …

---

## [GUI Buttons - Need help](https://discourse.processing.org/t/gui-buttons-need-help/18705)

<div class="topic-metadata">

**Author:** [@The-Coder](https://discourse.processing.org/u/The-Coder)\
**Replies:** 3\
**Last updated:** [March 17, 2020, 5:51am UTC](https://discourse.processing.org/t/gui-buttons-need-help/18705 "2020-03-17T05:51:01Z")

</div>

I have been making a small video game that has buttons on the start screen to show the credits and start the game. The buttons don’t work and the credits screen displays without the credits button being pressed. I would …

---

## [Introduction to Programming during School Closures](https://discourse.processing.org/t/introduction-to-programming-during-school-closures/18653)

<div class="topic-metadata">

**Author:** [@jclem](https://discourse.processing.org/u/jclem)\
**Replies:** 12\
**Last updated:** [March 17, 2020, 5:33am UTC](https://discourse.processing.org/t/introduction-to-programming-during-school-closures/18653 "2020-03-17T05:33:33Z")

</div>

I would like to use Processing to introduce my three teenagers to programming as they go through a prolonged period of on-line school due to COVID-19. My children are relatively lucky because they will continue on-lin…

---

## [GSOC 2020 : Introduction and the Slang p5.js project](https://discourse.processing.org/t/gsoc-2020-introduction-and-the-slang-p5-js-project/18308)

<div class="topic-metadata">

**Author:** [@tusharpandey13](https://discourse.processing.org/u/tusharpandey13)\
**Replies:** 8\
**Last updated:** [March 17, 2020, 4:30am UTC](https://discourse.processing.org/t/gsoc-2020-introduction-and-the-slang-p5-js-project/18308 "2020-03-17T04:30:46Z")

</div>

Hi! I’m Tushar, a computer science graduate at BMSIT&M, Bengaluru, India currently in my 2nd year. I have worked on multiple projects involving the use of python, JavaScript, Node.js and p5.js has been a recurring consta…

---

## [How can i use raw signal data for p5.fft?](https://discourse.processing.org/t/how-can-i-use-raw-signal-data-for-p5-fft/18724)

<div class="topic-metadata">

**Author:** [@PoltHoliC](https://discourse.processing.org/u/PoltHoliC)\
**Replies:** 0\
**Last updated:** [March 17, 2020, 2:54am UTC](https://discourse.processing.org/t/how-can-i-use-raw-signal-data-for-p5-fft/18724 "2020-03-17T02:54:33Z")

</div>

Recently i used p5 for signal processing on web. what I am doing now is get data from my Data Acquisition Embedded Device and send the raw data(actually python list) to web. and i want to process fft on web. but most…

---

## [If equality not workin properly](https://discourse.processing.org/t/if-equality-not-workin-properly/18627)

<div class="topic-metadata">

**Author:** [@LixoEletronico](https://discourse.processing.org/u/LixoEletronico)\
**Replies:** 3\
**Last updated:** [March 17, 2020, 12:41am UTC](https://discourse.processing.org/t/if-equality-not-workin-properly/18627 "2020-03-17T00:41:39Z")

</div>

i can’t find anything wrong here

---

## [Review of draft proposal](https://discourse.processing.org/t/review-of-draft-proposal/18537)

<div class="topic-metadata">

**Author:** [@pallav12](https://discourse.processing.org/u/pallav12)\
**Replies:** 5\
**Last updated:** [March 16, 2020, 7:17pm UTC](https://discourse.processing.org/t/review-of-draft-proposal/18537 "2020-03-16T19:17:32Z")

</div>

Hello everyone, I completed my first draft proposal, I tried my best in making it. Please help me to improve it. Feel free to comment on the document itself. Neural network library for processing

---

## [Help creating pronunciation program](https://discourse.processing.org/t/help-creating-pronunciation-program/18453)

<div class="topic-metadata">

**Author:** [@Burgs](https://discourse.processing.org/u/Burgs)\
**Replies:** 11\
**Last updated:** [March 16, 2020, 4:38pm UTC](https://discourse.processing.org/t/help-creating-pronunciation-program/18453 "2020-03-16T16:38:42Z")

</div>

i need help finishing an assignment, it includes getting input from the user and scanning each letter/character to see where it corresponds to with my if statements and printing out the pronunciation of the word in the c…

---

## [Data Structures for non developers, GSOC 2020](https://discourse.processing.org/t/data-structures-for-non-developers-gsoc-2020/18161)

<div class="topic-metadata">

**Author:** [@phe0](https://discourse.processing.org/u/phe0)\
**Replies:** 6\
**Last updated:** [March 16, 2020, 4:27pm UTC](https://discourse.processing.org/t/data-structures-for-non-developers-gsoc-2020/18161 "2020-03-16T16:27:38Z")

</div>

Hello, I’m Pedro, an software engineer student from Brazil, I’m also really in art. I’ve been thinking of of developing an interactive guide to Data Structures using p5.js. The objective is to teach data structures in t…

---

## [GSOC 2020 Spanish Internationalization Contribution](https://discourse.processing.org/t/gsoc-2020-spanish-internationalization-contribution/18536)

<div class="topic-metadata">

**Author:** [@alarcocs](https://discourse.processing.org/u/alarcocs)\
**Replies:** 6\
**Last updated:** [March 16, 2020, 4:23pm UTC](https://discourse.processing.org/t/gsoc-2020-spanish-internationalization-contribution/18536 "2020-03-16T16:23:30Z")

</div>

Hello, I have seen that there is a project to work further in the already existing translations for p5.js in the internationalization process for GSoC 2020. I would be very interested in this. I speak native English and…

---

## [Making game less laggy](https://discourse.processing.org/t/making-game-less-laggy/18685)

<div class="topic-metadata">

**Author:** [@Salttt](https://discourse.processing.org/u/Salttt)\
**Replies:** 14\
**Last updated:** [March 16, 2020, 2:41pm UTC](https://discourse.processing.org/t/making-game-less-laggy/18685 "2020-03-16T14:41:04Z")

</div>

I am working on a simple game (I’m a beginner) in which the player jumps up platforms. Currently, there is only one screen and a level creator. The way it works right now, I mean only the basics of creating levels, is in…

---

## [Application monetization and advertising](https://discourse.processing.org/t/application-monetization-and-advertising/18703)

<div class="topic-metadata">

**Author:** [@kobz](https://discourse.processing.org/u/kobz)\
**Replies:** 1\
**Last updated:** [March 16, 2020, 2:18pm UTC](https://discourse.processing.org/t/application-monetization-and-advertising/18703 "2020-03-16T14:18:08Z")

</div>

hi every one; I wish to know how to add moneitization and advertising to android application like banner an interstitiel using andorid processing on computer and also in case of APDE App which is installed in my android…

---

## [Add a counter to know the number of revolution](https://discourse.processing.org/t/add-a-counter-to-know-the-number-of-revolution/18655)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 4\
**Last updated:** [March 16, 2020, 1:45pm UTC](https://discourse.processing.org/t/add-a-counter-to-know-the-number-of-revolution/18655 "2020-03-16T13:45:31Z")

</div>

Hello gentlemen! I would like to have a fonction telling me the number the revolution when I control the rotation of the axis with the keypads 0 and P. (the program is below) At the beginning, I should have 0, and at t…

---

## [Monitor live stream and log changes](https://discourse.processing.org/t/monitor-live-stream-and-log-changes/18680)

<div class="topic-metadata">

**Author:** [@henri](https://discourse.processing.org/u/henri)\
**Replies:** 4\
**Last updated:** [March 16, 2020, 1:37pm UTC](https://discourse.processing.org/t/monitor-live-stream-and-log-changes/18680 "2020-03-16T13:37:32Z")

</div>

Hello, Hope this post finds everybody safe and well at such a strange and worrying time globally. I am currently trying to setup a camera trap at my bird feeder, and have so far setup an ESP32 WiFi camera module with a…

---

## [Rotating rectangles to face mouseX, mouseY](https://discourse.processing.org/t/rotating-rectangles-to-face-mousex-mousey/18690)

<div class="topic-metadata">

**Author:** [@spoke123](https://discourse.processing.org/u/spoke123)\
**Replies:** 3\
**Last updated:** [March 16, 2020, 1:34pm UTC](https://discourse.processing.org/t/rotating-rectangles-to-face-mousex-mousey/18690 "2020-03-16T13:34:07Z")

</div>

Hi everyone! I’ve taken a few years out from using processing so I’m sorry if I’m missing something pretty basic! I’m trying to individually rotate each rectangle generated from a nested for loop to face the mouse coord…

---

## [Trouble detecting the right position of the mouse for list of buttons](https://discourse.processing.org/t/trouble-detecting-the-right-position-of-the-mouse-for-list-of-buttons/18612)

<div class="topic-metadata">

**Author:** [@Rrwwvds](https://discourse.processing.org/u/Rrwwvds)\
**Replies:** 7\
**Last updated:** [March 16, 2020, 12:45pm UTC](https://discourse.processing.org/t/trouble-detecting-the-right-position-of-the-mouse-for-list-of-buttons/18612 "2020-03-16T12:45:33Z")

</div>

Hey guys, I’m fairly new to processing but i’m just starting to get the hang of it. I’ve been working on a program in which I can click checkboxes which results in a building up score. when trying to make the checkboxe…

---

## [How to add methods to imported library or class](https://discourse.processing.org/t/how-to-add-methods-to-imported-library-or-class/18527)

<div class="topic-metadata">

**Author:** [@ffd8](https://discourse.processing.org/u/ffd8)\
**Replies:** 6\
**Last updated:** [March 16, 2020, 11:54am UTC](https://discourse.processing.org/t/how-to-add-methods-to-imported-library-or-class/18527 "2020-03-16T11:54:40Z")

</div>

Wondering if there’s a basic technique to add/overwrite methods to an imported library and class instance? Maybe this is possible with extends/implements, which I don’t totally understand… I’m messing with the Hershey f…

---

## [Create image from interaction with website](https://discourse.processing.org/t/create-image-from-interaction-with-website/18315)

<div class="topic-metadata">

**Author:** [@Fabiana](https://discourse.processing.org/u/Fabiana)\
**Replies:** 6\
**Last updated:** [March 16, 2020, 10:32am UTC](https://discourse.processing.org/t/create-image-from-interaction-with-website/18315 "2020-03-16T10:32:56Z")

</div>

Hello, is it possible through processing, I connect to a website for example: google, and through my interaction on the google page, for example clicks and scroll, generate a graphic, abstract image in processing? Than…

---

## [Random probability (Customizing random function)](https://discourse.processing.org/t/random-probability-customizing-random-function/18571)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 7\
**Last updated:** [March 16, 2020, 10:44am UTC](https://discourse.processing.org/t/random-probability-customizing-random-function/18571 "2020-03-16T10:44:21Z")

</div>

My goal is to give a linear probability to the random function. That is, to give a higher probabiliy as lower the number\`in a linear way. However the code below gives a parabola like outcome… Where am I wrong in my lo…

---

## [Check if a field is true or false with reflections](https://discourse.processing.org/t/check-if-a-field-is-true-or-false-with-reflections/18692)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 1\
**Last updated:** [March 16, 2020, 7:43am UTC](https://discourse.processing.org/t/check-if-a-field-is-true-or-false-with-reflections/18692 "2020-03-16T07:43:32Z")

</div>

Currently trying to code some menu functionality and wondered if there’s a way to find out if a boolean field is true or false. This is the code I’m currently trying but I get an error try{ field = a.get…

---

## [WEBGL cylinder between two points](https://discourse.processing.org/t/webgl-cylinder-between-two-points/13806)

<div class="topic-metadata">

**Author:** [@AshaSato](https://discourse.processing.org/u/AshaSato)\
**Replies:** 9\
**Last updated:** [March 15, 2020, 10:23pm UTC](https://discourse.processing.org/t/webgl-cylinder-between-two-points/13806 "2020-03-15T22:23:07Z")

</div>

Hi there! The 3D primitive cylinder function draws a cylinder from its midpoint. I am trying to write a function that will enable me to draw a cylinder between two specified points. My approach so far has been to find …

---

## [Code-slang , gsoc'20](https://discourse.processing.org/t/code-slang-gsoc20/18015)

<div class="topic-metadata">

**Author:** [@devashish](https://discourse.processing.org/u/devashish)\
**Replies:** 8\
**Last updated:** [March 16, 2020, 4:19am UTC](https://discourse.processing.org/t/code-slang-gsoc20/18015 "2020-03-16T04:19:23Z")

</div>

hi , everyone i am Devashish yadav , a undergrad all the way from india . i am pursuing ug from IIT-ROORKEE. i have been involved in web-development from my high school, i am fluent with 1.HTML/CSS javascript and PHP …

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

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