# Latest

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

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

**Page:** 424

---

## [Cant convert python mode script to executable](https://discourse.processing.org/t/cant-convert-python-mode-script-to-executable/15641)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 3\
**Last updated:** [November 21, 2019, 9:07pm UTC](https://discourse.processing.org/t/cant-convert-python-mode-script-to-executable/15641 "2019-11-21T21:07:31Z")

</div>

Hi, I have a script in python mode that accesses an FTP server, downloads some files, does a bit of processing and then moves them to an archive directory. This program works fine but when I try to convert it to a windo…

---

## [P5.js split() questions](https://discourse.processing.org/t/p5-js-split-questions/15701)

<div class="topic-metadata">

**Author:** [@humanperson](https://discourse.processing.org/u/humanperson)\
**Replies:** 1\
**Last updated:** [November 21, 2019, 9:00pm UTC](https://discourse.processing.org/t/p5-js-split-questions/15701 "2019-11-21T21:00:57Z")

</div>

Hello guys, I’m new here. I was wondering if it was possible to get the split function in p5.js to just split the letters of a word without the delim value. Answers as to how I would do this would also be very helpful. t…

---

## [Salto de línea automático en texto](https://discourse.processing.org/t/salto-de-linea-automatico-en-texto/15671)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 3\
**Last updated:** [November 21, 2019, 8:32pm UTC](https://discourse.processing.org/t/salto-de-linea-automatico-en-texto/15671 "2019-11-21T20:32:22Z")

</div>

Estoy programando en fullscreen() y necesito que un texto se divida automáticamente en las líneas necesarias para aparecer completo en pantallas de varios tamaños. ¿Cómo puedo hacerlo? ¡Gracias!

---

## [How to make an animation appear for multiple seconds when collison happens?](https://discourse.processing.org/t/how-to-make-an-animation-appear-for-multiple-seconds-when-collison-happens/15698)

<div class="topic-metadata">

**Author:** [@legutierrez1](https://discourse.processing.org/u/legutierrez1)\
**Replies:** 1\
**Last updated:** [November 21, 2019, 8:31pm UTC](https://discourse.processing.org/t/how-to-make-an-animation-appear-for-multiple-seconds-when-collison-happens/15698 "2019-11-21T20:31:30Z")

</div>

Hello my name is Julio and i’m an undergraduate student that is new to processing. My question is about how can i make a variable inside of a collision appear for multiple seconds. The code part i need help with is the…

---

## [Strange behavior of code](https://discourse.processing.org/t/strange-behavior-of-code/15682)

<div class="topic-metadata">

**Author:** [@qwerty](https://discourse.processing.org/u/qwerty)\
**Replies:** 19\
**Last updated:** [November 21, 2019, 3:04pm UTC](https://discourse.processing.org/t/strange-behavior-of-code/15682 "2019-11-21T15:04:35Z")

</div>

Hello. Today i’ve searching the Internet for the new Processing tutorials and found this one: void setup() { size(400, 400); background(#3355CC); } void draw() { fill(#3355CC, 20); rect(0, 0, width, he…

---

## [Connect to node.js](https://discourse.processing.org/t/connect-to-node-js/15683)

<div class="topic-metadata">

**Author:** [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Replies:** 0\
**Last updated:** [November 21, 2019, 10:51am UTC](https://discourse.processing.org/t/connect-to-node-js/15683 "2019-11-21T10:51:29Z")

</div>

Is anyone able to connect processing with node.js? I get onError(EOFException: Reading WebSocket Upgrade response) import websockets.\*; WebsocketClient wsc; void setup() { size(200, 200); wsc = new WebsocketClie…

---

## [Responsive Image possible?](https://discourse.processing.org/t/responsive-image-possible/15686)

<div class="topic-metadata">

**Author:** [@lail](https://discourse.processing.org/u/lail)\
**Replies:** 4\
**Last updated:** [November 21, 2019, 12:14pm UTC](https://discourse.processing.org/t/responsive-image-possible/15686 "2019-11-21T12:14:20Z")

</div>

Hi :slight\_smile: I made a sketch on open processing.org and I wanted to send the link to different devices like Mobilephone or Computer with different resolutions. So I gave the canvas the fullScreen(); command. Now th…

---

## [How to draw a ring?](https://discourse.processing.org/t/how-to-draw-a-ring/3873)

<div class="topic-metadata">

**Author:** [@colaps](https://discourse.processing.org/u/colaps)\
**Replies:** 5\
**Last updated:** [November 21, 2019, 10:11am UTC](https://discourse.processing.org/t/how-to-draw-a-ring/3873 "2019-11-21T10:11:46Z")

</div>

Hi everybody, As a newbie in Processing, I try to draw a “ring”… (because English is not my native language I have to clarify what is a “ring” for me: a circle with a hole at the center, like a donut :slight\_smile:). M…

---

## [Package androidx.appcompat.app](https://discourse.processing.org/t/package-androidx-appcompat-app/15665)

<div class="topic-metadata">

**Author:** [@Murad](https://discourse.processing.org/u/Murad)\
**Replies:** 1\
**Last updated:** [November 21, 2019, 9:22am UTC](https://discourse.processing.org/t/package-androidx-appcompat-app/15665 "2019-11-21T09:22:30Z")

</div>

Good afternoon, you have a very good framework for java OpenGL that allows me to quickly and easily draw anything I want to thank you very much for that, I have one question: will there be an update for processing androi…

---

## [ControlP5 buttons - How to make them work](https://discourse.processing.org/t/controlp5-buttons-how-to-make-them-work/15550)

<div class="topic-metadata">

**Author:** [@dawn](https://discourse.processing.org/u/dawn)\
**Replies:** 5\
**Last updated:** [November 20, 2019, 10:15pm UTC](https://discourse.processing.org/t/controlp5-buttons-how-to-make-them-work/15550 "2019-11-20T22:15:44Z")

</div>

Hello, I’m trying to create a photo filter app using controlP5 buttons. How can I make it work? I have tried this (thinking how I built a filter app before using the keyboard), but it doesn’t work, seems like I still d…

---

## [Reading Data from Microsoft Access Files](https://discourse.processing.org/t/reading-data-from-microsoft-access-files/15622)

<div class="topic-metadata">

**Author:** [@Lehmoxy](https://discourse.processing.org/u/Lehmoxy)\
**Replies:** 10\
**Last updated:** [November 20, 2019, 4:03pm UTC](https://discourse.processing.org/t/reading-data-from-microsoft-access-files/15622 "2019-11-20T16:03:26Z")

</div>

Hello everyone. I am trying to make a custom interface tool/client for a Microsoft Access database, and I need to be able to read information from a Microsoft Access file. Are there any libraries or other tools available…

---

## [I am confused on why my code won't work](https://discourse.processing.org/t/i-am-confused-on-why-my-code-wont-work/15648)

<div class="topic-metadata">

**Author:** [@Silly\_bois](https://discourse.processing.org/u/Silly_bois)\
**Replies:** 2\
**Last updated:** [November 20, 2019, 1:09pm UTC](https://discourse.processing.org/t/i-am-confused-on-why-my-code-wont-work/15648 "2019-11-20T13:09:52Z")

</div>

int mode = 0; int INTRO = 0; int levelone = 1; int GAME\_OVER = 2; int fontcolor; float speed = 3; void setup () { background(0); size(1440, 900); fontcolor = color( 0, 225, 149); } void draw () { if (mode == IN…

---

## [P5.js programs runned from Processing IDE not working under Edge](https://discourse.processing.org/t/p5-js-programs-runned-from-processing-ide-not-working-under-edge/15656)

<div class="topic-metadata">

**Author:** [@Laurent](https://discourse.processing.org/u/Laurent)\
**Replies:** 1\
**Last updated:** [November 20, 2019, 11:29am UTC](https://discourse.processing.org/t/p5-js-programs-runned-from-processing-ide-not-working-under-edge/15656 "2019-11-20T11:29:16Z")

</div>

Hi everyone. I’m not sure to post in the correct group and topic, so please excuse me for the inconvenience if it is not the case. Here is the problem. We are introducing a new informatics course to all students of our…

---

## [Program to test hint() with transparency](https://discourse.processing.org/t/program-to-test-hint-with-transparency/4361)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 5\
**Last updated:** [November 19, 2019, 8:49pm UTC](https://discourse.processing.org/t/program-to-test-hint-with-transparency/4361 "2019-11-19T20:49:10Z")

</div>

A small Processing program to test the effect on transparency of enabling and disabling these settings: hint(DISABLE\_DEPTH\_TEST); // or ENABLE\_ hint(DISABLE\_DEPTH\_SORT); // or ENABLE\_ hint(DISABLE\_DEPTH\_MASK); // or ENA…

---

## [Easily converting keycode to string](https://discourse.processing.org/t/easily-converting-keycode-to-string/15649)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 2\
**Last updated:** [November 19, 2019, 11:53pm UTC](https://discourse.processing.org/t/easily-converting-keycode-to-string/15649 "2019-11-19T23:53:59Z")

</div>

Is there a way to easily convert a keycode to a string, without having to create a case list for each letter?

---

## [Rainbow Snake (one more Snake Game 🌈 )](https://discourse.processing.org/t/rainbow-snake-one-more-snake-game/15624)

<div class="topic-metadata">

**Author:** [@LittleBoxes](https://discourse.processing.org/u/LittleBoxes)\
**Replies:** 5\
**Last updated:** [November 19, 2019, 8:50pm UTC](https://discourse.processing.org/t/rainbow-snake-one-more-snake-game/15624 "2019-11-19T20:50:12Z")

</div>

Hello, Here is another version of the classic Snake made with p5js. Rainbow Snake Spacebar to skip the title screen and the movements are done with the arrows It works on the phone by touching the top, bottom, right …

---

## [Only countdown when mouse at a certain position](https://discourse.processing.org/t/only-countdown-when-mouse-at-a-certain-position/15635)

<div class="topic-metadata">

**Author:** [@kinglucas](https://discourse.processing.org/u/kinglucas)\
**Replies:** 1\
**Last updated:** [November 19, 2019, 2:21pm UTC](https://discourse.processing.org/t/only-countdown-when-mouse-at-a-certain-position/15635 "2019-11-19T14:21:08Z")

</div>

I want a countdown timer only when the mouse is on the bottom left rectangle the timer counts down and if you are not in that part it doesnt count down. Thank you in advance. // IMPORTANT!!! READ BELOW // Every scene is…

---

## [Saving & loading data](https://discourse.processing.org/t/saving-loading-data/15636)

<div class="topic-metadata">

**Author:** [@Chinnah](https://discourse.processing.org/u/Chinnah)\
**Replies:** 1\
**Last updated:** [November 19, 2019, 1:40pm UTC](https://discourse.processing.org/t/saving-loading-data/15636 "2019-11-19T13:40:59Z")

</div>

I am trying to make a simple game with a high score using APDE on my phone, but there is no way i had fond that could help me with that. I have tried using loadBytes() & saveBytes() but every time i leave the game the da…

---

## [Animate object & slow down when reaching limits](https://discourse.processing.org/t/animate-object-slow-down-when-reaching-limits/15634)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 1\
**Last updated:** [November 19, 2019, 12:13pm UTC](https://discourse.processing.org/t/animate-object-slow-down-when-reaching-limits/15634 "2019-11-19T12:13:32Z")

</div>

smoothstep() examples https://en.wikipedia.org/wiki/Smoothstep is a core function that exists in GLSL (shader programming). Here you can find it ported to java. Example of soft limits and interaction // An example of se…

---

## [Android Studio Question](https://discourse.processing.org/t/android-studio-question/15614)

<div class="topic-metadata">

**Author:** [@Ladan](https://discourse.processing.org/u/Ladan)\
**Replies:** 11\
**Last updated:** [November 19, 2019, 12:06pm UTC](https://discourse.processing.org/t/android-studio-question/15614 "2019-11-19T12:06:12Z")

</div>

Can somebody tell me, where my main activity is? And also, does somebody know an Android Studio Tutorial? Thanks for your help

---

## [Using sound and mouse interaction](https://discourse.processing.org/t/using-sound-and-mouse-interaction/15441)

<div class="topic-metadata">

**Author:** [@JoseBri93](https://discourse.processing.org/u/JoseBri93)\
**Replies:** 6\
**Last updated:** [November 19, 2019, 6:41am UTC](https://discourse.processing.org/t/using-sound-and-mouse-interaction/15441 "2019-11-19T06:41:46Z")

</div>

Hi, Im currently working on this sketch. Overall, whenever i overlap the mouse on any ellipse, i get a color fill and a piece of sound that start playing. The problem was the sound started looping insanely fast (partly …

---

## [textSize(?); adaptable en fullScreen](https://discourse.processing.org/t/textsize-adaptable-en-fullscreen/15626)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 2\
**Last updated:** [November 19, 2019, 6:46am UTC](https://discourse.processing.org/t/textsize-adaptable-en-fullscreen/15626 "2019-11-19T06:46:21Z")

</div>

Estoy programando algo en fullScreen y me pregunto cómo puedo hacer que el texto que escriba no tenga un tamaño fijo, sino uno relativo al tamaño de la pantalla en el que se ejecute. Gracias por adelantado.

---

## [Text output in 3d using various rotations: text letters bounding box becomes not transparent](https://discourse.processing.org/t/text-output-in-3d-using-various-rotations-text-letters-bounding-box-becomes-not-transparent/15629)

<div class="topic-metadata">

**Author:** [@add02one](https://discourse.processing.org/u/add02one)\
**Replies:** 2\
**Last updated:** [November 19, 2019, 2:56am UTC](https://discourse.processing.org/t/text-output-in-3d-using-various-rotations-text-letters-bounding-box-becomes-not-transparent/15629 "2019-11-19T02:56:36Z")

</div>

hi, i’m trying to output text in 3d using various rotations and subsequent text’s bounding box starts hiding the text below. This is my code, very simple. Is there a way to fix this? Thanks in advance! void setup() …

---

## [How to print one rectangle at a time vs all at once?](https://discourse.processing.org/t/how-to-print-one-rectangle-at-a-time-vs-all-at-once/15617)

<div class="topic-metadata">

**Author:** [@ballinoates](https://discourse.processing.org/u/ballinoates)\
**Replies:** 4\
**Last updated:** [November 19, 2019, 2:53am UTC](https://discourse.processing.org/t/how-to-print-one-rectangle-at-a-time-vs-all-at-once/15617 "2019-11-19T02:53:54Z")

</div>

Hi all- n00b here, trying to learn this fantastic language but am having some trouble. I am taking this one step at a time but am missing something. My end idea is to have 100x100 pix rect’s fade in and fade out in rand…

---

## [Need help with supervised learning in neuronal networks](https://discourse.processing.org/t/need-help-with-supervised-learning-in-neuronal-networks/15585)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 5\
**Last updated:** [November 18, 2019, 11:58pm UTC](https://discourse.processing.org/t/need-help-with-supervised-learning-in-neuronal-networks/15585 "2019-11-18T23:58:18Z")

</div>

Hi I’m trying to programm a neuronal Network but as I looked for some functions for the change of weights to make the programm learn. Here is my code so far: class Neuron { int \_x, \_y; int id; float\[\] weights; f…

---

## [Null pointer exception on hashmap](https://discourse.processing.org/t/null-pointer-exception-on-hashmap/15627)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 1\
**Last updated:** [November 18, 2019, 10:58pm UTC](https://discourse.processing.org/t/null-pointer-exception-on-hashmap/15627 "2019-11-18T22:58:39Z")

</div>

I’m initialising a hashmap in a constructor Menu(float xx, float yy, float ww, float hh){ x = xx; y = yy; w = ww; h = hh; xoff = 0; yoff = 0; toggle =0; values = new HashMap\<String,B…

---

## [Custom Processing library doesn't compile (Missing "com.sun.tools.javac.Main")](https://discourse.processing.org/t/custom-processing-library-doesnt-compile-missing-com-sun-tools-javac-main/15618)

<div class="topic-metadata">

**Author:** [@Schred](https://discourse.processing.org/u/Schred)\
**Replies:** 3\
**Last updated:** [November 18, 2019, 8:50pm UTC](https://discourse.processing.org/t/custom-processing-library-doesnt-compile-missing-com-sun-tools-javac-main/15618 "2019-11-18T20:50:56Z")

</div>

I am currently following the amazing tutorial by Daniel Shiffman on how to create a library for Processing. I got everything setup and ready to compile, however, I got this error message: BUILD FAILED ProjectPath\\res…

---

## [Unknown out of memory leak](https://discourse.processing.org/t/unknown-out-of-memory-leak/15470)

<div class="topic-metadata">

**Author:** [@sargent](https://discourse.processing.org/u/sargent)\
**Replies:** 3\
**Last updated:** [November 18, 2019, 8:48pm UTC](https://discourse.processing.org/t/unknown-out-of-memory-leak/15470 "2019-11-18T20:48:59Z")

</div>

Hi, I am working on a project with the following issue: every few times I run it, it begins to crash on startup due to an out of memory error. Here is the error: OutOfMemoryError: Java heap space at java.awt.image.Da…

---

## [Simple dialogue system](https://discourse.processing.org/t/simple-dialogue-system/15616)

<div class="topic-metadata">

**Author:** [@kinglucas](https://discourse.processing.org/u/kinglucas)\
**Replies:** 6\
**Last updated:** [November 18, 2019, 8:47pm UTC](https://discourse.processing.org/t/simple-dialogue-system/15616 "2019-11-18T20:47:47Z")

</div>

I wanted to have a symple dialogue system for my game but I don’t know how to make the first text appear on click and then the next piece of text if you click again. int scene = 1; void setup() { size(800, 600); } v…

---

## [Android license problem](https://discourse.processing.org/t/android-license-problem/15612)

<div class="topic-metadata">

**Author:** [@Ladan](https://discourse.processing.org/u/Ladan)\
**Replies:** 3\
**Last updated:** [November 18, 2019, 4:10pm UTC](https://discourse.processing.org/t/android-license-problem/15612 "2019-11-18T16:10:51Z")

</div>

I am getting this error, even when i´m trying to start a sketch on my device: Caused by: java.lang.RuntimeException: You have not accepted the license agreements of the following SDK components: \[Android SDK Build-Tools…

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

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