# Latest

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

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

**Page:** 609

---

## [Adding a background image to a code](https://discourse.processing.org/t/adding-a-background-image-to-a-code/1533)

<div class="topic-metadata">

**Author:** [@Theothecat](https://discourse.processing.org/u/Theothecat)\
**Replies:** 4\
**Last updated:** [July 7, 2018, 12:11pm UTC](https://discourse.processing.org/t/adding-a-background-image-to-a-code/1533 "2018-07-07T12:11:17Z")

</div>

I’m new to proccesing, I have a code that I made, and I’m wondering how to set the background to a image, all the attempts that I did failed.

---

## [P5js change checkbox size](https://discourse.processing.org/t/p5js-change-checkbox-size/1567)

<div class="topic-metadata">

**Author:** [@Grimtin10](https://discourse.processing.org/u/Grimtin10)\
**Replies:** 1\
**Last updated:** [July 7, 2018, 11:26am UTC](https://discourse.processing.org/t/p5js-change-checkbox-size/1567 "2018-07-07T11:26:41Z")

</div>

I’m using the .size() function but it isn’t doing anything. I need my checkbox to be bigger, any help? -Grim

---

## [\[SOLVED\] Mov files not playing](https://discourse.processing.org/t/solved-mov-files-not-playing/1566)

<div class="topic-metadata">

**Author:** [@altibzz](https://discourse.processing.org/u/altibzz)\
**Replies:** 1\
**Last updated:** [July 7, 2018, 10:55am UTC](https://discourse.processing.org/t/solved-mov-files-not-playing/1566 "2018-07-07T10:55:39Z")

</div>

Hi, Is anyone experiencing issues with video playback? I can’t get any .mov files to play… I’ve even tried to run the example sketches on video playback and only the “reverse” example works, which uses a .mkv file. I ha…

---

## ['Poly-Mer' Contact Lens LED Light Sculpture](https://discourse.processing.org/t/poly-mer-contact-lens-led-light-sculpture/1490)

<div class="topic-metadata">

**Author:** [@justinlui](https://discourse.processing.org/u/justinlui)\
**Replies:** 5\
**Last updated:** [July 7, 2018, 2:19am UTC](https://discourse.processing.org/t/poly-mer-contact-lens-led-light-sculpture/1490 "2018-07-07T02:19:32Z")

</div>

Hi, I’ve created an LED light sculpture out of plastic contact lens trays and uses Processing. I call the piece Poly-Mer. Video of Poly-Mer Disposable contact lenses are typically packaged in single-use plastic con…

---

## [Creating a new table java Processing](https://discourse.processing.org/t/creating-a-new-table-java-processing/1555)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 1\
**Last updated:** [July 6, 2018, 11:29pm UTC](https://discourse.processing.org/t/creating-a-new-table-java-processing/1555 "2018-07-06T23:29:08Z")

</div>

OK, I’m looking into files making, loading & such & tried to make a program that tries to find a file. I don’t yet have made & if it dont have it creates one. I got to where it says there no file, but I’m having trouble …

---

## [Zooming in p5.play](https://discourse.processing.org/t/zooming-in-p5-play/1464)

<div class="topic-metadata">

**Author:** [@codingking03](https://discourse.processing.org/u/codingking03)\
**Replies:** 3\
**Last updated:** [July 6, 2018, 8:05pm UTC](https://discourse.processing.org/t/zooming-in-p5-play/1464 "2018-07-06T20:05:42Z")

</div>

See p5.play In p5.play there is a camera function that allows the user to move around what part of the sketch they are looking at. I figured out that even when the camera is moved the mouseX/mouseY are still relative to…

---

## [P5.sound with external soundcard input?](https://discourse.processing.org/t/p5-sound-with-external-soundcard-input/1558)

<div class="topic-metadata">

**Author:** [@MrsGolfShorts](https://discourse.processing.org/u/MrsGolfShorts)\
**Replies:** 1\
**Last updated:** [July 6, 2018, 7:20pm UTC](https://discourse.processing.org/t/p5-sound-with-external-soundcard-input/1558 "2018-07-06T19:20:50Z")

</div>

Is it possible to use p5.js with an external soundcard input? The only option I see if for built-in mic input.

---

## [Loading data from JSON without arrays](https://discourse.processing.org/t/loading-data-from-json-without-arrays/1557)

<div class="topic-metadata">

**Author:** [@Olygamy](https://discourse.processing.org/u/Olygamy)\
**Replies:** 1\
**Last updated:** [July 6, 2018, 6:50pm UTC](https://discourse.processing.org/t/loading-data-from-json-without-arrays/1557 "2018-07-06T18:50:51Z")

</div>

Hi there, I am working with API which give me JSON in this format: {“OBJECT NAME”: {“OBJECT.NAME#VAR112” : { “data01”: “BJECT.NAME#VAR112”, “data02”: “T-9F50. Serial Number: PI040298AA3I003620”, “data03”: “Grow.Thin…

---

## [ControlP5 : bug with "alt-gr" on Linux](https://discourse.processing.org/t/controlp5-bug-with-alt-gr-on-linux/1554)

<div class="topic-metadata">

**Author:** [@max22](https://discourse.processing.org/u/max22)\
**Replies:** 0\
**Last updated:** [July 6, 2018, 3:21pm UTC](https://discourse.processing.org/t/controlp5-bug-with-alt-gr-on-linux/1554 "2018-07-06T15:21:19Z")

</div>

Hello, I use controlP5 2.2.6, with processing 3.3.7. With Linux i get this exception when i press “alt-gr” : java.lang.ArrayIndexOutOfBoundsException: 65406 at controlP5.ControlWindow.keyEvent(Unknown Source) at sun.…

---

## [A carousel for graphs](https://discourse.processing.org/t/a-carousel-for-graphs/1087)

<div class="topic-metadata">

**Author:** [@jimbojohn](https://discourse.processing.org/u/jimbojohn)\
**Replies:** 15\
**Last updated:** [July 6, 2018, 1:59pm UTC](https://discourse.processing.org/t/a-carousel-for-graphs/1087 "2018-07-06T13:59:27Z")

</div>

Hi there dear enthusiasts, I have been trying to write a program which has a carousel in it which shows some graphs in it ( similar to android apps). I was wondering if there are any libraries out there that already off…

---

## [Problem With Collision](https://discourse.processing.org/t/problem-with-collision/1539)

<div class="topic-metadata">

**Author:** [@Feelpss](https://discourse.processing.org/u/Feelpss)\
**Replies:** 9\
**Last updated:** [July 6, 2018, 1:10pm UTC](https://discourse.processing.org/t/problem-with-collision/1539 "2018-07-06T13:10:54Z")

</div>

Hello! I’m a Design student at University of São Paulo and I’ve had some Processing classes and now I have to do a final project. I’m doing a simple game similar to Facebook’s Everwing based on Steven Universe. It’s ba…

---

## [Trying to make a nested list for pixel storage](https://discourse.processing.org/t/trying-to-make-a-nested-list-for-pixel-storage/1536)

<div class="topic-metadata">

**Author:** [@CottonSquab](https://discourse.processing.org/u/CottonSquab)\
**Replies:** 3\
**Last updated:** [July 6, 2018, 12:20pm UTC](https://discourse.processing.org/t/trying-to-make-a-nested-list-for-pixel-storage/1536 "2018-07-06T12:20:00Z")

</div>

I’m trying to make a program that finds the average pixel color of pixel clusters of an image. I’m having trouble making a list to store those averages ((int red, int green, int blue), (int red, int green, int blue), etc…

---

## [How can i do this?](https://discourse.processing.org/t/how-can-i-do-this/1548)

<div class="topic-metadata">

**Author:** [@Cuchis](https://discourse.processing.org/u/Cuchis)\
**Replies:** 2\
**Last updated:** [July 6, 2018, 1:00pm UTC](https://discourse.processing.org/t/how-can-i-do-this/1548 "2018-07-06T13:00:34Z")

</div>

Hi, Im new to processing and i have a question. I need to do this image, circles on x and y axis where there is an increase of circles as shown in the image. This is what i have so far: int x; int y; int max,may; s…

---

## [Problem with random](https://discourse.processing.org/t/problem-with-random/1541)

<div class="topic-metadata">

**Author:** [@vajo](https://discourse.processing.org/u/vajo)\
**Replies:** 3\
**Last updated:** [July 6, 2018, 9:34am UTC](https://discourse.processing.org/t/problem-with-random/1541 "2018-07-06T09:34:16Z")

</div>

Hey i want to create a Game in Processing and i need a random command wich Pics a random Numbers of 1 to 5 … If i use the normal random Code then IT could happened that a number bigger than 5 … I need a special command…

---

## [External input for microphone record](https://discourse.processing.org/t/external-input-for-microphone-record/1356)

<div class="topic-metadata">

**Author:** [@Adiraek](https://discourse.processing.org/u/Adiraek)\
**Replies:** 7\
**Last updated:** [July 6, 2018, 9:21am UTC](https://discourse.processing.org/t/external-input-for-microphone-record/1356 "2018-07-06T09:21:09Z")

</div>

Hi, I am currently implementing a central raspberry pi 3B that collects acoustic noise data from another device which has a mic via BLE. I am currently using node.js, noble to retreive the data. Currently the sound info…

---

## [Problem with writing a String](https://discourse.processing.org/t/problem-with-writing-a-string/1334)

<div class="topic-metadata">

**Author:** [@Rickylicious](https://discourse.processing.org/u/Rickylicious)\
**Replies:** 1\
**Last updated:** [July 6, 2018, 6:34am UTC](https://discourse.processing.org/t/problem-with-writing-a-string/1334 "2018-07-06T06:34:20Z")

</div>

I’m trying to write a string, that contains data for a thermal printer, which is connected to an arduino. String output; int pixelNum, byteNum, bytesOnLine = 99, x, y, p, rowBytes, totalBytes, lastBit, sum; PImage i…

---

## [Processing Net : avoid print disconnection message](https://discourse.processing.org/t/processing-net-avoid-print-disconnection-message/1513)

<div class="topic-metadata">

**Author:** [@Honny](https://discourse.processing.org/u/Honny)\
**Replies:** 9\
**Last updated:** [July 6, 2018, 5:51am UTC](https://discourse.processing.org/t/processing-net-avoid-print-disconnection-message/1513 "2018-07-06T05:51:33Z")

</div>

Hello, im writing a simple program using the Processing Net library, this program should be able to start/stop a TCP server on a given port. I have noticed that calling voluntarily the stop() function i receive in the…

---

## [Demo with gameLibZeroJS por p5.js](https://discourse.processing.org/t/demo-with-gamelibzerojs-por-p5-js/1537)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 0\
**Last updated:** [July 6, 2018, 4:57am UTC](https://discourse.processing.org/t/demo-with-gamelibzerojs-por-p5-js/1537 "2018-07-06T04:57:43Z")

</div>

Hi people, y decide to share a Sonic example made with p5.js and gameLibZeroJS for p5. Enjoy :wink: Open example with brackets and enjoy it!, In a short time I will publish the complete library with examples

---

## [Help with Spacewar Assignment](https://discourse.processing.org/t/help-with-spacewar-assignment/1418)

<div class="topic-metadata">

**Author:** [@Chrisatsinnoh](https://discourse.processing.org/u/Chrisatsinnoh)\
**Replies:** 18\
**Last updated:** [July 6, 2018, 4:12am UTC](https://discourse.processing.org/t/help-with-spacewar-assignment/1418 "2018-07-06T04:12:12Z")

</div>

Greetings, Proceessing community. I’m working on a Spacewar iteration assignment for my university which is due in 5 days by now. I ran into a problem where I’m attempting to declare a scoring system (in which for each …

---

## [Button on a touchscreen](https://discourse.processing.org/t/button-on-a-touchscreen/1505)

<div class="topic-metadata">

**Author:** [@AidanLand](https://discourse.processing.org/u/AidanLand)\
**Replies:** 2\
**Last updated:** [July 5, 2018, 11:24pm UTC](https://discourse.processing.org/t/button-on-a-touchscreen/1505 "2018-07-05T23:24:49Z")

</div>

Hi, I’m trying to create a drawing program that will work with a touch screen. Right now I can draw on the screen with a pen, but if I try to click a button on the screen my program won’t respond. I have to either swipe,…

---

## [Java: create objects and call their methods in loops](https://discourse.processing.org/t/java-create-objects-and-call-their-methods-in-loops/1515)

<div class="topic-metadata">

**Author:** [@Brian](https://discourse.processing.org/u/Brian)\
**Replies:** 7\
**Last updated:** [July 5, 2018, 6:09pm UTC](https://discourse.processing.org/t/java-create-objects-and-call-their-methods-in-loops/1515 "2018-07-05T18:09:17Z")

</div>

I’m trying to use a loop to create 10 objects at a time then use another loop in Draw() method to call the objects’ render() methods. At first I tried creating and calling objects method manually and it worked. Now I wa…

---

## [How do I optimize my program?](https://discourse.processing.org/t/how-do-i-optimize-my-program/1465)

<div class="topic-metadata">

**Author:** [@Teen\_Coder](https://discourse.processing.org/u/Teen_Coder)\
**Replies:** 6\
**Last updated:** [July 5, 2018, 5:17pm UTC](https://discourse.processing.org/t/how-do-i-optimize-my-program/1465 "2018-07-05T17:17:03Z")

</div>

Hi, I have a quick question. I’m currently working on a clone of Google Chrome’s dinosaur game, but my version of the game will stutter at seemingly random times. I know my code isn’t well optimized, but I have no idea o…

---

## [Rita.js kwic - get keyword HTML (meta)info](https://discourse.processing.org/t/rita-js-kwic-get-keyword-html-meta-info/774)

<div class="topic-metadata">

**Author:** [@catarinalee](https://discourse.processing.org/u/catarinalee)\
**Replies:** 0\
**Last updated:** [June 7, 2018, 3:44pm UTC](https://discourse.processing.org/t/rita-js-kwic-get-keyword-html-meta-info/774 "2018-06-07T15:44:25Z")

</div>

This problem is resolved

---

## [Changing Processing folders + drive location?](https://discourse.processing.org/t/changing-processing-folders-drive-location/1511)

<div class="topic-metadata">

**Author:** [@Laurent](https://discourse.processing.org/u/Laurent)\
**Replies:** 1\
**Last updated:** [July 5, 2018, 1:18pm UTC](https://discourse.processing.org/t/changing-processing-folders-drive-location/1511 "2018-07-05T13:18:12Z")

</div>

Hi everyone. I’ve installed (unzipped) the last Processing.org version on the local hard drive (C:\\Processing in Windows 7). After that I’ve imported p5.js and Python mode + different libraries. Everytime I launch Proces…

---

## [Android Mode Midi - Tutorial request](https://discourse.processing.org/t/android-mode-midi-tutorial-request/539)

<div class="topic-metadata">

**Author:** [@sensn](https://discourse.processing.org/u/sensn)\
**Replies:** 6\
**Last updated:** [July 5, 2018, 9:20am UTC](https://discourse.processing.org/t/android-mode-midi-tutorial-request/539 "2018-07-05T09:20:04Z")

</div>

Hi, I’m looking for a tutorial about Midi in Android mode. The Sensor Tutorial on Processing for Android is great, so something like that for android.media.midi would be really really helpful. Unfortunatly I couldn’t f…

---

## [Processing Serial Carrier Sense](https://discourse.processing.org/t/processing-serial-carrier-sense/1460)

<div class="topic-metadata">

**Author:** [@MxFxM](https://discourse.processing.org/u/MxFxM)\
**Replies:** 2\
**Last updated:** [July 5, 2018, 7:21am UTC](https://discourse.processing.org/t/processing-serial-carrier-sense/1460 "2018-07-05T07:21:35Z")

</div>

Hi, I am reading data from a serial bus using the Serial library. On the bus there are many different hosts/clients. Currently I’m only listening but eventually I want to send my own messages in between others. There …

---

## [Convert a button class for multi touch](https://discourse.processing.org/t/convert-a-button-class-for-multi-touch/1504)

<div class="topic-metadata">

**Author:** [@chanof](https://discourse.processing.org/u/chanof)\
**Replies:** 2\
**Last updated:** [July 5, 2018, 4:53am UTC](https://discourse.processing.org/t/convert-a-button-class-for-multi-touch/1504 "2018-07-05T04:53:47Z")

</div>

Hello to all, i try to convert this class to obtain a multi touch possibility inside android, to pass from mousePressed, mouseX and MouseY to Touches array. Actually it is visible only when the screen is touched. Im un…

---

## [Android SeekBar (slider)](https://discourse.processing.org/t/android-seekbar-slider/1245)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 21\
**Last updated:** [July 5, 2018, 4:36am UTC](https://discourse.processing.org/t/android-seekbar-slider/1245 "2018-07-05T04:36:46Z")

</div>

Hi. I am trying to implement a java SeekBar programmatically in my sketch but without any success. Untill now I have the code below, but giving a lot of errors starting with “The constructor SeekBar(seekbar) is undefin…

---

## [Change color of the shapes with audio](https://discourse.processing.org/t/change-color-of-the-shapes-with-audio/1495)

<div class="topic-metadata">

**Author:** [@IlPastaio](https://discourse.processing.org/u/IlPastaio)\
**Replies:** 2\
**Last updated:** [July 5, 2018, 1:08am UTC](https://discourse.processing.org/t/change-color-of-the-shapes-with-audio/1495 "2018-07-05T01:08:09Z")

</div>

Hello everyone, I need your help for a project I’m creating. First of all, I’m a complete noob! So try to be as simple as possible with me please. Basically I’ve created this simple draw and I need that every shape ins…

---

## [Sketching pattern](https://discourse.processing.org/t/sketching-pattern/1421)

<div class="topic-metadata">

**Author:** [@NancyBecky](https://discourse.processing.org/u/NancyBecky)\
**Replies:** 11\
**Last updated:** [July 4, 2018, 7:24pm UTC](https://discourse.processing.org/t/sketching-pattern/1421 "2018-07-04T19:24:36Z")

</div>

Hi Friends, I am new to this forum. I am curious to learn programming and I started learning it. I’m trying to write a code based on the image attached. Can anyone help me to reproduce this image?

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

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