# Latest

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

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

**Page:** 544

---

## [Administrator, when is the latest update of the Ketai library released?](https://discourse.processing.org/t/administrator-when-is-the-latest-update-of-the-ketai-library-released/3890)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [December 27, 2018, 1:52am UTC](https://discourse.processing.org/t/administrator-when-is-the-latest-update-of-the-ketai-library-released/3890 "2018-12-27T01:52:38Z")

</div>

Administrator, when is the latest update of the Ketai library released? Is the Ketai library updated? Update in progress? Is it in progress? Is there a release date? Administrator, processing android mode I would ap…

---

## [Get intersection point of line and CIE chromaticity curve](https://discourse.processing.org/t/get-intersection-point-of-line-and-cie-chromaticity-curve/6685)

<div class="topic-metadata">

**Author:** [@ProsExplorer](https://discourse.processing.org/u/ProsExplorer)\
**Replies:** 7\
**Last updated:** [December 26, 2018, 11:43pm UTC](https://discourse.processing.org/t/get-intersection-point-of-line-and-cie-chromaticity-curve/6685 "2018-12-26T23:43:08Z")

</div>

First, let me lay out what I’ve done so far and what I’m trying to do with this partially completed program. I’m attempting to convert the RGB pixel values to their corresponding wavelength by: Converting RGB to XYZ \[c…

---

## [Scale size in vertex Shader](https://discourse.processing.org/t/scale-size-in-vertex-shader/6900)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 4\
**Last updated:** [December 26, 2018, 11:08pm UTC](https://discourse.processing.org/t/scale-size-in-vertex-shader/6900 "2018-12-26T23:08:58Z")

</div>

hello! its possible to scale a model into the vertexShader? can i get the data of the size sending via sphere(x) ? #version 150 #define PROCESSING\_COLOR\_SHADER #ifdef GL\_ES precision mediump float; #endif uniform mat…

---

## [Getting pixel data from a PShape](https://discourse.processing.org/t/getting-pixel-data-from-a-pshape/6684)

<div class="topic-metadata">

**Author:** [@Andrewkaram](https://discourse.processing.org/u/Andrewkaram)\
**Replies:** 18\
**Last updated:** [December 26, 2018, 10:41pm UTC](https://discourse.processing.org/t/getting-pixel-data-from-a-pshape/6684 "2018-12-26T22:41:26Z")

</div>

Hello, I’m looking into getting pixel data from a PShape. I have successfully imported a .obj file into processing. However, I am focused on retrieving the pixel data of the object, and eventually, put in into an array.…

---

## [G4P with PeasyCam views](https://discourse.processing.org/t/g4p-with-peasycam-views/6909)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 0\
**Last updated:** [December 26, 2018, 4:22pm UTC](https://discourse.processing.org/t/g4p-with-peasycam-views/6909 "2018-12-26T16:22:00Z")

</div>

This is a preview of the next version (4.2.0) of G4P and the latest control GViewPeasyCam . GViewPeasyCam allows you to embed one or more PeasyCam cameras into your sketch. The video below shows a sketch with 2 PeasyCa…

---

## [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…

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

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