# Latest

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

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

**Page:** 300

---

## [Problème d'animation](https://discourse.processing.org/t/probleme-danimation/24372)

<div class="topic-metadata">

**Author:** [@nina](https://discourse.processing.org/u/nina)\
**Replies:** 5\
**Last updated:** [October 6, 2020, 4:20pm UTC](https://discourse.processing.org/t/probleme-danimation/24372 "2020-10-06T16:20:36Z")

</div>

Bonsoir , j’ai un problème avec mon programme j’ai fait une maison mais, je n’arrive pas à intégrer la pluie (comme animation). Ce sont les codes mit en commentaire dans mon programme . Pouvez-vous m’aidez à corriger …

---

## [Hardware Accelerated Processing in React Native](https://discourse.processing.org/t/hardware-accelerated-processing-in-react-native/24385)

<div class="topic-metadata">

**Author:** [@jdgdorg](https://discourse.processing.org/u/jdgdorg)\
**Replies:** 0\
**Last updated:** [October 6, 2020, 3:34pm UTC](https://discourse.processing.org/t/hardware-accelerated-processing-in-react-native/24385 "2020-10-06T15:34:43Z")

</div>

Looks like expo-gl is a way to run hardware accelerated processing in React Native. After installing it I see in the documentation that one could run a high-level graphics API using GLView. However, I’m new to this type…

---

## [Web Scraping code](https://discourse.processing.org/t/web-scraping-code/12002)

<div class="topic-metadata">

**Author:** [@zara2355](https://discourse.processing.org/u/zara2355)\
**Replies:** 17\
**Last updated:** [October 6, 2020, 9:08am UTC](https://discourse.processing.org/t/web-scraping-code/12002 "2020-10-06T09:08:08Z")

</div>

hello all, Im super new to Processing and am trying to figure out how to write a sketch that can grab numeric data from a website, specifically wind-speed from the national weather service Link: (https://forecast.weathe…

---

## [Drawing a buffer to the canvas, while maintaining vectors (instead of rasterizing the buffer)?](https://discourse.processing.org/t/drawing-a-buffer-to-the-canvas-while-maintaining-vectors-instead-of-rasterizing-the-buffer/24343)

<div class="topic-metadata">

**Author:** [@pablohotsauce](https://discourse.processing.org/u/pablohotsauce)\
**Replies:** 10\
**Last updated:** [October 6, 2020, 7:04am UTC](https://discourse.processing.org/t/drawing-a-buffer-to-the-canvas-while-maintaining-vectors-instead-of-rasterizing-the-buffer/24343 "2020-10-06T07:04:05Z")

</div>

Is there a way to 1) make it so a buffer stores vector shape data, and also 2) draw that buffer to the screen later while maintaining vector shape data, instead of rasterizing the contents of the buffer? Currently, if I…

---

## [Help with refreshing shaders](https://discourse.processing.org/t/help-with-refreshing-shaders/24374)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 1\
**Last updated:** [October 6, 2020, 4:01am UTC](https://discourse.processing.org/t/help-with-refreshing-shaders/24374 "2020-10-06T04:01:54Z")

</div>

I am looking for a sobel shader which will allow me to change the multiplier. i found the following and have used the following shader provided however the shader doesn’t refresh. Now the default edge detection…

---

## [Why am I receiving NaN? What's wrong?](https://discourse.processing.org/t/why-am-i-receiving-nan-whats-wrong/24359)

<div class="topic-metadata">

**Author:** [@CrossAlex21](https://discourse.processing.org/u/CrossAlex21)\
**Replies:** 5\
**Last updated:** [October 6, 2020, 3:26am UTC](https://discourse.processing.org/t/why-am-i-receiving-nan-whats-wrong/24359 "2020-10-06T03:26:25Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello! I am very new to processing js and I am in a “special” group in my class (it means I have done programming). We were making a calculator…

---

## [\<Code to integrate profile ICC for PGraphicsPDF/\>](https://discourse.processing.org/t/code-to-integrate-profile-icc-for-pgraphicspdf/24370)

<div class="topic-metadata">

**Author:** [@Claude-CLd1](https://discourse.processing.org/u/Claude-CLd1)\
**Replies:** 0\
**Last updated:** [October 5, 2020, 9:17pm UTC](https://discourse.processing.org/t/code-to-integrate-profile-icc-for-pgraphicspdf/24370 "2020-10-05T21:17:38Z")

</div>

Hello, do you know how to include a profil ICC into the PDF file create with PGraphicsPDF. Thank you for your help

---

## [Exporting processing.py project as jar file](https://discourse.processing.org/t/exporting-processing-py-project-as-jar-file/24366)

<div class="topic-metadata">

**Author:** [@pi3point1415](https://discourse.processing.org/u/pi3point1415)\
**Replies:** 3\
**Last updated:** [October 5, 2020, 8:45pm UTC](https://discourse.processing.org/t/exporting-processing-py-project-as-jar-file/24366 "2020-10-05T20:45:24Z")

</div>

I have been trying to find a way to export a processing.py project as a single jar file. I am aware of the way to do it with a normal processing project (export, extract core.jar and projectname.jar, compress into a jar …

---

## [How to write titles and legends in 2D fashion when working in P3D?](https://discourse.processing.org/t/how-to-write-titles-and-legends-in-2d-fashion-when-working-in-p3d/19610)

<div class="topic-metadata">

**Author:** [@Samizen](https://discourse.processing.org/u/Samizen)\
**Replies:** 4\
**Last updated:** [October 5, 2020, 6:06pm UTC](https://discourse.processing.org/t/how-to-write-titles-and-legends-in-2d-fashion-when-working-in-p3d/19610 "2020-10-05T18:06:31Z")

</div>

I have completed my sketch in working in P3D mode apart from titles and legends. How do I write these texts normally like 2D when working from this mode. I’ve introduced a camera in the sketch to enable panning and zoomi…

---

## [Using Pixels\[\] Array over Points • trying to move Pixels(XY) off screen like Points](https://discourse.processing.org/t/using-pixels-array-over-points-trying-to-move-pixels-xy-off-screen-like-points/24309)

<div class="topic-metadata">

**Author:** [@Gus\_Fermin](https://discourse.processing.org/u/Gus_Fermin)\
**Replies:** 1\
**Last updated:** [October 5, 2020, 10:28am UTC](https://discourse.processing.org/t/using-pixels-array-over-points-trying-to-move-pixels-xy-off-screen-like-points/24309 "2020-10-05T10:28:16Z")

</div>

Hello there, A beginner here :slight\_smile: trying desperately to understand the pixels array but feeling a bit lost / confused still. I have done a sketch using many point(), and was able to do what seems like a meltin…

---

## [I wrote a multiplayer boardgame using P5 and sockets, would love some feedback from this community!](https://discourse.processing.org/t/i-wrote-a-multiplayer-boardgame-using-p5-and-sockets-would-love-some-feedback-from-this-community/24255)

<div class="topic-metadata">

**Author:** [@shieldsy](https://discourse.processing.org/u/shieldsy)\
**Replies:** 6\
**Last updated:** [October 5, 2020, 4:39pm UTC](https://discourse.processing.org/t/i-wrote-a-multiplayer-boardgame-using-p5-and-sockets-would-love-some-feedback-from-this-community/24255 "2020-10-05T16:39:10Z")

</div>

https://pente.io Pente is one of my favorite boardgames, so I wanted to remake it so I could play it with anyone during Quarantine! I would love if you all could take a look and give me any kind of feedback: look, playa…

---

## [Wolfenstein 3D based Raycaster Experiment](https://discourse.processing.org/t/wolfenstein-3d-based-raycaster-experiment/24362)

<div class="topic-metadata">

**Author:** [@B0tOx](https://discourse.processing.org/u/B0tOx)\
**Replies:** 0\
**Last updated:** [October 5, 2020, 4:17pm UTC](https://discourse.processing.org/t/wolfenstein-3d-based-raycaster-experiment/24362 "2020-10-05T16:17:48Z")

</div>

This is a little, prototype 2D game based on the Wolfenstein 3D Raycaster. It is much better than the RayCaster Coding Train did since we don’t have to go through every Wall per Ray. It still runs smoothly with even 5000…

---

## [Is masking available for vector shapes, outside of PImage.mask()?](https://discourse.processing.org/t/is-masking-available-for-vector-shapes-outside-of-pimage-mask/24320)

<div class="topic-metadata">

**Author:** [@pablohotsauce](https://discourse.processing.org/u/pablohotsauce)\
**Replies:** 4\
**Last updated:** [October 5, 2020, 2:45pm UTC](https://discourse.processing.org/t/is-masking-available-for-vector-shapes-outside-of-pimage-mask/24320 "2020-10-05T14:45:20Z")

</div>

Can I mask a vector shape using another vector shape, and have the end result be a vector? (e.g., for exporting to vector PDF / SVG) Or is masking available only for pixels, meaning both that the mask itself needs to be …

---

## [HM10 BLE and BLEPDROID LIBRARY](https://discourse.processing.org/t/hm10-ble-and-blepdroid-library/23606)

<div class="topic-metadata">

**Author:** [@Erald](https://discourse.processing.org/u/Erald)\
**Replies:** 3\
**Last updated:** [October 5, 2020, 1:34pm UTC](https://discourse.processing.org/t/hm10-ble-and-blepdroid-library/23606 "2020-10-05T13:34:14Z")

</div>

Hi folks, i recently have great success on using Processing Android Mode and Ketai Library to operate my Bluetooth Classic 2.0 system, but the time has come for me to utilize Bluetooth 4.0 BLE which the KETAI Library sad…

---

## [Random class from book of nature of code](https://discourse.processing.org/t/random-class-from-book-of-nature-of-code/24354)

<div class="topic-metadata">

**Author:** [@sangshen](https://discourse.processing.org/u/sangshen)\
**Replies:** 2\
**Last updated:** [October 5, 2020, 12:41pm UTC](https://discourse.processing.org/t/random-class-from-book-of-nature-of-code/24354 "2020-10-05T12:41:17Z")

</div>

please format code with \</\> button \* homework policy \* asking questions there is a Random class showed on the book , but when I wrote code like this , the console showed me it cannot find a class named Random .

---

## [PImage and renderer](https://discourse.processing.org/t/pimage-and-renderer/24355)

<div class="topic-metadata">

**Author:** [@MiguelSanches](https://discourse.processing.org/u/MiguelSanches)\
**Replies:** 0\
**Last updated:** [October 5, 2020, 12:04pm UTC](https://discourse.processing.org/t/pimage-and-renderer/24355 "2020-10-05T12:04:22Z")

</div>

Hi all, I am designing a GUI and I have some images that I use (all in .png) I am using the default renderer in processing because I have designed some buttons and their quality looks good (below). However, the images …

---

## [Can't figure out how to get a value stored/used after clicking (calculator)](https://discourse.processing.org/t/cant-figure-out-how-to-get-a-value-stored-used-after-clicking-calculator/24322)

<div class="topic-metadata">

**Author:** [@yaboi999](https://discourse.processing.org/u/yaboi999)\
**Replies:** 12\
**Last updated:** [October 5, 2020, 1:58am UTC](https://discourse.processing.org/t/cant-figure-out-how-to-get-a-value-stored-used-after-clicking-calculator/24322 "2020-10-05T01:58:18Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello, Below I am attaching the code for a project I am working on. The goal is to create a calculator (GUI doesn’t matter as long as it has cl…

---

## [Canny edge detector](https://discourse.processing.org/t/canny-edge-detector/24282)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 4\
**Last updated:** [October 4, 2020, 10:29pm UTC](https://discourse.processing.org/t/canny-edge-detector/24282 "2020-10-04T22:29:16Z")

</div>

Just posting if anyone is interested this is a canny edge detector. Please note it is not fast will take a few seconds for large images. I will try and implement it using different data structure and then using shaders t…

---

## [Passing Custom Vertex Attributes to Vertex Shader](https://discourse.processing.org/t/passing-custom-vertex-attributes-to-vertex-shader/24342)

<div class="topic-metadata">

**Author:** [@michaelnighttime](https://discourse.processing.org/u/michaelnighttime)\
**Replies:** 0\
**Last updated:** [October 4, 2020, 9:01pm UTC](https://discourse.processing.org/t/passing-custom-vertex-attributes-to-vertex-shader/24342 "2020-10-04T21:01:19Z")

</div>

Trying to understand how to pass custom per-vertex Attributes along to be used in the shaders in processing 3, but seem to be missing something. In processing s = createShape(); s.beginShape(POINTS); for(int i …

---

## [Processing 3 text editor running slow](https://discourse.processing.org/t/processing-3-text-editor-running-slow/24315)

<div class="topic-metadata">

**Author:** [@Tromba](https://discourse.processing.org/u/Tromba)\
**Replies:** 6\
**Last updated:** [October 4, 2020, 8:19pm UTC](https://discourse.processing.org/t/processing-3-text-editor-running-slow/24315 "2020-10-04T20:19:01Z")

</div>

I recently installed processing 3.5.3 on a raspberry pi 4 with 4gb RAM. It is running the newest version of Raspbian. I am having issues where the text editor runs so slowly that it will temporarily freeze every time I …

---

## [Passing through object when clicking](https://discourse.processing.org/t/passing-through-object-when-clicking/24338)

<div class="topic-metadata">

**Author:** [@hugoromo](https://discourse.processing.org/u/hugoromo)\
**Replies:** 1\
**Last updated:** [October 4, 2020, 7:19pm UTC](https://discourse.processing.org/t/passing-through-object-when-clicking/24338 "2020-10-04T19:19:28Z")

</div>

Hello, So I was wondering if there is any way of making a click pass through from an object at front to an object behind, I’m using the the Picking library in a 3D canvas I have a cube made of boxes, and would like to …

---

## [Saving a PDF with P3D or P2D renderer](https://discourse.processing.org/t/saving-a-pdf-with-p3d-or-p2d-renderer/24267)

<div class="topic-metadata">

**Author:** [@Jochem](https://discourse.processing.org/u/Jochem)\
**Replies:** 2\
**Last updated:** [October 4, 2020, 6:11pm UTC](https://discourse.processing.org/t/saving-a-pdf-with-p3d-or-p2d-renderer/24267 "2020-10-04T18:11:55Z")

</div>

Hello everyone, So basically, I’m trying to draw Mars in a 3D space, which I have to save to a PDF file. In order to do that more easily, I made a second project where I only make the texture which will overlay the sphe…

---

## [Creating/using/deleting a con folder in Processing](https://discourse.processing.org/t/creating-using-deleting-a-con-folder-in-processing/24330)

<div class="topic-metadata">

**Author:** [@Optyfen\_met\_Eenden](https://discourse.processing.org/u/Optyfen_met_Eenden)\
**Replies:** 8\
**Last updated:** [October 4, 2020, 4:18pm UTC](https://discourse.processing.org/t/creating-using-deleting-a-con-folder-in-processing/24330 "2020-10-04T16:18:27Z")

</div>

Dear ladies and gentlepeople, I’m using Processing in Java Mode, and my question is about to create a con folder in Processing. I’ve used this technique in Batch before, using the commands in cmd.exe, you can see the c…

---

## [Combining multiple PShapes](https://discourse.processing.org/t/combining-multiple-pshapes/24326)

<div class="topic-metadata">

**Author:** [@tea](https://discourse.processing.org/u/tea)\
**Replies:** 2\
**Last updated:** [October 4, 2020, 11:08am UTC](https://discourse.processing.org/t/combining-multiple-pshapes/24326 "2020-10-04T11:08:53Z")

</div>

Sorry in advance if I’m asking in the wrong forum or doing anything wrong, I’ve only been at this for a couple weeks. It’s for a school assignment I’m stuck on for days already so I thought it’s time to ask for help. I’…

---

## [Side Scrolling Action Game](https://discourse.processing.org/t/side-scrolling-action-game/24323)

<div class="topic-metadata">

**Author:** [@Bob\_With\_A\_X](https://discourse.processing.org/u/Bob_With_A_X)\
**Replies:** 3\
**Last updated:** [October 4, 2020, 10:15am UTC](https://discourse.processing.org/t/side-scrolling-action-game/24323 "2020-10-04T10:15:57Z")

</div>

Hello, I am trying to make a 2D side scrolling action game similar to “Dan The Man”. However, I am stuck as to how to manage the level physics. Initially I though to create the ground terrain as an image for each level…

---

## [How to slow down audio with minim?](https://discourse.processing.org/t/how-to-slow-down-audio-with-minim/11212)

<div class="topic-metadata">

**Author:** [@RienziDeal](https://discourse.processing.org/u/RienziDeal)\
**Replies:** 3\
**Last updated:** [October 4, 2020, 7:36am UTC](https://discourse.processing.org/t/how-to-slow-down-audio-with-minim/11212 "2020-10-04T07:36:33Z")

</div>

Hi, I’m using a song and I want it to slow down but continue playing slower from the same point when clicked when I click on an alcohol bottle (which will imply that the character is drunk) Any help?

---

## [Balls bouncing off each other, without using Box2D or other libraries](https://discourse.processing.org/t/balls-bouncing-off-each-other-without-using-box2d-or-other-libraries/24286)

<div class="topic-metadata">

**Author:** [@HumanoidX](https://discourse.processing.org/u/HumanoidX)\
**Replies:** 11\
**Last updated:** [October 4, 2020, 2:18am UTC](https://discourse.processing.org/t/balls-bouncing-off-each-other-without-using-box2d-or-other-libraries/24286 "2020-10-04T02:18:03Z")

</div>

This is my code: Circle\[\] circles = { new Circle(40,color(0),color(255,0,0),0,2,0,0.5,new PVector(250,300),new PVector(0,0)), new Circle(200,color(0),color(255,0,0),0,10,0,0.5,new PVector(500,300),new PVector(0,0)),…

---

## [Quickest way of compile/upload in Android mode](https://discourse.processing.org/t/quickest-way-of-compile-upload-in-android-mode/24281)

<div class="topic-metadata">

**Author:** [@juanjoc](https://discourse.processing.org/u/juanjoc)\
**Replies:** 5\
**Last updated:** [October 3, 2020, 9:08pm UTC](https://discourse.processing.org/t/quickest-way-of-compile-upload-in-android-mode/24281 "2020-10-03T21:08:06Z")

</div>

Hello everyone I have been working with processing for Android and I don’t know which is the quickest way of upload an app to android. Because sometimes when the app is uploaded and then something is wrong, I have to co…

---

## [Help needed to code videos play with processing by receiving data from Arduino](https://discourse.processing.org/t/help-needed-to-code-videos-play-with-processing-by-receiving-data-from-arduino/24237)

<div class="topic-metadata">

**Author:** [@Annak](https://discourse.processing.org/u/Annak)\
**Replies:** 7\
**Last updated:** [October 3, 2020, 7:21pm UTC](https://discourse.processing.org/t/help-needed-to-code-videos-play-with-processing-by-receiving-data-from-arduino/24237 "2020-10-03T19:21:06Z")

</div>

Hello everyone! I am an artist and I am trying to make an interactive artwork using Arduino and Processing. I am really new at all this,.I know very little about programming but I have to complete this artwork as it is …

---

## [Keyboard shortcuts](https://discourse.processing.org/t/keyboard-shortcuts/24291)

<div class="topic-metadata">

**Author:** [@moms\_spaghetti](https://discourse.processing.org/u/moms_spaghetti)\
**Replies:** 2\
**Last updated:** [October 3, 2020, 12:10pm UTC](https://discourse.processing.org/t/keyboard-shortcuts/24291 "2020-10-03T12:10:16Z")

</div>

Hello Can somebody give me a list or say where I can find them , of all or at least the most important keyboard shortcuts as this would be very helpfull ? Thanks in advance

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

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