# Latest

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

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

**Page:** 253

---

## [Mobile Quiz Game (80 languages, 10,000 questions)](https://discourse.processing.org/t/mobile-quiz-game-80-languages-10-000-questions/27866)

<div class="topic-metadata">

**Author:** [@Mesalcode](https://discourse.processing.org/u/Mesalcode)\
**Replies:** 3\
**Last updated:** [February 21, 2021, 2:20pm UTC](https://discourse.processing.org/t/mobile-quiz-game-80-languages-10-000-questions/27866 "2021-02-21T14:20:34Z")

</div>

Hi Processing community! I’d like to share my first real game I made with Processing. It is a swipe controlled mobile game made for Android devices. The UI and all questions are translated into over 80 of the most pop…

---

## [Grid From Objects - Array Out of Bounds](https://discourse.processing.org/t/grid-from-objects-array-out-of-bounds/27964)

<div class="topic-metadata">

**Author:** [@L0RDZed](https://discourse.processing.org/u/L0RDZed)\
**Replies:** 2\
**Last updated:** [February 21, 2021, 2:12pm UTC](https://discourse.processing.org/t/grid-from-objects-array-out-of-bounds/27964 "2021-02-21T14:12:48Z")

</div>

Hey, I’m trying to use a for loop to create a grid of objects and getting an out-of-bounds issue. I can’t get int k to increment through the inner loop…actually, when I place it in the outer for loop it increments and pr…

---

## [Problem with Game Control Plus library button pressed](https://discourse.processing.org/t/problem-with-game-control-plus-library-button-pressed/27887)

<div class="topic-metadata">

**Author:** [@cha](https://discourse.processing.org/u/cha)\
**Replies:** 2\
**Last updated:** [February 21, 2021, 11:45am UTC](https://discourse.processing.org/t/problem-with-game-control-plus-library-button-pressed/27887 "2021-02-21T11:45:56Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi I’m new to processing and trying to control my robot arm using an USB game controller(armor3 wired controller) through processing. While usi…

---

## [Using json data to change colour](https://discourse.processing.org/t/using-json-data-to-change-colour/27958)

<div class="topic-metadata">

**Author:** [@fleshcircuit](https://discourse.processing.org/u/fleshcircuit)\
**Replies:** 3\
**Last updated:** [February 21, 2021, 11:22am UTC](https://discourse.processing.org/t/using-json-data-to-change-colour/27958 "2021-02-21T11:22:53Z")

</div>

Hello, I am trying to create a sketch that uses from a json file to r value to change colour. In the terminal, it shows the value changing, but the colour are not changing. Here is code: import json def setup(): s…

---

## [Sketch won't work in HTML](https://discourse.processing.org/t/sketch-wont-work-in-html/27969)

<div class="topic-metadata">

**Author:** [@sreyba](https://discourse.processing.org/u/sreyba)\
**Replies:** 1\
**Last updated:** [February 21, 2021, 5:04am UTC](https://discourse.processing.org/t/sketch-wont-work-in-html/27969 "2021-02-21T05:04:48Z")

</div>

Hi all - I’m a newbie with a question. I was working with my Arduino and one of the samples used PDE. I liked the example and wanted to modify a bit and place it on my web page. I stripped out the Arduino commands and …

---

## [Very confused about my PrintWriter object](https://discourse.processing.org/t/very-confused-about-my-printwriter-object/27967)

<div class="topic-metadata">

**Author:** [@Math\_Machine](https://discourse.processing.org/u/Math_Machine)\
**Replies:** 0\
**Last updated:** [February 21, 2021, 12:58am UTC](https://discourse.processing.org/t/very-confused-about-my-printwriter-object/27967 "2021-02-21T00:58:19Z")

</div>

Okay, so, I’m making a calculator. I started using the PrintWriter and BufferedReader objects so I could save previously entered problems, even after I exit the sketch. Problem is, it kinda has to save a lot of data to …

---

## [Object Creation in a Program](https://discourse.processing.org/t/object-creation-in-a-program/27874)

<div class="topic-metadata">

**Author:** [@dtools22](https://discourse.processing.org/u/dtools22)\
**Replies:** 6\
**Last updated:** [February 20, 2021, 3:13am UTC](https://discourse.processing.org/t/object-creation-in-a-program/27874 "2021-02-20T03:13:37Z")

</div>

Hello All, I have a more generic code theory question. I have a program I am writing that is a companion program for a board game. As the board game develops, more pieces are added to the board. The board initially h…

---

## [Is there big differences between Repl.it and the Processing IDE?](https://discourse.processing.org/t/is-there-big-differences-between-repl-it-and-the-processing-ide/27943)

<div class="topic-metadata">

**Author:** [@spamelim](https://discourse.processing.org/u/spamelim)\
**Replies:** 5\
**Last updated:** [February 20, 2021, 2:16am UTC](https://discourse.processing.org/t/is-there-big-differences-between-repl-it-and-the-processing-ide/27943 "2021-02-20T02:16:55Z")

</div>

For class, I use the website repl.it and code fully in processing on it. It’s not meant to use processing but my professor uses some sort of plugin that makes it work. Anyways, for any complex projects, usually, one with…

---

## [Place a p5.js canvas inside a div](https://discourse.processing.org/t/place-a-p5-js-canvas-inside-a-div/27913)

<div class="topic-metadata">

**Author:** [@EunieceHarris](https://discourse.processing.org/u/EunieceHarris)\
**Replies:** 5\
**Last updated:** [February 19, 2021, 10:09pm UTC](https://discourse.processing.org/t/place-a-p5-js-canvas-inside-a-div/27913 "2021-02-19T22:09:59Z")

</div>

Hello! I have a diagram that I hope conveys my question: This is a screenshot of my website that I plan on showing multiple p5.js illustrations. I want to place the drawing in the div element but I’ve not been succes…

---

## [Future compatibility, processing vanilla](https://discourse.processing.org/t/future-compatibility-processing-vanilla/27933)

<div class="topic-metadata">

**Author:** [@av\_kafka](https://discourse.processing.org/u/av_kafka)\
**Replies:** 5\
**Last updated:** [February 19, 2021, 6:07pm UTC](https://discourse.processing.org/t/future-compatibility-processing-vanilla/27933 "2021-02-19T18:07:26Z")

</div>

Hi everyone! Questions from a new processing user, hope someone might point me towards docs, info etc. I’m involved with keeping some old pieces for live-electronics audio+video alive. Typically they’re laid out in so…

---

## [Video tutorials about using Processing in IntelliJ Idea](https://discourse.processing.org/t/video-tutorials-about-using-processing-in-intellij-idea/27936)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 0\
**Last updated:** [February 19, 2021, 5:34pm UTC](https://discourse.processing.org/t/video-tutorials-about-using-processing-in-intellij-idea/27936 "2021-02-19T17:34:51Z")

</div>

Hi :slight\_smile: I recently recorded 6 videos about writing Processing sketches using the Idea IDE. This is the most recent one: Previous episodes are in my new Patreon page: I plan to make videos about writing Pr…

---

## [Convert String Array to int / float (loadStrings)](https://discourse.processing.org/t/convert-string-array-to-int-float-loadstrings/27695)

<div class="topic-metadata">

**Author:** [@librakl](https://discourse.processing.org/u/librakl)\
**Replies:** 9\
**Last updated:** [February 19, 2021, 3:12pm UTC](https://discourse.processing.org/t/convert-string-array-to-int-float-loadstrings/27695 "2021-02-19T15:12:41Z")

</div>

Hello there, i have an csv file with a lot of numbers inside, which are seperated with “,” (. This file is supposed to make a map out of the numbers. First problem i got is to convert this into String, because i wanna …

---

## [Loading excel data in P5](https://discourse.processing.org/t/loading-excel-data-in-p5/27930)

<div class="topic-metadata">

**Author:** [@xbix](https://discourse.processing.org/u/xbix)\
**Replies:** 1\
**Last updated:** [February 19, 2021, 1:53pm UTC](https://discourse.processing.org/t/loading-excel-data-in-p5/27930 "2021-02-19T13:53:06Z")

</div>

I haven’t found any libraries for that purpose. What are my options when I want to load excel data into p5? Thanks in advance

---

## [Algorithmic Art](https://discourse.processing.org/t/algorithmic-art/27897)

<div class="topic-metadata">

**Author:** [@IRIGIMA](https://discourse.processing.org/u/IRIGIMA)\
**Replies:** 4\
**Last updated:** [February 19, 2021, 1:41pm UTC](https://discourse.processing.org/t/algorithmic-art/27897 "2021-02-19T13:41:33Z")

</div>

1 year : 3 Projects. Algorithmic Art. Irigima Unlimited, Evolution and Genesis rendered in Processing. 15000 X 5000 PX Hope you like…

---

## [Blue border/margin around rectangle](https://discourse.processing.org/t/blue-border-margin-around-rectangle/27896)

<div class="topic-metadata">

**Author:** [@tea\_tree](https://discourse.processing.org/u/tea_tree)\
**Replies:** 2\
**Last updated:** [February 19, 2021, 10:53am UTC](https://discourse.processing.org/t/blue-border-margin-around-rectangle/27896 "2021-02-19T10:53:43Z")

</div>

I’m facing a weird problem. When I draw a rectangle as part of my HUD, it is drawn with a blue border even though I don’t actually ever specify this color in my code anywhere. Do you have any idea why this is and how to …

---

## [loadJSON() function error message](https://discourse.processing.org/t/loadjson-function-error-message/27893)

<div class="topic-metadata">

**Author:** [@EunieceHarris](https://discourse.processing.org/u/EunieceHarris)\
**Replies:** 8\
**Last updated:** [February 19, 2021, 10:09am UTC](https://discourse.processing.org/t/loadjson-function-error-message/27893 "2021-02-19T10:09:00Z")

</div>

I’m a newbie to p5.js but I’ve been playing around with using API’s. Whenever I call an API using the function loadJSON(), no matter what I always get the same error message that reads: p5.js says: It looks like there w…

---

## [Need help on beginner project (Snake)](https://discourse.processing.org/t/need-help-on-beginner-project-snake/27908)

<div class="topic-metadata">

**Author:** [@luckduck312](https://discourse.processing.org/u/luckduck312)\
**Replies:** 7\
**Last updated:** [February 19, 2021, 8:13am UTC](https://discourse.processing.org/t/need-help-on-beginner-project-snake/27908 "2021-02-19T08:13:12Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi i’m working on making snake with a 2d array. Right now i’m trying to move a single square but i can’t get it to work. When moving up or left …

---

## [Android\_101: How to open a window](https://discourse.processing.org/t/android-101-how-to-open-a-window/27607)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 8\
**Last updated:** [February 18, 2021, 10:45pm UTC](https://discourse.processing.org/t/android-101-how-to-open-a-window/27607 "2021-02-18T22:45:12Z")

</div>

This basic demo should open a window on an Android device. Buttons will be added in a future demo. Reference: https://processing.org/reference/ color BLUE = color(64,124,188); void setup() { fullScreen(); ori…

---

## [Vectors? (The "dynamic array" type of vectors, not the "value and direction" type)](https://discourse.processing.org/t/vectors-the-dynamic-array-type-of-vectors-not-the-value-and-direction-type/27919)

<div class="topic-metadata">

**Author:** [@ProgrammingN00b](https://discourse.processing.org/u/ProgrammingN00b)\
**Replies:** 4\
**Last updated:** [February 18, 2021, 7:57pm UTC](https://discourse.processing.org/t/vectors-the-dynamic-array-type-of-vectors-not-the-value-and-direction-type/27919 "2021-02-18T19:57:19Z")

</div>

Hello everybody! I have had a bit of programming experience with C++ but found it very hard to make anything else then simple “command line applications” with it. So looking for some “beginner friendly GUI stuff”, I ca…

---

## [How to modify the program? Sound detection and face tracking](https://discourse.processing.org/t/how-to-modify-the-program-sound-detection-and-face-tracking/27881)

<div class="topic-metadata">

**Author:** [@KateK](https://discourse.processing.org/u/KateK)\
**Replies:** 5\
**Last updated:** [February 18, 2021, 6:52pm UTC](https://discourse.processing.org/t/how-to-modify-the-program-sound-detection-and-face-tracking/27881 "2021-02-18T18:52:38Z")

</div>

Hi, I’m learning programming and I’m stuck in one place. According to the code Cassie wrote on the webinar (https://www.youtube.com/watch?v=sRLWIAPaiRI&t=1546s), the sound comes when you click. I want the sound to go on…

---

## [Code making very nice pattern](https://discourse.processing.org/t/code-making-very-nice-pattern/27916)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 0\
**Last updated:** [February 18, 2021, 5:54pm UTC](https://discourse.processing.org/t/code-making-very-nice-pattern/27916 "2021-02-18T17:54:01Z")

</div>

Move your mouse and watch then move it again wait watch and so on PImage hm; int xstep = 1; int max\_height = 666; void setup() { size(800, 1000, P3D); background(0); me(); } void me(){ background (2,244,3); …

---

## [P5 Control in custom class](https://discourse.processing.org/t/p5-control-in-custom-class/27865)

<div class="topic-metadata">

**Author:** [@xbix](https://discourse.processing.org/u/xbix)\
**Replies:** 5\
**Last updated:** [February 18, 2021, 5:00pm UTC](https://discourse.processing.org/t/p5-control-in-custom-class/27865 "2021-02-18T17:00:38Z")

</div>

I’m trying to add p5 UI to my drawing class, but when I add cp5 = new ControlP5(this); to the constructor I get: "The constructor "ControlP5(myClassName) does not exist. Loading p5 from the setup() works fine. What a…

---

## [Program execution doesn\`t stop when you close the window](https://discourse.processing.org/t/program-execution-doesn-t-stop-when-you-close-the-window/27901)

<div class="topic-metadata">

**Author:** [@dacoconutchemist](https://discourse.processing.org/u/dacoconutchemist)\
**Replies:** 1\
**Last updated:** [February 18, 2021, 10:46am UTC](https://discourse.processing.org/t/program-execution-doesn-t-stop-when-you-close-the-window/27901 "2021-02-18T10:46:01Z")

</div>

I’m making my own programming language for fun and I hava added the goto command. This is the code of the function that executes the code: class Var { char type; String name; Object univ; Var(Object i, String n…

---

## [Converting byte array or String to float](https://discourse.processing.org/t/converting-byte-array-or-string-to-float/27863)

<div class="topic-metadata">

**Author:** [@TanviM](https://discourse.processing.org/u/TanviM)\
**Replies:** 6\
**Last updated:** [February 18, 2021, 7:29am UTC](https://discourse.processing.org/t/converting-byte-array-or-string-to-float/27863 "2021-02-18T07:29:21Z")

</div>

Hi, I have been successful in getting serial data using this - GitHub - p5-serial/p5.serialport: Serial Port API and Server for p5.js library as either byte array or string values. But when I tried converting string t…

---

## [Rainbow + gradient](https://discourse.processing.org/t/rainbow-gradient/27858)

<div class="topic-metadata">

**Author:** [@Apollo](https://discourse.processing.org/u/Apollo)\
**Replies:** 5\
**Last updated:** [February 18, 2021, 5:37am UTC](https://discourse.processing.org/t/rainbow-gradient/27858 "2021-02-18T05:37:44Z")

</div>

Good day! Can you pretty please assist me here? How can I exactly make this colorful box in processing? The colors got specific positioning… And It really requires some hardcore coding (I think). Thank you in advan…

---

## [How to create textbox on mouseover?](https://discourse.processing.org/t/how-to-create-textbox-on-mouseover/27867)

<div class="topic-metadata">

**Author:** [@tea\_tree](https://discourse.processing.org/u/tea_tree)\
**Replies:** 3\
**Last updated:** [February 18, 2021, 4:55am UTC](https://discourse.processing.org/t/how-to-create-textbox-on-mouseover/27867 "2021-02-18T04:55:28Z")

</div>

I’m plotting some datapoints in 3D, I would like to display a textbox (with text in it) on mouseover. Do you have any suggestions on how to start? Do you know of any examples, libraries, or code I could use as a template…

---

## [Help needed on loading table and creating search box to search filter data (Bible)](https://discourse.processing.org/t/help-needed-on-loading-table-and-creating-search-box-to-search-filter-data-bible/27870)

<div class="topic-metadata">

**Author:** [@ghost1](https://discourse.processing.org/u/ghost1)\
**Replies:** 12\
**Last updated:** [February 16, 2021, 11:04pm UTC](https://discourse.processing.org/t/help-needed-on-loading-table-and-creating-search-box-to-search-filter-data-bible/27870 "2021-02-16T23:04:20Z")

</div>

Can someone help me figure out how to put the code in to load my data table? Attached is a snapshot of some data, it is just simply two columns, one being verse, and the other being reference. The idea here is I want to…

---

## [Help in writing a stock management code](https://discourse.processing.org/t/help-in-writing-a-stock-management-code/27875)

<div class="topic-metadata">

**Author:** [@zvodca](https://discourse.processing.org/u/zvodca)\
**Replies:** 4\
**Last updated:** [February 17, 2021, 6:44pm UTC](https://discourse.processing.org/t/help-in-writing-a-stock-management-code/27875 "2021-02-17T18:44:41Z")

</div>

Is it possible to write a code for stock managing in processing? If so can i get a code for that purpose?

---

## [PDF / SVG libraries - rectMode(CENTER) not working](https://discourse.processing.org/t/pdf-svg-libraries-rectmode-center-not-working/27878)

<div class="topic-metadata">

**Author:** [@xiiixiii](https://discourse.processing.org/u/xiiixiii)\
**Replies:** 4\
**Last updated:** [February 17, 2021, 2:47pm UTC](https://discourse.processing.org/t/pdf-svg-libraries-rectmode-center-not-working/27878 "2021-02-17T14:47:23Z")

</div>

Hi there So I’ve got a project, I go to export the files, all works as expected except for the rectangles which are now in the wrong positions. Same error with PDF and SVG libraries. Is this a known issue with rectMode…

---

## [App icon Processing 3](https://discourse.processing.org/t/app-icon-processing-3/27884)

<div class="topic-metadata">

**Author:** [@shuptuu](https://discourse.processing.org/u/shuptuu)\
**Replies:** 0\
**Last updated:** [February 17, 2021, 2:08pm UTC](https://discourse.processing.org/t/app-icon-processing-3/27884 "2021-02-17T14:08:04Z")

</div>

Hi, With Processing 3 on windows, the only way I found to set an icon for your app is by adding this: PImage icon = loadImage(“icon.png”); surface.setIcon(icon); Ok, but it’s quite limited cause you can just provide …

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

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