# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&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

---

## [Save multiple Letters](https://discourse.processing.org/t/save-multiple-letters/6857)

<div class="topic-metadata">

**Author:** [@tigger97](https://discourse.processing.org/u/tigger97)\
**Replies:** 2\
**Last updated:** [December 26, 2018, 4:17pm UTC](https://discourse.processing.org/t/save-multiple-letters/6857 "2018-12-26T16:17:15Z")

</div>

Hey I’m new, Our teacher askes us to develope a learning programm for the scrabble game. Basically you get 9 letter from which you can wright a word, that word is then checkedm to see if it is in the Library. I can alr…

---

## [Displaying transparent img](https://discourse.processing.org/t/displaying-transparent-img/6895)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 8\
**Last updated:** [December 26, 2018, 1:16pm UTC](https://discourse.processing.org/t/displaying-transparent-img/6895 "2018-12-26T13:16:12Z")

</div>

Hi! Ive been working on a few games that require non rect images, but i dont have any tool to make transparent images :frowning: i only have default programs of Win10, and i dont want to download some large programs. I…

---

## [Buildin variables doesn't exist?](https://discourse.processing.org/t/buildin-variables-doesnt-exist/6888)

<div class="topic-metadata">

**Author:** [@lisekrull](https://discourse.processing.org/u/lisekrull)\
**Replies:** 1\
**Last updated:** [December 25, 2018, 6:09pm UTC](https://discourse.processing.org/t/buildin-variables-doesnt-exist/6888 "2018-12-25T18:09:52Z")

</div>

I am trying to run my code but it says that variables like ‘size’, ‘background’, ‘mousePressed’, ‘mouseX’ and so on doesn’t exist. Basically all the builtin defined variables. There just comes this red line underneath, a…

---

## [Minimum non zero value of array](https://discourse.processing.org/t/minimum-non-zero-value-of-array/6889)

<div class="topic-metadata">

**Author:** [@fonsinho](https://discourse.processing.org/u/fonsinho)\
**Replies:** 3\
**Last updated:** [December 25, 2018, 6:07pm UTC](https://discourse.processing.org/t/minimum-non-zero-value-of-array/6889 "2018-12-25T18:07:53Z")

</div>

Hi, i create this sketch for working…but i can´t take minimum non zero value Some suggestions? tks //ArrayList\<int \[\]\> yo=new ArrayList\<int \[\]\>(); //Pilo pilo; int\[\] a ={3,56,0,12, 8,7,6,5, 5,6,0,…

---

## [Problem building library in Eclipse](https://discourse.processing.org/t/problem-building-library-in-eclipse/6882)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 2\
**Last updated:** [December 25, 2018, 10:25am UTC](https://discourse.processing.org/t/problem-building-library-in-eclipse/6882 "2018-12-25T10:25:06Z")

</div>

I am trying to create a new control in G4P that uses the PeasyCam library but I am getting errors when I try and build G4P. Here is part of the code that I am trying to build pcam = new PeasyCam(theApplet, view, (doubl…

---

## [Help!Snake growing algorithm not working](https://discourse.processing.org/t/help-snake-growing-algorithm-not-working/6886)

<div class="topic-metadata">

**Author:** [@M.Abbas.Askari](https://discourse.processing.org/u/M.Abbas.Askari)\
**Replies:** 2\
**Last updated:** [December 25, 2018, 8:32am UTC](https://discourse.processing.org/t/help-snake-growing-algorithm-not-working/6886 "2018-12-25T08:32:07Z")

</div>

Am a beggner & struggling to Code. Just created account to ask a qustion I AM STUCK!!! i think the problem is in the move() function in snake class the snake acts weird when i eat the food /////CODE////// /////main…

---

## [Importing assets when using Processing in another IDE](https://discourse.processing.org/t/importing-assets-when-using-processing-in-another-ide/6874)

<div class="topic-metadata">

**Author:** [@gsaga](https://discourse.processing.org/u/gsaga)\
**Replies:** 4\
**Last updated:** [December 24, 2018, 9:33pm UTC](https://discourse.processing.org/t/importing-assets-when-using-processing-in-another-ide/6874 "2018-12-24T21:33:22Z")

</div>

Hi everyone, I wanted to know where do I need to place the data files ( like ttf, png etc) if I’m using processing with another IDE. I’ve setup gradle as the build system and am using intellij to code.

---

## [Sound and Random Shape Typing](https://discourse.processing.org/t/sound-and-random-shape-typing/6877)

<div class="topic-metadata">

**Author:** [@vale](https://discourse.processing.org/u/vale)\
**Replies:** 3\
**Last updated:** [December 24, 2018, 6:35pm UTC](https://discourse.processing.org/t/sound-and-random-shape-typing/6877 "2018-12-24T18:35:13Z")

</div>

Hi everyone, I am editing an example of the Processing sound library. I would like that each time that a key has pressed an ellipse will be generated in a random position. I am stuck because the circle is generated rand…

---

## [Problem with my collisions need help](https://discourse.processing.org/t/problem-with-my-collisions-need-help/6852)

<div class="topic-metadata">

**Author:** [@Robin73](https://discourse.processing.org/u/Robin73)\
**Replies:** 6\
**Last updated:** [December 24, 2018, 3:05pm UTC](https://discourse.processing.org/t/problem-with-my-collisions-need-help/6852 "2018-12-24T15:05:06Z")

</div>

My friend and I are working on this labyrinth and it was working but Yoshi were able to cross the wall so i added the function get() and i wanted my yoshi to walk in a direction if the key was pressed and if the color of…

---

## ["cannot convert float to boolean"](https://discourse.processing.org/t/cannot-convert-float-to-boolean/6822)

<div class="topic-metadata">

**Author:** [@C0R4L](https://discourse.processing.org/u/C0R4L)\
**Replies:** 6\
**Last updated:** [December 24, 2018, 2:30pm UTC](https://discourse.processing.org/t/cannot-convert-float-to-boolean/6822 "2018-12-24T14:30:53Z")

</div>

I was trying to make a DVD screensaver and I’ve come this message “cannot convert float to boolean” I don’t know how to fix it but this is my code to all the geneses on this platform float x = 240; // x location of …

---

## [typeScript and Webpack](https://discourse.processing.org/t/typescript-and-webpack/6700)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 7\
**Last updated:** [December 24, 2018, 2:06pm UTC](https://discourse.processing.org/t/typescript-and-webpack/6700 "2018-12-24T14:06:12Z")

</div>

I code a little template for typeScript via webPack, my first step but that’s work. So if you’r like me and want type and class your code in javaScript…go it. And no hesitation to improve this newby template !

---

## [Initialize array in glsl](https://discourse.processing.org/t/initialize-array-in-glsl/6858)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 4\
**Last updated:** [December 24, 2018, 1:46pm UTC](https://discourse.processing.org/t/initialize-array-in-glsl/6858 "2018-12-24T13:46:15Z")

</div>

I want initialize an array from uniform, but the problem I cannot because the array must be init from const. For this reason I must write a same method ntwice, that’s make a lot of code to write the same thing. is it p…

---

## [Looking for a p5.js Color Chooser widget](https://discourse.processing.org/t/looking-for-a-p5-js-color-chooser-widget/6868)

<div class="topic-metadata">

**Author:** [@grege2](https://discourse.processing.org/u/grege2)\
**Replies:** 6\
**Last updated:** [December 24, 2018, 10:12am UTC](https://discourse.processing.org/t/looking-for-a-p5-js-color-chooser-widget/6868 "2018-12-24T10:12:14Z")

</div>

Hi all, Happy Christmas Eve ! Coding away on Christmas Eve, sad eh? But it’s actually a great time to make some progress on hobbies. Got the day off, everything is ready for Christmas. Anyone know a Color Chooser in Ja…

---

## [Timer with specific format](https://discourse.processing.org/t/timer-with-specific-format/6864)

<div class="topic-metadata">

**Author:** [@MichaelPCgamer](https://discourse.processing.org/u/MichaelPCgamer)\
**Replies:** 2\
**Last updated:** [December 24, 2018, 1:50am UTC](https://discourse.processing.org/t/timer-with-specific-format/6864 "2018-12-24T01:50:09Z")

</div>

int milli; int hours; int minutes; int seconds; void setup () { size(600, 400); } void draw() { background(0); milli = millis(); seconds = milli / 1000; minutes = seconds / 60; hours = minutes / 60; tex…

---

## [Help needed for random change of image on mouse hover/click](https://discourse.processing.org/t/help-needed-for-random-change-of-image-on-mouse-hover-click/6820)

<div class="topic-metadata">

**Author:** [@jesspayne](https://discourse.processing.org/u/jesspayne)\
**Replies:** 9\
**Last updated:** [December 23, 2018, 8:44pm UTC](https://discourse.processing.org/t/help-needed-for-random-change-of-image-on-mouse-hover-click/6820 "2018-12-23T20:44:19Z")

</div>

Hi! I’m a student at Anglia Ruskin University’s School of Art (UK) and am working on a piece that I’d like to make interactive. I’ve recently discovered Processing and P5.js and think this could be what I need but am a …

---

## [\[SOLVED\] Project grown too huge - best way to maintain it w/ sanity?](https://discourse.processing.org/t/solved-project-grown-too-huge-best-way-to-maintain-it-w-sanity/6615)

<div class="topic-metadata">

**Author:** [@Architector\_4](https://discourse.processing.org/u/Architector_4)\
**Replies:** 12\
**Last updated:** [December 23, 2018, 8:38pm UTC](https://discourse.processing.org/t/solved-project-grown-too-huge-best-way-to-maintain-it-w-sanity/6615 "2018-12-23T20:38:44Z")

</div>

EDIT: I’ve decided to switch my project to Eclipse, and completely rewrite it, as it grown badly into a mess of no classes, hundreds lines of code long singular functions, huge load of global variables, and overall spagh…

---

## [How to create glsl inputs](https://discourse.processing.org/t/how-to-create-glsl-inputs/6855)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 1\
**Last updated:** [December 23, 2018, 8:21pm UTC](https://discourse.processing.org/t/how-to-create-glsl-inputs/6855 "2018-12-23T20:21:50Z")

</div>

hello! i want to create some vertex shaders input, to send data per vertex. I dont know exactly how can i do it. im sure that some of you have this information. Actually my shaders inputs are texCoord, Color, position, n…

---

## [Setting socket data over draw background || scope problem?](https://discourse.processing.org/t/setting-socket-data-over-draw-background-scope-problem/6780)

<div class="topic-metadata">

**Author:** [@Honkitonkie](https://discourse.processing.org/u/Honkitonkie)\
**Replies:** 5\
**Last updated:** [December 23, 2018, 6:36pm UTC](https://discourse.processing.org/t/setting-socket-data-over-draw-background-scope-problem/6780 "2018-12-23T18:36:51Z")

</div>

Hi, I just created this account because i spent two entire afternoons trying to debug the following code: (As of now it doesn’t work (but i feel like it should)) With the risk of asking a question with an obvious answe…

---

## [The code stops working after a while - Help me with homework](https://discourse.processing.org/t/the-code-stops-working-after-a-while-help-me-with-homework/6789)

<div class="topic-metadata">

**Author:** [@Murat](https://discourse.processing.org/u/Murat)\
**Replies:** 4\
**Last updated:** [December 23, 2018, 8:32am UTC](https://discourse.processing.org/t/the-code-stops-working-after-a-while-help-me-with-homework/6789 "2018-12-23T08:32:51Z")

</div>

Hello. The code stops working after about between 30 seconds and 3 minutes. The video feed is freezing when the code stops working. After stopping and running it again, I have another up to 3 minutes successfully running…

---

## [Java robot library doesn't work with fullscreen games](https://discourse.processing.org/t/java-robot-library-doesnt-work-with-fullscreen-games/6835)

<div class="topic-metadata">

**Author:** [@kavindaveerakoon](https://discourse.processing.org/u/kavindaveerakoon)\
**Replies:** 3\
**Last updated:** [December 23, 2018, 7:52am UTC](https://discourse.processing.org/t/java-robot-library-doesnt-work-with-fullscreen-games/6835 "2018-12-23T07:52:23Z")

</div>

I controlled keyboard keys using java robot library, When i open microsoft word, i can see keys typing accurately. But when i open a game, nothing happens. Is game disabling IDE? What should i do?

---

## [Need help making my paddle contact](https://discourse.processing.org/t/need-help-making-my-paddle-contact/6773)

<div class="topic-metadata">

**Author:** [@JakeLen](https://discourse.processing.org/u/JakeLen)\
**Replies:** 3\
**Last updated:** [December 23, 2018, 1:40am UTC](https://discourse.processing.org/t/need-help-making-my-paddle-contact/6773 "2018-12-23T01:40:55Z")

</div>

Hi Y’all, I’m trying to make a vertical, one player version of pong for android. I’ve made png horizontally before but i’m fairly new to this whole thing and changing axis has me thrown off. I just need help making th…

---

## [Drawing lines through openCV edge detection pixels](https://discourse.processing.org/t/drawing-lines-through-opencv-edge-detection-pixels/6833)

<div class="topic-metadata">

**Author:** [@heaversm](https://discourse.processing.org/u/heaversm)\
**Replies:** 0\
**Last updated:** [December 23, 2018, 1:03am UTC](https://discourse.processing.org/t/drawing-lines-through-opencv-edge-detection-pixels/6833 "2018-12-23T01:03:49Z")

</div>

I am doing canny edge detection with opencv in processing (source, webcam source) add coloring edge pixels a certain color. However, what I would like to do is draw curved lines through edges that have neighboring pixels…

---

## [Annotation processing got disabled, since it requires a 1.6 compliant JVM](https://discourse.processing.org/t/annotation-processing-got-disabled-since-it-requires-a-1-6-compliant-jvm/6697)

<div class="topic-metadata">

**Author:** [@zeus](https://discourse.processing.org/u/zeus)\
**Replies:** 9\
**Last updated:** [December 23, 2018, 12:58am UTC](https://discourse.processing.org/t/annotation-processing-got-disabled-since-it-requires-a-1-6-compliant-jvm/6697 "2018-12-23T00:58:15Z")

</div>

Can anyone help me with this error? “Annotation processing got disabled, since it requires a 1.6 compliant JVM” I am running a sketch in Processing 2.2.1 on a Pi 3B+ and I get this error no matter what sketch I try to …

---

## [Beginner requires some help for a "snake" game](https://discourse.processing.org/t/beginner-requires-some-help-for-a-snake-game/6831)

<div class="topic-metadata">

**Author:** [@Rogahn](https://discourse.processing.org/u/Rogahn)\
**Replies:** 2\
**Last updated:** [December 22, 2018, 11:21pm UTC](https://discourse.processing.org/t/beginner-requires-some-help-for-a-snake-game/6831 "2018-12-22T23:21:28Z")

</div>

Hello there, I have to do a special snake game for my coding classes. There is no food in this version of the game, but each time “s” is pressed, the snake have to grow by 1 (and only 1) square. The issue is that some…

---

## [Pro-Question: place a point in 3D with mouse](https://discourse.processing.org/t/pro-question-place-a-point-in-3d-with-mouse/6664)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 8\
**Last updated:** [December 22, 2018, 8:13pm UTC](https://discourse.processing.org/t/pro-question-place-a-point-in-3d-with-mouse/6664 "2018-12-22T20:13:32Z")

</div>

Following my series of graphical bezier and shape Editors I am writing a 3D bezier editor. On mouse click I want to add a new Point to the bezier curve. When I place the mouse and use its x and y for the 3D point those…

---

## [Problem program re-open when click icon](https://discourse.processing.org/t/problem-program-re-open-when-click-icon/6761)

<div class="topic-metadata">

**Author:** [@imdidi](https://discourse.processing.org/u/imdidi)\
**Replies:** 4\
**Last updated:** [December 22, 2018, 8:06pm UTC](https://discourse.processing.org/t/problem-program-re-open-when-click-icon/6761 "2018-12-22T20:06:56Z")

</div>

Hello everyone I’ve made a Processing program and I export it as a Linux file. My problem is that if my program is open and I re-click on the icon, the program opens a second time then a third time if I click again on …

---

## [What is the simplest way to set one array equal to another without linking them](https://discourse.processing.org/t/what-is-the-simplest-way-to-set-one-array-equal-to-another-without-linking-them/6827)

<div class="topic-metadata">

**Author:** [@dragon\_hatcher](https://discourse.processing.org/u/dragon_hatcher)\
**Replies:** 2\
**Last updated:** [December 22, 2018, 6:43pm UTC](https://discourse.processing.org/t/what-is-the-simplest-way-to-set-one-array-equal-to-another-without-linking-them/6827 "2018-12-22T18:43:37Z")

</div>

say I have: int\[\] a = {10, 10}; int\[\] b = {0, 0}; what is the simplest way to set b = a without making the variables linked. (changing a value in a will change a value in b); do I have to use a for loop? p.s. in the…

---

## [Void...question](https://discourse.processing.org/t/void-question/6792)

<div class="topic-metadata">

**Author:** [@IMTDSN](https://discourse.processing.org/u/IMTDSN)\
**Replies:** 5\
**Last updated:** [December 22, 2018, 6:03pm UTC](https://discourse.processing.org/t/void-question/6792 "2018-12-22T18:03:23Z")

</div>

If I create something like this: void setup () { … } void draw () { … if (mousePressed == true) // SCENE is the function that contains the scene number (such as 00, 01, 02, …) SCENE = SCENE + 1; } void scene00 (…

---

## [Creating an array of arrays](https://discourse.processing.org/t/creating-an-array-of-arrays/6826)

<div class="topic-metadata">

**Author:** [@evanmars](https://discourse.processing.org/u/evanmars)\
**Replies:** 4\
**Last updated:** [December 22, 2018, 4:57pm UTC](https://discourse.processing.org/t/creating-an-array-of-arrays/6826 "2018-12-22T16:57:17Z")

</div>

First time using Processing. Trying to make a temporary graphical interface for my Arduino project. Probably super simple question. How do I go about creating an array of arrays, then accessing the individual subeleme…

---

## [Not sure how to check for location](https://discourse.processing.org/t/not-sure-how-to-check-for-location/6816)

<div class="topic-metadata">

**Author:** [@Jakpott29](https://discourse.processing.org/u/Jakpott29)\
**Replies:** 6\
**Last updated:** [December 22, 2018, 9:55am UTC](https://discourse.processing.org/t/not-sure-how-to-check-for-location/6816 "2018-12-22T09:55:47Z")

</div>

Im not entirely sure how to check for the location, what i did was i used an array and then some basic x,y variables to draw some rectangles to for a grid on the screen. Im just not sure how i can check for which box the…

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

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