# Latest

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

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

**Page:** 459

---

## [Load 16 bit per pixel PNG image](https://discourse.processing.org/t/load-16-bit-per-pixel-png-image/13221)

<div class="topic-metadata">

**Author:** [@Nikolai](https://discourse.processing.org/u/Nikolai)\
**Replies:** 1\
**Last updated:** [August 6, 2019, 11:57pm UTC](https://discourse.processing.org/t/load-16-bit-per-pixel-png-image/13221 "2019-08-06T23:57:48Z")

</div>

I need to load a 16 bit per pixel PNG image and save it as 8 bit (with some processing done on the channels). How can I do this in processing. Any image that I load only has 8 bit depth (even if I crank up the colorMode …

---

## [Making a trading card game](https://discourse.processing.org/t/making-a-trading-card-game/13219)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 0\
**Last updated:** [August 6, 2019, 9:37pm UTC](https://discourse.processing.org/t/making-a-trading-card-game/13219 "2019-08-06T21:37:02Z")

</div>

I’m trying to make a trading card game, but it keeps messing up. I got a table with an enemy to see if works then I created 2 creatures, one player, one enemy, so far they can walk towards each other & stop when they rea…

---

## [Saving to PDF while using the copy() function](https://discourse.processing.org/t/saving-to-pdf-while-using-the-copy-function/13201)

<div class="topic-metadata">

**Author:** [@daniel\_betts](https://discourse.processing.org/u/daniel_betts)\
**Replies:** 3\
**Last updated:** [August 6, 2019, 7:54pm UTC](https://discourse.processing.org/t/saving-to-pdf-while-using-the-copy-function/13201 "2019-08-06T19:54:39Z")

</div>

Hey, I’m have written a small code for a sort of text-warping tool using PGraphics, PFont, and the copy() function. I would like to output “Many Frames Into One File (With Screen Display)” as explained in the PDF librar…

---

## [Looping through an array?](https://discourse.processing.org/t/looping-through-an-array/13078)

<div class="topic-metadata">

**Author:** [@Pbchocochipcheerios](https://discourse.processing.org/u/Pbchocochipcheerios)\
**Replies:** 19\
**Last updated:** [August 6, 2019, 7:52pm UTC](https://discourse.processing.org/t/looping-through-an-array/13078 "2019-08-06T19:52:58Z")

</div>

If I have an array with 14 elements, Is there a way to loop through the array so that when I get to array\[13\], it automatically goes back to array\[0\] up to array \[13\] and loop back to array\[0\] etc etc? I was thinking mo…

---

## [Unicode and Smart quotes not being drawn properly](https://discourse.processing.org/t/unicode-and-smart-quotes-not-being-drawn-properly/13213)

<div class="topic-metadata">

**Author:** [@n055](https://discourse.processing.org/u/n055)\
**Replies:** 4\
**Last updated:** [August 6, 2019, 6:14pm UTC](https://discourse.processing.org/t/unicode-and-smart-quotes-not-being-drawn-properly/13213 "2019-08-06T18:14:27Z")

</div>

I am trying to display text entries by drawing them in my sketch. All of the text I will be using has quotation marks, and the source I am getting them from has them formatted as “curly” or “smart” quotes. However, when…

---

## [Guidance on using LiquidFunProcessing library](https://discourse.processing.org/t/guidance-on-using-liquidfunprocessing-library/13129)

<div class="topic-metadata">

**Author:** [@julianpb](https://discourse.processing.org/u/julianpb)\
**Replies:** 4\
**Last updated:** [August 6, 2019, 2:30pm UTC](https://discourse.processing.org/t/guidance-on-using-liquidfunprocessing-library/13129 "2019-08-06T14:30:22Z")

</div>

Hi, I’m creating a simple display in Processing for my research project that requires a 2D fluid simulation, so I’ve been trying to use LiquidFunProcessing. I’ve managed to create the basic concept, but I need to do some…

---

## [VHS/lo-fi Glitch Effect](https://discourse.processing.org/t/vhs-lo-fi-glitch-effect/12746)

<div class="topic-metadata">

**Author:** [@Armin](https://discourse.processing.org/u/Armin)\
**Replies:** 10\
**Last updated:** [August 6, 2019, 1:41pm UTC](https://discourse.processing.org/t/vhs-lo-fi-glitch-effect/12746 "2019-08-06T13:41:37Z")

</div>

Hi How can I get a VHS/lo-fi image effect like this? I’ve googled to find the algorithm and codes to get this effect but i didn’t find anything!

---

## [Typing on the canvas](https://discourse.processing.org/t/typing-on-the-canvas/12990)

<div class="topic-metadata">

**Author:** [@Codex](https://discourse.processing.org/u/Codex)\
**Replies:** 8\
**Last updated:** [August 6, 2019, 1:36pm UTC](https://discourse.processing.org/t/typing-on-the-canvas/12990 "2019-08-06T13:36:02Z")

</div>

I’m new to processing and I need assistance with something. I need an example with explanation on how to type in a set of boxes created with loop by clicking on each cell.

---

## [Pixelflow lib / getting individual particle positions](https://discourse.processing.org/t/pixelflow-lib-getting-individual-particle-positions/10778)

<div class="topic-metadata">

**Author:** [@iliasp](https://discourse.processing.org/u/iliasp)\
**Replies:** 5\
**Last updated:** [August 6, 2019, 7:15am UTC](https://discourse.processing.org/t/pixelflow-lib-getting-individual-particle-positions/10778 "2019-08-06T07:15:06Z")

</div>

Hello, I am trying to find a way to get the individual particle positions in a pixelflow particle sim. Is this even possible considering the texture based physics calcs?

---

## [Exported sketch is completely blocked from running](https://discourse.processing.org/t/exported-sketch-is-completely-blocked-from-running/13204)

<div class="topic-metadata">

**Author:** [@n055](https://discourse.processing.org/u/n055)\
**Replies:** 9\
**Last updated:** [August 6, 2019, 4:43am UTC](https://discourse.processing.org/t/exported-sketch-is-completely-blocked-from-running/13204 "2019-08-06T04:43:14Z")

</div>

Hey y’all I’ve got an app that I’m writing with the intention of sending it to other people to use. When I export the program to run from a .exe (with JRE etc), when I send it to people for testing, and when I test it …

---

## [Fill and line not displaying (Help for a beginner)](https://discourse.processing.org/t/fill-and-line-not-displaying-help-for-a-beginner/10693)

<div class="topic-metadata">

**Author:** [@abigail](https://discourse.processing.org/u/abigail)\
**Replies:** 3\
**Last updated:** [August 6, 2019, 4:34am UTC](https://discourse.processing.org/t/fill-and-line-not-displaying-help-for-a-beginner/10693 "2019-08-06T04:34:53Z")

</div>

Hi, my code is below :slight\_smile: Water drop; Water \[\] drops = new Water\[300\]; void setup() { size(600, 400); for (int i = 0; i \< drops.length; i++) { drops\[i\] = new Water(); } } void draw() { backgroun…

---

## [Hooray! New hint() documentation is available!](https://discourse.processing.org/t/hooray-new-hint-documentation-is-available/13056)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 11:06pm UTC](https://discourse.processing.org/t/hooray-new-hint-documentation-is-available/13056 "2019-08-05T23:06:41Z")

</div>

Thanks to Casey we now have a new reference page for hint() and related arcane constants: https://processing.org/reference/hint\_.html This is specially useful for those working with P3D, and otherwise for people who wa…

---

## [Library that allows for mouse control](https://discourse.processing.org/t/library-that-allows-for-mouse-control/12969)

<div class="topic-metadata">

**Author:** [@WeinSim](https://discourse.processing.org/u/WeinSim)\
**Replies:** 7\
**Last updated:** [August 5, 2019, 10:58pm UTC](https://discourse.processing.org/t/library-that-allows-for-mouse-control/12969 "2019-08-05T22:58:42Z")

</div>

Ok, so I wanted to know wether there is some library that allows you to control what the mouse does (which buttons are being pressed and where it moves). I think I’ve seen something like this in c# or something idk and w…

---

## [Tangent and Normals to curves](https://discourse.processing.org/t/tangent-and-normals-to-curves/13006)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 6\
**Last updated:** [August 5, 2019, 10:49pm UTC](https://discourse.processing.org/t/tangent-and-normals-to-curves/13006 "2019-08-05T22:49:24Z")

</div>

This is my first pass at plotting tangents and normals. Starting with a sine wave and will modify to work with any curves focusing on mathematical plots. I have yet to deal with length of tangent and length of normal; …

---

## [Detect the state of the wifi](https://discourse.processing.org/t/detect-the-state-of-the-wifi/13021)

<div class="topic-metadata">

**Author:** [@hugo](https://discourse.processing.org/u/hugo)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 10:44pm UTC](https://discourse.processing.org/t/detect-the-state-of-the-wifi/13021 "2019-08-05T22:44:46Z")

</div>

Hello, I would like to change the background depending on the state of the wifi : if (//wifi is activated\\\\) { background(0,255,0); } else { background(255,0,0); } What should we put in place of “//wifi is acti…

---

## [Help with logic in saving tables](https://discourse.processing.org/t/help-with-logic-in-saving-tables/13178)

<div class="topic-metadata">

**Author:** [@plux](https://discourse.processing.org/u/plux)\
**Replies:** 10\
**Last updated:** [August 5, 2019, 4:20pm UTC](https://discourse.processing.org/t/help-with-logic-in-saving-tables/13178 "2019-08-05T16:20:32Z")

</div>

Hi, I have a scriopt that receives data from an accelerometer through Arduino. I want to save these data in a csv file. The system works as follows: Processing generates a sequence of sine waves (stored in freqList\[\])…

---

## [Code 800A0404 issue](https://discourse.processing.org/t/code-800a0404-issue/2036)

<div class="topic-metadata">

**Author:** [@mary.mauntz](https://discourse.processing.org/u/mary.mauntz)\
**Replies:** 14\
**Last updated:** [August 5, 2019, 2:47pm UTC](https://discourse.processing.org/t/code-800a0404-issue/2036 "2019-08-05T14:47:34Z")

</div>

So I am new to HTML and Javscript, and I 'm trying to setup p5.js , however I received windows script host problem Code 800A0405 source microsoft JScript compilation error…how can I fix this ? Please help me!!! Thanks!!! …

---

## [Generating a new color for each circle](https://discourse.processing.org/t/generating-a-new-color-for-each-circle/13163)

<div class="topic-metadata">

**Author:** [@epignosis567](https://discourse.processing.org/u/epignosis567)\
**Replies:** 2\
**Last updated:** [August 5, 2019, 10:37am UTC](https://discourse.processing.org/t/generating-a-new-color-for-each-circle/13163 "2019-08-05T10:37:13Z")

</div>

Hi. I have been following a tutorial and I came up with the following code. However, it’s not doing what I wanted. I would expect that everything individual circle would change a different color, but instead they’re all …

---

## [How to change the Icon of your application](https://discourse.processing.org/t/how-to-change-the-icon-of-your-application/13187)

<div class="topic-metadata">

**Author:** [@Asra](https://discourse.processing.org/u/Asra)\
**Replies:** 2\
**Last updated:** [August 5, 2019, 10:15am UTC](https://discourse.processing.org/t/how-to-change-the-icon-of-your-application/13187 "2019-08-05T10:15:02Z")

</div>

I have not been able to work out how to change the Icon and title of my processing application because whenever I do so it will just give me an error when I use frame.\_\_\_ or surface.\_\_\_\_\_, I am using processing 3 and any…

---

## [Problem while trying to get the sketcbook](https://discourse.processing.org/t/problem-while-trying-to-get-the-sketcbook/13192)

<div class="topic-metadata">

**Author:** [@diegov](https://discourse.processing.org/u/diegov)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 9:46am UTC](https://discourse.processing.org/t/problem-while-trying-to-get-the-sketcbook/13192 "2019-08-05T09:46:42Z")

</div>

saludos a quien este leyendo esto. he querido instalar el entorno de desarrollo processing pero al tratar de hacerlo y ejecutarlo me sale este mensaje “problem while trying to get the sketcbook” no tengo idea aun de que…

---

## [Image/movie frame/capture frame pixel\[\] scan](https://discourse.processing.org/t/image-movie-frame-capture-frame-pixel-scan/13103)

<div class="topic-metadata">

**Author:** [@markcosmic](https://discourse.processing.org/u/markcosmic)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 5:50am UTC](https://discourse.processing.org/t/image-movie-frame-capture-frame-pixel-scan/13103 "2019-08-05T05:50:49Z")

</div>

This pertains to image/movie frame/capture frame pixel\[\] scan. In the Coding Train examples Dan uses a nested FOR loop to check RGB values of each pixel. Within each loop the x/y coordinates are converted to pixel\[\] coo…

---

## [Sound in setup doesn't play from openprocessing](https://discourse.processing.org/t/sound-in-setup-doesnt-play-from-openprocessing/13185)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 0\
**Last updated:** [August 4, 2019, 2:57pm UTC](https://discourse.processing.org/t/sound-in-setup-doesnt-play-from-openprocessing/13185 "2019-08-04T14:57:00Z")

</div>

Here’s another interesting finding. Can anyone crack this puzzle? If I place a sound in the setup function it will play when I hit the play button. However, if I navigate to the page through a link on my openprocessing.o…

---

## [\[SOLVED\] Cannot open Processing - "No sketchbook" error](https://discourse.processing.org/t/solved-cannot-open-processing-no-sketchbook-error/6964)

<div class="topic-metadata">

**Author:** [@jhighmore](https://discourse.processing.org/u/jhighmore)\
**Replies:** 4\
**Last updated:** [August 5, 2019, 1:40am UTC](https://discourse.processing.org/t/solved-cannot-open-processing-no-sketchbook-error/6964 "2019-08-05T01:40:37Z")

</div>

Hi everyone, I’m brand new to Processing and am really excited to get stuck in, however I’ve fallen at the first hurdle! I’ve downloaded v3.4 for MacOS, extracted the zip and have moved the application to the Applicati…

---

## [Sending MIDI information to my DAW](https://discourse.processing.org/t/sending-midi-information-to-my-daw/5461)

<div class="topic-metadata">

**Author:** [@LordCacops](https://discourse.processing.org/u/LordCacops)\
**Replies:** 14\
**Last updated:** [August 4, 2019, 11:36pm UTC](https://discourse.processing.org/t/sending-midi-information-to-my-daw/5461 "2019-08-04T23:36:11Z")

</div>

Hello! I want to send data from my sketch into my DAW, more specifically, Logic Pro X, using the midiBus library, but I do not know how to access the appropriate midi channel to make this happen. When I create an Aggreg…

---

## [Storing multiple values of the mouse position in a class](https://discourse.processing.org/t/storing-multiple-values-of-the-mouse-position-in-a-class/13153)

<div class="topic-metadata">

**Author:** [@beardedalien](https://discourse.processing.org/u/beardedalien)\
**Replies:** 5\
**Last updated:** [August 4, 2019, 6:32pm UTC](https://discourse.processing.org/t/storing-multiple-values-of-the-mouse-position-in-a-class/13153 "2019-08-04T18:32:02Z")

</div>

Hello! I am trying to program a rectangular “layout” creator that allows the user to draw multiple rectangles across the screen referencing the initial mouse pressed and the following mouse released coordinates as values…

---

## [Editor problems](https://discourse.processing.org/t/editor-problems/13044)

<div class="topic-metadata">

**Author:** [@LivioR](https://discourse.processing.org/u/LivioR)\
**Replies:** 3\
**Last updated:** [August 4, 2019, 2:33pm UTC](https://discourse.processing.org/t/editor-problems/13044 "2019-08-04T14:33:14Z")

</div>

Hi, my name is Livio. I started using processing (Version 3.5.3 on Windows 10) a week ago. I noticed some problems in the editor: TAB does not allow to align the lines well. When I use getContent(), from class XM…

---

## [I need know vertex after rotate](https://discourse.processing.org/t/i-need-know-vertex-after-rotate/12719)

<div class="topic-metadata">

**Author:** [@NoName](https://discourse.processing.org/u/NoName)\
**Replies:** 21\
**Last updated:** [August 4, 2019, 2:10pm UTC](https://discourse.processing.org/t/i-need-know-vertex-after-rotate/12719 "2019-08-04T14:10:58Z")

</div>

How to find the coordinates of the already drawn Shape? More precisely, I need to know its vertex coordinates in order to work with them later. I would just count it from the point of creation, but I rotate it. Is the…

---

## [Can't play sound](https://discourse.processing.org/t/cant-play-sound/13130)

<div class="topic-metadata">

**Author:** [@SheCurvesMobius](https://discourse.processing.org/u/SheCurvesMobius)\
**Replies:** 5\
**Last updated:** [August 4, 2019, 1:45pm UTC](https://discourse.processing.org/t/cant-play-sound/13130 "2019-08-04T13:45:05Z")

</div>

Hello, I’m just learning to work with sound and I can’t get my sketch to work. Here’s the code: let mySound; function preload() { soundFormats('mp3'); mySound = loadSound('doorbell.mp3'); } function setup() { …

---

## [Saving image from CreateGraphics doubles resolution](https://discourse.processing.org/t/saving-image-from-creategraphics-doubles-resolution/13160)

<div class="topic-metadata">

**Author:** [@rkdnson](https://discourse.processing.org/u/rkdnson)\
**Replies:** 1\
**Last updated:** [August 4, 2019, 12:37am UTC](https://discourse.processing.org/t/saving-image-from-creategraphics-doubles-resolution/13160 "2019-08-04T00:37:41Z")

</div>

Hello! I am working on a bit of code, and have recently put in the createGraphics() function. When saving the image created by createGraphics, my resolution is doubled. print(graphics.width); //gives me 800 - the corre…

---

## [Apply video effect to every frame](https://discourse.processing.org/t/apply-video-effect-to-every-frame/11730)

<div class="topic-metadata">

**Author:** [@Cai](https://discourse.processing.org/u/Cai)\
**Replies:** 4\
**Last updated:** [August 4, 2019, 12:01am UTC](https://discourse.processing.org/t/apply-video-effect-to-every-frame/11730 "2019-08-04T00:01:36Z")

</div>

hey guys, I recently learned to create the dithering effect image no. 1 is the processed image image no. 2 is the original image … Its a lil heavy effect , So im unable to use it on videos and see it effect realtime. …

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

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