# Latest

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

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

**Page:** 329

---

## [About SaveTable()](https://discourse.processing.org/t/about-savetable/22295)

<div class="topic-metadata">

**Author:** [@SouSageYa](https://discourse.processing.org/u/SouSageYa)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 8:25am UTC](https://discourse.processing.org/t/about-savetable/22295 "2020-07-01T08:25:41Z")

</div>

So here is the problem I want to save Floats but it can save integers and string is there a way to save FPN’s ?

---

## [How to add speech to text in processing android](https://discourse.processing.org/t/how-to-add-speech-to-text-in-processing-android/22128)

<div class="topic-metadata">

**Author:** [@Why\_I\_Use\_Processing](https://discourse.processing.org/u/Why_I_Use_Processing)\
**Replies:** 8\
**Last updated:** [July 1, 2020, 8:17am UTC](https://discourse.processing.org/t/how-to-add-speech-to-text-in-processing-android/22128 "2020-07-01T08:17:11Z")

</div>

How can I implement speech to text mechanism in processing android?

---

## [Is there a better way to draw gradient colored ellipse?](https://discourse.processing.org/t/is-there-a-better-way-to-draw-gradient-colored-ellipse/22220)

<div class="topic-metadata">

**Author:** [@nh3](https://discourse.processing.org/u/nh3)\
**Replies:** 3\
**Last updated:** [June 29, 2020, 3:07pm UTC](https://discourse.processing.org/t/is-there-a-better-way-to-draw-gradient-colored-ellipse/22220 "2020-06-29T15:07:37Z")

</div>

I’m pretty new to Processing and graphical programming but keen to learn new stuff. I was trying to create a gradient colored sun for my project but I couldn’t find any obvious technique to do this. This is the solution …

---

## [How to make and process a new image(distinct from the screen)?](https://discourse.processing.org/t/how-to-make-and-process-a-new-image-distinct-from-the-screen/22284)

<div class="topic-metadata">

**Author:** [@SilverPrevail](https://discourse.processing.org/u/SilverPrevail)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 1:48am UTC](https://discourse.processing.org/t/how-to-make-and-process-a-new-image-distinct-from-the-screen/22284 "2020-07-01T01:48:47Z")

</div>

I want to process a image with the functions like text() or rect(),circle() and put a part of the image in the screen with image.get(); To explain a little more, I have a long text which I want to visualize at the scree…

---

## [Processing sound library not working after exporting APDE(processing android)](https://discourse.processing.org/t/processing-sound-library-not-working-after-exporting-apde-processing-android/22277)

<div class="topic-metadata">

**Author:** [@Why\_I\_Use\_Processing](https://discourse.processing.org/u/Why_I_Use_Processing)\
**Replies:** 6\
**Last updated:** [July 1, 2020, 1:25am UTC](https://discourse.processing.org/t/processing-sound-library-not-working-after-exporting-apde-processing-android/22277 "2020-07-01T01:25:19Z")

</div>

I made a sketch using processing sound library and it worked fine until I used the sketch previewer that comes with APDE but after exporting it, It didn’t worked. Thanks in advance!!

---

## [Libraries do not want to work, giving an error to the console](https://discourse.processing.org/t/libraries-do-not-want-to-work-giving-an-error-to-the-console/22251)

<div class="topic-metadata">

**Author:** [@NoName](https://discourse.processing.org/u/NoName)\
**Replies:** 4\
**Last updated:** [June 30, 2020, 11:00pm UTC](https://discourse.processing.org/t/libraries-do-not-want-to-work-giving-an-error-to-the-console/22251 "2020-06-30T23:00:17Z")

</div>

Whatever library I try to use, I get an error in the console (attached to the bottom). I use APDE, but still a day ago such a problem A bug appeared after adding a minim sound library.Tried to reinstall all the librari…

---

## [How do I use VSCode with Processing on Linux/Ubuntu?](https://discourse.processing.org/t/how-do-i-use-vscode-with-processing-on-linux-ubuntu/22208)

<div class="topic-metadata">

**Author:** [@usr-pyth](https://discourse.processing.org/u/usr-pyth)\
**Replies:** 8\
**Last updated:** [June 30, 2020, 10:40pm UTC](https://discourse.processing.org/t/how-do-i-use-vscode-with-processing-on-linux-ubuntu/22208 "2020-06-30T22:40:26Z")

</div>

I have the processing extension installed in VSCode, but no matter what I do, I get the same error when I try to configure the tasks.json file to run the processing sketch: remember to add processing to your path. I did e…

---

## [Make line shape fade away after x seconds](https://discourse.processing.org/t/make-line-shape-fade-away-after-x-seconds/22233)

<div class="topic-metadata">

**Author:** [@arala22](https://discourse.processing.org/u/arala22)\
**Replies:** 4\
**Last updated:** [June 30, 2020, 5:47pm UTC](https://discourse.processing.org/t/make-line-shape-fade-away-after-x-seconds/22233 "2020-06-30T17:47:43Z")

</div>

whats the best way to fade a line out? I have this here: https://codepen.io/itsMeAra/pen/e6ebe0dec2d370f50217809c547052e7 Trying to figure out how to make the line fade away after .5 seconds to make sort of a trailing …

---

## [Problem with OOP implementation of interface class](https://discourse.processing.org/t/problem-with-oop-implementation-of-interface-class/22255)

<div class="topic-metadata">

**Author:** [@Richard](https://discourse.processing.org/u/Richard)\
**Replies:** 4\
**Last updated:** [June 30, 2020, 4:48pm UTC](https://discourse.processing.org/t/problem-with-oop-implementation-of-interface-class/22255 "2020-06-30T16:48:20Z")

</div>

Hello everybody. I am struggling with an OOP architecture problem i have for a game i am coding. Sorry in advance for my poor English. The aim of the game is to shoot monsters with a canon. The objects of my game are …

---

## [Issue with default rounding numbers in Processing Java Mode](https://discourse.processing.org/t/issue-with-default-rounding-numbers-in-processing-java-mode/22280)

<div class="topic-metadata">

**Author:** [@Optyfen\_met\_Eenden](https://discourse.processing.org/u/Optyfen_met_Eenden)\
**Replies:** 2\
**Last updated:** [June 30, 2020, 2:14pm UTC](https://discourse.processing.org/t/issue-with-default-rounding-numbers-in-processing-java-mode/22280 "2020-06-30T14:14:56Z")

</div>

Dear ladies and gentlemen, Recently, I realised I faced a problem with default settings and specifically the rounding numbers ability. When I let Processing count up the first sum using the float function, it doesn’…

---

## [G4P custom sliders](https://discourse.processing.org/t/g4p-custom-sliders/22223)

<div class="topic-metadata">

**Author:** [@mike\_z](https://discourse.processing.org/u/mike_z)\
**Replies:** 6\
**Last updated:** [June 30, 2020, 1:55pm UTC](https://discourse.processing.org/t/g4p-custom-sliders/22223 "2020-06-30T13:55:42Z")

</div>

I have just started to experiment with G Custom Sliders. I have found out how to position them, use different skins, change the limits, size etal. But for some reason I can not get a value from the slider. Here is my cod…

---

## [Vl6180x and Ardunio Uno - writting serial data to a textfile](https://discourse.processing.org/t/vl6180x-and-ardunio-uno-writting-serial-data-to-a-textfile/22177)

<div class="topic-metadata">

**Author:** [@AndreasW](https://discourse.processing.org/u/AndreasW)\
**Replies:** 2\
**Last updated:** [June 30, 2020, 11:42am UTC](https://discourse.processing.org/t/vl6180x-and-ardunio-uno-writting-serial-data-to-a-textfile/22177 "2020-06-30T11:42:57Z")

</div>

Good morning i am wondering if anyone could help me with this little code, or point me in the direction on why it is not working. singular function: Reading range from a lidar, and save it into a text document, to be …

---

## [Pixel correspondence with live capture](https://discourse.processing.org/t/pixel-correspondence-with-live-capture/22248)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 4\
**Last updated:** [June 30, 2020, 11:24am UTC](https://discourse.processing.org/t/pixel-correspondence-with-live-capture/22248 "2020-06-30T11:24:03Z")

</div>

\<I have asked this question but not getting a successful answer.Tring to scale the video feed from the capture object into a small size and then mapping it into a larger canvas but some how even 1:1 pixel manipulation d…

---

## [Transform path to follow an arc](https://discourse.processing.org/t/transform-path-to-follow-an-arc/22166)

<div class="topic-metadata">

**Author:** [@rebeccajkaye](https://discourse.processing.org/u/rebeccajkaye)\
**Replies:** 6\
**Last updated:** [June 30, 2020, 11:06am UTC](https://discourse.processing.org/t/transform-path-to-follow-an-arc/22166 "2020-06-30T11:06:14Z")

</div>

Hello I’m hoping for some help - I’d also really appreciate any guidance as to if this is the best way of thinking. In my example, I have a line in the shape of a sine wave (although I’d like to apply this thinking to …

---

## [Loading different scenes after time delay](https://discourse.processing.org/t/loading-different-scenes-after-time-delay/22275)

<div class="topic-metadata">

**Author:** [@Dominantxx](https://discourse.processing.org/u/Dominantxx)\
**Replies:** 1\
**Last updated:** [June 30, 2020, 10:37am UTC](https://discourse.processing.org/t/loading-different-scenes-after-time-delay/22275 "2020-06-30T10:37:36Z")

</div>

please format code with \</\> button \* homework policy \* asking questions So when the code begins to run (play), I want an image to fill the screen. After a time delay, let’s say 5 seconds, I want to load a different s…

---

## [How to get android keyboards height](https://discourse.processing.org/t/how-to-get-android-keyboards-height/22210)

<div class="topic-metadata">

**Author:** [@Why\_I\_Use\_Processing](https://discourse.processing.org/u/Why_I_Use_Processing)\
**Replies:** 2\
**Last updated:** [June 30, 2020, 8:58am UTC](https://discourse.processing.org/t/how-to-get-android-keyboards-height/22210 "2020-06-30T08:58:58Z")

</div>

I am using APDE for making sketches and I want to get my android keyboards height so that I can lerp a text box to the ceiling of the keyboard… Thanks in advance!

---

## [Showing buttons based on a message received by arduino](https://discourse.processing.org/t/showing-buttons-based-on-a-message-received-by-arduino/22235)

<div class="topic-metadata">

**Author:** [@mohitSingh](https://discourse.processing.org/u/mohitSingh)\
**Replies:** 9\
**Last updated:** [June 30, 2020, 8:24am UTC](https://discourse.processing.org/t/showing-buttons-based-on-a-message-received-by-arduino/22235 "2020-06-30T08:24:16Z")

</div>

Hi, This is my first or second processing code and I am findind it a bit difficult to wrap my head around processing. I am trying to make a simple GUI, where I send a UDP packet to my arduino and receive an acknowledge…

---

## [Using sound classification to trigger a camera?](https://discourse.processing.org/t/using-sound-classification-to-trigger-a-camera/22259)

<div class="topic-metadata">

**Author:** [@FloydW2](https://discourse.processing.org/u/FloydW2)\
**Replies:** 2\
**Last updated:** [June 30, 2020, 7:18am UTC](https://discourse.processing.org/t/using-sound-classification-to-trigger-a-camera/22259 "2020-06-30T07:18:12Z")

</div>

Hi All, I’m a bit new to all of this, and working with my kid to try and figure something out. We’ve followed the Coding Train Teachable Machine Sound Classification tutorial, and got it done while having a ton of fun.…

---

## [Find maximum value from array using Simulated Annealing](https://discourse.processing.org/t/find-maximum-value-from-array-using-simulated-annealing/22231)

<div class="topic-metadata">

**Author:** [@noahbuddy](https://discourse.processing.org/u/noahbuddy)\
**Replies:** 0\
**Last updated:** [June 29, 2020, 1:52am UTC](https://discourse.processing.org/t/find-maximum-value-from-array-using-simulated-annealing/22231 "2020-06-29T01:52:42Z")

</div>

Based on the example from: https://en.wikipedia.org/wiki/Simulated\_annealing Unlike the Hill climbing algorithm,. this example will “move around” the array at random to sample other values. There is a chance of selectin…

---

## [How do I make a sprite rotate to face another sprite?](https://discourse.processing.org/t/how-do-i-make-a-sprite-rotate-to-face-another-sprite/22266)

<div class="topic-metadata">

**Author:** [@The99thTroll](https://discourse.processing.org/u/The99thTroll)\
**Replies:** 3\
**Last updated:** [June 30, 2020, 1:20am UTC](https://discourse.processing.org/t/how-do-i-make-a-sprite-rotate-to-face-another-sprite/22266 "2020-06-30T01:20:16Z")

</div>

I’m working on a tower defense game but I am unable to find a way for my towers to rotate to look at the current enemy they’re targeting. Any solutions?

---

## [Work from university](https://discourse.processing.org/t/work-from-university/22232)

<div class="topic-metadata">

**Author:** [@aylen2000](https://discourse.processing.org/u/aylen2000)\
**Replies:** 6\
**Last updated:** [June 30, 2020, 1:15am UTC](https://discourse.processing.org/t/work-from-university/22232 "2020-06-30T01:15:10Z")

</div>

Hello, I need help with a university job. It consists of recreating a work of art in processing. I need the figures in the work to be generated with voice recognition, in this case with pure data. My proposal is for sma…

---

## [How can I cut webcam video?](https://discourse.processing.org/t/how-can-i-cut-webcam-video/22162)

<div class="topic-metadata">

**Author:** [@hannah](https://discourse.processing.org/u/hannah)\
**Replies:** 4\
**Last updated:** [June 30, 2020, 12:24am UTC](https://discourse.processing.org/t/how-can-i-cut-webcam-video/22162 "2020-06-30T00:24:08Z")

</div>

Hi, I wonder if there is any way to cut webcam video as if other adobe programs can. I know how to resize webcam but I would like to make several live webcam video with one webcam so that I can control each video. Is th…

---

## [The sound begins to make noise after repeated use](https://discourse.processing.org/t/the-sound-begins-to-make-noise-after-repeated-use/22205)

<div class="topic-metadata">

**Author:** [@NoName](https://discourse.processing.org/u/NoName)\
**Replies:** 22\
**Last updated:** [June 29, 2020, 11:04pm UTC](https://discourse.processing.org/t/the-sound-begins-to-make-noise-after-repeated-use/22205 "2020-06-29T23:04:45Z")

</div>

\<import processing.sound.\*; SoundFile file; int i; void setup() { size(640, 360); background(255); file = new SoundFile(this, “test.mp3”); } void draw() { background(60); if(mousePressed){ file.play(1, 0.5); …

---

## [Browser Autoplay/CORS policy is making my P5 web game not work](https://discourse.processing.org/t/browser-autoplay-cors-policy-is-making-my-p5-web-game-not-work/22117)

<div class="topic-metadata">

**Author:** [@Sudb](https://discourse.processing.org/u/Sudb)\
**Replies:** 5\
**Last updated:** [June 29, 2020, 6:47pm UTC](https://discourse.processing.org/t/browser-autoplay-cors-policy-is-making-my-p5-web-game-not-work/22117 "2020-06-29T18:47:46Z")

</div>

Hello. I made the game in this url: http://bunnypop.bizsb.com/ as part of a class project last year. The game has worked fine until recently. It has suddenly stopped working and I suspect it is because of browser Autopla…

---

## [Conceptual Clarity on frameCount and rotate function](https://discourse.processing.org/t/conceptual-clarity-on-framecount-and-rotate-function/22246)

<div class="topic-metadata">

**Author:** [@diomedeidae](https://discourse.processing.org/u/diomedeidae)\
**Replies:** 3\
**Last updated:** [June 29, 2020, 2:00pm UTC](https://discourse.processing.org/t/conceptual-clarity-on-framecount-and-rotate-function/22246 "2020-06-29T14:00:44Z")

</div>

I was doing one of the examples on the p5.js website - https://p5js.org/examples/form-regular-polygon.html. I got really confused by the way rotate function worked in that code . IN the below function if I just pass rota…

---

## [Spacebrew issue](https://discourse.processing.org/t/spacebrew-issue/22253)

<div class="topic-metadata">

**Author:** [@patricio1979](https://discourse.processing.org/u/patricio1979)\
**Replies:** 1\
**Last updated:** [June 29, 2020, 2:56pm UTC](https://discourse.processing.org/t/spacebrew-issue/22253 "2020-06-29T14:56:31Z")

</div>

I do not know what I’m doing wrong. After installing spacebrew library, and running an example patch, the connection is lost. Working with Processing 3

---

## [Need help/hint on mouse position with rotated objects](https://discourse.processing.org/t/need-help-hint-on-mouse-position-with-rotated-objects/22243)

<div class="topic-metadata">

**Author:** [@Cillo](https://discourse.processing.org/u/Cillo)\
**Replies:** 0\
**Last updated:** [June 29, 2020, 10:36am UTC](https://discourse.processing.org/t/need-help-hint-on-mouse-position-with-rotated-objects/22243 "2020-06-29T10:36:57Z")

</div>

Hello, I’m trying to make a visualization of tracks in my spotify playlists. The goal I’m trying to reach is doing a sort of radial column chart with the 100 songs of my playlists, with lengths based on track duration. I…

---

## [Libraries that are not actively maintained](https://discourse.processing.org/t/libraries-that-are-not-actively-maintained/22085)

<div class="topic-metadata">

**Author:** [@cansik](https://discourse.processing.org/u/cansik)\
**Replies:** 6\
**Last updated:** [June 29, 2020, 8:05am UTC](https://discourse.processing.org/t/libraries-that-are-not-actively-maintained/22085 "2020-06-29T08:05:04Z")

</div>

While working with Processing now for several years, I noticed that some of the most used libraries do never get an update or are maintained actively. Here just a few examples: oscp5 (last updated on github 5 years ag…

---

## [Setting size of display window to a percentage of screen size](https://discourse.processing.org/t/setting-size-of-display-window-to-a-percentage-of-screen-size/22228)

<div class="topic-metadata">

**Author:** [@luckyboy](https://discourse.processing.org/u/luckyboy)\
**Replies:** 1\
**Last updated:** [June 29, 2020, 5:51am UTC](https://discourse.processing.org/t/setting-size-of-display-window-to-a-percentage-of-screen-size/22228 "2020-06-29T05:51:45Z")

</div>

I’m trying to make a program where users input values and the program spits out a final value through an equation. This is all pretty simple, but the one thing I can’t seem to figure out is display window sizing. My di…

---

## [Can't get scene manager to work](https://discourse.processing.org/t/cant-get-scene-manager-to-work/22195)

<div class="topic-metadata">

**Author:** [@olorin](https://discourse.processing.org/u/olorin)\
**Replies:** 2\
**Last updated:** [June 28, 2020, 9:02pm UTC](https://discourse.processing.org/t/cant-get-scene-manager-to-work/22195 "2020-06-28T21:02:25Z")

</div>

I cant seem to get this sketch to display anything. when I remove the this.setup and this.draw functions an image appears but i need it to loop as it does in draw. I’m using scene manager var pages; let gui; let afterFi…

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

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