# Latest

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

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

**Page:** 393

---

## [Pyprocessing 3d collisions](https://discourse.processing.org/t/pyprocessing-3d-collisions/17842)

<div class="topic-metadata">

**Author:** [@commie630](https://discourse.processing.org/u/commie630)\
**Replies:** 2\
**Last updated:** [February 15, 2020, 11:11pm UTC](https://discourse.processing.org/t/pyprocessing-3d-collisions/17842 "2020-02-15T23:11:20Z")

</div>

I am nearly done with my pyprocessing 3d pong-esque game… I have ran into trouble with the paddle-ball collisions. Sometimes, the collisions are more accurate than others… from processing import \* from math import \* kD…

---

## [Camera recognizing parts](https://discourse.processing.org/t/camera-recognizing-parts/17817)

<div class="topic-metadata">

**Author:** [@Ladan](https://discourse.processing.org/u/Ladan)\
**Replies:** 1\
**Last updated:** [February 15, 2020, 7:41pm UTC](https://discourse.processing.org/t/camera-recognizing-parts/17817 "2020-02-15T19:41:43Z")

</div>

Hello, I want to code and buy a camera, that can recognize parts of a mini car (https://www.youtube.com/watch?v=qs2jdXHgGLQ) if you hold them under it. Can somebody recommend me a camera, a programming enviroment and…

---

## [My Introduction](https://discourse.processing.org/t/my-introduction/17642)

<div class="topic-metadata">

**Author:** [@Mallikarjun](https://discourse.processing.org/u/Mallikarjun)\
**Replies:** 2\
**Last updated:** [February 15, 2020, 7:27pm UTC](https://discourse.processing.org/t/my-introduction/17642 "2020-02-15T19:27:24Z")

</div>

Hello, I am Katakam Mallikarjun from India. I am currently in 2nd year of study of Bachelors of Technology in Information Technology. I have knowledge in Javascript and some of its libraries like NodeJs, ReactJS and p5.…

---

## [How to make a key to become a integer and use the key on keyPressed?](https://discourse.processing.org/t/how-to-make-a-key-to-become-a-integer-and-use-the-key-on-keypressed/17822)

<div class="topic-metadata">

**Author:** [@macedorrn](https://discourse.processing.org/u/macedorrn)\
**Replies:** 4\
**Last updated:** [February 15, 2020, 3:50pm UTC](https://discourse.processing.org/t/how-to-make-a-key-to-become-a-integer-and-use-the-key-on-keypressed/17822 "2020-02-15T15:50:11Z")

</div>

\[Python\] I am a beginner I’ve been having troubles trying to first convert the value of a key (any key 0-9) returning an integer value so I can use this value whenever I press the key. I am supposed to make a square in…

---

## [\[PYTHON\]Converting key pressed into integer value?](https://discourse.processing.org/t/python-converting-key-pressed-into-integer-value/17836)

<div class="topic-metadata">

**Author:** [@macedorrn](https://discourse.processing.org/u/macedorrn)\
**Replies:** 3\
**Last updated:** [February 15, 2020, 3:48pm UTC](https://discourse.processing.org/t/python-converting-key-pressed-into-integer-value/17836 "2020-02-15T15:48:57Z")

</div>

I am trying to convert the value of numeric keys into integers, but I don’t know how to proceed with this problem. I have tried many approaches. What am I doing wrong? I don’t have much knowledge related to programming. …

---

## [Perhaps another way to shuffle lerped colors in an array?](https://discourse.processing.org/t/perhaps-another-way-to-shuffle-lerped-colors-in-an-array/17597)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 38\
**Last updated:** [February 15, 2020, 11:40am UTC](https://discourse.processing.org/t/perhaps-another-way-to-shuffle-lerped-colors-in-an-array/17597 "2020-02-15T11:40:59Z")

</div>

Watching a D Shiffman tutorial on probability prompted me to try this. I want to shuffle a colorList array of lerped colors. Search turned up to use IntList and shuffle. But in setup for loop I thought to replace k++; …

---

## [Minim problem with loading multiple FilePlayer](https://discourse.processing.org/t/minim-problem-with-loading-multiple-fileplayer/17688)

<div class="topic-metadata">

**Author:** [@mokauno](https://discourse.processing.org/u/mokauno)\
**Replies:** 5\
**Last updated:** [February 15, 2020, 9:26am UTC](https://discourse.processing.org/t/minim-problem-with-loading-multiple-fileplayer/17688 "2020-02-15T09:26:36Z")

</div>

Hi, I would like to use my raspberry pi 3 and processing to mix sound files. My problem is that minim crashes after loading 6 FilePlayer. I tried it on different setups : raspbian + processing pi, raspbian image provi…

---

## [macOS processing unable to start "we're off on the wrong foot"-Solved](https://discourse.processing.org/t/macos-processing-unable-to-start-were-off-on-the-wrong-foot-solved/16464)

<div class="topic-metadata">

**Author:** [@niuuin](https://discourse.processing.org/u/niuuin)\
**Replies:** 5\
**Last updated:** [February 15, 2020, 5:49am UTC](https://discourse.processing.org/t/macos-processing-unable-to-start-were-off-on-the-wrong-foot-solved/16464 "2020-02-15T05:49:09Z")

</div>

I have been using it normally before, but suddenly something went wrong yesterday. I checked a lot of previous topics, but still can’t solve this problem.I don’t understand deeper principles, but I haven’t found a soluti…

---

## [oscP5 - vectors and length of message](https://discourse.processing.org/t/oscp5-vectors-and-length-of-message/17791)

<div class="topic-metadata">

**Author:** [@AndreasRef](https://discourse.processing.org/u/AndreasRef)\
**Replies:** 1\
**Last updated:** [February 15, 2020, 5:46am UTC](https://discourse.processing.org/t/oscp5-vectors-and-length-of-message/17791 "2020-02-15T05:46:02Z")

</div>

Hi Two quick questions about the oscP5 library: Am I correct that you cannot send PVectors via OSC? When receiving an array of ints of a varying length via OSC, how do I parse it correctly, in situations where I d…

---

## [Help with crash detection](https://discourse.processing.org/t/help-with-crash-detection/17595)

<div class="topic-metadata">

**Author:** [@zoobs](https://discourse.processing.org/u/zoobs)\
**Replies:** 2\
**Last updated:** [February 15, 2020, 5:12am UTC](https://discourse.processing.org/t/help-with-crash-detection/17595 "2020-02-15T05:12:25Z")

</div>

So i have a game i have a defender and aliens who are moving towards the defender and the defender is the user who avoids the alien. I need to add a collision detection so when the alien collides with the defender the ga…

---

## [The Sound of Flocking](https://discourse.processing.org/t/the-sound-of-flocking/17827)

<div class="topic-metadata">

**Author:** [@paul-reiners](https://discourse.processing.org/u/paul-reiners)\
**Replies:** 0\
**Last updated:** [February 14, 2020, 8:18pm UTC](https://discourse.processing.org/t/the-sound-of-flocking/17827 "2020-02-14T20:18:21Z")

</div>

I added some simple sound generation code to Daniel Shiffman’s Flocking code. I use two pulse oscillators. One for the x-axis and one for the y-axis. The average position of the boids is mapped to the fre…

---

## [Where to activate "intelligent" autocompletion inside preferences.txt?](https://discourse.processing.org/t/where-to-activate-intelligent-autocompletion-inside-preferences-txt/17830)

<div class="topic-metadata">

**Author:** [@animanoir](https://discourse.processing.org/u/animanoir)\
**Replies:** 3\
**Last updated:** [February 14, 2020, 11:55pm UTC](https://discourse.processing.org/t/where-to-activate-intelligent-autocompletion-inside-preferences-txt/17830 "2020-02-14T23:55:45Z")

</div>

I remember there is a setting inside preferences.txt that enables some kind of “smart” autocomplete. Which one was?

---

## [Cant write to 2D-Array? Wanna set specific pixel](https://discourse.processing.org/t/cant-write-to-2d-array-wanna-set-specific-pixel/17801)

<div class="topic-metadata">

**Author:** [@aeh](https://discourse.processing.org/u/aeh)\
**Replies:** 2\
**Last updated:** [February 14, 2020, 10:14pm UTC](https://discourse.processing.org/t/cant-write-to-2d-array-wanna-set-specific-pixel/17801 "2020-02-14T22:14:33Z")

</div>

Hello, I wanna try to set specific pixels, but only when the 2d-array position has an “x”. What do I wrong? I cant find the mistake I do :frowning: //this will store the crap-mountain var data = {}; function preload()…

---

## [Processing 3.5.4: IDE font style is bold now?](https://discourse.processing.org/t/processing-3-5-4-ide-font-style-is-bold-now/17467)

<div class="topic-metadata">

**Author:** [@rapatski](https://discourse.processing.org/u/rapatski)\
**Replies:** 3\
**Last updated:** [February 14, 2020, 9:51pm UTC](https://discourse.processing.org/t/processing-3-5-4-ide-font-style-is-bold-now/17467 "2020-02-14T21:51:21Z")

</div>

Hi all, I think I’m going crazy. Searched the forum but can’t see anyone else mention this: since I downloaded 3.5.4 the IDE font has gone bold in all instances. I am aware I am a little sensitive to not-so-important is…

---

## [Low Res Images get Blured when Scaled Up](https://discourse.processing.org/t/low-res-images-get-blured-when-scaled-up/17764)

<div class="topic-metadata">

**Author:** [@KevinWho](https://discourse.processing.org/u/KevinWho)\
**Replies:** 2\
**Last updated:** [February 13, 2020, 5:17am UTC](https://discourse.processing.org/t/low-res-images-get-blured-when-scaled-up/17764 "2020-02-13T05:17:43Z")

</div>

This happens when I try to use PImage.resize(w,h); The closest thing to working is image(PImage, x,y,w,h);. I found that adding the width and height parameters to this would slow down the framerate significantly. I wa…

---

## [Sketch running slow](https://discourse.processing.org/t/sketch-running-slow/17778)

<div class="topic-metadata">

**Author:** [@irmantas](https://discourse.processing.org/u/irmantas)\
**Replies:** 14\
**Last updated:** [February 14, 2020, 2:49pm UTC](https://discourse.processing.org/t/sketch-running-slow/17778 "2020-02-14T14:49:51Z")

</div>

I have a sketch which was running fine on win10 pc. But I upgraded pc and now same sketch is running much slower. Any ideas what may be wrong ?

---

## [Adding Sound Library](https://discourse.processing.org/t/adding-sound-library/17742)

<div class="topic-metadata">

**Author:** [@whittemoreec](https://discourse.processing.org/u/whittemoreec)\
**Replies:** 7\
**Last updated:** [February 14, 2020, 2:44pm UTC](https://discourse.processing.org/t/adding-sound-library/17742 "2020-02-14T14:44:31Z")

</div>

I need to preface this by saying that I don’t have a lot of working knowledge of the program. I am a Tech Director at a school and I was asked to add this to a handful of student laptops so they could use it for a class.…

---

## [Processing-java on Ubuntu Linux - Out of Memory issue](https://discourse.processing.org/t/processing-java-on-ubuntu-linux-out-of-memory-issue/16892)

<div class="topic-metadata">

**Author:** [@dandotdot](https://discourse.processing.org/u/dandotdot)\
**Replies:** 4\
**Last updated:** [February 14, 2020, 8:06am UTC](https://discourse.processing.org/t/processing-java-on-ubuntu-linux-out-of-memory-issue/16892 "2020-02-14T08:06:34Z")

</div>

Hey there, I have some data-vis sketches running via processing-java on an Ubuntu AWS instance that are throwing Out Of Memory errors, or more often, simply hanging and maxing-out the server CPU when they run. Here’s a…

---

## [Scrolling on one canvas only (instance mode)](https://discourse.processing.org/t/scrolling-on-one-canvas-only-instance-mode/17802)

<div class="topic-metadata">

**Author:** [@calornorte](https://discourse.processing.org/u/calornorte)\
**Replies:** 2\
**Last updated:** [February 14, 2020, 3:47am UTC](https://discourse.processing.org/t/scrolling-on-one-canvas-only-instance-mode/17802 "2020-02-14T03:47:03Z")

</div>

hello! I’m producing two canvases on Instance Mode, my plan is to be able to mouseScroll on just one canvas, but I can’t make it work. I believe… I’m making a name function that is called from mousewheel in the first c…

---

## [Keypressed(): Can this even be done?](https://discourse.processing.org/t/keypressed-can-this-even-be-done/17808)

<div class="topic-metadata">

**Author:** [@rorange](https://discourse.processing.org/u/rorange)\
**Replies:** 3\
**Last updated:** [February 14, 2020, 2:57am UTC](https://discourse.processing.org/t/keypressed-can-this-even-be-done/17808 "2020-02-14T02:57:25Z")

</div>

Hi all, I’ve been working on a project for a few days where I’m meant to use keypressed to do a number of things. First thing I’m struggling with: “Make a keyPressed function with the following behavior: • The first …

---

## [\*Almost\* combining brightness example and posenet](https://discourse.processing.org/t/almost-combining-brightness-example-and-posenet/17649)

<div class="topic-metadata">

**Author:** [@mweinberg](https://discourse.processing.org/u/mweinberg)\
**Replies:** 4\
**Last updated:** [February 14, 2020, 1:39am UTC](https://discourse.processing.org/t/almost-combining-brightness-example-and-posenet/17649 "2020-02-14T01:39:39Z")

</div>

Hi everyone. I am trying to modify the brightness example: https://p5js.org/examples/color-brightness.html to combine it with ml5 posenet. Instead of using the mouse position to move around the image I want to use the…

---

## [Computer won't download processing](https://discourse.processing.org/t/computer-wont-download-processing/17758)

<div class="topic-metadata">

**Author:** [@readergirl90](https://discourse.processing.org/u/readergirl90)\
**Replies:** 3\
**Last updated:** [February 14, 2020, 12:23am UTC](https://discourse.processing.org/t/computer-wont-download-processing/17758 "2020-02-14T00:23:53Z")

</div>

I have a Dell that runs 64-bit widows, and for some reason it refuses to download the file on the processing website. I tried some older versions as well, but that wasn’t the issue. It will download about half the progra…

---

## [Stop audio from MIDI input detection](https://discourse.processing.org/t/stop-audio-from-midi-input-detection/17665)

<div class="topic-metadata">

**Author:** [@Carpece](https://discourse.processing.org/u/Carpece)\
**Replies:** 1\
**Last updated:** [February 13, 2020, 10:15pm UTC](https://discourse.processing.org/t/stop-audio-from-midi-input-detection/17665 "2020-02-13T22:15:46Z")

</div>

Hi, I’m trying to stop my audios when I click on reset button. I guess I have to point to “audio” in abstract, because I preloaded an array of audios… https://editor.p5js.org/carpece/sketches/5NWyhBHT Any idea? Thanks …

---

## [Processing vs Processing Py](https://discourse.processing.org/t/processing-vs-processing-py/17739)

<div class="topic-metadata">

**Author:** [@Jim-Plaxco-Artsnova](https://discourse.processing.org/u/Jim-Plaxco-Artsnova)\
**Replies:** 4\
**Last updated:** [February 13, 2020, 9:31pm UTC](https://discourse.processing.org/t/processing-vs-processing-py/17739 "2020-02-13T21:31:27Z")

</div>

Hello, I’ve been using Processing on and off for a number of years. I’ve also played around with P5 JS so I know what to expect from that platform. As it happens I am also a Python programmer though my Python programmi…

---

## [Contributing to P5.js](https://discourse.processing.org/t/contributing-to-p5-js/17792)

<div class="topic-metadata">

**Author:** [@Deepansharora27](https://discourse.processing.org/u/Deepansharora27)\
**Replies:** 0\
**Last updated:** [February 13, 2020, 2:13pm UTC](https://discourse.processing.org/t/contributing-to-p5-js/17792 "2020-02-13T14:13:33Z")

</div>

Hello Everyone , I am Deepanshu Arora , A second year Computer Science Undergrad Student currently in my Second Year in Manav Rachna International University,India . I am a Passionate about Web Development , and more s…

---

## [P5 loadJSON from wordpress problem](https://discourse.processing.org/t/p5-loadjson-from-wordpress-problem/17797)

<div class="topic-metadata">

**Author:** [@holby](https://discourse.processing.org/u/holby)\
**Replies:** 1\
**Last updated:** [February 13, 2020, 5:05pm UTC](https://discourse.processing.org/t/p5-loadjson-from-wordpress-problem/17797 "2020-02-13T17:05:31Z")

</div>

Hi Can someone see why I cant load this data to my console? I just get a “problem loading your JSON” Thank you function setup(){ createCanvas(200,200); loadJSON('http://north-berlin.com/wp-json/wp/v2/tags/', gotData…

---

## [Having trouble using kinect with processing on windows](https://discourse.processing.org/t/having-trouble-using-kinect-with-processing-on-windows/15337)

<div class="topic-metadata">

**Author:** [@l3ehfar](https://discourse.processing.org/u/l3ehfar)\
**Replies:** 2\
**Last updated:** [February 13, 2020, 2:40pm UTC](https://discourse.processing.org/t/having-trouble-using-kinect-with-processing-on-windows/15337 "2020-02-13T14:40:42Z")

</div>

any suggestion to use kinect with processing3 in windows 10? as I’ve been searching I’m becoming more disappointed that there is no easy solution to use openkinect library in windows. should I give up? What alternative…

---

## [Line between balls](https://discourse.processing.org/t/line-between-balls/17606)

<div class="topic-metadata">

**Author:** [@l3ehfar](https://discourse.processing.org/u/l3ehfar)\
**Replies:** 5\
**Last updated:** [February 13, 2020, 2:38pm UTC](https://discourse.processing.org/t/line-between-balls/17606 "2020-02-13T14:38:31Z")

</div>

Hi I remember I watched a tutorial of coding train channel a year ago that implement a line between balls in a particular distance as above: class Ball { PVector org, location; float a = 10; float theta, radius, …

---

## [Rectangle Collision in ArrayList](https://discourse.processing.org/t/rectangle-collision-in-arraylist/17770)

<div class="topic-metadata">

**Author:** [@StadiumDelirium](https://discourse.processing.org/u/StadiumDelirium)\
**Replies:** 4\
**Last updated:** [February 13, 2020, 12:15pm UTC](https://discourse.processing.org/t/rectangle-collision-in-arraylist/17770 "2020-02-13T12:15:13Z")

</div>

Hi everybody, this is my first post. I am new to Processing and therefor having some trouble with a game that I am supposed to code in college. Also, please excuse my bad English, I am from Germany :wink: In my coding…

---

## [P2D Hangs if no internet connection](https://discourse.processing.org/t/p2d-hangs-if-no-internet-connection/17633)

<div class="topic-metadata">

**Author:** [@Spikey8D](https://discourse.processing.org/u/Spikey8D)\
**Replies:** 4\
**Last updated:** [February 13, 2020, 11:47am UTC](https://discourse.processing.org/t/p2d-hangs-if-no-internet-connection/17633 "2020-02-13T11:47:14Z")

</div>

Hi, I have encountered an odd error which I narrowed down with the following minimal repro: void settings() { size(500, 500, P2D); pixelDensity(1); } This sketch works fine if the computer is connected to a network…

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

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