# Latest

**URL:** https://discourse.processing.org/latest.md?page=238

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

**Page:** 239

---

## [Processing in Kotlin with static main function error](https://discourse.processing.org/t/processing-in-kotlin-with-static-main-function-error/29039)

<div class="topic-metadata">

**Author:** [@sharpeye](https://discourse.processing.org/u/sharpeye)\
**Replies:** 1\
**Last updated:** [April 1, 2021, 7:21am UTC](https://discourse.processing.org/t/processing-in-kotlin-with-static-main-function-error/29039 "2021-04-01T07:21:20Z")

</div>

Hi ,I’m a Processing learners from China，and I am experimenting with writing prcoessing cod in Kotlin environment。But some problems that are pressing on me，like this one :crazy\_face: I want to code the pde Imitate the s…

---

## [3 sketch in one](https://discourse.processing.org/t/3-sketch-in-one/29036)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 4\
**Last updated:** [April 1, 2021, 2:31am UTC](https://discourse.processing.org/t/3-sketch-in-one/29036 "2021-04-01T02:31:13Z")

</div>

I have collected 3 sketch in one 1 \* 6.2: Two Loops / Grid Exercise - Processing Tutorial - YouTube Grid | Learning Processing 2nd Edition type or paste code here 2 How to "project" or "map" 2D shapes or images on…

---

## [Using Processing via remote desktop for touring music act](https://discourse.processing.org/t/using-processing-via-remote-desktop-for-touring-music-act/10962)

<div class="topic-metadata">

**Author:** [@zumdar](https://discourse.processing.org/u/zumdar)\
**Replies:** 7\
**Last updated:** [April 1, 2021, 2:16am UTC](https://discourse.processing.org/t/using-processing-via-remote-desktop-for-touring-music-act/10962 "2021-04-01T02:16:03Z")

</div>

hiya! I am currently using processing to run a lighting design for a touring band. the computer onstage using an audio interface to take in audio signals from the band. processing analyze that audio and we create visuali…

---

## [Smart-ish bouncing ball](https://discourse.processing.org/t/smart-ish-bouncing-ball/28927)

<div class="topic-metadata">

**Author:** [@scolty2021](https://discourse.processing.org/u/scolty2021)\
**Replies:** 6\
**Last updated:** [March 31, 2021, 9:13pm UTC](https://discourse.processing.org/t/smart-ish-bouncing-ball/28927 "2021-03-31T21:13:36Z")

</div>

Hello, Thanks for taking the time to click on this query. I’m currently learning how to bounce balls around the window, and wondered whether it is possible to make the ball see the trail it leaves behind it and interac…

---

## [Convert P5js shader to Java Processing shader](https://discourse.processing.org/t/convert-p5js-shader-to-java-processing-shader/29017)

<div class="topic-metadata">

**Author:** [@Flolo](https://discourse.processing.org/u/Flolo)\
**Replies:** 1\
**Last updated:** [March 31, 2021, 8:01pm UTC](https://discourse.processing.org/t/convert-p5js-shader-to-java-processing-shader/29017 "2021-03-31T20:01:53Z")

</div>

Hey, I saw this program the other day: The Programm Stupidly it is programmed in P5js but I would like to program the same in Processing Java… Could someone translate this for me? Thank you

---

## [Trouble Implementing AdMob](https://discourse.processing.org/t/trouble-implementing-admob/4474)

<div class="topic-metadata">

**Author:** [@MatterLinx](https://discourse.processing.org/u/MatterLinx)\
**Replies:** 8\
**Last updated:** [March 31, 2021, 5:55pm UTC](https://discourse.processing.org/t/trouble-implementing-admob/4474 "2021-03-31T17:55:32Z")

</div>

Hello! I’m having trouble implementing AdMobs in processing. I have looked at these posts regarding the issue: https://forum.processing.org/two/discussion/16686/how-to-add-admob/p2 https://forum.processing.org/two/di…

---

## [Need Help Implementing a Billboard Effect for a Circle](https://discourse.processing.org/t/need-help-implementing-a-billboard-effect-for-a-circle/28989)

<div class="topic-metadata">

**Author:** [@topologen](https://discourse.processing.org/u/topologen)\
**Replies:** 7\
**Last updated:** [March 31, 2021, 2:28pm UTC](https://discourse.processing.org/t/need-help-implementing-a-billboard-effect-for-a-circle/28989 "2021-03-31T14:28:00Z")

</div>

Hey guys! This is my first post here so let me know if I need to change anything. I’ve almost finished a project and I’ve hit a pretty big hurdle (for me anyway haha). I wanted to write some code that will outline a sph…

---

## [Speed in which Brightness changes defined by mouseX](https://discourse.processing.org/t/speed-in-which-brightness-changes-defined-by-mousex/29007)

<div class="topic-metadata">

**Author:** [@p\_a](https://discourse.processing.org/u/p_a)\
**Replies:** 2\
**Last updated:** [March 31, 2021, 10:59am UTC](https://discourse.processing.org/t/speed-in-which-brightness-changes-defined-by-mousex/29007 "2021-03-31T10:59:34Z")

</div>

Hi, I made the brightness (HSB Mode) of an ellipse change up and down between 0 and 100 BUT I want to change the speed in which the brightness changes defined by mouseX. Here is my code so far, I just don’t know how t…

---

## [NullPointerException when work with Leap Motion and Arduino](https://discourse.processing.org/t/nullpointerexception-when-work-with-leap-motion-and-arduino/28984)

<div class="topic-metadata">

**Author:** [@Negos](https://discourse.processing.org/u/Negos)\
**Replies:** 3\
**Last updated:** [March 31, 2021, 7:18am UTC](https://discourse.processing.org/t/nullpointerexception-when-work-with-leap-motion-and-arduino/28984 "2021-03-31T07:18:11Z")

</div>

I write the code to collect the data of Leap Motion, but show me a NullPointerException (at line 27). I’m just a beginner in Processing, What can I do to solve this problem? Please help me. This is coding: import proc…

---

## [Could this made with processing](https://discourse.processing.org/t/could-this-made-with-processing/29001)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 2\
**Last updated:** [March 31, 2021, 5:02am UTC](https://discourse.processing.org/t/could-this-made-with-processing/29001 "2021-03-31T05:02:36Z")

</div>

hi i wonder if this could achieve with processing Bx\[x\_, z\_, R\_\] = If\[Abs\[x/R\] \< 10^-5, 0, z/(2 Pi x) (\\\[Beta\] = (x + R)^2 + z^2; m = 4 x\*R/\\\[Beta\]; 1/Sqrt\[\\\[Beta\]\] ((R^2 + x^2 + z^2)/((R - x)^2 + z^2) El…

---

## [Function to extract colors from coolors.co](https://discourse.processing.org/t/function-to-extract-colors-from-coolors-co/28986)

<div class="topic-metadata">

**Author:** [@thesandrobrito](https://discourse.processing.org/u/thesandrobrito)\
**Replies:** 3\
**Last updated:** [March 31, 2021, 1:41am UTC](https://discourse.processing.org/t/function-to-extract-colors-from-coolors-co/28986 "2021-03-31T01:41:18Z")

</div>

Hi everyone. I was trying to come up with a function to extract colours from the URL from coolors.com to easily change colour pallets. This is an idea I’ve seen done for P5 projects, but I’d like it for Processing. For…

---

## [P5.js Canvas using Bootstrap](https://discourse.processing.org/t/p5-js-canvas-using-bootstrap/28994)

<div class="topic-metadata">

**Author:** [@karenmsn](https://discourse.processing.org/u/karenmsn)\
**Replies:** 0\
**Last updated:** [March 30, 2021, 8:11pm UTC](https://discourse.processing.org/t/p5-js-canvas-using-bootstrap/28994 "2021-03-30T20:11:08Z")

</div>

I’m trying to use Bootstrap to make my website with my p5.js code and I’m having a hard time with figuring out aligning my elements so the video canvas on top of the button on the left hand side. Any ideas why it’s not p…

---

## [Terrain Generation](https://discourse.processing.org/t/terrain-generation/28740)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 14\
**Last updated:** [March 30, 2021, 8:03pm UTC](https://discourse.processing.org/t/terrain-generation/28740 "2021-03-30T20:03:02Z")

</div>

hi all how to make this shape if any one can help i found this equation : centerpoint (x1, y1) and a radius r, the height of the hill at the point (x2, y2) is equivalent to: how to use it to form this terrain ca…

---

## [Set the robot to follow the mouse cursor](https://discourse.processing.org/t/set-the-robot-to-follow-the-mouse-cursor/28979)

<div class="topic-metadata">

**Author:** [@sasa](https://discourse.processing.org/u/sasa)\
**Replies:** 1\
**Last updated:** [March 30, 2021, 6:18pm UTC](https://discourse.processing.org/t/set-the-robot-to-follow-the-mouse-cursor/28979 "2021-03-30T18:18:22Z")

</div>

I’m coding the robot to follow the cursor. But there was a problem with the robot’s limbs, head, and torso being separated. Like the picture I posted, the robot should follow the cursor. Code int x = 0; int y = 0; …

---

## [Regarding p5.js-web-editor participation](https://discourse.processing.org/t/regarding-p5-js-web-editor-participation/28973)

<div class="topic-metadata">

**Author:** [@bhushan](https://discourse.processing.org/u/bhushan)\
**Replies:** 1\
**Last updated:** [March 30, 2021, 2:47pm UTC](https://discourse.processing.org/t/regarding-p5-js-web-editor-participation/28973 "2021-03-30T14:47:24Z")

</div>

Hey, @lmccart I just realised that all the projects of p5.js-web-editor were edited out 12 hrs ago. Could you please give me clarification if web-editor projects are included in this year’s Gsoc or not. I even tried ma…

---

## [Is noTint() not compatible with WEBGL?](https://discourse.processing.org/t/is-notint-not-compatible-with-webgl/28985)

<div class="topic-metadata">

**Author:** [@marcela](https://discourse.processing.org/u/marcela)\
**Replies:** 0\
**Last updated:** [March 30, 2021, 2:28pm UTC](https://discourse.processing.org/t/is-notint-not-compatible-with-webgl/28985 "2021-03-30T14:28:27Z")

</div>

Hi everyone, I just can’t use noTint() in WEBGL, but I wasn’t able to find any info about that. Is that really the case, or am I doing something wrong? I reproduced the issue that I am having in this sketch here: http…

---

## [Can't print IntList outside setup function](https://discourse.processing.org/t/cant-print-intlist-outside-setup-function/28965)

<div class="topic-metadata">

**Author:** [@potter3366](https://discourse.processing.org/u/potter3366)\
**Replies:** 4\
**Last updated:** [March 30, 2021, 11:03am UTC](https://discourse.processing.org/t/cant-print-intlist-outside-setup-function/28965 "2021-03-30T11:03:56Z")

</div>

I can print listaA within setup function but not when I press a “w” key. Why? IntList Ptop; final int ROWS = 8; final IntList\[\] listaA = new IntList\[ROWS\]; int value; int index; void setup() { size(520, 220); Ptop…

---

## [PLEASE HELP: creating a generator (astro signs)](https://discourse.processing.org/t/please-help-creating-a-generator-astro-signs/28933)

<div class="topic-metadata">

**Author:** [@anon](https://discourse.processing.org/u/anon)\
**Replies:** 20\
**Last updated:** [March 30, 2021, 10:36am UTC](https://discourse.processing.org/t/please-help-creating-a-generator-astro-signs/28933 "2021-03-30T10:36:35Z")

</div>

hello! so im new to processing and i have no clue what im doing and im supposed to be creating a generator of some sort. ive used else, if statements and i think that works. so when i put in my values i get the answer p…

---

## [8x8 tech arts community](https://discourse.processing.org/t/8x8-tech-arts-community/28192)

<div class="topic-metadata">

**Author:** [@tomchambers](https://discourse.processing.org/u/tomchambers)\
**Replies:** 1\
**Last updated:** [March 30, 2021, 10:10am UTC](https://discourse.processing.org/t/8x8-tech-arts-community/28192 "2021-03-30T10:10:47Z")

</div>

8x8 I’m Tom Chambers (creative technologist, artist and co-director of random quark). I’m starting a project showoff group/crit session for people making arts with technology. It’s a monthly meetup to share projects tha…

---

## [How to receive tab control event in Python mode](https://discourse.processing.org/t/how-to-receive-tab-control-event-in-python-mode/28944)

<div class="topic-metadata">

**Author:** [@uraich](https://discourse.processing.org/u/uraich)\
**Replies:** 3\
**Last updated:** [March 30, 2021, 7:58am UTC](https://discourse.processing.org/t/how-to-receive-tab-control-event-in-python-mode/28944 "2021-03-30T07:58:23Z")

</div>

I have some controlP5 code in Java that I want to port to Python. It uses tabs and captures the control event when the tab is changed. However, in Python I don’t see these events. What do I have to do to capture these c…

---

## [How to create a buttons](https://discourse.processing.org/t/how-to-create-a-buttons/28952)

<div class="topic-metadata">

**Author:** [@Pokeyace](https://discourse.processing.org/u/Pokeyace)\
**Replies:** 10\
**Last updated:** [March 30, 2021, 5:55am UTC](https://discourse.processing.org/t/how-to-create-a-buttons/28952 "2021-03-30T05:55:29Z")

</div>

— create a program that will display four radio buttons, each represented by a circle and accompanying text. — when the user clicks on a circle, it is shown as being filled in. If another circle was previously filled in…

---

## [Rotate all Ipoints (iGeo library)](https://discourse.processing.org/t/rotate-all-ipoints-igeo-library/28950)

<div class="topic-metadata">

**Author:** [@AmbervanDinther](https://discourse.processing.org/u/AmbervanDinther)\
**Replies:** 2\
**Last updated:** [March 29, 2021, 10:50pm UTC](https://discourse.processing.org/t/rotate-all-ipoints-igeo-library/28950 "2021-03-29T22:50:55Z")

</div>

Hi everyone! I can’t seem to figure out how I can rotate my cube made out of iPoints. I guess I have to rotate each point around a pivitpoint which i place in the middle of all the iPoints. Can anyone give me a tip or h…

---

## [Problem with faces obj](https://discourse.processing.org/t/problem-with-faces-obj/28961)

<div class="topic-metadata">

**Author:** [@pedrojateruel](https://discourse.processing.org/u/pedrojateruel)\
**Replies:** 5\
**Last updated:** [March 29, 2021, 9:42pm UTC](https://discourse.processing.org/t/problem-with-faces-obj/28961 "2021-03-29T21:42:38Z")

</div>

Good night . I have a problem when I export figures from blender in .obj. I can create the model in the canvas and it works, but vertex of the figure are not together. There is a gap between faces. I have the same pr…

---

## [Help on running "P3D"](https://discourse.processing.org/t/help-on-running-p3d/28874)

<div class="topic-metadata">

**Author:** [@Freddy](https://discourse.processing.org/u/Freddy)\
**Replies:** 11\
**Last updated:** [March 29, 2021, 9:13pm UTC](https://discourse.processing.org/t/help-on-running-p3d/28874 "2021-03-29T21:13:46Z")

</div>

Hello, i’m in a school in France like teacher of “Stem”. \< I can’t run every “exemple” use P3D.\> In 2D all is gone. I’don’t understand why it doesn’t work. I work with “windows 7” on pedagogic reseau, I’am not adminis…

---

## [Cannot read property 'split' of undefined](https://discourse.processing.org/t/cannot-read-property-split-of-undefined/28877)

<div class="topic-metadata">

**Author:** [@quargsgreene](https://discourse.processing.org/u/quargsgreene)\
**Replies:** 9\
**Last updated:** [March 29, 2021, 8:29pm UTC](https://discourse.processing.org/t/cannot-read-property-split-of-undefined/28877 "2021-03-29T20:29:44Z")

</div>

I am trying to create something which generates some gibberish from a box which the user inputs text and I keep getting the ‘cannot read property ‘split’ of undefined’ error when the mousePressed event fires. This error …

---

## [Animation Made in Processing to Demonstrate Arduino Color Project](https://discourse.processing.org/t/animation-made-in-processing-to-demonstrate-arduino-color-project/28955)

<div class="topic-metadata">

**Author:** [@Craig](https://discourse.processing.org/u/Craig)\
**Replies:** 0\
**Last updated:** [March 29, 2021, 5:19pm UTC](https://discourse.processing.org/t/animation-made-in-processing-to-demonstrate-arduino-color-project/28955 "2021-03-29T17:19:19Z")

</div>

Here’s a link to a frame by frame video I made in Processing to demonstrate the functioning of an Arduino device. It’s in about 20 seconds. https://youtu.be/6whGCNFYJm4

---

## [Processing on Multiple Sound Files](https://discourse.processing.org/t/processing-on-multiple-sound-files/28805)

<div class="topic-metadata">

**Author:** [@karenmsn](https://discourse.processing.org/u/karenmsn)\
**Replies:** 2\
**Last updated:** [March 29, 2021, 1:32pm UTC](https://discourse.processing.org/t/processing-on-multiple-sound-files/28805 "2021-03-29T13:32:00Z")

</div>

Is there a way to apply multiple processes from the p5 sound library onto multiple sound files without calling to connect each sound file to the specific function? i.e. any way to combine all outputs of sound files so I …

---

## [Simple question](https://discourse.processing.org/t/simple-question/28937)

<div class="topic-metadata">

**Author:** [@Rodrigo](https://discourse.processing.org/u/Rodrigo)\
**Replies:** 2\
**Last updated:** [March 29, 2021, 12:10pm UTC](https://discourse.processing.org/t/simple-question/28937 "2021-03-29T12:10:02Z")

</div>

Hello, I’m a beginner in P5 library, is it possible drawing an interactive diagram similar to the image (below). ? each square represents walkways. each yellow (x) represent pieces that can be repaired depending if t…

---

## [Data Visualizations in p5.js](https://discourse.processing.org/t/data-visualizations-in-p5-js/28946)

<div class="topic-metadata">

**Author:** [@Quorum](https://discourse.processing.org/u/Quorum)\
**Replies:** 1\
**Last updated:** [March 29, 2021, 11:47am UTC](https://discourse.processing.org/t/data-visualizations-in-p5-js/28946 "2021-03-29T11:47:42Z")

</div>

Good morning everyone, I am studying p5.js, but my skills are basic. I would like to learn how to approach it creatively and so I would like to see some data visualizations for inspiration and to learn new ways of usin…

---

## [Achieving a noodle shape](https://discourse.processing.org/t/achieving-a-noodle-shape/28922)

<div class="topic-metadata">

**Author:** [@thesandrobrito](https://discourse.processing.org/u/thesandrobrito)\
**Replies:** 6\
**Last updated:** [March 29, 2021, 10:23am UTC](https://discourse.processing.org/t/achieving-a-noodle-shape/28922 "2021-03-29T10:23:13Z")

</div>

I’d like to achieve shapes like this, to simulate flowing “noodles” and I’d like to be able to control fill and stroke, so I’d assume it needs to be a shape, but I have no idea how to do it. My initial thinking was to j…

[Previous page](https://discourse.processing.org/latest.md?page=237)

[Next page](https://discourse.processing.org/latest.md?page=239)
