# Latest

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

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

**Page:** 489

---

## [IOS support for Inline Video, Touch Events, and Audio](https://discourse.processing.org/t/ios-support-for-inline-video-touch-events-and-audio/10961)

<div class="topic-metadata">

**Author:** [@jacopom](https://discourse.processing.org/u/jacopom)\
**Replies:** 4\
**Last updated:** [May 10, 2019, 4:00pm UTC](https://discourse.processing.org/t/ios-support-for-inline-video-touch-events-and-audio/10961 "2019-05-10T16:00:59Z")

</div>

Greetings, I’m posting this example of how to get these features to work: inline video, touchclicks, ( that’s right touching the screen does not currently trigger mouse click events) and audio in IOS. I just finish…

---

## [Moving objects with hand detection](https://discourse.processing.org/t/moving-objects-with-hand-detection/10999)

<div class="topic-metadata">

**Author:** [@zxcvbs](https://discourse.processing.org/u/zxcvbs)\
**Replies:** 1\
**Last updated:** [May 10, 2019, 3:57pm UTC](https://discourse.processing.org/t/moving-objects-with-hand-detection/10999 "2019-05-10T15:57:12Z")

</div>

Hi, I’m trying to do something like this: Track each hand motion, and move objects around. I can detect hand blobs with blob scanner, but there are too many blobs. And I don’t know how to differentiate ea…

---

## [Circle Connection Diagram](https://discourse.processing.org/t/circle-connection-diagram/10952)

<div class="topic-metadata">

**Author:** [@kirstee\_baxt](https://discourse.processing.org/u/kirstee_baxt)\
**Replies:** 7\
**Last updated:** [May 10, 2019, 3:23pm UTC](https://discourse.processing.org/t/circle-connection-diagram/10952 "2019-05-10T15:23:10Z")

</div>

Hello! Wondering if anyone would have recommendations or resources for making a circular diagram containing nodes with connections linked across to other nodes. This would be pulling data from a .csv file. What I am look…

---

## ["\_\_\_ is not a constructor" Error message](https://discourse.processing.org/t/is-not-a-constructor-error-message/11104)

<div class="topic-metadata">

**Author:** [@Corephinx](https://discourse.processing.org/u/Corephinx)\
**Replies:** 3\
**Last updated:** [May 10, 2019, 1:53pm UTC](https://discourse.processing.org/t/is-not-a-constructor-error-message/11104 "2019-05-10T13:53:33Z")

</div>

I have been trying to get an old code I wrote, a long time ago, to work(its probably a mess). And I was wondering why it gives me the error message “\[something\] is not a constructor”. I do not expect anyone to read my me…

---

## [When button pressed, load a game](https://discourse.processing.org/t/when-button-pressed-load-a-game/11100)

<div class="topic-metadata">

**Author:** [@nliegeard](https://discourse.processing.org/u/nliegeard)\
**Replies:** 4\
**Last updated:** [May 10, 2019, 11:08am UTC](https://discourse.processing.org/t/when-button-pressed-load-a-game/11100 "2019-05-10T11:08:13Z")

</div>

Hello guys ! i started a programme where i did a home page with a start button, the button work’s good but i have no idea on how can i code that when button pressed then loadfile “test.pde”, if you help me i’l be tha…

---

## [Matrix operations with Processing](https://discourse.processing.org/t/matrix-operations-with-processing/11062)

<div class="topic-metadata">

**Author:** [@Avatrin](https://discourse.processing.org/u/Avatrin)\
**Replies:** 4\
**Last updated:** [May 10, 2019, 10:47am UTC](https://discourse.processing.org/t/matrix-operations-with-processing/11062 "2019-05-10T10:47:19Z")

</div>

Hi I want to create an animation with Processing. I need to use matrix multiplication for the physics and am aware of the fact that I cannot use numpy with PyProcessing. So, I need to find an alternative. Do anybody her…

---

## [2D matrix reverse screenX / screenY function (class)](https://discourse.processing.org/t/2d-matrix-reverse-screenx-screeny-function-class/10929)

<div class="topic-metadata">

**Author:** [@raron](https://discourse.processing.org/u/raron)\
**Replies:** 5\
**Last updated:** [May 10, 2019, 10:21am UTC](https://discourse.processing.org/t/2d-matrix-reverse-screenx-screeny-function-class/10929 "2019-05-10T10:21:36Z")

</div>

I needed a reverse screenX/Y function, but found there wasn’t any (I only found the rare thread asking for the same). I’d like to add that while I’ve used processing before now and then, I’m not too used to OOP (old spa…

---

## [for-Loop w/ Array of random RGB values](https://discourse.processing.org/t/for-loop-w-array-of-random-rgb-values/11084)

<div class="topic-metadata">

**Author:** [@r8th](https://discourse.processing.org/u/r8th)\
**Replies:** 2\
**Last updated:** [May 10, 2019, 5:18am UTC](https://discourse.processing.org/t/for-loop-w-array-of-random-rgb-values/11084 "2019-05-10T05:18:07Z")

</div>

Hi! I’m using Casey and Ben’s Getting Stared with Processing book. Example 11-8, pp 155-156, shows how to fill an ARRAY w RANDOM values using a FOR loop. The RANDOM values are passed to STROKE values. The example below i…

---

## [No sound in exported java with Beads](https://discourse.processing.org/t/no-sound-in-exported-java-with-beads/10532)

<div class="topic-metadata">

**Author:** [@Peachy](https://discourse.processing.org/u/Peachy)\
**Replies:** 13\
**Last updated:** [May 10, 2019, 4:52am UTC](https://discourse.processing.org/t/no-sound-in-exported-java-with-beads/10532 "2019-05-10T04:52:47Z")

</div>

Hi, I have been using the Beads library in my sketches in MacOS Mojave and Windows 10 with Processing 3.5.3. Everything works fine until I export the sketch to a Java applet. The Java applet no longer has audio ouput. I…

---

## [Why does my P3D sketch look weird as a PDF (and how to fix this?)](https://discourse.processing.org/t/why-does-my-p3d-sketch-look-weird-as-a-pdf-and-how-to-fix-this/11072)

<div class="topic-metadata">

**Author:** [@sorenkirk](https://discourse.processing.org/u/sorenkirk)\
**Replies:** 3\
**Last updated:** [May 10, 2019, 4:39am UTC](https://discourse.processing.org/t/why-does-my-p3d-sketch-look-weird-as-a-pdf-and-how-to-fix-this/11072 "2019-05-10T04:39:39Z")

</div>

I have a sketch which looks very different in the Processing window than it does as an actual PDF. Would anyone be able to help me get this sketch to render well as a PDF?

---

## [Repeating and randomizing string arrays](https://discourse.processing.org/t/repeating-and-randomizing-string-arrays/10811)

<div class="topic-metadata">

**Author:** [@AwreetusAwrightus](https://discourse.processing.org/u/AwreetusAwrightus)\
**Replies:** 7\
**Last updated:** [May 10, 2019, 3:29am UTC](https://discourse.processing.org/t/repeating-and-randomizing-string-arrays/10811 "2019-05-10T03:29:52Z")

</div>

hello everyone! it’s quite a simple question, but I tried to repeat values I have on an existing string array and then randomizing their positions. using a ‘for’ method I returned out of bounds, presumably because I di…

---

## [PImage in class](https://discourse.processing.org/t/pimage-in-class/11091)

<div class="topic-metadata">

**Author:** [@jashuman19](https://discourse.processing.org/u/jashuman19)\
**Replies:** 7\
**Last updated:** [May 10, 2019, 2:25am UTC](https://discourse.processing.org/t/pimage-in-class/11091 "2019-05-10T02:25:45Z")

</div>

When I try to create a PImage instance variable in a class file, I get the following error: Cannot find a class or type named “PImage” Does anyone know why this is? For reference, the (simplified) class looks like this…

---

## [Making a Class; web editor vs local](https://discourse.processing.org/t/making-a-class-web-editor-vs-local/11014)

<div class="topic-metadata">

**Author:** [@Rolembeek](https://discourse.processing.org/u/Rolembeek)\
**Replies:** 6\
**Last updated:** [May 9, 2019, 10:38pm UTC](https://discourse.processing.org/t/making-a-class-web-editor-vs-local/11014 "2019-05-09T22:38:46Z")

</div>

As an exercise in making classes in p5.js, I used a piece of code from Dan Shiffman (2D Ray Casting …). Something strange happens : when I use the code -\> class Boundary{ constructor(x1, y1, x2, y2) { this.a =cre…

---

## [~p5.detect~ small, simple library for working with Chrome's Shape Detection API](https://discourse.processing.org/t/p5-detect-small-simple-library-for-working-with-chromes-shape-detection-api/11087)

<div class="topic-metadata">

**Author:** [@stalgiag](https://discourse.processing.org/u/stalgiag)\
**Replies:** 0\
**Last updated:** [May 9, 2019, 8:05pm UTC](https://discourse.processing.org/t/p5-detect-small-simple-library-for-working-with-chromes-shape-detection-api/11087 "2019-05-09T20:05:53Z")

</div>

Hi all! If anyone has any interest I made a small library that helps p5 work with Chrome’s Shape Detection API. The API is still experimental so it only works on Windows 10, Android, and macOS. You also have to enable a…

---

## [Animating a 3d shape in Pyprocessing](https://discourse.processing.org/t/animating-a-3d-shape-in-pyprocessing/11066)

<div class="topic-metadata">

**Author:** [@Avatrin](https://discourse.processing.org/u/Avatrin)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 8:45pm UTC](https://discourse.processing.org/t/animating-a-3d-shape-in-pyprocessing/11066 "2019-05-09T20:45:23Z")

</div>

Hi I cannot find any animation tutorials on the Pyprocessing website. If I wanted to animate this pyramid from the 3d shape tutorial on that website, how can I go about doing that? def drawShape(): translate(width/2, …

---

## [Drawn shapes stay after frame they were drawn?](https://discourse.processing.org/t/drawn-shapes-stay-after-frame-they-were-drawn/11080)

<div class="topic-metadata">

**Author:** [@DerekCresswell](https://discourse.processing.org/u/DerekCresswell)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 7:49pm UTC](https://discourse.processing.org/t/drawn-shapes-stay-after-frame-they-were-drawn/11080 "2019-05-09T19:49:50Z")

</div>

I know this is really stupid. Why are shapes staying on screen even if they weren’t drawn this frame? This hasn’t happened on my other projects. Basically my shapes are leaving trails of themselves.

---

## [Mojave opengl depreciated!](https://discourse.processing.org/t/mojave-opengl-depreciated/10936)

<div class="topic-metadata">

**Author:** [@coco](https://discourse.processing.org/u/coco)\
**Replies:** 6\
**Last updated:** [May 9, 2019, 7:00pm UTC](https://discourse.processing.org/t/mojave-opengl-depreciated/10936 "2019-05-09T19:00:46Z")

</div>

Hello, I just upgraded from 10.14.3 to 10.14.4 and opengl doesn’t work any more, in fact Mojave doesn’t support OpenGL any more !!! Is there some sort of workaround to make P3D work with Metal ? Any help would be greatly…

---

## [Hosting processing sketches online without converting to js](https://discourse.processing.org/t/hosting-processing-sketches-online-without-converting-to-js/10953)

<div class="topic-metadata">

**Author:** [@KeirMeDear](https://discourse.processing.org/u/KeirMeDear)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 6:43pm UTC](https://discourse.processing.org/t/hosting-processing-sketches-online-without-converting-to-js/10953 "2019-05-09T18:43:15Z")

</div>

Is there a website that lets you host processing sketches (made in Java) online without having to convert them in Javascript first (like openProcessing)? Many thanks!

---

## [Can anyone help make my rain splash and puddle?](https://discourse.processing.org/t/can-anyone-help-make-my-rain-splash-and-puddle/10813)

<div class="topic-metadata">

**Author:** [@1317009254](https://discourse.processing.org/u/1317009254)\
**Replies:** 5\
**Last updated:** [May 9, 2019, 4:56pm UTC](https://discourse.processing.org/t/can-anyone-help-make-my-rain-splash-and-puddle/10813 "2019-05-09T16:56:37Z")

</div>

im new to coding and i cant quite figure it out. any sort of help would be awesome! :slight\_smile: int \[\] x = new int \[1000\]; float \[\] y = new float \[1000\]; float \[\] speed = new float \[1000\]; float \[\] size = new float \[…

---

## [Making a Spheroid](https://discourse.processing.org/t/making-a-spheroid/11069)

<div class="topic-metadata">

**Author:** [@Avatrin](https://discourse.processing.org/u/Avatrin)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 4:25pm UTC](https://discourse.processing.org/t/making-a-spheroid/11069 "2019-05-09T16:25:52Z")

</div>

Hi How can I go about creating a spheroid in Processing? I need it to be a solid color.

---

## [Image at angle from 2 vectors scaled and centered](https://discourse.processing.org/t/image-at-angle-from-2-vectors-scaled-and-centered/11070)

<div class="topic-metadata">

**Author:** [@dimpapadop](https://discourse.processing.org/u/dimpapadop)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 4:15pm UTC](https://discourse.processing.org/t/image-at-angle-from-2-vectors-scaled-and-centered/11070 "2019-05-09T16:15:42Z")

</div>

hallo. I am trying to place an image (1000X1000px) scaled and centered between 2 vectors, and keep it always centered there no matter the angle. So far i have PVector a,b,c; PImage img1; void setup(){ size(400,400,…

---

## [How to recieve hex data JPEG camera from Arduino and show image in Processing](https://discourse.processing.org/t/how-to-recieve-hex-data-jpeg-camera-from-arduino-and-show-image-in-processing/10351)

<div class="topic-metadata">

**Author:** [@warayutsitha2](https://discourse.processing.org/u/warayutsitha2)\
**Replies:** 6\
**Last updated:** [May 9, 2019, 2:23pm UTC](https://discourse.processing.org/t/how-to-recieve-hex-data-jpeg-camera-from-arduino-and-show-image-in-processing/10351 "2019-05-09T14:23:38Z")

</div>

Hello. I need some help about how to write a Processing code. I use JPEG camera module snapshot and sent data to output serial port and I want to write a Processing code to recieve this data to show image. Thank you. I…

---

## [this.\_renderer.applyMatrix is not a function](https://discourse.processing.org/t/this-renderer-applymatrix-is-not-a-function/11067)

<div class="topic-metadata">

**Author:** [@Avatrin](https://discourse.processing.org/u/Avatrin)\
**Replies:** 1\
**Last updated:** [May 9, 2019, 2:19pm UTC](https://discourse.processing.org/t/this-renderer-applymatrix-is-not-a-function/11067 "2019-05-09T14:19:08Z")

</div>

I tried running the final code from these examples: https://p5js.org/reference/#/p5/applyMatrix Yet, the animation doesn’t work locally nor on their own editor (https://editor.p5js.org). What am I missing?

---

## [Setting speed and way of several samples](https://discourse.processing.org/t/setting-speed-and-way-of-several-samples/11035)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 2:08pm UTC](https://discourse.processing.org/t/setting-speed-and-way-of-several-samples/11035 "2019-05-09T14:08:01Z")

</div>

Hi, I would like to know if a program already exist to control the speed and way (backward/forward) of several sound sample (mp3) in order to play it as DJ could done with several turntable. My data of speed (positive …

---

## [Variable font in processing](https://discourse.processing.org/t/variable-font-in-processing/11060)

<div class="topic-metadata">

**Author:** [@smekis](https://discourse.processing.org/u/smekis)\
**Replies:** 0\
**Last updated:** [May 9, 2019, 11:12am UTC](https://discourse.processing.org/t/variable-font-in-processing/11060 "2019-05-09T11:12:27Z")

</div>

I have created a variable font that I want to be able to present via processing. Is there a function where I can do this in processing? Found this forum post: Controlling CSS values with mouse in p5.js With this type o…

---

## [Controlling rotational motion in Processing](https://discourse.processing.org/t/controlling-rotational-motion-in-processing/10629)

<div class="topic-metadata">

**Author:** [@Avatrin](https://discourse.processing.org/u/Avatrin)\
**Replies:** 2\
**Last updated:** [April 29, 2019, 11:02pm UTC](https://discourse.processing.org/t/controlling-rotational-motion-in-processing/10629 "2019-04-29T23:02:29Z")

</div>

Hi I want to use Processing to make a few physics simulations. So, lets say I want to model the rotation of a box. However, instead of using the built in functions that allow me to rotate it around whichever axis I want…

---

## [How to make my audio visualizer respond to microphone input instead?](https://discourse.processing.org/t/how-to-make-my-audio-visualizer-respond-to-microphone-input-instead/11039)

<div class="topic-metadata">

**Author:** [@francium401](https://discourse.processing.org/u/francium401)\
**Replies:** 1\
**Last updated:** [May 9, 2019, 12:38pm UTC](https://discourse.processing.org/t/how-to-make-my-audio-visualizer-respond-to-microphone-input-instead/11039 "2019-05-09T12:38:02Z")

</div>

I’ve been trying to use simple examples that have microphone responsiveness as a guide, but can’t seem to get anywhere without the visuals freezing/not appearing at all. I’d much appreciate some help. int radius = 200; …

---

## [Buttons to save and open text file in processing 3](https://discourse.processing.org/t/buttons-to-save-and-open-text-file-in-processing-3/10991)

<div class="topic-metadata">

**Author:** [@light](https://discourse.processing.org/u/light)\
**Replies:** 9\
**Last updated:** [May 9, 2019, 10:19am UTC](https://discourse.processing.org/t/buttons-to-save-and-open-text-file-in-processing-3/10991 "2019-05-09T10:19:48Z")

</div>

hello guys i am a beginner in processing 3 and i want to do some complex programming need your help i want to create 2 buttons 1. which can save the data in text file and 2.which can open that text file in notepad. i a…

---

## [Converting unicode to 'int'](https://discourse.processing.org/t/converting-unicode-to-int/11047)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 10:16am UTC](https://discourse.processing.org/t/converting-unicode-to-int/11047 "2019-05-09T10:16:25Z")

</div>

Hi, I’m trying to convert numbers in a column from a CSV file to integers. It seems those numbers are of unicode type. The problem is that I get an error when calling int() on that number: invalid literal for int() wi…

---

## [Flappy Bird pipe generate](https://discourse.processing.org/t/flappy-bird-pipe-generate/11059)

<div class="topic-metadata">

**Author:** [@totolepeco](https://discourse.processing.org/u/totolepeco)\
**Replies:** 1\
**Last updated:** [May 9, 2019, 10:12am UTC](https://discourse.processing.org/t/flappy-bird-pipe-generate/11059 "2019-05-09T10:12:07Z")

</div>

Hello, I’m young French student, and for my scientific secondary school diploma, I must making a little game. I have choosen so to make a Flappy Bird. I successfully to make the random pipe, but I would like to generat …

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

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