# Latest

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

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

**Page:** 535

---

## [Program Arduino or Pi with Processing?](https://discourse.processing.org/t/program-arduino-or-pi-with-processing/7546)

<div class="topic-metadata">

**Author:** [@rps](https://discourse.processing.org/u/rps)\
**Replies:** 1\
**Last updated:** [January 15, 2019, 8:20pm UTC](https://discourse.processing.org/t/program-arduino-or-pi-with-processing/7546 "2019-01-15T20:20:19Z")

</div>

I had a question to continue this thread on the old forum: https://forum.processing.org/one/topic/program-arduino-with-processing.html Still, after reading that, I have the same question as the OP. There’s lots of detai…

---

## [\[Linux\] Unable to run - files and directories not found for java?](https://discourse.processing.org/t/linux-unable-to-run-files-and-directories-not-found-for-java/7547)

<div class="topic-metadata">

**Author:** [@Papergami45](https://discourse.processing.org/u/Papergami45)\
**Replies:** 3\
**Last updated:** [January 15, 2019, 8:19pm UTC](https://discourse.processing.org/t/linux-unable-to-run-files-and-directories-not-found-for-java/7547 "2019-01-15T20:19:03Z")

</div>

I’m using Arch Linux, using i3wm if it makes a difference. I’ve downloaded Processing as I’m using it for a project on my Windows machine and would like to continue development on my Arch Installation. I downloaded and …

---

## [First Time Contributing to some open source](https://discourse.processing.org/t/first-time-contributing-to-some-open-source/7539)

<div class="topic-metadata">

**Author:** [@mynk](https://discourse.processing.org/u/mynk)\
**Replies:** 2\
**Last updated:** [January 15, 2019, 8:00pm UTC](https://discourse.processing.org/t/first-time-contributing-to-some-open-source/7539 "2019-01-15T20:00:30Z")

</div>

Hi wonderful people, I have never contributed to an Open Source project, i cloned the p5.js repo, looking at the code and i was kind of confused, I got overwhelmed looking at the huge (at least from my point of view) cod…

---

## [Custom fonts slowing down my program](https://discourse.processing.org/t/custom-fonts-slowing-down-my-program/7081)

<div class="topic-metadata">

**Author:** [@Kazuya\_Yoshimisu](https://discourse.processing.org/u/Kazuya_Yoshimisu)\
**Replies:** 4\
**Last updated:** [January 15, 2019, 7:57pm UTC](https://discourse.processing.org/t/custom-fonts-slowing-down-my-program/7081 "2019-01-15T19:57:05Z")

</div>

Hello everyone, So I’m making a project in p5.js which aim to reproduce the Matrix rain code effect. It ran pretty smooth until I decided to load a custom font. When I did, my framerate dropped considerably. And it’s …

---

## [Problema para conectar con el servidor de Processing](https://discourse.processing.org/t/problema-para-conectar-con-el-servidor-de-processing/7101)

<div class="topic-metadata">

**Author:** [@ManuelSutemi](https://discourse.processing.org/u/ManuelSutemi)\
**Replies:** 1\
**Last updated:** [January 15, 2019, 7:45pm UTC](https://discourse.processing.org/t/problema-para-conectar-con-el-servidor-de-processing/7101 "2019-01-15T19:45:58Z")

</div>

Hola a tod@s. Estoy intentando introducir la librería “Keystone” para hacer una práctica de videomaping en processing y me salta el siguiente mensaje: “Could not connect to the Processing server. Contributions cannot b…

---

## [Platformer game screen is constantly moving down](https://discourse.processing.org/t/platformer-game-screen-is-constantly-moving-down/7548)

<div class="topic-metadata">

**Author:** [@Timpupk](https://discourse.processing.org/u/Timpupk)\
**Replies:** 2\
**Last updated:** [January 15, 2019, 6:44pm UTC](https://discourse.processing.org/t/platformer-game-screen-is-constantly-moving-down/7548 "2019-01-15T18:44:19Z")

</div>

The screen is constantly moving down anybody see any way to fix it? https://editor.p5js.org/Timpupk/sketches/Hy1vHJFy4

---

## [\[SOLVED\] Best way to store words count?](https://discourse.processing.org/t/solved-best-way-to-store-words-count/7031)

<div class="topic-metadata">

**Author:** [@Architector\_4](https://discourse.processing.org/u/Architector_4)\
**Replies:** 5\
**Last updated:** [January 15, 2019, 4:58pm UTC](https://discourse.processing.org/t/solved-best-way-to-store-words-count/7031 "2019-01-15T16:58:04Z")

</div>

So I’m making a thing that counts how many times each word is present in a given String, but I’m not sure what would be the most efficient way to store the values. Right now, the first way to store them that came to my …

---

## [Compare 2 IntList without 'for'?](https://discourse.processing.org/t/compare-2-intlist-without-for/7035)

<div class="topic-metadata">

**Author:** [@amaia](https://discourse.processing.org/u/amaia)\
**Replies:** 8\
**Last updated:** [January 15, 2019, 4:54pm UTC](https://discourse.processing.org/t/compare-2-intlist-without-for/7035 "2019-01-15T16:54:25Z")

</div>

Hello! I want to compare 2 IntList; I’ve tried to compare them without using the for loop, something like this: IntList ordered; IntList disordered; void setup() { size(200, 200); ordered = new IntList(); ordere…

---

## [Markov Chain in processing](https://discourse.processing.org/t/markov-chain-in-processing/7020)

<div class="topic-metadata">

**Author:** [@julien](https://discourse.processing.org/u/julien)\
**Replies:** 5\
**Last updated:** [January 15, 2019, 3:44pm UTC](https://discourse.processing.org/t/markov-chain-in-processing/7020 "2019-01-15T15:44:02Z")

</div>

Hello everyone, and merry christmas if it applies to you, I am relatively new to processing and to coding, so I apologize in advance if my questions are redundant. I am trying to understand, learn about and program a m…

---

## [Processing Community Day @ Montréal, Canada](https://discourse.processing.org/t/processing-community-day-montreal-canada/5811)

<div class="topic-metadata">

**Author:** [@guillaume](https://discourse.processing.org/u/guillaume)\
**Replies:** 14\
**Last updated:** [January 15, 2019, 2:47pm UTC](https://discourse.processing.org/t/processing-community-day-montreal-canada/5811 "2019-01-15T14:47:37Z")

</div>

Hi everyone! I’m Guillaume Pelletier-Auger and I’m organizing the Processing Community Day in Montréal. This forum thread could be a good place to talk for anyone interested in helping to organize, or for anyone who want…

---

## [Virtual dice dots not being drawn](https://discourse.processing.org/t/virtual-dice-dots-not-being-drawn/7508)

<div class="topic-metadata">

**Author:** [@Harie](https://discourse.processing.org/u/Harie)\
**Replies:** 4\
**Last updated:** [January 15, 2019, 2:11pm UTC](https://discourse.processing.org/t/virtual-dice-dots-not-being-drawn/7508 "2019-01-15T14:11:31Z")

</div>

I can’t figure out why the dots aren’t being drawn after the random variable is decided. Please help. The point is to make the die “roll around” 7 times slower each time, and then stopping. //LED Dice Virtual Simulation…

---

## [Delete one shape and add another or moving shapes](https://discourse.processing.org/t/delete-one-shape-and-add-another-or-moving-shapes/7503)

<div class="topic-metadata">

**Author:** [@mizu](https://discourse.processing.org/u/mizu)\
**Replies:** 4\
**Last updated:** [January 15, 2019, 12:47pm UTC](https://discourse.processing.org/t/delete-one-shape-and-add-another-or-moving-shapes/7503 "2019-01-15T12:47:08Z")

</div>

float radius; void setup() { size(1440, 900); } int clicks=0; int screen = 0; float counter; void draw() { float l= random(1380); float r= random(640); if (clicks==clicks+1) background(0); radius=30; …

---

## [PImage to base64](https://discourse.processing.org/t/pimage-to-base64/7041)

<div class="topic-metadata">

**Author:** [@lmccandless](https://discourse.processing.org/u/lmccandless)\
**Replies:** 2\
**Last updated:** [January 15, 2019, 12:23am UTC](https://discourse.processing.org/t/pimage-to-base64/7041 "2019-01-15T00:23:55Z")

</div>

This code works to load a png file and make a base64 string, but I want to go directly from a pgraphics pixels\[\] array to a base64 string. public static String encoder(String imagePath) { String base64Image = ""; Fi…

---

## [Processing to grasshopper with oscP5](https://discourse.processing.org/t/processing-to-grasshopper-with-oscp5/7023)

<div class="topic-metadata">

**Author:** [@SineadF](https://discourse.processing.org/u/SineadF)\
**Replies:** 2\
**Last updated:** [January 15, 2019, 12:15am UTC](https://discourse.processing.org/t/processing-to-grasshopper-with-oscp5/7023 "2019-01-15T00:15:11Z")

</div>

Hello, I’m trying to see if I can link a sketch made in processing to grasshopper using oscP5. The sketch is a sphere of points outlined in the first half of this Coding Train video: The code before I’ve s…

---

## [In P3D mode images not transparent when textSize \> 35 is used](https://discourse.processing.org/t/in-p3d-mode-images-not-transparent-when-textsize-35-is-used/7138)

<div class="topic-metadata">

**Author:** [@companje](https://discourse.processing.org/u/companje)\
**Replies:** 1\
**Last updated:** [January 14, 2019, 10:54pm UTC](https://discourse.processing.org/t/in-p3d-mode-images-not-transparent-when-textsize-35-is-used/7138 "2019-01-14T22:54:26Z")

</div>

Hi, I noticed that when using a font size larger than 35 in P3D mode images stop being transparent. Is this a known bug? Does anyone know a workaround for this? I’m running Processing 3.4 on Windows 10. PImage bg, fg; …

---

## ["getImageData is not a function" error when using P3D processing.js](https://discourse.processing.org/t/getimagedata-is-not-a-function-error-when-using-p3d-processing-js/7505)

<div class="topic-metadata">

**Author:** [@Heiwan](https://discourse.processing.org/u/Heiwan)\
**Replies:** 1\
**Last updated:** [January 14, 2019, 7:38pm UTC](https://discourse.processing.org/t/getimagedata-is-not-a-function-error-when-using-p3d-processing-js/7505 "2019-01-14T19:38:40Z")

</div>

Hello. I am trying to display one of my processing sketches in the browser with processing.js and it works fine both from processing “Run” and the browser when I am using size(1900,1200), but when I add P3D to size(), t…

---

## [Image array For loop position variation](https://discourse.processing.org/t/image-array-for-loop-position-variation/6938)

<div class="topic-metadata">

**Author:** [@rcargb](https://discourse.processing.org/u/rcargb)\
**Replies:** 5\
**Last updated:** [January 13, 2019, 6:28pm UTC](https://discourse.processing.org/t/image-array-for-loop-position-variation/6938 "2019-01-13T18:28:03Z")

</div>

Pretty simple, I want to create subtle variation in position in the X and Y axis using noise() on a PImage. I’ve messed around with the pull and pop matrix with no luck. Any help is appreciated. void noize(){ jpg.load…

---

## [Can we use image instead of video in createCapture() to add Images in dataset](https://discourse.processing.org/t/can-we-use-image-instead-of-video-in-createcapture-to-add-images-in-dataset/7515)

<div class="topic-metadata">

**Author:** [@ankit](https://discourse.processing.org/u/ankit)\
**Replies:** 0\
**Last updated:** [January 14, 2019, 6:03pm UTC](https://discourse.processing.org/t/can-we-use-image-instead-of-video-in-createcapture-to-add-images-in-dataset/7515 "2019-01-14T18:03:23Z")

</div>

Hi, We are using FeatureExtraction to get classification and regression since it using video = createCapture(VIDEO); so can we use images in place of video to add our images in the dataset and also want to train that i…

---

## [Introduction to live coding with PraxisLIVE, Jan 17th, Madrid](https://discourse.processing.org/t/introduction-to-live-coding-with-praxislive-jan-17th-madrid/7517)

<div class="topic-metadata">

**Author:** [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Replies:** 0\
**Last updated:** [January 14, 2019, 7:19pm UTC](https://discourse.processing.org/t/introduction-to-live-coding-with-praxislive-jan-17th-madrid/7517 "2019-01-14T19:19:03Z")

</div>

I’ll be leading a workshop on getting started live coding Processing inside PraxisLIVE on Thursday 17th Jan at Medialab Prado, Madrid. This is part of the International Conference on Live Coding. A few other Processing…

---

## [Sorting an array of dates as strings](https://discourse.processing.org/t/sorting-an-array-of-dates-as-strings/7487)

<div class="topic-metadata">

**Author:** [@epicwyvern](https://discourse.processing.org/u/epicwyvern)\
**Replies:** 1\
**Last updated:** [January 14, 2019, 4:08am UTC](https://discourse.processing.org/t/sorting-an-array-of-dates-as-strings/7487 "2019-01-14T04:08:35Z")

</div>

Hello guys, i need help with a specific problem regarding sorting i have run into for my program. say i have the following text file that contains first and last names, with the third row consisting of dates Carrie,Wil…

---

## [PShape GROUP weirdness](https://discourse.processing.org/t/pshape-group-weirdness/7462)

<div class="topic-metadata">

**Author:** [@Aleksi](https://discourse.processing.org/u/Aleksi)\
**Replies:** 8\
**Last updated:** [January 14, 2019, 1:41pm UTC](https://discourse.processing.org/t/pshape-group-weirdness/7462 "2019-01-14T13:41:31Z")

</div>

I stumbled upon a really nice effect by accident duplicating shapes inside a PShape GROUP. But when I tried to control it I discovered that I can’t because of some weirdness I can’t work around. I figured that each new …

---

## [My p5 script takes a lot of time to start on server](https://discourse.processing.org/t/my-p5-script-takes-a-lot-of-time-to-start-on-server/7502)

<div class="topic-metadata">

**Author:** [@sr\_ciruelo](https://discourse.processing.org/u/sr_ciruelo)\
**Replies:** 0\
**Last updated:** [January 14, 2019, 1:01pm UTC](https://discourse.processing.org/t/my-p5-script-takes-a-lot-of-time-to-start-on-server/7502 "2019-01-14T13:01:05Z")

</div>

So the problem is that when I run my web page with p5 sketch in my PC it takes no time to run and when I try to get into my web page it takes a lot of time. I’m using defer parsing to load p5 scripts and they are the fir…

---

## [Android Camera with Processing](https://discourse.processing.org/t/android-camera-with-processing/7372)

<div class="topic-metadata">

**Author:** [@ZaharyMomchilov](https://discourse.processing.org/u/ZaharyMomchilov)\
**Replies:** 8\
**Last updated:** [January 14, 2019, 10:27am UTC](https://discourse.processing.org/t/android-camera-with-processing/7372 "2019-01-14T10:27:27Z")

</div>

Hello ! I was recently introduced to Processing . I’m working on a big school project that involves object tracking and I think Processing is perfect for that . I saw that there is a cool library for connecting your pho…

---

## [blendMode to reduce opacity?](https://discourse.processing.org/t/blendmode-to-reduce-opacity/6705)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 7\
**Last updated:** [January 14, 2019, 9:28am UTC](https://discourse.processing.org/t/blendmode-to-reduce-opacity/6705 "2019-01-14T09:28:20Z")

</div>

Hi! I have a circle on a PGraphics. I want reduce the opacity of parts of it. Imagine painting with your mouse on the PGraphics and instead of adding paint, it becomes more transparent under the mouse. By using blendMod…

---

## [Gradient Color Control](https://discourse.processing.org/t/gradient-color-control/7449)

<div class="topic-metadata">

**Author:** [@uforange](https://discourse.processing.org/u/uforange)\
**Replies:** 3\
**Last updated:** [January 13, 2019, 5:23pm UTC](https://discourse.processing.org/t/gradient-color-control/7449 "2019-01-13T17:23:51Z")

</div>

Hello, For a gradient example of Illustrator or Photoshop, we can easily change the center point of two colors. I am trying to make a similar thing in Processing. What I’ve tried in my code is: When mouseX is 0, the …

---

## [Reverse a Sprite without editing?](https://discourse.processing.org/t/reverse-a-sprite-without-editing/7444)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 4\
**Last updated:** [January 13, 2019, 7:59pm UTC](https://discourse.processing.org/t/reverse-a-sprite-without-editing/7444 "2019-01-13T19:59:10Z")

</div>

I have sprite animation of a player walking to right direction, but not to left. Do I have to edit all the sprites? (Credits to MInd Chamber)

---

## [Lowercase so that letters after periods are left capital](https://discourse.processing.org/t/lowercase-so-that-letters-after-periods-are-left-capital/7461)

<div class="topic-metadata">

**Author:** [@Dudez01](https://discourse.processing.org/u/Dudez01)\
**Replies:** 6\
**Last updated:** [January 13, 2019, 6:34pm UTC](https://discourse.processing.org/t/lowercase-so-that-letters-after-periods-are-left-capital/7461 "2019-01-13T18:34:03Z")

</div>

Hey everyone! I am a pretty new Processing user as we use it in my programming class and was introduced to it then. In our new unit, we have been given a series of practice problem solving questions and I am stumped on t…

---

## [Connected Circles](https://discourse.processing.org/t/connected-circles/7471)

<div class="topic-metadata">

**Author:** [@german\_guy](https://discourse.processing.org/u/german_guy)\
**Replies:** 2\
**Last updated:** [January 13, 2019, 5:27pm UTC](https://discourse.processing.org/t/connected-circles/7471 "2019-01-13T17:27:30Z")

</div>

Hey, this is a task that I have to solve for a course at uni. It’s processing for beginners. We use Processing 3. What do I do to connect each circle at y = 100 with those at y = 550? Apparently, a nested loop is a sol…

---

## [Equivalent to PGraphics g in p5.js?](https://discourse.processing.org/t/equivalent-to-pgraphics-g-in-p5-js/7463)

<div class="topic-metadata">

**Author:** [@figraham](https://discourse.processing.org/u/figraham)\
**Replies:** 4\
**Last updated:** [January 13, 2019, 5:24pm UTC](https://discourse.processing.org/t/equivalent-to-pgraphics-g-in-p5-js/7463 "2019-01-13T17:24:55Z")

</div>

Something I’ve done in Processing is create a function that has an optional PGraphics argument by utilizing the g PGraphics in PApplet. Like: void showEllipse() { showEllipse(g); // when in PApplet // showEllipse(ap…

---

## [Trying to create a jumping character](https://discourse.processing.org/t/trying-to-create-a-jumping-character/7448)

<div class="topic-metadata">

**Author:** [@jadenfigger](https://discourse.processing.org/u/jadenfigger)\
**Replies:** 2\
**Last updated:** [January 13, 2019, 4:49pm UTC](https://discourse.processing.org/t/trying-to-create-a-jumping-character/7448 "2019-01-13T16:49:12Z")

</div>

I’m trying to create a character that jumps when ever i press the up arrow. let r = 20; let x = 200; let y = 380; let speed = 8; let gravity = 0.2; function setup() { createCanvas(400, 400); } function draw() { ba…

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

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