# Latest

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

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

**Page:** 543

---

## [\[RESOLVED\] Rotating a quad() towards player(that moves around)](https://discourse.processing.org/t/resolved-rotating-a-quad-towards-player-that-moves-around/6997)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 4\
**Last updated:** [December 29, 2018, 9:50pm UTC](https://discourse.processing.org/t/resolved-rotating-a-quad-towards-player-that-moves-around/6997 "2018-12-29T21:50:39Z")

</div>

def AI(self,plx,ply): #traslates angle1 = atan2(ply - self.y1,plx - self.x1) self.x1 = cos(angle1) \* self.speed + self.x1 self.y1 = sin(angle1) \* self.speed + self.y1 self.x2 = co…

---

## [Made a simple 2d top down dungeon crawler](https://discourse.processing.org/t/made-a-simple-2d-top-down-dungeon-crawler/6998)

<div class="topic-metadata">

**Author:** [@jarlah](https://discourse.processing.org/u/jarlah)\
**Replies:** 0\
**Last updated:** [December 29, 2018, 8:36pm UTC](https://discourse.processing.org/t/made-a-simple-2d-top-down-dungeon-crawler/6998 "2018-12-29T20:36:45Z")

</div>

Made a simple top down dungeon crawler, shamelessly using some spritesheets i found on opengameart. Its freely based on some YouTube videos I was looking at. I am using the YouTube tutorials as a way to fuel new ideas a…

---

## [Help needed: output window small](https://discourse.processing.org/t/help-needed-output-window-small/6992)

<div class="topic-metadata">

**Author:** [@blkpanther](https://discourse.processing.org/u/blkpanther)\
**Replies:** 4\
**Last updated:** [December 29, 2018, 8:33pm UTC](https://discourse.processing.org/t/help-needed-output-window-small/6992 "2018-12-29T20:33:12Z")

</div>

Hi, sometimes no matter how I set the canvas size, after pressing run, the output is a tiny window. Normally it’s a much bigger canvas. What could be the problem and how to tackle it? Thanks so much.

---

## [What is the best way to do 3D Mesh Collision with imported .obj files?](https://discourse.processing.org/t/what-is-the-best-way-to-do-3d-mesh-collision-with-imported-obj-files/6971)

<div class="topic-metadata">

**Author:** [@Ethanp247](https://discourse.processing.org/u/Ethanp247)\
**Replies:** 2\
**Last updated:** [December 29, 2018, 8:17pm UTC](https://discourse.processing.org/t/what-is-the-best-way-to-do-3d-mesh-collision-with-imported-obj-files/6971 "2018-12-29T20:17:22Z")

</div>

Hello! I’m asking this question because I don’t know exactly where to begin. This kind of collision is new to me, and I’m trying to create a system of collision detection for imported .obj PShapes. In short, what is th…

---

## [If Processing is used for prototyping, what languages are commonly used after?](https://discourse.processing.org/t/if-processing-is-used-for-prototyping-what-languages-are-commonly-used-after/6967)

<div class="topic-metadata">

**Author:** [@aaronshenhao](https://discourse.processing.org/u/aaronshenhao)\
**Replies:** 6\
**Last updated:** [December 29, 2018, 7:20pm UTC](https://discourse.processing.org/t/if-processing-is-used-for-prototyping-what-languages-are-commonly-used-after/6967 "2018-12-29T19:20:23Z")

</div>

Hi, I’ve been learning Processing v3 for a few months now for visualising various things. I heard that Processing is a prototyping language, and further performance and benefits can be gained by writing a project in anot…

---

## [Errors in Processing Reference](https://discourse.processing.org/t/errors-in-processing-reference/6875)

<div class="topic-metadata">

**Author:** [@The\_Traveler](https://discourse.processing.org/u/The_Traveler)\
**Replies:** 4\
**Last updated:** [December 29, 2018, 6:44pm UTC](https://discourse.processing.org/t/errors-in-processing-reference/6875 "2018-12-29T18:44:32Z")

</div>

Greetings. I’ve noticed a number of 404 errors in the Processing online reference . As some these errors also exist in the Processing reference included with the downloadable application, I thought I’d bring them to your…

---

## [Application hangs when mouse is moved](https://discourse.processing.org/t/application-hangs-when-mouse-is-moved/6946)

<div class="topic-metadata">

**Author:** [@iampadik](https://discourse.processing.org/u/iampadik)\
**Replies:** 3\
**Last updated:** [December 29, 2018, 2:50pm UTC](https://discourse.processing.org/t/application-hangs-when-mouse-is-moved/6946 "2018-12-29T14:50:50Z")

</div>

Hello people. A novice here.My application hangs as soon as my mouse moves and I have to restart the application. Whereas I don’t have the function mouseMoved in my code anywhere. If I keep the mouse steady , application…

---

## [Nested classes, best approach?](https://discourse.processing.org/t/nested-classes-best-approach/6974)

<div class="topic-metadata">

**Author:** [@Tsskyx](https://discourse.processing.org/u/Tsskyx)\
**Replies:** 2\
**Last updated:** [December 29, 2018, 5:09pm UTC](https://discourse.processing.org/t/nested-classes-best-approach/6974 "2018-12-29T17:09:10Z")

</div>

So, long story short, I’m making a neural network. Basically, I currently have one big 2D irregular array of Neuron objects (say, of the following shape or similar: {784, 32, 32, 10}), and I’ve just got the idea of turni…

---

## [Using PApplet whilst extending classes like PGraphics](https://discourse.processing.org/t/using-papplet-whilst-extending-classes-like-pgraphics/6942)

<div class="topic-metadata">

**Author:** [@Kluivert](https://discourse.processing.org/u/Kluivert)\
**Replies:** 4\
**Last updated:** [December 29, 2018, 4:51pm UTC](https://discourse.processing.org/t/using-papplet-whilst-extending-classes-like-pgraphics/6942 "2018-12-29T16:51:13Z")

</div>

Heya Everyone! I recently attempted to extend the PGraphics class specifically the PGraphicsJAVA2D class and referred to GotoLoop’s Solution But don’t understand the code as well which leaves me with anxiety.

---

## [\[SOLVED\] Diagonal Movement](https://discourse.processing.org/t/solved-diagonal-movement/6978)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 5\
**Last updated:** [December 29, 2018, 11:30am UTC](https://discourse.processing.org/t/solved-diagonal-movement/6978 "2018-12-29T11:30:56Z")

</div>

:snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake::snake: Hello again, no…

---

## [Libraries with Android Mode](https://discourse.processing.org/t/libraries-with-android-mode/6948)

<div class="topic-metadata">

**Author:** [@Neo](https://discourse.processing.org/u/Neo)\
**Replies:** 8\
**Last updated:** [December 29, 2018, 9:16am UTC](https://discourse.processing.org/t/libraries-with-android-mode/6948 "2018-12-29T09:16:01Z")

</div>

Hi! I searched some answers to my question but I found nothing. So, I’m trying to develop an Android app with the Android Mode on Processing 3.4. It works pretty good but I would try to use librairies into my app. I do…

---

## [Drawing multiple 3D box plots](https://discourse.processing.org/t/drawing-multiple-3d-box-plots/7008)

<div class="topic-metadata">

**Author:** [@kikisarp](https://discourse.processing.org/u/kikisarp)\
**Replies:** 9\
**Last updated:** [December 30, 2018, 5:35am UTC](https://discourse.processing.org/t/drawing-multiple-3d-box-plots/7008 "2018-12-30T05:35:07Z")

</div>

Hi, I need to draw a 3D shape, specifically a cube at different locations on a grid and to simulate that, I’m using the randomize function to give me random values for the parameters of “translate()” and also the “box()…

---

## [Size() not working with variables arguments](https://discourse.processing.org/t/size-not-working-with-variables-arguments/6665)

<div class="topic-metadata">

**Author:** [@Laurent](https://discourse.processing.org/u/Laurent)\
**Replies:** 5\
**Last updated:** [December 29, 2018, 5:46am UTC](https://discourse.processing.org/t/size-not-working-with-variables-arguments/6665 "2018-12-29T05:46:57Z")

</div>

Hi everyone, The below code is not working with Processing.py (instead of the passed arguments the default values for width and height applies, that are 100x100 pixels: same results as size() statement, with no argument…

---

## [Problem with reusing a function](https://discourse.processing.org/t/problem-with-reusing-a-function/6966)

<div class="topic-metadata">

**Author:** [@JoseBri93](https://discourse.processing.org/u/JoseBri93)\
**Replies:** 2\
**Last updated:** [December 29, 2018, 4:44am UTC](https://discourse.processing.org/t/problem-with-reusing-a-function/6966 "2018-12-29T04:44:34Z")

</div>

Hi! Based on Daniel Shiffman’s sketch Bouncing Ball, im trying to display a secind ball on the screen unsuccessfully. However both balls appears, they dont move at all. Can someone explain me where i’m making mistakes? t…

---

## [\[SOLVED\] Need Help With Game Menu (Python)](https://discourse.processing.org/t/solved-need-help-with-game-menu-python/6963)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 1\
**Last updated:** [December 29, 2018, 4:22am UTC](https://discourse.processing.org/t/solved-need-help-with-game-menu-python/6963 "2018-12-29T04:22:28Z")

</div>

Hello guys, I know there are a lot of topics about “Game Menu”, but I cant fix my problem Heres the code : The sketch: import Classex #import Player import random width = 1000 height = width/2 def setup (): smoo…

---

## [Obtaining position values of a translated, scaled, and rotated imported pShape](https://discourse.processing.org/t/obtaining-position-values-of-a-translated-scaled-and-rotated-imported-pshape/6916)

<div class="topic-metadata">

**Author:** [@Ethanp247](https://discourse.processing.org/u/Ethanp247)\
**Replies:** 5\
**Last updated:** [December 29, 2018, 3:02am UTC](https://discourse.processing.org/t/obtaining-position-values-of-a-translated-scaled-and-rotated-imported-pshape/6916 "2018-12-29T03:02:39Z")

</div>

Hello! This is my first post on this forum, so please let me know if I’m not descriptive enough, etc. When I’m referring to a pShape in this post, I am referring to an imported .obj file. As you know, you can obtain th…

---

## [Prevent Sketch from closing?](https://discourse.processing.org/t/prevent-sketch-from-closing/6934)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 3\
**Last updated:** [December 28, 2018, 7:08pm UTC](https://discourse.processing.org/t/prevent-sketch-from-closing/6934 "2018-12-28T19:08:58Z")

</div>

This is a bit of a weird one, but is there a way to stop a sketch from closing? I have found a way to prevent the escape key from closing the sketch, but is there a way to stop the x and double clicking the menu from clo…

---

## [How to change I2C address of MLX90640 (32x24) thermal camera sensor?](https://discourse.processing.org/t/how-to-change-i2c-address-of-mlx90640-32x24-thermal-camera-sensor/6238)

<div class="topic-metadata">

**Author:** [@achumarya](https://discourse.processing.org/u/achumarya)\
**Replies:** 1\
**Last updated:** [December 28, 2018, 5:56pm UTC](https://discourse.processing.org/t/how-to-change-i2c-address-of-mlx90640-32x24-thermal-camera-sensor/6238 "2018-12-28T17:56:10Z")

</div>

Dear All, As I know so far, MLX90640 thermal camera sensor have options to change address. I want to change the I2C address, so that I can use multiple sensors of the same kind with different address… Datasheet page 19…

---

## [Some kind of error! Help me pls!](https://discourse.processing.org/t/some-kind-of-error-help-me-pls/6940)

<div class="topic-metadata">

**Author:** [@CheeserMaster](https://discourse.processing.org/u/CheeserMaster)\
**Replies:** 2\
**Last updated:** [December 28, 2018, 8:14am UTC](https://discourse.processing.org/t/some-kind-of-error-help-me-pls/6940 "2018-12-28T08:14:46Z")

</div>

Hi, I don’t know why this happend and i would appreciate if someone can help me. Thats my code: import static javax.swing.JOptionPane.\*; void settings() { size((displayWidth/4)\*2, (displayHeight/3)\*2); } void setup(…

---

## [Blepdroid Bluetooth BLE and FragmentManager Issue](https://discourse.processing.org/t/blepdroid-bluetooth-ble-and-fragmentmanager-issue/2531)

<div class="topic-metadata">

**Author:** [@PeterO](https://discourse.processing.org/u/PeterO)\
**Replies:** 23\
**Last updated:** [December 27, 2018, 10:31pm UTC](https://discourse.processing.org/t/blepdroid-bluetooth-ble-and-fragmentmanager-issue/2531 "2018-12-27T22:31:48Z")

</div>

This question is regarding a fatal exception error message that occurs when using Blepdroid (a Bluetooth low energy library) with later versions of Processing 3. My tests suggest their may be a bug or unlisted change in …

---

## [Make scrolling window with buttons](https://discourse.processing.org/t/make-scrolling-window-with-buttons/6943)

<div class="topic-metadata">

**Author:** [@TobyKim](https://discourse.processing.org/u/TobyKim)\
**Replies:** 1\
**Last updated:** [December 28, 2018, 5:26am UTC](https://discourse.processing.org/t/make-scrolling-window-with-buttons/6943 "2018-12-28T05:26:50Z")

</div>

Hi I’m quite new to Processing I’m just able to make buttons with rect and make it as a toggle to print data to serial it is really hard for me to find the right reference to make my desired system Here’s what I wanna…

---

## [Incorrect points positions](https://discourse.processing.org/t/incorrect-points-positions/6754)

<div class="topic-metadata">

**Author:** [@Darkar25](https://discourse.processing.org/u/Darkar25)\
**Replies:** 16\
**Last updated:** [December 28, 2018, 4:15am UTC](https://discourse.processing.org/t/incorrect-points-positions/6754 "2018-12-28T04:15:17Z")

</div>

i am trying to make Graph,its almost done…last thing i need to fix,is points positions…i completely dont know why they placing like that…any ideas? Graph.pde: ArrayList\<Float\> arr = new ArrayList\<Float\>(); GraphView gr…

---

## [How to translate Mouse to MIDI?](https://discourse.processing.org/t/how-to-translate-mouse-to-midi/6927)

<div class="topic-metadata">

**Author:** [@tootha](https://discourse.processing.org/u/tootha)\
**Replies:** 1\
**Last updated:** [December 28, 2018, 2:24am UTC](https://discourse.processing.org/t/how-to-translate-mouse-to-midi/6927 "2018-12-28T02:24:17Z")

</div>

Hey guys, I am a beginner and try to read out a mouse to translate it into MIDI signals, but I have a few problems. First of all I dont know why the mouse output to the left and right is not the same. It should be equal…

---

## [Use an array of color \[RESOLVED\]](https://discourse.processing.org/t/use-an-array-of-color-resolved/6936)

<div class="topic-metadata">

**Author:** [@Pr0tonX](https://discourse.processing.org/u/Pr0tonX)\
**Replies:** 6\
**Last updated:** [December 28, 2018, 12:59am UTC](https://discourse.processing.org/t/use-an-array-of-color-resolved/6936 "2018-12-28T00:59:32Z")

</div>

Hi everyone, I have trouble with the use of an array of colors : once I setup it, I want to call randomly one of the colors inside. For now, I have that : var palette = \[\] function setup(){ palette\[0\] = color(154, 2…

---

## [Making a book cover! Sketch ---\> 300 dpi](https://discourse.processing.org/t/making-a-book-cover-sketch-300-dpi/5894)

<div class="topic-metadata">

**Author:** [@PartyWave](https://discourse.processing.org/u/PartyWave)\
**Replies:** 7\
**Last updated:** [December 27, 2018, 9:23pm UTC](https://discourse.processing.org/t/making-a-book-cover-sketch-300-dpi/5894 "2018-12-27T21:23:54Z")

</div>

Hi! Trying to make a book with my friends. We’d love to get a really high quality cover. Made a couple sketches on Processing. While the animations are great, we will need to capture a frame into an SVG. Know there are …

---

## [3d collision environment (Player versus three point Plane)](https://discourse.processing.org/t/3d-collision-environment-player-versus-three-point-plane/6937)

<div class="topic-metadata">

**Author:** [@BennyHacker](https://discourse.processing.org/u/BennyHacker)\
**Replies:** 1\
**Last updated:** [December 27, 2018, 9:15pm UTC](https://discourse.processing.org/t/3d-collision-environment-player-versus-three-point-plane/6937 "2018-12-27T21:15:32Z")

</div>

Hey forum, first time poster. Here I have made a environment where a player that is shaped like a cylinder can interact with planes defined by 3 points with a few extra player behaviors. All instructions and sources and …

---

## [Rubix Cube Randomization](https://discourse.processing.org/t/rubix-cube-randomization/6896)

<div class="topic-metadata">

**Author:** [@Baipyrus](https://discourse.processing.org/u/Baipyrus)\
**Replies:** 7\
**Last updated:** [December 27, 2018, 8:31pm UTC](https://discourse.processing.org/t/rubix-cube-randomization/6896 "2018-12-27T20:31:24Z")

</div>

I’ve created this Rubix Cube Test Sketch, and it works totally fine for first. When I started creating a Randomizer Function to randomize all the little Tiles on each side, it went kind of buggy, and I can’t figure out w…

---

## [Check file is finished writing to disk](https://discourse.processing.org/t/check-file-is-finished-writing-to-disk/6932)

<div class="topic-metadata">

**Author:** [@jeffmarc](https://discourse.processing.org/u/jeffmarc)\
**Replies:** 1\
**Last updated:** [December 27, 2018, 6:31pm UTC](https://discourse.processing.org/t/check-file-is-finished-writing-to-disk/6932 "2018-12-27T18:31:07Z")

</div>

I use file.exist() and it says file exists, but it is not finished being written to disk because when i loadImage() i get errors that say the file is not all there. Is there any other way to check when a file is finishe…

---

## [File contains a path separator](https://discourse.processing.org/t/file-contains-a-path-separator/6865)

<div class="topic-metadata">

**Author:** [@FurryNightShade](https://discourse.processing.org/u/FurryNightShade)\
**Replies:** 12\
**Last updated:** [December 27, 2018, 3:57pm UTC](https://discourse.processing.org/t/file-contains-a-path-separator/6865 "2018-12-27T15:57:07Z")

</div>

Hello, I have a problem, that was listed many times on forum two and even here. But my problem is a bit different. I don’t want to save or load anything from the data folder. Instead I want to load a file from anywhere …

---

## [Problema con guardado de datos en txt](https://discourse.processing.org/t/problema-con-guardado-de-datos-en-txt/6004)

<div class="topic-metadata">

**Author:** [@GoodLuck](https://discourse.processing.org/u/GoodLuck)\
**Replies:** 4\
**Last updated:** [December 27, 2018, 5:54am UTC](https://discourse.processing.org/t/problema-con-guardado-de-datos-en-txt/6004 "2018-12-27T05:54:47Z")

</div>

Hola estimados!, tengo un problema que no he podido solucionar, llevo poco tiempo utilizando processing y me he encontrado con muchos problemas que gracias a internet los he ido solucionando, pero hay uno que no he podid…

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

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