# Latest

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

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

**Page:** 555

---

## [Processing to draw NACA 4 digit airfoils](https://discourse.processing.org/t/processing-to-draw-naca-4-digit-airfoils/5739)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 5\
**Last updated:** [November 21, 2018, 5:32am UTC](https://discourse.processing.org/t/processing-to-draw-naca-4-digit-airfoils/5739 "2018-11-21T05:32:32Z")

</div>

I want to use processing to draw NACA 4 digit airfoils. Ive been to lots of NASA websites, read a few papers, found some python code, messed with a java applet and still got NADA. I understand basically how they are ge…

---

## [The Rainy Battle: New game made with Processing for Android published on Google Play](https://discourse.processing.org/t/the-rainy-battle-new-game-made-with-processing-for-android-published-on-google-play/5877)

<div class="topic-metadata">

**Author:** [@brunoruchiga](https://discourse.processing.org/u/brunoruchiga)\
**Replies:** 3\
**Last updated:** [November 26, 2018, 2:20am UTC](https://discourse.processing.org/t/the-rainy-battle-new-game-made-with-processing-for-android-published-on-google-play/5877 "2018-11-26T02:20:27Z")

</div>

Hello, everyone! I’d like to share a new game I made with Processing and Processing for Android, and it’s now published on Google Play. It was created for a Game Jam, based on the theme “rain”. I’ve been working on it f…

---

## [Physically based Sound](https://discourse.processing.org/t/physically-based-sound/5937)

<div class="topic-metadata">

**Author:** [@mmncit](https://discourse.processing.org/u/mmncit)\
**Replies:** 2\
**Last updated:** [November 26, 2018, 2:00am UTC](https://discourse.processing.org/t/physically-based-sound/5937 "2018-11-26T02:00:28Z")

</div>

Is there any way to produce sound in Processing without incorporating sound file? What I mean is generating physically based sound based on interactive simulation and animation. Please check the video FoleyAutomatic

---

## [Background of Triangular objects](https://discourse.processing.org/t/background-of-triangular-objects/5857)

<div class="topic-metadata">

**Author:** [@jbott](https://discourse.processing.org/u/jbott)\
**Replies:** 5\
**Last updated:** [November 26, 2018, 1:25am UTC](https://discourse.processing.org/t/background-of-triangular-objects/5857 "2018-11-26T01:25:58Z")

</div>

Hey guys! I’ve been playing around with processing as of yesterday and am stuck on creating a background of triangular objects for my project. The idea of the project is to have triangles in the background so that I can…

---

## [Notification for Edits. Maybe Optional](https://discourse.processing.org/t/notification-for-edits-maybe-optional/5825)

<div class="topic-metadata">

**Author:** [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Replies:** 5\
**Last updated:** [November 26, 2018, 1:23am UTC](https://discourse.processing.org/t/notification-for-edits-maybe-optional/5825 "2018-11-26T01:23:46Z")

</div>

It would be nice if people (that would be notified of a new post in a thread) would be notified if changes to replies were made. And maybe to avoid notifications for minimal changes like spelling or so, if there was an o…

---

## ["water powered TV" - worked with Mac but not with Windows 10](https://discourse.processing.org/t/water-powered-tv-worked-with-mac-but-not-with-windows-10/5919)

<div class="topic-metadata">

**Author:** [@Nancy](https://discourse.processing.org/u/Nancy)\
**Replies:** 0\
**Last updated:** [November 25, 2018, 3:29pm UTC](https://discourse.processing.org/t/water-powered-tv-worked-with-mac-but-not-with-windows-10/5919 "2018-11-25T15:29:51Z")

</div>

Hi, I am a novice of Processing and coding in general. I had a lot of help creating a “water powered” TV with the use of a Mac Mini, Makeymakey and Processing. Through a lot of trial and error we got it to work with the…

---

## [PVector.rotate() rounding bug?](https://discourse.processing.org/t/pvector-rotate-rounding-bug/5929)

<div class="topic-metadata">

**Author:** [@JOW](https://discourse.processing.org/u/JOW)\
**Replies:** 7\
**Last updated:** [November 25, 2018, 6:22pm UTC](https://discourse.processing.org/t/pvector-rotate-rounding-bug/5929 "2018-11-25T18:22:34Z")

</div>

I was rotating some vectors and got some strange behaviour.It seems like the PVector.rotate() implementation has some rounding error bug in it, as it scales the vector as it rotates it. I wrote a simple program/snippet …

---

## [I need help is to make an easy game but i have some problem now](https://discourse.processing.org/t/i-need-help-is-to-make-an-easy-game-but-i-have-some-problem-now/5803)

<div class="topic-metadata">

**Author:** [@nhghi](https://discourse.processing.org/u/nhghi)\
**Replies:** 2\
**Last updated:** [November 25, 2018, 5:23pm UTC](https://discourse.processing.org/t/i-need-help-is-to-make-an-easy-game-but-i-have-some-problem-now/5803 "2018-11-25T17:23:00Z")

</div>

my basic idea is to draw a small planet (ellipse code) and then make it move. But I want to minimize where it can go. like I will make a boolean ( kinda hitbox) wich smaller than my planet, if the hitbox touches the rea…

---

## [A simplified version of a Yahtzee game](https://discourse.processing.org/t/a-simplified-version-of-a-yahtzee-game/5922)

<div class="topic-metadata">

**Author:** [@James](https://discourse.processing.org/u/James)\
**Replies:** 2\
**Last updated:** [November 25, 2018, 5:20pm UTC](https://discourse.processing.org/t/a-simplified-version-of-a-yahtzee-game/5922 "2018-11-25T17:20:13Z")

</div>

Hello y’all I’m trying to make a simplified version of a Yahtzee game I am stuck trying to display the frequencies of each number(1 to 6) and returning the result as an array of the Sides on the Dice in integers. It i…

---

## [Splitting up a webcam video into 3 parts and rearranging them](https://discourse.processing.org/t/splitting-up-a-webcam-video-into-3-parts-and-rearranging-them/5856)

<div class="topic-metadata">

**Author:** [@kratskcinnay](https://discourse.processing.org/u/kratskcinnay)\
**Replies:** 4\
**Last updated:** [November 25, 2018, 3:40pm UTC](https://discourse.processing.org/t/splitting-up-a-webcam-video-into-3-parts-and-rearranging-them/5856 "2018-11-25T15:40:47Z")

</div>

Hello everyone, I am fairly new to processing and to coding in general so I’m having a hard time, figuring this out. I am currently working on a video installation that is supposed to film someone standing on a marked …

---

## [\[SOLVED\] P3D ellipse rotation problem](https://discourse.processing.org/t/solved-p3d-ellipse-rotation-problem/5908)

<div class="topic-metadata">

**Author:** [@megagoose](https://discourse.processing.org/u/megagoose)\
**Replies:** 4\
**Last updated:** [November 25, 2018, 3:09pm UTC](https://discourse.processing.org/t/solved-p3d-ellipse-rotation-problem/5908 "2018-11-25T15:09:25Z")

</div>

Hello there fellow coders! Let’s say I want to rotate an ellipse around it’s axis. I came up with the following code, but it is not doing what I want. float alpha = 0; int r = 200; void setup() { size(500, 500, P3D)…

---

## [Generative and Interactive Art proposal on Stack Exchange](https://discourse.processing.org/t/generative-and-interactive-art-proposal-on-stack-exchange/4356)

<div class="topic-metadata">

**Author:** [@davidj](https://discourse.processing.org/u/davidj)\
**Replies:** 9\
**Last updated:** [November 25, 2018, 2:27pm UTC](https://discourse.processing.org/t/generative-and-interactive-art-proposal-on-stack-exchange/4356 "2018-11-25T14:27:12Z")

</div>

Hi everyone. There is a generative and interactive art proposal for stack exchange here: https://area51.stackexchange.com/proposals/120111/generative-and-interactive-art I imagine many people here are using Stack Overf…

---

## [Questions about BouncyBubbles example](https://discourse.processing.org/t/questions-about-bouncybubbles-example/5883)

<div class="topic-metadata">

**Author:** [@amundsen](https://discourse.processing.org/u/amundsen)\
**Replies:** 26\
**Last updated:** [November 25, 2018, 12:02pm UTC](https://discourse.processing.org/t/questions-about-bouncybubbles-example/5883 "2018-11-25T12:02:07Z")

</div>

Hello, I am trying to fully understand the Java BouncyBubbles example. Here’s the code: int numBalls = 12; float spring = 0.05; float gravity = 0.03; float friction = -0.9; Ball\[\] balls = new Ball\[numBalls\]; void set…

---

## [Detecting when the mouse enters / exits sketch window](https://discourse.processing.org/t/detecting-when-the-mouse-enters-exits-sketch-window/5798)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 7\
**Last updated:** [November 25, 2018, 9:34am UTC](https://discourse.processing.org/t/detecting-when-the-mouse-enters-exits-sketch-window/5798 "2018-11-25T09:34:40Z")

</div>

I am interested in creating a new feature for G4P but I need to detect when the mouse enters and exits the client area (drawing area) of the sketch. Since Processing does not generate these events I am trying to do this…

---

## [Calculation chart](https://discourse.processing.org/t/calculation-chart/5848)

<div class="topic-metadata">

**Author:** [@Dirk](https://discourse.processing.org/u/Dirk)\
**Replies:** 3\
**Last updated:** [November 25, 2018, 8:30am UTC](https://discourse.processing.org/t/calculation-chart/5848 "2018-11-25T08:30:17Z")

</div>

Hello experts, I am reading out a sencor for light. The value of this I want to use in a chart. The chart width and height is 700 x 1200. The value of the Y-axis is from 0 to 1400 The value of the X-axis is from 0 to…

---

## [Exe Patching Problem](https://discourse.processing.org/t/exe-patching-problem/5909)

<div class="topic-metadata">

**Author:** [@Odermonicon](https://discourse.processing.org/u/Odermonicon)\
**Replies:** 0\
**Last updated:** [November 25, 2018, 5:55am UTC](https://discourse.processing.org/t/exe-patching-problem/5909 "2018-11-25T05:55:17Z")

</div>

I get so many errors for no reason… (Reason: i did not initilaze a custom class :man\_facepalming:) CodeMain: byte\[\] bExe; String\[\] midpatch; Patch finpatch; void setup() { selectOutput("Save the output file:&q…

---

## [Array question in JS](https://discourse.processing.org/t/array-question-in-js/5875)

<div class="topic-metadata">

**Author:** [@flamo](https://discourse.processing.org/u/flamo)\
**Replies:** 8\
**Last updated:** [November 25, 2018, 5:54am UTC](https://discourse.processing.org/t/array-question-in-js/5875 "2018-11-25T05:54:20Z")

</div>

I’m building a p5 library and I’m new to JavaScript. I’m confused by the JavaScript closure and array system. I don’t understand why I get undefined object “field” in for loops. Ps: I’m using the math.js eval to transla…

---

## [Ketai camera problem (Sequal to "Merging two pictures")](https://discourse.processing.org/t/ketai-camera-problem-sequal-to-merging-two-pictures/4906)

<div class="topic-metadata">

**Author:** [@Odermonicon](https://discourse.processing.org/u/Odermonicon)\
**Replies:** 6\
**Last updated:** [November 25, 2018, 5:51am UTC](https://discourse.processing.org/t/ketai-camera-problem-sequal-to-merging-two-pictures/4906 "2018-11-25T05:51:44Z")

</div>

I’m displaying the camera on the screen but the screen appears white. CodeCode: import ketai.camera.\*; import ketai.cv.facedetector.\*; import ketai.data.\*; import ketai.net.\*; import ketai.net.bluetooth.\*; import ketai…

---

## [Full opacity of pixel alpha on image border](https://discourse.processing.org/t/full-opacity-of-pixel-alpha-on-image-border/5858)

<div class="topic-metadata">

**Author:** [@slow\_izzm](https://discourse.processing.org/u/slow_izzm)\
**Replies:** 6\
**Last updated:** [November 25, 2018, 2:48am UTC](https://discourse.processing.org/t/full-opacity-of-pixel-alpha-on-image-border/5858 "2018-11-25T02:48:21Z")

</div>

I am seeing full opacity on the border of my image when painting pixels … why is this? My source image has 0 opacity around the edges. If you uncomment lines 21 and 27, and comment out line 52 you will see. In the prov…

---

## [Game Optimization](https://discourse.processing.org/t/game-optimization/5874)

<div class="topic-metadata">

**Author:** [@Angle](https://discourse.processing.org/u/Angle)\
**Replies:** 9\
**Last updated:** [November 25, 2018, 12:59am UTC](https://discourse.processing.org/t/game-optimization/5874 "2018-11-25T00:59:03Z")

</div>

Hello. My game is running fairly slowly. I checked it over with VisualVM and it looks like that’s mostly due to the fact that I’m redrawing all the SVG shapes every frame with the CPU. You can see my source code here: ht…

---

## [Digital dashboard](https://discourse.processing.org/t/digital-dashboard/5861)

<div class="topic-metadata">

**Author:** [@processing1234](https://discourse.processing.org/u/processing1234)\
**Replies:** 7\
**Last updated:** [November 25, 2018, 12:37am UTC](https://discourse.processing.org/t/digital-dashboard/5861 "2018-11-25T00:37:36Z")

</div>

hey, for an assignment we have to create a digital dashboard which shows speed in Km/hr, fuel level in liters, RPM. This is the code I’ve done so far. I’d really appreciate any help. Thanks in advance. I’m really new to …

---

## [User Input from KeyBoard](https://discourse.processing.org/t/user-input-from-keyboard/5904)

<div class="topic-metadata">

**Author:** [@alexac692](https://discourse.processing.org/u/alexac692)\
**Replies:** 1\
**Last updated:** [November 24, 2018, 11:51pm UTC](https://discourse.processing.org/t/user-input-from-keyboard/5904 "2018-11-24T23:51:03Z")

</div>

I am trying to write a code that will return a string as a result of the user pressing 1, 2, or 3 on their keyboard. This is what I have so far but when i press keys nothing happens. What is wrong with my code? String c…

---

## [Looping different class instances](https://discourse.processing.org/t/looping-different-class-instances/5843)

<div class="topic-metadata">

**Author:** [@Aleksi](https://discourse.processing.org/u/Aleksi)\
**Replies:** 10\
**Last updated:** [November 24, 2018, 10:33pm UTC](https://discourse.processing.org/t/looping-different-class-instances/5843 "2018-11-24T22:33:41Z")

</div>

I’ve kind of painted myself into a corner. I need to be able to loop through instances of different classes to run methods of a class they all instantiate. I know something like this is a good candidate for an Interface…

---

## [Updating Squares](https://discourse.processing.org/t/updating-squares/5849)

<div class="topic-metadata">

**Author:** [@oscie24](https://discourse.processing.org/u/oscie24)\
**Replies:** 3\
**Last updated:** [November 24, 2018, 9:37pm UTC](https://discourse.processing.org/t/updating-squares/5849 "2018-11-24T21:37:42Z")

</div>

This is for a project but i’m currently in a little oh cock moment. My aim is to make a tessellator. Where you click on a small grid and that pattern tesselates on a bigger grid. the problem i’m having is that i don’t k…

---

## [Why does sometimes //\<\>// appear at the top of my sketch?](https://discourse.processing.org/t/why-does-sometimes-appear-at-the-top-of-my-sketch/5844)

<div class="topic-metadata">

**Author:** [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Replies:** 2\
**Last updated:** [November 24, 2018, 8:49pm UTC](https://discourse.processing.org/t/why-does-sometimes-appear-at-the-top-of-my-sketch/5844 "2018-11-24T20:49:22Z")

</div>

This happens when i close the sketch after formatting and saving and when i reopen it it just appears at the top. This time it only appeared in the main tab, but if i recall correctly the last time it happened, it appear…

---

## [Programme processing](https://discourse.processing.org/t/programme-processing/5797)

<div class="topic-metadata">

**Author:** [@carotte](https://discourse.processing.org/u/carotte)\
**Replies:** 2\
**Last updated:** [November 24, 2018, 7:16am UTC](https://discourse.processing.org/t/programme-processing/5797 "2018-11-24T07:16:41Z")

</div>

BONSOIR, j’ai un programme Processing à effectuer, y aurait-il des personnes qui serait qualifier dans le domaine pour me donner un coup de main car je débute. le programme est bien évidement de base. le but est de cré…

---

## [Issue with G4P and P2D renderer on raspberry Pi](https://discourse.processing.org/t/issue-with-g4p-and-p2d-renderer-on-raspberry-pi/2563)

<div class="topic-metadata">

**Author:** [@jb4x](https://discourse.processing.org/u/jb4x)\
**Replies:** 13\
**Last updated:** [November 24, 2018, 4:43pm UTC](https://discourse.processing.org/t/issue-with-g4p-and-p2d-renderer-on-raspberry-pi/2563 "2018-11-24T16:43:48Z")

</div>

Hello everyone, I need to be able to use some sliders and buttons in a sketch that run on a raspberry PI 3 (with raspbian) and thought about using G4P but I ran into a problem. This is the test code I am using: import…

---

## [G4P with P2D/P3D :: Processing bug](https://discourse.processing.org/t/g4p-with-p2d-p3d-processing-bug/5889)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 0\
**Last updated:** [November 24, 2018, 4:41pm UTC](https://discourse.processing.org/t/g4p-with-p2d-p3d-processing-bug/5889 "2018-11-24T16:41:54Z")

</div>

If you use G4P together with P2D/P3D you might have experienced problems with the controls not responding to the mouse. It has taken me ages to track down the problem but I have found it. G4P uses the cursor(…) method to…

---

## [Building a clock - I got stuck](https://discourse.processing.org/t/building-a-clock-i-got-stuck/5837)

<div class="topic-metadata">

**Author:** [@somaflaco](https://discourse.processing.org/u/somaflaco)\
**Replies:** 7\
**Last updated:** [November 24, 2018, 12:07pm UTC](https://discourse.processing.org/t/building-a-clock-i-got-stuck/5837 "2018-11-24T12:07:17Z")

</div>

Hey Guys, I’m completely new to processing and i’m trying to build a clock. I want the top row to indicate the hours (12rects), the second row to indicate the tens digits for the minutes (6rects), the third row to in…

---

## [How to make an apk from a processing project](https://discourse.processing.org/t/how-to-make-an-apk-from-a-processing-project/5869)

<div class="topic-metadata">

**Author:** [@Abdullah](https://discourse.processing.org/u/Abdullah)\
**Replies:** 1\
**Last updated:** [November 24, 2018, 8:22am UTC](https://discourse.processing.org/t/how-to-make-an-apk-from-a-processing-project/5869 "2018-11-24T08:22:57Z")

</div>

I want to make a simple game using processing but I don’t know how to export the project as an apk so I can upload the game to the web. Someone please help me. Thanks

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

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