# Latest

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

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

**Page:** 404

---

## [Removing first entry when next enters](https://discourse.processing.org/t/removing-first-entry-when-next-enters/16963)

<div class="topic-metadata">

**Author:** [@vanoevelenstef](https://discourse.processing.org/u/vanoevelenstef)\
**Replies:** 17\
**Last updated:** [January 13, 2020, 9:16am UTC](https://discourse.processing.org/t/removing-first-entry-when-next-enters/16963 "2020-01-13T09:16:16Z")

</div>

I’ve this code that lets you type words when keypressed but it only shows one word at the time. I want it to show multiply words (lets say 20) at the time and when word 21 is entered, the first word gets deleted and word…

---

## [Speech recognition for android mode](https://discourse.processing.org/t/speech-recognition-for-android-mode/463)

<div class="topic-metadata">

**Author:** [@josephh](https://discourse.processing.org/u/josephh)\
**Replies:** 19\
**Last updated:** [January 13, 2020, 8:13am UTC](https://discourse.processing.org/t/speech-recognition-for-android-mode/463 "2020-01-13T08:13:25Z")

</div>

Hello, Does someone know a speech recognition (speech to text) library for Android Mode in processing? Thanks

---

## [Python Processing; Pacman](https://discourse.processing.org/t/python-processing-pacman/17058)

<div class="topic-metadata">

**Author:** [@heyitsme](https://discourse.processing.org/u/heyitsme)\
**Replies:** 2\
**Last updated:** [January 13, 2020, 5:45am UTC](https://discourse.processing.org/t/python-processing-pacman/17058 "2020-01-13T05:45:52Z")

</div>

Hello! I am starting the first step of my Pacman game, but I am having a problem with the Pacman moving. It seems that I’ve done something to my code to keep adding new Pacmans when I press an arrow. I want to remove th…

---

## [How to use asset fonts in p5](https://discourse.processing.org/t/how-to-use-asset-fonts-in-p5/17037)

<div class="topic-metadata">

**Author:** [@gregts13](https://discourse.processing.org/u/gregts13)\
**Replies:** 8\
**Last updated:** [January 13, 2020, 2:03am UTC](https://discourse.processing.org/t/how-to-use-asset-fonts-in-p5/17037 "2020-01-13T02:03:47Z")

</div>

Honored motorcycle by gregeb13 -p5.js Web Editor Error: Unsupported OpenType signature p5.js says: It looks like there was a problem loading your font. Try checking if the file path \[assets/Bold.ttf\] is correct, hostin…

---

## [Fixing laggy code (Minim, gradientline)](https://discourse.processing.org/t/fixing-laggy-code-minim-gradientline/17047)

<div class="topic-metadata">

**Author:** [@edarcie](https://discourse.processing.org/u/edarcie)\
**Replies:** 6\
**Last updated:** [January 12, 2020, 5:49pm UTC](https://discourse.processing.org/t/fixing-laggy-code-minim-gradientline/17047 "2020-01-12T17:49:13Z")

</div>

Hello, I wanted to ask for help regarding my painfully inefficent code. I am currently working on a project were I create an audio reactive circle, that has a gradient. The intention is to create a circle that expands t…

---

## [Documentation of Processing](https://discourse.processing.org/t/documentation-of-processing/17010)

<div class="topic-metadata">

**Author:** [@KT27](https://discourse.processing.org/u/KT27)\
**Replies:** 6\
**Last updated:** [January 12, 2020, 7:10am UTC](https://discourse.processing.org/t/documentation-of-processing/17010 "2020-01-12T07:10:48Z")

</div>

Is there a Processing software documentation? I mean PDF.

---

## [Problem i face in serial communication](https://discourse.processing.org/t/problem-i-face-in-serial-communication/17023)

<div class="topic-metadata">

**Author:** [@Cyjian](https://discourse.processing.org/u/Cyjian)\
**Replies:** 5\
**Last updated:** [January 12, 2020, 3:27am UTC](https://discourse.processing.org/t/problem-i-face-in-serial-communication/17023 "2020-01-12T03:27:59Z")

</div>

Hi, i am learning the serial communication by using the Arduino collect the data and use the processing to do a GUI to display the data. Here is my Arduino code and Processing code. Arduino #include \<Servo.h\> Servo mys…

---

## [Cannot get my soundtrack to play during game](https://discourse.processing.org/t/cannot-get-my-soundtrack-to-play-during-game/17040)

<div class="topic-metadata">

**Author:** [@Kasavee](https://discourse.processing.org/u/Kasavee)\
**Replies:** 4\
**Last updated:** [January 12, 2020, 2:25am UTC](https://discourse.processing.org/t/cannot-get-my-soundtrack-to-play-during-game/17040 "2020-01-12T02:25:30Z")

</div>

Hi, I’m totally new at this but I’ve made a game for a college project that’s centred around non-traditional interactions. It’s basically a mash-up of Flappy Bird and Chicken Scream where you use sound (or a mouseclick) …

---

## [Need help for a simple Grid](https://discourse.processing.org/t/need-help-for-a-simple-grid/17033)

<div class="topic-metadata">

**Author:** [@DeadApe](https://discourse.processing.org/u/DeadApe)\
**Replies:** 4\
**Last updated:** [January 12, 2020, 1:51am UTC](https://discourse.processing.org/t/need-help-for-a-simple-grid/17033 "2020-01-12T01:51:18Z")

</div>

Hello ppl, i don’t get the failure in my code. I just want to draw a simple grid out of rectangles. My Code: void settings(){ size(800, 800); } void setup(){ int blockSize = 30; int hBlocks = 10; int wBlocks …

---

## [Problem Saving Serial data into an Array](https://discourse.processing.org/t/problem-saving-serial-data-into-an-array/17003)

<div class="topic-metadata">

**Author:** [@hachimbala](https://discourse.processing.org/u/hachimbala)\
**Replies:** 3\
**Last updated:** [January 11, 2020, 3:40pm UTC](https://discourse.processing.org/t/problem-saving-serial-data-into-an-array/17003 "2020-01-11T15:40:18Z")

</div>

Hello, I am developing an Arduino 360 radar, my arduino is sending correctly the info, and the Processing app is receiving it correctly too, but when I try to save the data into an array, it doesn’t update the values. T…

---

## [Template - Import modules in pyde](https://discourse.processing.org/t/template-import-modules-in-pyde/16608)

<div class="topic-metadata">

**Author:** [@benwall](https://discourse.processing.org/u/benwall)\
**Replies:** 10\
**Last updated:** [January 11, 2020, 10:25am UTC](https://discourse.processing.org/t/template-import-modules-in-pyde/16608 "2020-01-11T10:25:21Z")

</div>

Hi, Here’s an import modules template I’ve been working on to work with Processing using any outside code editor. It allows users to launch the .pyde file with PDE, and simply clic the Play button to launch their sketc…

---

## [Game 2D light and shadow ray casting with colors](https://discourse.processing.org/t/game-2d-light-and-shadow-ray-casting-with-colors/14025)

<div class="topic-metadata">

**Author:** [@GeorgeJava](https://discourse.processing.org/u/GeorgeJava)\
**Replies:** 6\
**Last updated:** [January 11, 2020, 9:23am UTC](https://discourse.processing.org/t/game-2d-light-and-shadow-ray-casting-with-colors/14025 "2020-01-11T09:23:17Z")

</div>

Hello, I create sketch that uses ray casting with shadows and lights, but i want to tint every single light with own color, how i can do it ? boolean lihghtsEnable = true; PImage background, screen; PGraphics lightMas…

---

## [Random Text Generator (using stored text/data)](https://discourse.processing.org/t/random-text-generator-using-stored-text-data/16956)

<div class="topic-metadata">

**Author:** [@marianne91](https://discourse.processing.org/u/marianne91)\
**Replies:** 5\
**Last updated:** [January 10, 2020, 6:26pm UTC](https://discourse.processing.org/t/random-text-generator-using-stored-text-data/16956 "2020-01-10T18:26:13Z")

</div>

Hi there, I would like to use a ‘random text generator’ in a project I’m doing using Processing. The idea is that a participant would do a ‘quiz’ on processing in which the answers would be stored as data and would the…

---

## [The algorithm is too slow](https://discourse.processing.org/t/the-algorithm-is-too-slow/16553)

<div class="topic-metadata">

**Author:** [@costachemadalin](https://discourse.processing.org/u/costachemadalin)\
**Replies:** 2\
**Last updated:** [January 10, 2020, 11:18pm UTC](https://discourse.processing.org/t/the-algorithm-is-too-slow/16553 "2020-01-10T23:18:21Z")

</div>

Hello, i am trying to calculate disparity from 2 rectified images and for that i need to take every pixel from left image and seach in one line from right image and find the similar pixel ,the dimension of the images is …

---

## [Inconsistent duration of draw() process](https://discourse.processing.org/t/inconsistent-duration-of-draw-process/16996)

<div class="topic-metadata">

**Author:** [@Yannick\_Da](https://discourse.processing.org/u/Yannick_Da)\
**Replies:** 4\
**Last updated:** [January 10, 2020, 11:11pm UTC](https://discourse.processing.org/t/inconsistent-duration-of-draw-process/16996 "2020-01-10T23:11:52Z")

</div>

Hi all, I work on a project where we aim at drawing shape based on csv reading. Code is working (basically, it opens csvfile then read data line by line and update size and color of an ellipse for each line). However, w…

---

## [Flip upper case with lower case](https://discourse.processing.org/t/flip-upper-case-with-lower-case/17013)

<div class="topic-metadata">

**Author:** [@Andiwnl](https://discourse.processing.org/u/Andiwnl)\
**Replies:** 2\
**Last updated:** [January 10, 2020, 10:43pm UTC](https://discourse.processing.org/t/flip-upper-case-with-lower-case/17013 "2020-01-10T22:43:36Z")

</div>

hello, I want to swap upper case letters with lower case letters. But all I can find on the internet is just how I can completely convert the word either to lower case or to upper case. what I need is : Hello -\> hELLO

---

## [Small problem while making snake game](https://discourse.processing.org/t/small-problem-while-making-snake-game/16990)

<div class="topic-metadata">

**Author:** [@RoebenV](https://discourse.processing.org/u/RoebenV)\
**Replies:** 11\
**Last updated:** [January 10, 2020, 9:35pm UTC](https://discourse.processing.org/t/small-problem-while-making-snake-game/16990 "2020-01-10T21:35:21Z")

</div>

I’m making a snake game where you can control the snake using the mouse, so if you’re above the snake’s head it should go up etc. I don’t know how I can make this, I’ve tried switching around if statements but to no avai…

---

## [Text fields: cut&pasting to and from](https://discourse.processing.org/t/text-fields-cut-pasting-to-and-from/16985)

<div class="topic-metadata">

**Author:** [@obahama](https://discourse.processing.org/u/obahama)\
**Replies:** 4\
**Last updated:** [January 10, 2020, 6:47pm UTC](https://discourse.processing.org/t/text-fields-cut-pasting-to-and-from/16985 "2020-01-10T18:47:20Z")

</div>

I currently have code that reads a text file into an array, edits certain parts of the text, then writes the edits to a text file. Now I want to update this to a UI where I can paste the text into a text field, click a b…

---

## [Changing pages using button and assigning new rules to buttons](https://discourse.processing.org/t/changing-pages-using-button-and-assigning-new-rules-to-buttons/17011)

<div class="topic-metadata">

**Author:** [@B\_s](https://discourse.processing.org/u/B_s)\
**Replies:** 0\
**Last updated:** [January 10, 2020, 6:01pm UTC](https://discourse.processing.org/t/changing-pages-using-button-and-assigning-new-rules-to-buttons/17011 "2020-01-10T18:01:03Z")

</div>

Hi all. I am looking to create pages in my sketch in which the buttons I want to use are assigned different orders. For example, on the intro page, button A takes you to page 2. On page 2 button A changes the background…

---

## [Older versions of Processing](https://discourse.processing.org/t/older-versions-of-processing/16965)

<div class="topic-metadata">

**Author:** [@mortap](https://discourse.processing.org/u/mortap)\
**Replies:** 6\
**Last updated:** [January 10, 2020, 4:40pm UTC](https://discourse.processing.org/t/older-versions-of-processing/16965 "2020-01-10T16:40:02Z")

</div>

I have an older Mac that is running Java 1.4, and I want to try out Processing on it. How do I get the right version?

---

## [Creating a Grafica plot in Pgraphics or new window](https://discourse.processing.org/t/creating-a-grafica-plot-in-pgraphics-or-new-window/17000)

<div class="topic-metadata">

**Author:** [@Thomas](https://discourse.processing.org/u/Thomas)\
**Replies:** 0\
**Last updated:** [January 10, 2020, 12:41pm UTC](https://discourse.processing.org/t/creating-a-grafica-plot-in-pgraphics-or-new-window/17000 "2020-01-10T12:41:49Z")

</div>

Hi all, I would like to make a Grafica plot in a Pgraphics but soon realised that it is not possible in my case. So I followed the workaround suggested by @GoToLoop on: https://discourse.processing.org/t/plot-grafica-in…

---

## [Help with catcher game](https://discourse.processing.org/t/help-with-catcher-game/16715)

<div class="topic-metadata">

**Author:** [@Clay1](https://discourse.processing.org/u/Clay1)\
**Replies:** 6\
**Last updated:** [January 8, 2020, 11:36am UTC](https://discourse.processing.org/t/help-with-catcher-game/16715 "2020-01-08T11:36:19Z")

</div>

I am trying to make a catcher game (im a beginner) and some how the balls that fall are making a line and are not delating so, you don’t se a ball faling but a thick line. Can somebody help me out and look at my code? …

---

## [Fail to update shape setup from csv data reading](https://discourse.processing.org/t/fail-to-update-shape-setup-from-csv-data-reading/16931)

<div class="topic-metadata">

**Author:** [@Yannick\_Da](https://discourse.processing.org/u/Yannick_Da)\
**Replies:** 2\
**Last updated:** [January 10, 2020, 10:55am UTC](https://discourse.processing.org/t/fail-to-update-shape-setup-from-csv-data-reading/16931 "2020-01-10T10:55:23Z")

</div>

Hi all Processing.org lovers out there, I’m working on a project were we would like to dynamically represent physiological data through artistic visual representation, with data being measured and streamed in real-time. …

---

## [I want to clear these buttons from the canvas any tips? (processing 3+)](https://discourse.processing.org/t/i-want-to-clear-these-buttons-from-the-canvas-any-tips-processing-3/16962)

<div class="topic-metadata">

**Author:** [@NinjaKittens](https://discourse.processing.org/u/NinjaKittens)\
**Replies:** 10\
**Last updated:** [January 10, 2020, 8:25am UTC](https://discourse.processing.org/t/i-want-to-clear-these-buttons-from-the-canvas-any-tips-processing-3/16962 "2020-01-10T08:25:15Z")

</div>

This is the code that I have so far: PImage a; PImage b; void setup() { size(1000,1000); background(100,255,110); a = loadImage("https://www.openprocessing.org/sketch/813047/files/Screenshot\_2019-12-19\_at\_84649\_AM.png"…

---

## [Moving object Speed increases when key pressed](https://discourse.processing.org/t/moving-object-speed-increases-when-key-pressed/16993)

<div class="topic-metadata">

**Author:** [@jegg](https://discourse.processing.org/u/jegg)\
**Replies:** 1\
**Last updated:** [January 10, 2020, 1:12am UTC](https://discourse.processing.org/t/moving-object-speed-increases-when-key-pressed/16993 "2020-01-10T01:12:10Z")

</div>

I need help with a code i want to increase the speed of a moving object when the key “P” is pressed i cant find the code. I need this for a project Here is my code float x = 100; float y = 100; float xSpeed = 0; flo…

---

## [Interactive Video with Audience Options](https://discourse.processing.org/t/interactive-video-with-audience-options/16805)

<div class="topic-metadata">

**Author:** [@marianne91](https://discourse.processing.org/u/marianne91)\
**Replies:** 5\
**Last updated:** [January 8, 2020, 10:42pm UTC](https://discourse.processing.org/t/interactive-video-with-audience-options/16805 "2020-01-08T22:42:40Z")

</div>

Hey there! I’m currently working on a project based on ‘decision-making’ in which I want to create a video narrative and allow the viewer to determine what happens next… At each break in the video narrative they will b…

---

## [Reset Arraylist of "Enemies" in order to Replay the Game](https://discourse.processing.org/t/reset-arraylist-of-enemies-in-order-to-replay-the-game/16975)

<div class="topic-metadata">

**Author:** [@cp796](https://discourse.processing.org/u/cp796)\
**Replies:** 8\
**Last updated:** [January 9, 2020, 5:46pm UTC](https://discourse.processing.org/t/reset-arraylist-of-enemies-in-order-to-replay-the-game/16975 "2020-01-09T17:46:12Z")

</div>

Hi, So I’m trying to create a game and I have an Arraylist of enemies. I want upon collision to reset it, in order if chosen by the player to play again from the “lose” screen to take him back and totally restart the ga…

---

## [Use input methods like Microsoft Chinese and Japanese Input](https://discourse.processing.org/t/use-input-methods-like-microsoft-chinese-and-japanese-input/16982)

<div class="topic-metadata">

**Author:** [@LoliProcessor](https://discourse.processing.org/u/LoliProcessor)\
**Replies:** 0\
**Last updated:** [January 9, 2020, 3:47pm UTC](https://discourse.processing.org/t/use-input-methods-like-microsoft-chinese-and-japanese-input/16982 "2020-01-09T15:47:02Z")

</div>

Is there a way to create an interface that let’s you use the input from the Microsoft Chinese and Japanese Input for example? JTextInput seems to be able to detect it, but I already started writing my project in Process…

---

## [Count identical strings in array for each unique entry](https://discourse.processing.org/t/count-identical-strings-in-array-for-each-unique-entry/16678)

<div class="topic-metadata">

**Author:** [@AndreasRef](https://discourse.processing.org/u/AndreasRef)\
**Replies:** 6\
**Last updated:** [January 9, 2020, 12:24pm UTC](https://discourse.processing.org/t/count-identical-strings-in-array-for-each-unique-entry/16678 "2020-01-09T12:24:41Z")

</div>

If I have an array of strings, how do I count the number of times each unique string occurs in the array? I do not know the content of the array beforehand.

---

## [Println order help?](https://discourse.processing.org/t/println-order-help/16928)

<div class="topic-metadata">

**Author:** [@crazybob5](https://discourse.processing.org/u/crazybob5)\
**Replies:** 3\
**Last updated:** [January 9, 2020, 9:19am UTC](https://discourse.processing.org/t/println-order-help/16928 "2020-01-09T09:19:42Z")

</div>

Can someone explain me the order of printlines here? int a = 4; int b = 7; void setup() { println("Setup: " + knutsel(a, b)); } int knutsel(int b, int a) { println("Knutsel: " + a); println("Knutsel: " + b); return …

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

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