# Latest

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

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

**Page:** 556

---

## [Mousewheel\_plusplus](https://discourse.processing.org/t/mousewheel-plusplus/5839)

<div class="topic-metadata">

**Author:** [@kll](https://discourse.processing.org/u/kll)\
**Replies:** 4\
**Last updated:** [November 24, 2018, 12:42am UTC](https://discourse.processing.org/t/mousewheel-plusplus/5839 "2018-11-24T00:42:59Z")

</div>

details / code// file: mousewheel\_plusplus.pde // system win 7 processing 3.4 // by KLL // mouseWheel ++ // "Scrollitis", a operational concept study // idea is to multiplex the mouseWheel use // by mixing it w…

---

## ["Langton's Car" Not working](https://discourse.processing.org/t/langtons-car-not-working/5817)

<div class="topic-metadata">

**Author:** [@MCCreeper8890](https://discourse.processing.org/u/MCCreeper8890)\
**Replies:** 8\
**Last updated:** [November 23, 2018, 10:53pm UTC](https://discourse.processing.org/t/langtons-car-not-working/5817 "2018-11-23T22:53:00Z")

</div>

The idea is this: Set all pixels positions on screen to a random value of either 0,1,2, or 3. Set a particle “car” in the middle with an arbitrary velocity vector. On each frame, the car will move to a new position. if …

---

## [Draw function not looping](https://discourse.processing.org/t/draw-function-not-looping/5694)

<div class="topic-metadata">

**Author:** [@Ramsayrex](https://discourse.processing.org/u/Ramsayrex)\
**Replies:** 4\
**Last updated:** [November 23, 2018, 9:36pm UTC](https://discourse.processing.org/t/draw-function-not-looping/5694 "2018-11-23T21:36:20Z")

</div>

I’m having issues with the draw function and I’m not sure whats causing them var theta = 0 var xcoor = 0 var ycoor = 0 var xint1 = 0 var xint2 = 0 var yint1 = 0 var yint2 = 0 var r = 10 var radius = r\*10 function setu…

---

## [Canvas Window Offscreen](https://discourse.processing.org/t/canvas-window-offscreen/5853)

<div class="topic-metadata">

**Author:** [@Aleksi](https://discourse.processing.org/u/Aleksi)\
**Replies:** 2\
**Last updated:** [November 23, 2018, 4:10pm UTC](https://discourse.processing.org/t/canvas-window-offscreen/5853 "2018-11-23T16:10:52Z")

</div>

I wasn’t sure where to put this, so I’m putting it here, just as oompa\_1 asked in a previous forum… Actually, to quote oompa\_1: all of a sudden, one of my sketches produces its display window in such a way that I don’…

---

## [Differentiating Array definitions](https://discourse.processing.org/t/differentiating-array-definitions/5834)

<div class="topic-metadata">

**Author:** [@LordCacops](https://discourse.processing.org/u/LordCacops)\
**Replies:** 5\
**Last updated:** [November 23, 2018, 12:13pm UTC](https://discourse.processing.org/t/differentiating-array-definitions/5834 "2018-11-23T12:13:11Z")

</div>

Hello friends, I am programming a genome that’s made of chromosomes. Each chromosome is an array. Each defines its values through symmetry producing operations (symmetry as in retrogrades of the integer sequence of its …

---

## [How can you reuse a variable?](https://discourse.processing.org/t/how-can-you-reuse-a-variable/5842)

<div class="topic-metadata">

**Author:** [@dennisreyes](https://discourse.processing.org/u/dennisreyes)\
**Replies:** 4\
**Last updated:** [November 23, 2018, 3:19am UTC](https://discourse.processing.org/t/how-can-you-reuse-a-variable/5842 "2018-11-23T03:19:39Z")

</div>

I’m trying to make some sort of non-graphic version of a game. It involves two dices and when you roll any number besides the ones listed, you roll again until you get the one on the first roll. What have I done wrong or…

---

## [Random StrokeWeight not working?](https://discourse.processing.org/t/random-strokeweight-not-working/5840)

<div class="topic-metadata">

**Author:** [@ReDeagle](https://discourse.processing.org/u/ReDeagle)\
**Replies:** 2\
**Last updated:** [November 23, 2018, 2:45am UTC](https://discourse.processing.org/t/random-strokeweight-not-working/5840 "2018-11-23T02:45:36Z")

</div>

Hey everyone, I’m making a program that will output balloons of different sizes using for loops. The fill should also be using stroke (another for loop). The program outputs balloons of the same size (code is below)… Hel…

---

## [Change tint/color of image on click](https://discourse.processing.org/t/change-tint-color-of-image-on-click/4517)

<div class="topic-metadata">

**Author:** [@dennisreyes](https://discourse.processing.org/u/dennisreyes)\
**Replies:** 5\
**Last updated:** [October 16, 2018, 10:31pm UTC](https://discourse.processing.org/t/change-tint-color-of-image-on-click/4517 "2018-10-16T22:31:27Z")

</div>

Hi! I am new to processing and I was wondering if it is possible to change the tint of an image on click?

---

## [Not Understanding This](https://discourse.processing.org/t/not-understanding-this/5826)

<div class="topic-metadata">

**Author:** [@HoboGreed](https://discourse.processing.org/u/HoboGreed)\
**Replies:** 10\
**Last updated:** [November 23, 2018, 1:24am UTC](https://discourse.processing.org/t/not-understanding-this/5826 "2018-11-23T01:24:15Z")

</div>

Why does set(int(X),int(Y),255); work in Setup but not in draw and yet set(int(X),int(Y),0xffffffff); does work in draw ? float X,Y; void setup(){ size(512,512); background(0); X=256;Y=256; //set(int(X),int(Y),…

---

## [Animating simple motion of line with clean fade not overwriting with background(0)](https://discourse.processing.org/t/animating-simple-motion-of-line-with-clean-fade-not-overwriting-with-background-0/5823)

<div class="topic-metadata">

**Author:** [@gabecolors](https://discourse.processing.org/u/gabecolors)\
**Replies:** 13\
**Last updated:** [November 22, 2018, 4:56pm UTC](https://discourse.processing.org/t/animating-simple-motion-of-line-with-clean-fade-not-overwriting-with-background-0/5823 "2018-11-22T16:56:18Z")

</div>

I am a newbie learning nested loops, for, while, if, else, etc. My intention is to create a series of horizontal white lines that are animated moving downwards. The number and distance should be variables I can later ou…

---

## [GLCapture Not Working](https://discourse.processing.org/t/glcapture-not-working/5805)

<div class="topic-metadata">

**Author:** [@MatterLinx](https://discourse.processing.org/u/MatterLinx)\
**Replies:** 4\
**Last updated:** [November 22, 2018, 7:50pm UTC](https://discourse.processing.org/t/glcapture-not-working/5805 "2018-11-22T19:50:30Z")

</div>

Hello, i’m trying to get processing to work with my Raspberry Pi camera. I made sure the camera is enabled in the Raspberry Pi Configuration tool. I also added “bcm2835\_v4l2” to /etc/modules. The camera works properly…

---

## [Sending byte array over processing network (Processing 3)](https://discourse.processing.org/t/sending-byte-array-over-processing-network-processing-3/5685)

<div class="topic-metadata">

**Author:** [@Bluu](https://discourse.processing.org/u/Bluu)\
**Replies:** 11\
**Last updated:** [November 22, 2018, 5:37pm UTC](https://discourse.processing.org/t/sending-byte-array-over-processing-network-processing-3/5685 "2018-11-22T17:37:27Z")

</div>

I’m trying to send an image over a byte array data stream in processing with the code below, but as networking is poorly documented in processing, I think there’s only a way to receive a string and convert it to a byte a…

---

## [Control GPU fan speed](https://discourse.processing.org/t/control-gpu-fan-speed/5820)

<div class="topic-metadata">

**Author:** [@shoaibmirza](https://discourse.processing.org/u/shoaibmirza)\
**Replies:** 7\
**Last updated:** [November 22, 2018, 5:20pm UTC](https://discourse.processing.org/t/control-gpu-fan-speed/5820 "2018-11-22T17:20:33Z")

</div>

Hi. i am trying to control my GPU(Graphics card) fan speed using processing. is there any library or API to do that ? my GPU : nvidia GTX1070 my OS : windows 10 / 64bit Thanks in advance. shoaib

---

## [Why is my ball going downwards?](https://discourse.processing.org/t/why-is-my-ball-going-downwards/5822)

<div class="topic-metadata">

**Author:** [@OliverMcDk](https://discourse.processing.org/u/OliverMcDk)\
**Replies:** 7\
**Last updated:** [November 22, 2018, 4:39pm UTC](https://discourse.processing.org/t/why-is-my-ball-going-downwards/5822 "2018-11-22T16:39:20Z")

</div>

Hey, can anyone help me to get my ball to “shoot” upwards. Kinda like a canon, so my ball shoots, and i can change the degrees its shoots after. My code is very simple, cause im new to this program. We are trying to ma…

---

## [LSystems library updated](https://discourse.processing.org/t/lsystems-library-updated/5827)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 0\
**Last updated:** [November 22, 2018, 11:47am UTC](https://discourse.processing.org/t/lsystems-library-updated/5827 "2018-11-22T11:47:04Z")

</div>

For processing-2.2.1, I had created an LSystems library, that was hosted at project kenai. I had moved the project to github on demise of project kenai, but I had not updated the the build. If anyone is interested in usi…

---

## [Processing Community Day in French](https://discourse.processing.org/t/processing-community-day-in-french/3591)

<div class="topic-metadata">

**Author:** [@phoebus](https://discourse.processing.org/u/phoebus)\
**Replies:** 9\
**Last updated:** [November 22, 2018, 5:40am UTC](https://discourse.processing.org/t/processing-community-day-in-french/3591 "2018-11-22T05:40:16Z")

</div>

Hello Je poste ici pour vous proposer d’échanger entre organisateur de PCD en langue Française. Je vous propose de faire une page de présentation traduite de https://day.processing.org/ histoire de facilité l’accès au…

---

## [ATM machine project help](https://discourse.processing.org/t/atm-machine-project-help/5804)

<div class="topic-metadata">

**Author:** [@Sventhepuffin](https://discourse.processing.org/u/Sventhepuffin)\
**Replies:** 4\
**Last updated:** [November 22, 2018, 2:49am UTC](https://discourse.processing.org/t/atm-machine-project-help/5804 "2018-11-22T02:49:25Z")

</div>

I was wondering if anyone could help me remove the features of this code for a calculator I made and make it into an ATM. I’m having difficulty adjusting the code so it doesn’t display in such an odd way on the bottom of…

---

## [3D solar system simulator](https://discourse.processing.org/t/3d-solar-system-simulator/5478)

<div class="topic-metadata">

**Author:** [@AidanLand](https://discourse.processing.org/u/AidanLand)\
**Replies:** 5\
**Last updated:** [November 22, 2018, 1:51am UTC](https://discourse.processing.org/t/3d-solar-system-simulator/5478 "2018-11-22T01:51:32Z")

</div>

Hi, I’m trying to build a 3d solar system simulator in processing :star: :thinking: . I was wondering what would be a good library to do this with. I want to be able to move around in my program and have moving objects …

---

## [Translate Java code into Processing](https://discourse.processing.org/t/translate-java-code-into-processing/5807)

<div class="topic-metadata">

**Author:** [@DarkSt0ne](https://discourse.processing.org/u/DarkSt0ne)\
**Replies:** 1\
**Last updated:** [November 21, 2018, 10:31pm UTC](https://discourse.processing.org/t/translate-java-code-into-processing/5807 "2018-11-21T22:31:51Z")

</div>

Hello there, I was wondering if any of you could translate the following java code into processing: import java.util.Scanner; public class AtmMachine{ private static Scanner in; private static float balance = 0 ; /…

---

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

<div class="topic-metadata">

**Author:** [@Hunter\_noob](https://discourse.processing.org/u/Hunter_noob)\
**Replies:** 3\
**Last updated:** [November 21, 2018, 9:30pm UTC](https://discourse.processing.org/t/need-help-with-frogger/5639 "2018-11-21T21:30:16Z")

</div>

Hi guys, I’m working on a processing game called Frogger. I created the world and the frog, but I could not move the frog. I am pretty sure there are some problems in my codes, but I just could not find the problems, co…

---

## [Inheritance override draw()](https://discourse.processing.org/t/inheritance-override-draw/5724)

<div class="topic-metadata">

**Author:** [@donone](https://discourse.processing.org/u/donone)\
**Replies:** 6\
**Last updated:** [November 21, 2018, 6:59pm UTC](https://discourse.processing.org/t/inheritance-override-draw/5724 "2018-11-21T18:59:33Z")

</div>

I have a class using registerMethod(“draw”,this); Works fine. In a subclass I am attempting to override the draw() method in the parent in order to ‘add’ to the original. I cannot override, and I have tried super.draw(…

---

## [Hexadecimal annotation for colors, is it faster?](https://discourse.processing.org/t/hexadecimal-annotation-for-colors-is-it-faster/5777)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 3\
**Last updated:** [November 21, 2018, 6:39pm UTC](https://discourse.processing.org/t/hexadecimal-annotation-for-colors-is-it-faster/5777 "2018-11-21T18:39:47Z")

</div>

Hi, The title says it all, I’d like to know if calling colors with hexadecimal annotations is faster than the usual color(255, 0, 0) for instance. Thanks

---

## [Maze generation](https://discourse.processing.org/t/maze-generation/5801)

<div class="topic-metadata">

**Author:** [@eduzal](https://discourse.processing.org/u/eduzal)\
**Replies:** 0\
**Last updated:** [November 21, 2018, 6:32pm UTC](https://discourse.processing.org/t/maze-generation/5801 "2018-11-21T18:32:12Z")

</div>

Hi guys. I’ve hit a wall here. I’m trying to build a generative keith herring’s maze, or something like those grafitti fillings maze, like the image below. I’ve done a few thing, but now I hit a wall and I’m stuck. I…

---

## [I need to create a ATM machine like program](https://discourse.processing.org/t/i-need-to-create-a-atm-machine-like-program/5800)

<div class="topic-metadata">

**Author:** [@Sventhepuffin](https://discourse.processing.org/u/Sventhepuffin)\
**Replies:** 1\
**Last updated:** [November 21, 2018, 5:55pm UTC](https://discourse.processing.org/t/i-need-to-create-a-atm-machine-like-program/5800 "2018-11-21T17:55:38Z")

</div>

I have a project in which i need to create a ATM machine like code. The program needs to deposit, withdraw, transfer and check total balance. I’m having difficulty figuring out where to start exactly and how to get the w…

---

## [getLocation() of the sketch](https://discourse.processing.org/t/getlocation-of-the-sketch/5763)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 5\
**Last updated:** [November 21, 2018, 5:30pm UTC](https://discourse.processing.org/t/getlocation-of-the-sketch/5763 "2018-11-21T17:30:00Z")

</div>

I try to catch the location of my sketch, but I don’t find any option to do that like surface.setLocation(). Any idea which method can be used to catch the sketch position, like before getLocationOnScreen()

---

## [Uneven distrobution instead of normal map()](https://discourse.processing.org/t/uneven-distrobution-instead-of-normal-map/5791)

<div class="topic-metadata">

**Author:** [@noFun](https://discourse.processing.org/u/noFun)\
**Replies:** 3\
**Last updated:** [November 21, 2018, 12:05pm UTC](https://discourse.processing.org/t/uneven-distrobution-instead-of-normal-map/5791 "2018-11-21T12:05:32Z")

</div>

If you use something like map(n,0,100, 0,200), it will map things evenly. 0 maps to 0, 100 maps to 200, and each integer in-between is evenly spaced. But what if you don’t want the mapping to be as even? As in, when lowe…

---

## [Strange Font & Math Problems, Basic Math would Probably Help](https://discourse.processing.org/t/strange-font-math-problems-basic-math-would-probably-help/5755)

<div class="topic-metadata">

**Author:** [@c0nfused\_t3chie](https://discourse.processing.org/u/c0nfused_t3chie)\
**Replies:** 3\
**Last updated:** [November 21, 2018, 5:57am UTC](https://discourse.processing.org/t/strange-font-math-problems-basic-math-would-probably-help/5755 "2018-11-21T05:57:44Z")

</div>

Hello, first time posting sorry if this is vauge, just needing some help with what I thought should be basic math. For random reasons I felt making a sandbox version of a terminal window to help teach someone more power…

---

## [Erasing draw after "x" frames](https://discourse.processing.org/t/erasing-draw-after-x-frames/5707)

<div class="topic-metadata">

**Author:** [@vayjean](https://discourse.processing.org/u/vayjean)\
**Replies:** 4\
**Last updated:** [November 21, 2018, 1:57am UTC](https://discourse.processing.org/t/erasing-draw-after-x-frames/5707 "2018-11-21T01:57:06Z")

</div>

Hi everyone, I’m a new user of processing and i’m trying to make abstractions drawing with the below code. However I don’t arrive to erase the drawing after a certain amount of frames. Does someone knows how to do this …

---

## ["How does the learning process of an A.I. sound?" We need help with the source code and API of a simple A.I. Program](https://discourse.processing.org/t/how-does-the-learning-process-of-an-a-i-sound-we-need-help-with-the-source-code-and-api-of-a-simple-a-i-program/5559)

<div class="topic-metadata">

**Author:** [@sebastianw94](https://discourse.processing.org/u/sebastianw94)\
**Replies:** 2\
**Last updated:** [November 21, 2018, 1:50am UTC](https://discourse.processing.org/t/how-does-the-learning-process-of-an-a-i-sound-we-need-help-with-the-source-code-and-api-of-a-simple-a-i-program/5559 "2018-11-21T01:50:22Z")

</div>

Hello Everyone, We are students from Germany and we are currently studying „Media-Design“. We were assigned to create an artistic media-installation for the “Ars Electronica” as an entry in their competition. Our Idea …

---

## [Hi i am getting an error on the boolean method saying missing left curly brace at the end of the crash method](https://discourse.processing.org/t/hi-i-am-getting-an-error-on-the-boolean-method-saying-missing-left-curly-brace-at-the-end-of-the-crash-method/5759)

<div class="topic-metadata">

**Author:** [@redFoa](https://discourse.processing.org/u/redFoa)\
**Replies:** 2\
**Last updated:** [November 20, 2018, 10:04pm UTC](https://discourse.processing.org/t/hi-i-am-getting-an-error-on-the-boolean-method-saying-missing-left-curly-brace-at-the-end-of-the-crash-method/5759 "2018-11-20T22:04:35Z")

</div>

bnbmb,n,m,jkhkhkj;h;hjj

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

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