# Latest

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

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

**Page:** 491

---

## [Processing.py: Numpy import error](https://discourse.processing.org/t/processing-py-numpy-import-error/10935)

<div class="topic-metadata">

**Author:** [@LoliProcessor](https://discourse.processing.org/u/LoliProcessor)\
**Replies:** 5\
**Last updated:** [May 7, 2019, 8:09pm UTC](https://discourse.processing.org/t/processing-py-numpy-import-error/10935 "2019-05-07T20:09:48Z")

</div>

ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. Here is how to p…

---

## [Advice on optimal way to redraw datapoints](https://discourse.processing.org/t/advice-on-optimal-way-to-redraw-datapoints/10954)

<div class="topic-metadata">

**Author:** [@kikisarp](https://discourse.processing.org/u/kikisarp)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 8:07pm UTC](https://discourse.processing.org/t/advice-on-optimal-way-to-redraw-datapoints/10954 "2019-05-07T20:07:22Z")

</div>

Hi, I am working on a 3D scan and mapping project and I’m able to scan a specific environment and redraw it in a virtual map but my map is lacking a bit because I cant get nearly as many datapoints as I want to and this …

---

## [How to generate report?](https://discourse.processing.org/t/how-to-generate-report/10938)

<div class="topic-metadata">

**Author:** [@68jai90](https://discourse.processing.org/u/68jai90)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 5:04pm UTC](https://discourse.processing.org/t/how-to-generate-report/10938 "2019-05-07T17:04:41Z")

</div>

Hi everyone, I would like to know how to generate report using processing software based on values read from arduino. The requirement for the report is to log every 5 minutes for 8 hours. and create new report file aft…

---

## [Generating terrain with hydraulic erosion](https://discourse.processing.org/t/generating-terrain-with-hydraulic-erosion/10948)

<div class="topic-metadata">

**Author:** [@jb4x](https://discourse.processing.org/u/jb4x)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 4:57pm UTC](https://discourse.processing.org/t/generating-terrain-with-hydraulic-erosion/10948 "2019-05-07T16:57:04Z")

</div>

Hi, After watching that video: https://www.youtube.com/watch?v=eaXk97ujbPQ And reading that paper: https://www.firespark.de/resources/downloads/implementation%20of%20a%20methode%20for%20hydraulic%20erosion.pdf I decid…

---

## [Not run for openjdk 12 .. export application 64bit](https://discourse.processing.org/t/not-run-for-openjdk-12-export-application-64bit/10974)

<div class="topic-metadata">

**Author:** [@lemon](https://discourse.processing.org/u/lemon)\
**Replies:** 3\
**Last updated:** [May 7, 2019, 4:03pm UTC](https://discourse.processing.org/t/not-run-for-openjdk-12-export-application-64bit/10974 "2019-05-07T16:03:58Z")

</div>

My export app windows 64 bit my message. Java 1.8.x obsolete … for windows 10 64 home. and oracle ideas ? no my include java on application . How to upgrade processing for openjdk Thanks

---

## [CC Fest NYC - June 8, Saturday - MS and HS students and teachers](https://discourse.processing.org/t/cc-fest-nyc-june-8-saturday-ms-and-hs-students-and-teachers/11000)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 0\
**Last updated:** [May 7, 2019, 1:38pm UTC](https://discourse.processing.org/t/cc-fest-nyc-june-8-saturday-ms-and-hs-students-and-teachers/11000 "2019-05-07T13:38:13Z")

</div>

Hi everyone, If you are in the NYC area take a look at coming to CC Fest NYC at NYU MAGNET in Brooklyn on June 8, Saturday. It is a free and inclusive coding event for students and teachers. The event is free and inclus…

---

## [3D Bezier angle at point](https://discourse.processing.org/t/3d-bezier-angle-at-point/10941)

<div class="topic-metadata">

**Author:** [@Sudev](https://discourse.processing.org/u/Sudev)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 1:10pm UTC](https://discourse.processing.org/t/3d-bezier-angle-at-point/10941 "2019-05-07T13:10:53Z")

</div>

Does anyone knows how to calculate angle at a particular point in 3D bezier curve ? For example, consider there’s a ring to be inserted in BezierCurve. So can I get angles that ring makes in order for it to be parallel …

---

## [Need help with arrays](https://discourse.processing.org/t/need-help-with-arrays/10749)

<div class="topic-metadata">

**Author:** [@abigail](https://discourse.processing.org/u/abigail)\
**Replies:** 5\
**Last updated:** [May 7, 2019, 10:53am UTC](https://discourse.processing.org/t/need-help-with-arrays/10749 "2019-05-07T10:53:41Z")

</div>

Hi :slight\_smile: Sun sun1; Hill hill1; Hill hill2; Star\[\] stars = new Star\[2\]; float r = 0; float g = 0; float b = 200; void setup() { size(600, 400); sun1 = new Sun(); hill1 = new Hill(0); hill2 = new Hi…

---

## [Object Methods not looping](https://discourse.processing.org/t/object-methods-not-looping/10995)

<div class="topic-metadata">

**Author:** [@Timo1](https://discourse.processing.org/u/Timo1)\
**Replies:** 1\
**Last updated:** [May 7, 2019, 10:35am UTC](https://discourse.processing.org/t/object-methods-not-looping/10995 "2019-05-07T10:35:54Z")

</div>

Hi there, Not sure if this a bug or if I have done something silly, but I have a very simple sketch using a class which for some reason is not updating/looping… Circle ball; void setup() { size (100,100); backgr…

---

## [NPE on a synchronized(this) statement?](https://discourse.processing.org/t/npe-on-a-synchronized-this-statement/10904)

<div class="topic-metadata">

**Author:** [@LoliProcessor](https://discourse.processing.org/u/LoliProcessor)\
**Replies:** 6\
**Last updated:** [May 7, 2019, 8:33am UTC](https://discourse.processing.org/t/npe-on-a-synchronized-this-statement/10904 "2019-05-07T08:33:16Z")

</div>

Tanctikon is an enclosing instance of the class this synchronized statement is called from. Hmmm…

---

## [Use of volume keys](https://discourse.processing.org/t/use-of-volume-keys/10973)

<div class="topic-metadata">

**Author:** [@MichaelHecht](https://discourse.processing.org/u/MichaelHecht)\
**Replies:** 2\
**Last updated:** [May 7, 2019, 8:21am UTC](https://discourse.processing.org/t/use-of-volume-keys/10973 "2019-05-07T08:21:58Z")

</div>

Hi, under windows I used the mouse wheel for changing the Z-Position in a P3D-Environment. Now I want to do the same with the volume keys in android. Is this possible? Thanks in andvance Michael

---

## [Background() causing weirdness with get()](https://discourse.processing.org/t/background-causing-weirdness-with-get/4959)

<div class="topic-metadata">

**Author:** [@P-Joe-S](https://discourse.processing.org/u/P-Joe-S)\
**Replies:** 10\
**Last updated:** [November 3, 2018, 9:53pm UTC](https://discourse.processing.org/t/background-causing-weirdness-with-get/4959 "2018-11-03T21:53:22Z")

</div>

I’m trying to use get() to make patterns using the previous frame, so I’m calling get() at the start of draw(). If I use background() after that to clear the frame, I find that what get() has given me is not the previou…

---

## [Mutual attraction of objects](https://discourse.processing.org/t/mutual-attraction-of-objects/10985)

<div class="topic-metadata">

**Author:** [@Capt.Sloth](https://discourse.processing.org/u/Capt.Sloth)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 5:13am UTC](https://discourse.processing.org/t/mutual-attraction-of-objects/10985 "2019-05-07T05:13:04Z")

</div>

Hello, I am trying to take a different approach and use functions instead of classes to recreate the mutual attraction sketch from Nature of code (ch2.08 to be specific).I have taken a different approach,I am confident …

---

## [Android Notifications](https://discourse.processing.org/t/android-notifications/1914)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 9\
**Last updated:** [May 7, 2019, 3:50am UTC](https://discourse.processing.org/t/android-notifications/1914 "2019-05-07T03:50:32Z")

</div>

EXAM LINK : https://www.androidauthority.com/how-to-create-android-notifications-707254/ I want to display a notification as shown in the figure. Is it possible to processing at android mode? If possible, please…

---

## [\[KetaiList\] API 7.0 error?](https://discourse.processing.org/t/ketailist-api-7-0-error/10623)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 9\
**Last updated:** [May 7, 2019, 3:48am UTC](https://discourse.processing.org/t/ketailist-api-7-0-error/10623 "2019-05-07T03:48:59Z")

</div>

Library used: Ketai UI\> KetaiList Is there a way to work with API 7.0? Fonts are not visible in 7.0 environment. I click on it but I can not see it. Please help me. I need your help.

---

## [Separating Midi Keyboard into Octaves/Sections](https://discourse.processing.org/t/separating-midi-keyboard-into-octaves-sections/10944)

<div class="topic-metadata">

**Author:** [@KIE13579](https://discourse.processing.org/u/KIE13579)\
**Replies:** 3\
**Last updated:** [May 6, 2019, 10:26pm UTC](https://discourse.processing.org/t/separating-midi-keyboard-into-octaves-sections/10944 "2019-05-06T22:26:33Z")

</div>

Hey Guys, Fairly new to coding so apologies if this is an easy fix, I’ve been stumbling my way through this code up until this point. Essentially, the code produces a circle - with size depending on what note it presse…

---

## [Different filters to one image](https://discourse.processing.org/t/different-filters-to-one-image/10981)

<div class="topic-metadata">

**Author:** [@arixha](https://discourse.processing.org/u/arixha)\
**Replies:** 1\
**Last updated:** [May 6, 2019, 9:40pm UTC](https://discourse.processing.org/t/different-filters-to-one-image/10981 "2019-05-06T21:40:32Z")

</div>

Hi, I’m preloading an image and I’m loading it every 10 seconds in a different position of the canvas. I want to apply to my image a new different filter every time I load it (to the image only, not to all the canvas). …

---

## [Can't construct inside of a class](https://discourse.processing.org/t/cant-construct-inside-of-a-class/10978)

<div class="topic-metadata">

**Author:** [@drezzydrez](https://discourse.processing.org/u/drezzydrez)\
**Replies:** 1\
**Last updated:** [May 6, 2019, 7:14pm UTC](https://discourse.processing.org/t/cant-construct-inside-of-a-class/10978 "2019-05-06T19:14:22Z")

</div>

I have a class that I would like to have an envelop class created with it and only for it. I keep trying to construct an envelop inside it but can’t because new Env(this); won’t work and gives a Constructor doesn’t exist…

---

## [2d raycast porting issue (P5\>P3)](https://discourse.processing.org/t/2d-raycast-porting-issue-p5-p3/10940)

<div class="topic-metadata">

**Author:** [@TTG](https://discourse.processing.org/u/TTG)\
**Replies:** 4\
**Last updated:** [May 6, 2019, 2:15pm UTC](https://discourse.processing.org/t/2d-raycast-porting-issue-p5-p3/10940 "2019-05-06T14:15:02Z")

</div>

Hi team. I could use some help regarding an issue I experience. Daniel S. did a raycast tutorial in P5 ( https://www.youtube.com/watch?v=-6iIc6-Y-kk ) I am doing the same though in P3. it goes correct until at in P…

---

## [Change rectangles seperately in for loop](https://discourse.processing.org/t/change-rectangles-seperately-in-for-loop/10908)

<div class="topic-metadata">

**Author:** [@M19](https://discourse.processing.org/u/M19)\
**Replies:** 12\
**Last updated:** [May 6, 2019, 1:01pm UTC](https://discourse.processing.org/t/change-rectangles-seperately-in-for-loop/10908 "2019-05-06T13:01:13Z")

</div>

Hi, I wanted to make a screen full of rectangles which if you hover over them with your mouse, start to rotate (I’m not done with the rotating part yet). Right now I have the rectangles but if you hover over them with y…

---

## [How to make sketch size like the gray darker area?](https://discourse.processing.org/t/how-to-make-sketch-size-like-the-gray-darker-area/10964)

<div class="topic-metadata">

**Author:** [@stan\_11](https://discourse.processing.org/u/stan_11)\
**Replies:** 3\
**Last updated:** [May 6, 2019, 12:27pm UTC](https://discourse.processing.org/t/how-to-make-sketch-size-like-the-gray-darker-area/10964 "2019-05-06T12:27:42Z")

</div>

This is my code, But I only want the darker gray area in the picture, however, it seems that the default height of the processing window is 100. so that I can not shrink it anymore, is there anyone knows how to solve it…

---

## [PVector rotate use for 3D](https://discourse.processing.org/t/pvector-rotate-use-for-3d/10958)

<div class="topic-metadata">

**Author:** [@kll](https://discourse.processing.org/u/kll)\
**Replies:** 2\
**Last updated:** [May 6, 2019, 11:00am UTC](https://discourse.processing.org/t/pvector-rotate-use-for-3d/10958 "2019-05-06T11:00:44Z")

</div>

in the ref find: https://processing.org/reference/PVector\_rotate\_.html only work 2D, now to rotate a PVector in 3D it still can be used / hacked try: // file: sketch\_3D\_PVector\_rotate // using mouseWheel Plus PLus f…

---

## [I Need Help! (Exam)](https://discourse.processing.org/t/i-need-help-exam/10841)

<div class="topic-metadata">

**Author:** [@Oiwaz](https://discourse.processing.org/u/Oiwaz)\
**Replies:** 6\
**Last updated:** [May 6, 2019, 8:31am UTC](https://discourse.processing.org/t/i-need-help-exam/10841 "2019-05-06T08:31:22Z")

</div>

I’m making a simplified game, were the cirkel has to collect trash. (It’s simplified a lot) But there is a challenge and that is that the cirkel cannot be hit by the cars. BUT here’s my problem. I can’t spawn infinite…

---

## [Select Folder in the Second Sketch？？](https://discourse.processing.org/t/select-folder-in-the-second-sketch/10911)

<div class="topic-metadata">

**Author:** [@stan\_11](https://discourse.processing.org/u/stan_11)\
**Replies:** 1\
**Last updated:** [May 6, 2019, 8:34am UTC](https://discourse.processing.org/t/select-folder-in-the-second-sketch/10911 "2019-05-06T08:34:41Z")

</div>

I am looking for pop up a window from my sketch like this, So when people click the select , the window to choose folder will pop up. So usually we call the selectFolder() to pop up this window. However, the SelectFol…

---

## [How to Remove the Close Button with G4P](https://discourse.processing.org/t/how-to-remove-the-close-button-with-g4p/10358)

<div class="topic-metadata">

**Author:** [@graysonh](https://discourse.processing.org/u/graysonh)\
**Replies:** 13\
**Last updated:** [May 6, 2019, 3:19am UTC](https://discourse.processing.org/t/how-to-remove-the-close-button-with-g4p/10358 "2019-05-06T03:19:22Z")

</div>

Hello all, I am using G4P to create an application and I would like to either remove completely or simply grey out the gui close button. I know how to stop the window from closing when the close button is pressed, but I…

---

## [Another Space Fighter](https://discourse.processing.org/t/another-space-fighter/10955)

<div class="topic-metadata">

**Author:** [@Skys](https://discourse.processing.org/u/Skys)\
**Replies:** 0\
**Last updated:** [May 5, 2019, 11:48pm UTC](https://discourse.processing.org/t/another-space-fighter/10955 "2019-05-05T23:48:51Z")

</div>

my first animate game, with qubes squares, ,skills, explosions, level. now the enemy have Hitpoints. i start Bosses, shiphitpoints, tuning values for better gameplay tomorow. now i name it “Xenotaum” its GNUGPL V…

---

## [How do I implement push() and pop() to multiple objects of a class?](https://discourse.processing.org/t/how-do-i-implement-push-and-pop-to-multiple-objects-of-a-class/10896)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 15\
**Last updated:** [May 5, 2019, 10:14pm UTC](https://discourse.processing.org/t/how-do-i-implement-push-and-pop-to-multiple-objects-of-a-class/10896 "2019-05-05T22:14:20Z")

</div>

There are 2 jellybean objects. I want each to: 1. appear in a different location. 2. spin at a different rate (I know how to do this via non-OOP coding. But once I reformat as OOP I can’t figure out how to implement …

---

## [SpaceShooter game](https://discourse.processing.org/t/spaceshooter-game/10756)

<div class="topic-metadata">

**Author:** [@LittleBoxes](https://discourse.processing.org/u/LittleBoxes)\
**Replies:** 9\
**Last updated:** [May 5, 2019, 9:01pm UTC](https://discourse.processing.org/t/spaceshooter-game/10756 "2019-05-05T21:01:36Z")

</div>

Hello, Here is my second attempt to make a game with P5js (my first was a classic Pong game) This is an another old style game. Work in progress… Many ideas waiting for code My repo, Github, for those who want to…

---

## [Boolean and making titles](https://discourse.processing.org/t/boolean-and-making-titles/10920)

<div class="topic-metadata">

**Author:** [@elangit](https://discourse.processing.org/u/elangit)\
**Replies:** 1\
**Last updated:** [May 4, 2019, 9:11pm UTC](https://discourse.processing.org/t/boolean-and-making-titles/10920 "2019-05-04T21:11:23Z")

</div>

So I need help for my homework, but for these steps I don’t understand what I am doing wrong and how to fix it. These functions are meant to get the information of the earthquakes and draw a popup with the indicated info…

---

## [How to Drop Popups with given info](https://discourse.processing.org/t/how-to-drop-popups-with-given-info/10922)

<div class="topic-metadata">

**Author:** [@elangit](https://discourse.processing.org/u/elangit)\
**Replies:** 3\
**Last updated:** [May 5, 2019, 6:46pm UTC](https://discourse.processing.org/t/how-to-drop-popups-with-given-info/10922 "2019-05-05T18:46:24Z")

</div>

I get confused on this step of the homework and the function is supposed to: “The behavior of this method should be as follows: Given data on one earthquake, and the x, y coordinates of the center of its corresponding …

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

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