# Latest

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

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

**Page:** 356

---

## [How to go about making circles with collisions?](https://discourse.processing.org/t/how-to-go-about-making-circles-with-collisions/20497)

<div class="topic-metadata">

**Author:** [@Salttt](https://discourse.processing.org/u/Salttt)\
**Replies:** 2\
**Last updated:** [May 5, 2020, 9:51pm UTC](https://discourse.processing.org/t/how-to-go-about-making-circles-with-collisions/20497 "2020-05-05T21:51:20Z")

</div>

I want to make a projectile that is a sphere in a 2d game I am creating. I want to make it have a hitbox, is there a way to do it where the hitbox is smooth, rather than being a bunch of smaller rectangles?

---

## [Open Call for p5.js Project Lead!](https://discourse.processing.org/t/open-call-for-p5-js-project-lead/20521)

<div class="topic-metadata">

**Author:** [@lmccart](https://discourse.processing.org/u/lmccart)\
**Replies:** 0\
**Last updated:** [May 5, 2020, 8:55pm UTC](https://discourse.processing.org/t/open-call-for-p5-js-project-lead/20521 "2020-05-05T20:55:47Z")

</div>

The p5.js community is excited to invite applications for the inaugural p5.js Project Lead position, a one-year position beginning July 2020. The p5.js Project Lead’s role will be to continue stewarding the p5.js project…

---

## [Kinect how can I reveal a full canvas image by painting over a blank background with the tracking point as the paintbrush? Revealing the whole artwork](https://discourse.processing.org/t/kinect-how-can-i-reveal-a-full-canvas-image-by-painting-over-a-blank-background-with-the-tracking-point-as-the-paintbrush-revealing-the-whole-artwork/20501)

<div class="topic-metadata">

**Author:** [@12345](https://discourse.processing.org/u/12345)\
**Replies:** 2\
**Last updated:** [May 5, 2020, 7:42pm UTC](https://discourse.processing.org/t/kinect-how-can-i-reveal-a-full-canvas-image-by-painting-over-a-blank-background-with-the-tracking-point-as-the-paintbrush-revealing-the-whole-artwork/20501 "2020-05-05T19:42:03Z")

</div>

Hi, I’ve been working on a processing sketch that tracks movement using a Kinect. I’ve got an image as the tracking point and a white image as the background. I would like the tracking point to reveal more of the backgr…

---

## [Boolean Difference on Vertexes?](https://discourse.processing.org/t/boolean-difference-on-vertexes/20500)

<div class="topic-metadata">

**Author:** [@Marinus](https://discourse.processing.org/u/Marinus)\
**Replies:** 4\
**Last updated:** [May 5, 2020, 7:04pm UTC](https://discourse.processing.org/t/boolean-difference-on-vertexes/20500 "2020-05-05T19:04:09Z")

</div>

Hi all, I’m trying to get this ‘Unknown Pleasures’ cover to generate an SVG without the full vertex paths. This is the code I’m using, written by someone else: As you can see it generates full overlapping paths. When…

---

## [Lag with antialiasing on an SVG](https://discourse.processing.org/t/lag-with-antialiasing-on-an-svg/20141)

<div class="topic-metadata">

**Author:** [@henrylang](https://discourse.processing.org/u/henrylang)\
**Replies:** 3\
**Last updated:** [May 5, 2020, 7:04pm UTC](https://discourse.processing.org/t/lag-with-antialiasing-on-an-svg/20141 "2020-05-05T19:04:51Z")

</div>

Hello, I am creating a data visualizer for data that spans across the entire world. Because of this, I have imported an SVG and I am rendering it onto the screen. You can drag the mouse to pan across the map, and use th…

---

## [Google ads using AdMob](https://discourse.processing.org/t/google-ads-using-admob/20516)

<div class="topic-metadata">

**Author:** [@Malsvir](https://discourse.processing.org/u/Malsvir)\
**Replies:** 0\
**Last updated:** [May 5, 2020, 6:02pm UTC](https://discourse.processing.org/t/google-ads-using-admob/20516 "2020-05-05T18:02:21Z")

</div>

I am trying to do the steps form this thread https://forum.processing.org/one/topic/how-to-including-ads-to-android-project.html but I cant fid out how to get the AdMob SDK. I also always get an error on import com.goog…

---

## [Help parsing an array inside a String](https://discourse.processing.org/t/help-parsing-an-array-inside-a-string/19934)

<div class="topic-metadata">

**Author:** [@Yom](https://discourse.processing.org/u/Yom)\
**Replies:** 7\
**Last updated:** [May 5, 2020, 4:58pm UTC](https://discourse.processing.org/t/help-parsing-an-array-inside-a-string/19934 "2020-05-05T16:58:36Z")

</div>

Hello I need help with parsing a String to get the content of an array. I know nothing about regular expressions, patterns, it looks so complicated… I’ve tried a few things but nothing works :frowning: But I’m almost su…

---

## [Is bezierPoint() part of core.PGraphics?](https://discourse.processing.org/t/is-bezierpoint-part-of-core-pgraphics/20512)

<div class="topic-metadata">

**Author:** [@mala](https://discourse.processing.org/u/mala)\
**Replies:** 2\
**Last updated:** [May 5, 2020, 4:21pm UTC](https://discourse.processing.org/t/is-bezierpoint-part-of-core-pgraphics/20512 "2020-05-05T16:21:45Z")

</div>

I’m trying to move some of my work over to a library built using netbeans and have come across a problem with bezierPoint(float, float, float, float, float) From the processing reference it appears this is part of core…

---

## [I need to find these libraries](https://discourse.processing.org/t/i-need-to-find-these-libraries/20484)

<div class="topic-metadata">

**Author:** [@Malsvir](https://discourse.processing.org/u/Malsvir)\
**Replies:** 3\
**Last updated:** [May 5, 2020, 3:46pm UTC](https://discourse.processing.org/t/i-need-to-find-these-libraries/20484 "2020-05-05T15:46:47Z")

</div>

I am working on an android project that needs the ability to copy a string. can anyone help me find these libraries? import java.awt.Toolkit; import java.awt.datatransfer.StringSelection; import java.awt.datatransfer.Cl…

---

## [Seamless frequency circle (FFT)](https://discourse.processing.org/t/seamless-frequency-circle-fft/20494)

<div class="topic-metadata">

**Author:** [@Hetoft](https://discourse.processing.org/u/Hetoft)\
**Replies:** 3\
**Last updated:** [May 5, 2020, 2:44pm UTC](https://discourse.processing.org/t/seamless-frequency-circle-fft/20494 "2020-05-05T14:44:18Z")

</div>

Hi all, For the past couple of days I’ve been getting into FFT and music visualization. Wanting to make a smooth, circular display of frequencies, I managed to do that, using Minim/FFT, a linear grouping of frequencies,…

---

## [Javascript: Question re functions](https://discourse.processing.org/t/javascript-question-re-functions/20478)

<div class="topic-metadata">

**Author:** [@femke.blanco](https://discourse.processing.org/u/femke.blanco)\
**Replies:** 1\
**Last updated:** [May 4, 2020, 10:03pm UTC](https://discourse.processing.org/t/javascript-question-re-functions/20478 "2020-05-04T22:03:42Z")

</div>

1 - I can reference a function by its name. function funName () { //code } console.log (funName); // -\> function funName () {//code} console.log (typeof funName); // -\> function 2 - I can assign a function t…

---

## [Copy text to clipboard](https://discourse.processing.org/t/copy-text-to-clipboard/14177)

<div class="topic-metadata">

**Author:** [@Alex\_Pr](https://discourse.processing.org/u/Alex_Pr)\
**Replies:** 6\
**Last updated:** [May 5, 2020, 7:52am UTC](https://discourse.processing.org/t/copy-text-to-clipboard/14177 "2020-05-05T07:52:24Z")

</div>

How can I copy a String to Clipboard (similar to Clipboard’s setContent() in java)?

---

## [Not displaying text over certain size](https://discourse.processing.org/t/not-displaying-text-over-certain-size/20077)

<div class="topic-metadata">

**Author:** [@tanzor](https://discourse.processing.org/u/tanzor)\
**Replies:** 4\
**Last updated:** [May 5, 2020, 7:24am UTC](https://discourse.processing.org/t/not-displaying-text-over-certain-size/20077 "2020-05-05T07:24:32Z")

</div>

Dear experts, I’m coding an online experiment in jspsych and p5js and enjoying it very much. There’s a strange issue with font sizes however: if I increase the fontsize from 39 to 40 the text disappears (see line 61 in…

---

## [Mit "minim" in Processing interne Musik analysieren](https://discourse.processing.org/t/mit-minim-in-processing-interne-musik-analysieren/20458)

<div class="topic-metadata">

**Author:** [@Harti](https://discourse.processing.org/u/Harti)\
**Replies:** 2\
**Last updated:** [May 5, 2020, 6:37am UTC](https://discourse.processing.org/t/mit-minim-in-processing-interne-musik-analysieren/20458 "2020-05-05T06:37:49Z")

</div>

Hallo Forum Ich bin neu mit Linus/Raspian unterwegs. Nun scheitere ich nach einem relativ erfolgreichen Weg an der (ALSA)-Audiokonfiguration. Mein Ziel: Über mein Smartphone den Raspi asuwählen für die Musikwiederga…

---

## [Serial port management in a class, constructor undefined error](https://discourse.processing.org/t/serial-port-management-in-a-class-constructor-undefined-error/20465)

<div class="topic-metadata">

**Author:** [@AlexanderDyas](https://discourse.processing.org/u/AlexanderDyas)\
**Replies:** 3\
**Last updated:** [May 5, 2020, 6:33am UTC](https://discourse.processing.org/t/serial-port-management-in-a-class-constructor-undefined-error/20465 "2020-05-05T06:33:35Z")

</div>

Hello, I am having trouble moving some code into a class. The code works fine outside the class, in the setup() function for instance. Within the class the following line raises an error on build : myPort = new Serial(…

---

## [Appending more than one color to an array loop of colors](https://discourse.processing.org/t/appending-more-than-one-color-to-an-array-loop-of-colors/20490)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 7\
**Last updated:** [May 5, 2020, 5:37am UTC](https://discourse.processing.org/t/appending-more-than-one-color-to-an-array-loop-of-colors/20490 "2020-05-05T05:37:35Z")

</div>

I want to append black and white to an array of lerped colors. Works okay when I append the first color, but not when I append the second color. What am I doing wrong? // MAIN ----------------------------- Cell \[\] cell…

---

## [Starting Screen - struggling with code](https://discourse.processing.org/t/starting-screen-struggling-with-code/20473)

<div class="topic-metadata">

**Author:** [@Eduwu](https://discourse.processing.org/u/Eduwu)\
**Replies:** 2\
**Last updated:** [May 5, 2020, 2:21am UTC](https://discourse.processing.org/t/starting-screen-struggling-with-code/20473 "2020-05-05T02:21:16Z")

</div>

Hi!! I’m very new at coding and am doing a project that involves de video library, but I encounter a few problems. The first one is that I’m trying to do a starting screen for my program but the image I made doesn’t app…

---

## [How to combine a point shader with a blur shader?](https://discourse.processing.org/t/how-to-combine-a-point-shader-with-a-blur-shader/718)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 2\
**Last updated:** [December 2, 2018, 4:52pm UTC](https://discourse.processing.org/t/how-to-combine-a-point-shader-with-a-blur-shader/718 "2018-12-02T16:52:18Z")

</div>

I would like to display thousands of points on a 3D canvas with a Depth of Field effect. More specifically, I would like to use a z-buffer (depth buffering) to adjust the level of blur of a point based on its distance fr…

---

## [Data communication from Arduino/Processing Post #1](https://discourse.processing.org/t/data-communication-from-arduino-processing-post-1/20482)

<div class="topic-metadata">

**Author:** [@MaissaHamdi](https://discourse.processing.org/u/MaissaHamdi)\
**Replies:** 5\
**Last updated:** [May 5, 2020, 12:53am UTC](https://discourse.processing.org/t/data-communication-from-arduino-processing-post-1/20482 "2020-05-05T00:53:18Z")

</div>

i am a beginner I would appreciate it if someone help me to write a programme to receive data(62 data) from arduino to processing and class them in a table plz

---

## [Portable Thonny and p5](https://discourse.processing.org/t/portable-thonny-and-p5/19556)

<div class="topic-metadata">

**Author:** [@tabreturn](https://discourse.processing.org/u/tabreturn)\
**Replies:** 2\
**Last updated:** [April 11, 2020, 9:13pm UTC](https://discourse.processing.org/t/portable-thonny-and-p5/19556 "2020-04-11T21:13:46Z")

</div>

You can combine Thonny (an IDE) and p5 (a native Python port of the Processing API) for a Processing-esque, Python 3 development environment that runs off a USB drive. I’ve put together a short tutorial, if anybody is k…

---

## [How to make a timer in Processing?](https://discourse.processing.org/t/how-to-make-a-timer-in-processing/20481)

<div class="topic-metadata">

**Author:** [@Cybernet](https://discourse.processing.org/u/Cybernet)\
**Replies:** 1\
**Last updated:** [May 4, 2020, 11:15pm UTC](https://discourse.processing.org/t/how-to-make-a-timer-in-processing/20481 "2020-05-04T23:15:00Z")

</div>

So I know this is a really simple question, but I can’t figure out how to do it! So I have this code: void draw() { if (startGame) // do stuff if (lose) DisplayTimer(); } void mousePressed() { …

---

## [Flickering saturation](https://discourse.processing.org/t/flickering-saturation/20084)

<div class="topic-metadata">

**Author:** [@benprice](https://discourse.processing.org/u/benprice)\
**Replies:** 2\
**Last updated:** [May 4, 2020, 9:38pm UTC](https://discourse.processing.org/t/flickering-saturation/20084 "2020-05-04T21:38:57Z")

</div>

Hi, little bit of a strange one! So I’m trying to code into a programme a saturation slider. This works, however the saturation seems to flicker on and off in the draw function, as if it gets drawn as the original colou…

---

## [Suggestion regarding improving proposal](https://discourse.processing.org/t/suggestion-regarding-improving-proposal/20474)

<div class="topic-metadata">

**Author:** [@pallav12](https://discourse.processing.org/u/pallav12)\
**Replies:** 0\
**Last updated:** [May 4, 2020, 6:35pm UTC](https://discourse.processing.org/t/suggestion-regarding-improving-proposal/20474 "2020-05-04T18:35:32Z")

</div>

Hello everyone, I just got mail that my proposal wasn’t good enough for GSoC internship at processing, I will be applying for GSoC next year in processing. I just don’t want to repeat my mistakes. Please help me in figu…

---

## [Processing Community Hangout # 2 Sat May 9](https://discourse.processing.org/t/processing-community-hangout-2-sat-may-9/20298)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 5\
**Last updated:** [May 4, 2020, 4:51pm UTC](https://discourse.processing.org/t/processing-community-hangout-2-sat-may-9/20298 "2020-05-04T16:51:37Z")

</div>

Here is the second Processing Community Hangout organized by worldwide Processing community members :blue\_heart: The meetup lasts for 6 hours, but you can show up whenever you want during the meetup. Every hour, we have…

---

## [How do I load a .txt file into a textbox and make the textbox readonly?](https://discourse.processing.org/t/how-do-i-load-a-txt-file-into-a-textbox-and-make-the-textbox-readonly/20407)

<div class="topic-metadata">

**Author:** [@Bassam](https://discourse.processing.org/u/Bassam)\
**Replies:** 3\
**Last updated:** [May 4, 2020, 2:09pm UTC](https://discourse.processing.org/t/how-do-i-load-a-txt-file-into-a-textbox-and-make-the-textbox-readonly/20407 "2020-05-04T14:09:33Z")

</div>

I’m trying to create essentially a EULA page. I want to load a preexisting text file into it a textbox and I want to make the textbox read only. Is this possible in p5.js? Thanks in advance. https://editor.p5js.org/B…

---

## [Processing.video causes VM failure](https://discourse.processing.org/t/processing-video-causes-vm-failure/11153)

<div class="topic-metadata">

**Author:** [@simonbiggs](https://discourse.processing.org/u/simonbiggs)\
**Replies:** 7\
**Last updated:** [May 4, 2020, 11:46am UTC](https://discourse.processing.org/t/processing-video-causes-vm-failure/11153 "2020-05-04T11:46:48Z")

</div>

Hi everyone. I have been running Processing 2.2.1 on a Macbook Pro 2014 with the processing.video library no problems. I am now moving the project to a Mac Pro (tower) 2017 model. Importing the processing.video library …

---

## [Drag and Drop random behaviour](https://discourse.processing.org/t/drag-and-drop-random-behaviour/20419)

<div class="topic-metadata">

**Author:** [@yurikleb](https://discourse.processing.org/u/yurikleb)\
**Replies:** 2\
**Last updated:** [May 4, 2020, 10:55am UTC](https://discourse.processing.org/t/drag-and-drop-random-behaviour/20419 "2020-05-04T10:55:52Z")

</div>

I’m following this example which seems to work very well. I’m trying to rewrite it using classes, as I need to have several draggable objects in my project (I’m creating an image tagging tool for a computer vision proje…

---

## [Program slower when I send data to Arduino](https://discourse.processing.org/t/program-slower-when-i-send-data-to-arduino/19815)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 7\
**Last updated:** [May 4, 2020, 10:37am UTC](https://discourse.processing.org/t/program-slower-when-i-send-data-to-arduino/19815 "2020-05-04T10:37:57Z")

</div>

Hello, I make turning 5 motors with a potar with Arduino. It works perfectly, I make turning them with a simulation from Processing, it all turn but the simulation is slower than if I don’t send datas to Arduino. What…

---

## [Sound: playing arbitrary waveform](https://discourse.processing.org/t/sound-playing-arbitrary-waveform/20197)

<div class="topic-metadata">

**Author:** [@Eamoex](https://discourse.processing.org/u/Eamoex)\
**Replies:** 4\
**Last updated:** [May 4, 2020, 8:18am UTC](https://discourse.processing.org/t/sound-playing-arbitrary-waveform/20197 "2020-05-04T08:18:09Z")

</div>

Hello, I make electronic music and I’m using a physical synth (Elektron Digitakt) which can take arbitrary single-cycle waveforms to create continuous sounds. For instance, as with the audio library of processing, we hav…

---

## [Implementing Midpoint Displacement Algorithm](https://discourse.processing.org/t/implementing-midpoint-displacement-algorithm/20441)

<div class="topic-metadata">

**Author:** [@Dangeroustuber](https://discourse.processing.org/u/Dangeroustuber)\
**Replies:** 5\
**Last updated:** [May 4, 2020, 8:16am UTC](https://discourse.processing.org/t/implementing-midpoint-displacement-algorithm/20441 "2020-05-04T08:16:26Z")

</div>

Hi, i want to implement the Midpoint displacement algorithm. Please help! I can’t find a good source to follow in 1D and i dont understand it fully that i can implement it myself alone. I’m not interested in 2d case bef…

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

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