# Latest

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

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

**Page:** 532

---

## [Two syntax questions about arrays and classes](https://discourse.processing.org/t/two-syntax-questions-about-arrays-and-classes/7869)

<div class="topic-metadata">

**Author:** [@femke.blanco](https://discourse.processing.org/u/femke.blanco)\
**Replies:** 2\
**Last updated:** [January 27, 2019, 12:40am UTC](https://discourse.processing.org/t/two-syntax-questions-about-arrays-and-classes/7869 "2019-01-27T00:40:53Z")

</div>

Hi Apologies if these are newbie questions. I have just begun processing. (The full code is at the end of the post.) Question 1: When initialising an array with a “for” loop, why do I have to do so within void setup…

---

## [Emulator license not accepted, but I used auto-downloader](https://discourse.processing.org/t/emulator-license-not-accepted-but-i-used-auto-downloader/7695)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 10\
**Last updated:** [January 26, 2019, 11:48pm UTC](https://discourse.processing.org/t/emulator-license-not-accepted-but-i-used-auto-downloader/7695 "2019-01-26T23:48:42Z")

</div>

Processing automatically installed android SDK and image, then I run the example project , it doesnt work, I have a black screen, then I decide to close and start again emulator, and I got this error: Build folder: C:\\…

---

## [Is 2D DXF Export possible (w/ arcs)? Interested for laser engraving](https://discourse.processing.org/t/is-2d-dxf-export-possible-w-arcs-interested-for-laser-engraving/1467)

<div class="topic-metadata">

**Author:** [@thehans](https://discourse.processing.org/u/thehans)\
**Replies:** 3\
**Last updated:** [January 26, 2019, 10:17pm UTC](https://discourse.processing.org/t/is-2d-dxf-export-possible-w-arcs-interested-for-laser-engraving/1467 "2019-01-26T22:17:10Z")

</div>

I have a design which consists of just arc paths, and I want to laser engrave that onto a surface. I made a processing sketch to generate the pattern using PDF Export library. The PDF looked just how I wanted. But the…

---

## [OpenCV "FindContours" wont get me the number of Points](https://discourse.processing.org/t/opencv-findcontours-wont-get-me-the-number-of-points/7749)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 10\
**Last updated:** [January 26, 2019, 8:41pm UTC](https://discourse.processing.org/t/opencv-findcontours-wont-get-me-the-number-of-points/7749 "2019-01-26T20:41:00Z")

</div>

I am using the example “findContours” from the Open CV library. Here I found the reference for the library. http://atduskgreg.github.io/opencv-processing/reference/gab/opencv/Contour.html I am trying to determine how …

---

## [Trigonometry instead of rotate()](https://discourse.processing.org/t/trigonometry-instead-of-rotate/7848)

<div class="topic-metadata">

**Author:** [@Ov3rM1nD](https://discourse.processing.org/u/Ov3rM1nD)\
**Replies:** 4\
**Last updated:** [January 26, 2019, 8:31pm UTC](https://discourse.processing.org/t/trigonometry-instead-of-rotate/7848 "2019-01-26T20:31:23Z")

</div>

Hello everybody. I’m making my own Triangle class that builds triangle objects with some unique features like collision detection, rotate (), centerMode () (which can be VERTEX, CENTROID, CIRCUNCENTER, etc), and a few ot…

---

## [Need review on some pull requests](https://discourse.processing.org/t/need-review-on-some-pull-requests/7857)

<div class="topic-metadata">

**Author:** [@sanketsingh24](https://discourse.processing.org/u/sanketsingh24)\
**Replies:** 0\
**Last updated:** [January 26, 2019, 12:55pm UTC](https://discourse.processing.org/t/need-review-on-some-pull-requests/7857 "2019-01-26T12:55:57Z")

</div>

So, I was just trying to contribute to my favorite library, and submitted two PRs two days ago, one is a simple bugfix, while the other is about a feature which I thought to be missing from p5.js as of now. So, If someon…

---

## [Boolean in parameters](https://discourse.processing.org/t/boolean-in-parameters/7853)

<div class="topic-metadata">

**Author:** [@Dinator14](https://discourse.processing.org/u/Dinator14)\
**Replies:** 3\
**Last updated:** [January 26, 2019, 5:54am UTC](https://discourse.processing.org/t/boolean-in-parameters/7853 "2019-01-26T05:54:15Z")

</div>

On the void dead(boolean hit) I get the yellow message saying how the value of the parameter hit is not being used. I’ve realized that putting hit in a conditional statement such as in void show does not bring up this me…

---

## [How to use Google fonts in P5JS online editor](https://discourse.processing.org/t/how-to-use-google-fonts-in-p5js-online-editor/6893)

<div class="topic-metadata">

**Author:** [@shlomyli](https://discourse.processing.org/u/shlomyli)\
**Replies:** 9\
**Last updated:** [January 26, 2019, 5:33am UTC](https://discourse.processing.org/t/how-to-use-google-fonts-in-p5js-online-editor/6893 "2019-01-26T05:33:20Z")

</div>

Hi, I have encountered this short video which explains how to manipulate the “index.html” and “style.css” in order to be load use Google fonts. Hope that helps Shlomi

---

## [Gradients on p5.js?](https://discourse.processing.org/t/gradients-on-p5-js/7555)

<div class="topic-metadata">

**Author:** [@davidjj](https://discourse.processing.org/u/davidjj)\
**Replies:** 3\
**Last updated:** [January 26, 2019, 3:58am UTC](https://discourse.processing.org/t/gradients-on-p5-js/7555 "2019-01-26T03:58:13Z")

</div>

Gradients are a pretty standard feature of HTML5 canvas: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createLinearGradient And using straight javascript (actually this example is typescript)…

---

## [java.lang.RuntimeException: java.lang.OutOfMemoryError: GC overhead limit exceeded](https://discourse.processing.org/t/java-lang-runtimeexception-java-lang-outofmemoryerror-gc-overhead-limit-exceeded/7826)

<div class="topic-metadata">

**Author:** [@mictadlo](https://discourse.processing.org/u/mictadlo)\
**Replies:** 1\
**Last updated:** [January 26, 2019, 3:54am UTC](https://discourse.processing.org/t/java-lang-runtimeexception-java-lang-outofmemoryerror-gc-overhead-limit-exceeded/7826 "2019-01-26T03:54:10Z")

</div>

Hi, I ran MizBee on processing 2 and got the following error: java.lang.RuntimeException: java.lang.OutOfMemoryError: GC overhead limit exceeded at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:5…

---

## [Personal JavaScript Canvas Library. (BasicCanvas)](https://discourse.processing.org/t/personal-javascript-canvas-library-basiccanvas/7521)

<div class="topic-metadata">

**Author:** [@fredrik](https://discourse.processing.org/u/fredrik)\
**Replies:** 3\
**Last updated:** [January 26, 2019, 1:04am UTC](https://discourse.processing.org/t/personal-javascript-canvas-library-basiccanvas/7521 "2019-01-26T01:04:17Z")

</div>

After seeing the amazing work done both in p5.js and Processing alike, I always wondered how they manage to work so intuitively and easily when compared to what their ‘raw’ graphics APIs look like. I went ahead and impl…

---

## [MA Computational Arts, Goldsmiths - open evening (6th Feb)](https://discourse.processing.org/t/ma-computational-arts-goldsmiths-open-evening-6th-feb/7838)

<div class="topic-metadata">

**Author:** [@lobodelmar](https://discourse.processing.org/u/lobodelmar)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 5:38pm UTC](https://discourse.processing.org/t/ma-computational-arts-goldsmiths-open-evening-6th-feb/7838 "2019-01-25T17:38:10Z")

</div>

Hi hacker-artists, We’re holding an open evening at Goldsmiths, U of London, for the MA/MFA in Computational Arts for those who want to learn more about it. It’s going to be on Wednesday the 6th of February 6:30- 7:30…

---

## [CRC8, CRC16 and conversion to little endian (udp)](https://discourse.processing.org/t/crc8-crc16-and-conversion-to-little-endian-udp/7646)

<div class="topic-metadata">

**Author:** [@f42ter](https://discourse.processing.org/u/f42ter)\
**Replies:** 1\
**Last updated:** [January 25, 2019, 5:21pm UTC](https://discourse.processing.org/t/crc8-crc16-and-conversion-to-little-endian-udp/7646 "2019-01-25T17:21:40Z")

</div>

Just starting to code for the DJI Tello quadrocopter (see https://github.com/f41ardu/TelloProcessing/tree/master ), cause you can control Tello in an SDK mode sending commands. But to make most out of this little gadget…

---

## [Trying to get p5.sound library to work with Observable](https://discourse.processing.org/t/trying-to-get-p5-sound-library-to-work-with-observable/7825)

<div class="topic-metadata">

**Author:** [@Job](https://discourse.processing.org/u/Job)\
**Replies:** 0\
**Last updated:** [January 25, 2019, 12:14am UTC](https://discourse.processing.org/t/trying-to-get-p5-sound-library-to-work-with-observable/7825 "2019-01-25T00:14:59Z")

</div>

So for this weekend’s Global Game Jam, I was thinking of using Observable together with p5.js for an easy developer environment. With a little help from Mike Bostock I now have a neat little notebook template for a basic…

---

## [TexCoord postProcessing shader problem](https://discourse.processing.org/t/texcoord-postprocessing-shader-problem/7690)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 9\
**Last updated:** [January 25, 2019, 9:03am UTC](https://discourse.processing.org/t/texcoord-postprocessing-shader-problem/7690 "2019-01-25T09:03:37Z")

</div>

hello! im trying to implement some ligth effect to a sphere. the idea is that it seems to emit light in a volumetric way, in the direction of the normal vectors. but i dont know exactly how can i do it. my fragment shad…

---

## [Library to apply BandPass filter for EEG signals in Processing](https://discourse.processing.org/t/library-to-apply-bandpass-filter-for-eeg-signals-in-processing/4972)

<div class="topic-metadata">

**Author:** [@Tanvi](https://discourse.processing.org/u/Tanvi)\
**Replies:** 8\
**Last updated:** [January 25, 2019, 5:34am UTC](https://discourse.processing.org/t/library-to-apply-bandpass-filter-for-eeg-signals-in-processing/4972 "2019-01-25T05:34:53Z")

</div>

Hi, I want to filter my incoming EEG data in processing before plotting. I explored the “Sound” library of processing (https://processing.org/reference/libraries/sound/index.html), but I think this is specifically for au…

---

## [Adding parent class to arraylist with internal function](https://discourse.processing.org/t/adding-parent-class-to-arraylist-with-internal-function/7766)

<div class="topic-metadata">

**Author:** [@Bluu](https://discourse.processing.org/u/Bluu)\
**Replies:** 9\
**Last updated:** [January 25, 2019, 3:51am UTC](https://discourse.processing.org/t/adding-parent-class-to-arraylist-with-internal-function/7766 "2019-01-25T03:51:43Z")

</div>

I’m trying to build a game where you connect different pipes to complete a rube-goldberg machine level, this class is meant to be a connector wire between two blocks. I’m having an issue within the internal findend() fun…

---

## [Carnivore library for Windows](https://discourse.processing.org/t/carnivore-library-for-windows/7819)

<div class="topic-metadata">

**Author:** [@Pr0tonX](https://discourse.processing.org/u/Pr0tonX)\
**Replies:** 0\
**Last updated:** [January 24, 2019, 8:01pm UTC](https://discourse.processing.org/t/carnivore-library-for-windows/7819 "2019-01-24T20:01:04Z")

</div>

Hi everyone, I wanted to know if some of you had already tried to play with the Carnivore library ; wich require WinPCap to be used on Windows. Do I have to do something with it ;or just launch it and the sniffing will …

---

## [Processing skips forward and jumps to loop](https://discourse.processing.org/t/processing-skips-forward-and-jumps-to-loop/7169)

<div class="topic-metadata">

**Author:** [@carlijnob](https://discourse.processing.org/u/carlijnob)\
**Replies:** 0\
**Last updated:** [January 4, 2019, 2:56pm UTC](https://discourse.processing.org/t/processing-skips-forward-and-jumps-to-loop/7169 "2019-01-04T14:56:05Z")

</div>

Hello everybody, I am trying to finish the code I wrote together with someone with more experience. Unfortunately, this person is on holiday right now and I cannot find the solution of my problem. The problem is that t…

---

## [Cant get this library to work - launchpad libarary](https://discourse.processing.org/t/cant-get-this-library-to-work-launchpad-libarary/7210)

<div class="topic-metadata">

**Author:** [@Brastin](https://discourse.processing.org/u/Brastin)\
**Replies:** 1\
**Last updated:** [January 24, 2019, 6:01pm UTC](https://discourse.processing.org/t/cant-get-this-library-to-work-launchpad-libarary/7210 "2019-01-24T18:01:06Z")

</div>

I’ve been trying forever to get this launchpad library to work with processing. I’ve looked everywhere for any info on how to get it to work but I just can’t find anything. The library seems to be made for an older versi…

---

## [Processing memory card game](https://discourse.processing.org/t/processing-memory-card-game/7191)

<div class="topic-metadata">

**Author:** [@roeludh1](https://discourse.processing.org/u/roeludh1)\
**Replies:** 11\
**Last updated:** [January 5, 2019, 11:51am UTC](https://discourse.processing.org/t/processing-memory-card-game/7191 "2019-01-05T11:51:34Z")

</div>

Hi, I have to make this memory card game in processing and Im a little stuck somewhere. I have three screens and on the third screen the game is displayed based on the selected number of cards in the second screen. This…

---

## [Grafica Library, changing colour of specific points](https://discourse.processing.org/t/grafica-library-changing-colour-of-specific-points/7151)

<div class="topic-metadata">

**Author:** [@simmi](https://discourse.processing.org/u/simmi)\
**Replies:** 2\
**Last updated:** [January 24, 2019, 4:45pm UTC](https://discourse.processing.org/t/grafica-library-changing-colour-of-specific-points/7151 "2019-01-24T16:45:42Z")

</div>

I want to plot the graph of reading of gyroscope data vs Time. I am using grafica library. I am adding the point in the points in the loop and want to change the color of specific points when certain condition is detect…

---

## [\[SOLVED\] How do you individually rotate objects in a grid?](https://discourse.processing.org/t/solved-how-do-you-individually-rotate-objects-in-a-grid/7510)

<div class="topic-metadata">

**Author:** [@Namrad](https://discourse.processing.org/u/Namrad)\
**Replies:** 6\
**Last updated:** [January 23, 2019, 9:07pm UTC](https://discourse.processing.org/t/solved-how-do-you-individually-rotate-objects-in-a-grid/7510 "2019-01-23T21:07:54Z")

</div>

Hello, I’m fairly new to this forum, and a mostly autodidact Processing user and learner. Apologies if I’m not making myself properly clear, or if I’m making rookie formatting mistakes. I have created an array of objec…

---

## [Getting p5.gif.js working in the p5.js web editor](https://discourse.processing.org/t/getting-p5-gif-js-working-in-the-p5-js-web-editor/7787)

<div class="topic-metadata">

**Author:** [@jgl](https://discourse.processing.org/u/jgl)\
**Replies:** 2\
**Last updated:** [January 24, 2019, 4:44pm UTC](https://discourse.processing.org/t/getting-p5-gif-js-working-in-the-p5-js-web-editor/7787 "2019-01-24T16:44:13Z")

</div>

Hi All, I’m trying to get the example here: Working in the p5.js web editor. You can see it not running here: https://editor.p5js.org/jgl/sketches/xpBHHsWz9 It’s currently erroring with: “InvalidStateError: An att…

---

## [Crazy ball movement and collision](https://discourse.processing.org/t/crazy-ball-movement-and-collision/7777)

<div class="topic-metadata">

**Author:** [@hmilch](https://discourse.processing.org/u/hmilch)\
**Replies:** 3\
**Last updated:** [January 24, 2019, 4:44pm UTC](https://discourse.processing.org/t/crazy-ball-movement-and-collision/7777 "2019-01-24T16:44:06Z")

</div>

Hi, So i’m new to processing and coding as i just started talking a Comp. Sci class this year. Anyways, for the end of the first semester, we were tasked with making a game. Doesn’t matter what kind or how, just as long…

---

## [Adding str() array to a single string](https://discourse.processing.org/t/adding-str-array-to-a-single-string/7762)

<div class="topic-metadata">

**Author:** [@Hieronymus](https://discourse.processing.org/u/Hieronymus)\
**Replies:** 3\
**Last updated:** [January 24, 2019, 3:32pm UTC](https://discourse.processing.org/t/adding-str-array-to-a-single-string/7762 "2019-01-24T15:32:11Z")

</div>

I’m having an array of individual strings. Basically, these are ascii codes converted to a string. a = a counter str(char(txtArray\[a\])) I could add all strings from the array to a single string ‘ab’ like the followin…

---

## [Make the game called Sets](https://discourse.processing.org/t/make-the-game-called-sets/7761)

<div class="topic-metadata">

**Author:** [@henk\_peter](https://discourse.processing.org/u/henk_peter)\
**Replies:** 3\
**Last updated:** [January 24, 2019, 2:25am UTC](https://discourse.processing.org/t/make-the-game-called-sets/7761 "2019-01-24T02:25:36Z")

</div>

Hello, I’m trying to make the game sets This is the game I have 27 cards, which are all diferent by one (or more) of each item: colors: red,blue,green Shape: triangle, square, circle Amout: 1,2,3 I already made ful…

---

## [Position problem](https://discourse.processing.org/t/position-problem/7782)

<div class="topic-metadata">

**Author:** [@vincentstrebelle](https://discourse.processing.org/u/vincentstrebelle)\
**Replies:** 12\
**Last updated:** [January 24, 2019, 10:57am UTC](https://discourse.processing.org/t/position-problem/7782 "2019-01-24T10:57:45Z")

</div>

Hi everyone, i have a problem with my player, i cant find a way to put it properly in my world. For now it spawn in the middle of my screen and so all his coordonates are wrong. here is my World: public class World2 {…

---

## [Problems Exporting a Sketch on Mac](https://discourse.processing.org/t/problems-exporting-a-sketch-on-mac/1329)

<div class="topic-metadata">

**Author:** [@JavaWax](https://discourse.processing.org/u/JavaWax)\
**Replies:** 9\
**Last updated:** [January 24, 2019, 10:47am UTC](https://discourse.processing.org/t/problems-exporting-a-sketch-on-mac/1329 "2019-01-24T10:47:42Z")

</div>

Hi there! I have written a program which utilises multiple libraries to control a particle system using a kinect. All data is stored within the data folder. It runs fine within the processing environment. My problem is …

---

## [Master Pgraphics for Syphon](https://discourse.processing.org/t/master-pgraphics-for-syphon/7785)

<div class="topic-metadata">

**Author:** [@mattleaf](https://discourse.processing.org/u/mattleaf)\
**Replies:** 1\
**Last updated:** [January 24, 2019, 10:29am UTC](https://discourse.processing.org/t/master-pgraphics-for-syphon/7785 "2019-01-24T10:29:56Z")

</div>

hiya, had an account a while back but seems i needed a new one anyway, weird Q. I’m using layers of PGraphics objects pretty extensively in a project, however I’m now in a position where i need to use Syphon to do a re…

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

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