# Latest

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

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

**Page:** 74

---

## [Max value millis()](https://discourse.processing.org/t/max-value-millis/41887)

<div class="topic-metadata">

**Author:** [@Christian](https://discourse.processing.org/u/Christian)\
**Replies:** 2\
**Last updated:** [May 2, 2023, 6:29pm UTC](https://discourse.processing.org/t/max-value-millis/41887 "2023-05-02T18:29:18Z")

</div>

Hello! I’m wondering what the maximum value of millis() is?

---

## [Processing 4.1.2 is out ✨](https://discourse.processing.org/t/processing-4-1-2-is-out/40660)

<div class="topic-metadata">

**Author:** [@sableraph](https://discourse.processing.org/u/sableraph)\
**Replies:** 6\
**Last updated:** [May 2, 2023, 5:31pm UTC](https://discourse.processing.org/t/processing-4-1-2-is-out/40660 "2023-05-02T17:31:11Z")

</div>

Hi everyone! Processing 4.1.2 was released on Tuesday. It fixes issues many of you have had with the Contributions Manager (what you see when importing Libraries, managing Modes, etc.) :arrow\_right: Processing downloa…

---

## [How can i make an ellipse with vertical lines coming out of its upper circumference towards the top of the page?](https://discourse.processing.org/t/how-can-i-make-an-ellipse-with-vertical-lines-coming-out-of-its-upper-circumference-towards-the-top-of-the-page/39839)

<div class="topic-metadata">

**Author:** [@chaotic.rabbit](https://discourse.processing.org/u/chaotic.rabbit)\
**Replies:** 3\
**Last updated:** [May 2, 2023, 5:13pm UTC](https://discourse.processing.org/t/how-can-i-make-an-ellipse-with-vertical-lines-coming-out-of-its-upper-circumference-towards-the-top-of-the-page/39839 "2023-05-02T17:13:55Z")

</div>

i want to make 5 lines to come out of the top part of the ellipse and touch the top of the page

---

## [No serial library Processing for smartphone. Help](https://discourse.processing.org/t/no-serial-library-processing-for-smartphone-help/29870)

<div class="topic-metadata">

**Author:** [@ZENAR57](https://discourse.processing.org/u/ZENAR57)\
**Replies:** 214\
**Last updated:** [May 2, 2023, 4:43pm UTC](https://discourse.processing.org/t/no-serial-library-processing-for-smartphone-help/29870 "2023-05-02T16:43:32Z")

</div>

Hello. Help with the Serial Library for APDE Processing. On the smartphone, I can not find anywhere and connect the zip file. Therefore, an error in the line -import processing.Serial. \*; When binding to the Arduino and…

---

## [Drag and drop images to canvas p5.js in classification program](https://discourse.processing.org/t/drag-and-drop-images-to-canvas-p5-js-in-classification-program/41795)

<div class="topic-metadata">

**Author:** [@Lillbre](https://discourse.processing.org/u/Lillbre)\
**Replies:** 1\
**Last updated:** [May 2, 2023, 4:30pm UTC](https://discourse.processing.org/t/drag-and-drop-images-to-canvas-p5-js-in-classification-program/41795 "2023-05-02T16:30:49Z")

</div>

I made a \[program\] (p5.js Web Editor) where I used Image classification using MobileNet and p5.js in p5,js editor. Sometimes I have to drop my images twice for them to show up on the canvas. The classification works dir…

---

## [How can I create a walker with a finite trail?](https://discourse.processing.org/t/how-can-i-create-a-walker-with-a-finite-trail/41674)

<div class="topic-metadata">

**Author:** [@benjamin-thomas](https://discourse.processing.org/u/benjamin-thomas)\
**Replies:** 12\
**Last updated:** [May 2, 2023, 10:57am UTC](https://discourse.processing.org/t/how-can-i-create-a-walker-with-a-finite-trail/41674 "2023-05-02T10:57:31Z")

</div>

Given this sketch: Walker walker; void settings() { size(640, 360); } void setup() { windowTitle("Perlin Noise Walker"); background(0); walker = new Walker(); } void draw() { walker.step(); walker.render()…

---

## [Need help with applying proportional stroke to randomly sized text](https://discourse.processing.org/t/need-help-with-applying-proportional-stroke-to-randomly-sized-text/41497)

<div class="topic-metadata">

**Author:** [@optimystery](https://discourse.processing.org/u/optimystery)\
**Replies:** 4\
**Last updated:** [May 2, 2023, 10:41am UTC](https://discourse.processing.org/t/need-help-with-applying-proportional-stroke-to-randomly-sized-text/41497 "2023-05-02T10:41:21Z")

</div>

I have a sketch at: testing outline width - OpenProcessing A phrase is output with random size and color. Some proportion of the time, an outline is added, but rather than hardcoding a value, I want stroke to be propor…

---

## [ML5 Neural Net Image Classifier CNN bounding box input output options](https://discourse.processing.org/t/ml5-neural-net-image-classifier-cnn-bounding-box-input-output-options/41360)

<div class="topic-metadata">

**Author:** [@j3n](https://discourse.processing.org/u/j3n)\
**Replies:** 1\
**Last updated:** [May 1, 2023, 8:48pm UTC](https://discourse.processing.org/t/ml5-neural-net-image-classifier-cnn-bounding-box-input-output-options/41360 "2023-05-01T20:48:59Z")

</div>

Hello, I am currently using the ML5 Neural Net to train my own image classifier and CNN. On the reference page for this method I see the inputs are image width, height and channels. Can anymore inputs be added and/or can…

---

## [Tools for you: Search file name, Join pde-files and others](https://discourse.processing.org/t/tools-for-you-search-file-name-join-pde-files-and-others/10517)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 12\
**Last updated:** [May 1, 2023, 4:35pm UTC](https://discourse.processing.org/t/tools-for-you-search-file-name-join-pde-files-and-others/10517 "2023-05-01T16:35:06Z")

</div>

Hello all, today I was searching an old sketch, so I wrote a search sketch I want to share. It searches a directory and all subfolders recursively: you can alter certain values. It does only check the file name n…

---

## [How to install Processing on Chromebook - step by step guide](https://discourse.processing.org/t/how-to-install-processing-on-chromebook-step-by-step-guide/41878)

<div class="topic-metadata">

**Author:** [@Tuomo](https://discourse.processing.org/u/Tuomo)\
**Replies:** 2\
**Last updated:** [May 1, 2023, 4:24pm UTC](https://discourse.processing.org/t/how-to-install-processing-on-chromebook-step-by-step-guide/41878 "2023-05-01T16:24:08Z")

</div>

You will need Linux-development environment Settings \> Adwanced \> Developers \> Linux-development environment \> Turn on Download Processing 4.2 for Linux Copy Processing-4.2-linux-x64.tgz file to Linux files Open Termi…

---

## [Processing Android 'Build failed'](https://discourse.processing.org/t/processing-android-build-failed/41873)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 7\
**Last updated:** [May 1, 2023, 4:14pm UTC](https://discourse.processing.org/t/processing-android-build-failed/41873 "2023-05-01T16:14:44Z")

</div>

\[SETTING\] google usb driver 13.0.0 Android SDK Build-Tools 33.0.2 Android SDK Platform-Tools 34.0.1 Android SDK Platform 33 1 Processing 4.2 windows-x64 Android Mode for Porcessing4 4.4.5 A ‘Build failed’ me…

---

## [How do I make it that my object (robot) moves in random directions across the screen each time I run the program?](https://discourse.processing.org/t/how-do-i-make-it-that-my-object-robot-moves-in-random-directions-across-the-screen-each-time-i-run-the-program/41812)

<div class="topic-metadata">

**Author:** [@Computerscience](https://discourse.processing.org/u/Computerscience)\
**Replies:** 2\
**Last updated:** [May 1, 2023, 4:10pm UTC](https://discourse.processing.org/t/how-do-i-make-it-that-my-object-robot-moves-in-random-directions-across-the-screen-each-time-i-run-the-program/41812 "2023-05-01T16:10:31Z")

</div>

Question: How do I make it that my object (robot) moves in random directions across the screen each time I run the program? Code: //head var x = 200; //body var e = 400; //arms var x1= 280; var y1 = 120; //legs var…

---

## [Issue on GPS accuracy with locationListener](https://discourse.processing.org/t/issue-on-gps-accuracy-with-locationlistener/22332)

<div class="topic-metadata">

**Author:** [@PlatipuS](https://discourse.processing.org/u/PlatipuS)\
**Replies:** 7\
**Last updated:** [May 1, 2023, 1:09pm UTC](https://discourse.processing.org/t/issue-on-gps-accuracy-with-locationlistener/22332 "2023-05-01T13:09:28Z")

</div>

Hi everybody, I have an issue with my program. I used the example program. When I do not move, the program is running correctly and accuracy is around 15-20 meters. When I start to move (car trip), accuracy start to in…

---

## [Simple Geolocation code](https://discourse.processing.org/t/simple-geolocation-code/6503)

<div class="topic-metadata">

**Author:** [@netphysicist](https://discourse.processing.org/u/netphysicist)\
**Replies:** 7\
**Last updated:** [May 1, 2023, 12:34pm UTC](https://discourse.processing.org/t/simple-geolocation-code/6503 "2023-05-01T12:34:26Z")

</div>

In this very simple code bellow i find my longitude, latitude and altitude via GPS or Wi-Fi… Most of the time altitude is zero and i dont know why. import ketai.sensors.\*; double longitude, latitude, altitude; KetaiL…

---

## [Can I use p5.js to create playable ads for Google, Facebook and Unity ads?](https://discourse.processing.org/t/can-i-use-p5-js-to-create-playable-ads-for-google-facebook-and-unity-ads/41797)

<div class="topic-metadata">

**Author:** [@salmaan25](https://discourse.processing.org/u/salmaan25)\
**Replies:** 4\
**Last updated:** [May 1, 2023, 9:33am UTC](https://discourse.processing.org/t/can-i-use-p5-js-to-create-playable-ads-for-google-facebook-and-unity-ads/41797 "2023-05-01T09:33:22Z")

</div>

I am currently working on building a 2D playable ad for a game and p5.js looks like the perfect library for my use case. In order to check whether it would work, I wrote a very simple inline code (using p5.min.js) to tes…

---

## [Error installing py5 in Windows 10 using Thonny](https://discourse.processing.org/t/error-installing-py5-in-windows-10-using-thonny/40080)

<div class="topic-metadata">

**Author:** [@maurix](https://discourse.processing.org/u/maurix)\
**Replies:** 13\
**Last updated:** [April 30, 2023, 4:24pm UTC](https://discourse.processing.org/t/error-installing-py5-in-windows-10-using-thonny/40080 "2023-04-30T16:24:32Z")

</div>

I’ve got this error installing py5 in the plug-in window in Thonny 4.0.1: –prefix= --compile --install-headers ‘C:\\Users\\mauri\\AppData\\Roaming\\Thonny\\plugins\\Python38\\Include\\jpype1’ Check the logs for full command outp…

---

## [Why is splice() not working in the web editor?](https://discourse.processing.org/t/why-is-splice-not-working-in-the-web-editor/41870)

<div class="topic-metadata">

**Author:** [@swenzel](https://discourse.processing.org/u/swenzel)\
**Replies:** 3\
**Last updated:** [April 29, 2023, 6:06pm UTC](https://discourse.processing.org/t/why-is-splice-not-working-in-the-web-editor/41870 "2023-04-29T18:06:43Z")

</div>

I may be missing something very simple here. I am trying to use splice to add 0 onto the front of this array. However, the result of both console logs are \[0,1,2,3,4,5\]. It’s like it is retroactively adding the zero to t…

---

## [How to make a new folder on HD](https://discourse.processing.org/t/how-to-make-a-new-folder-on-hd/41864)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 6\
**Last updated:** [April 29, 2023, 1:46pm UTC](https://discourse.processing.org/t/how-to-make-a-new-folder-on-hd/41864 "2023-04-29T13:46:06Z")

</div>

Hello all, small question here. How can i make a new folder on HD? Tried File f1=new File(""); if ( f1.mkDir ( sketchPath("")+"//"+"c1" ) ) { // } or File f1=new File(sketchPath("")+"//"+"c1"); if (f…

---

## [JogAmp Fat breaks Processing](https://discourse.processing.org/t/jogamp-fat-breaks-processing/41866)

<div class="topic-metadata">

**Author:** [@turke1034](https://discourse.processing.org/u/turke1034)\
**Replies:** 1\
**Last updated:** [April 29, 2023, 10:45am UTC](https://discourse.processing.org/t/jogamp-fat-breaks-processing/41866 "2023-04-29T10:45:50Z")

</div>

Hi, I am using processing core jar and jogamp fat for my java game. But today I tried to update them, and now the new jogamp fat jar breaks it! Error: The sketch has been resized from 720x480 to 900x600 by the operatin…

---

## [Any one help me for one code for LED SCROLLER on device](https://discourse.processing.org/t/any-one-help-me-for-one-code-for-led-scroller-on-device/41865)

<div class="topic-metadata">

**Author:** [@r0x15](https://discourse.processing.org/u/r0x15)\
**Replies:** 0\
**Last updated:** [April 28, 2023, 9:42pm UTC](https://discourse.processing.org/t/any-one-help-me-for-one-code-for-led-scroller-on-device/41865 "2023-04-28T21:42:16Z")

</div>

---

## [Some Graphical Editors I made](https://discourse.processing.org/t/some-graphical-editors-i-made/5347)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 4\
**Last updated:** [April 28, 2023, 8:57pm UTC](https://discourse.processing.org/t/some-graphical-editors-i-made/5347 "2023-04-28T20:57:43Z")

</div>

Some Graphical Editors (for all editors see the link below) : my Bezier Editor: here you can draw beziers with the mouse and the sketch generates your code that you can use in the other sketch (your target sketch) a…

---

## [Javascript email validation](https://discourse.processing.org/t/javascript-email-validation/41861)

<div class="topic-metadata">

**Author:** [@jonathan22](https://discourse.processing.org/u/jonathan22)\
**Replies:** 0\
**Last updated:** [April 28, 2023, 11:35am UTC](https://discourse.processing.org/t/javascript-email-validation/41861 "2023-04-28T11:35:08Z")

</div>

Why does Google prefix its (private) JSON answers with while(1);? For example, here’s a response from Google Calendar when turning a calendar on and off: while (1); \[ \['u', \[ \['smsSentFlag', 'false'\], \['hideI…

---

## [Loading JSON array in Flask](https://discourse.processing.org/t/loading-json-array-in-flask/41858)

<div class="topic-metadata">

**Author:** [@turobiter](https://discourse.processing.org/u/turobiter)\
**Replies:** 0\
**Last updated:** [April 27, 2023, 8:33pm UTC](https://discourse.processing.org/t/loading-json-array-in-flask/41858 "2023-04-27T20:33:00Z")

</div>

Hi! I’m working on a website using Python and Flask. One of the pages needs to render a processing sketch, with the fill() parameter based on data in a list that is created in the Flask project file app.py. Basically, in…

---

## [Could not find com.google.vr:sdk-base:1.180.0](https://discourse.processing.org/t/could-not-find-com-google-vr1-180-0/41855)

<div class="topic-metadata">

**Author:** [@fakemoses](https://discourse.processing.org/u/fakemoses)\
**Replies:** 0\
**Last updated:** [April 27, 2023, 1:37pm UTC](https://discourse.processing.org/t/could-not-find-com-google-vr1-180-0/41855 "2023-04-27T13:37:31Z")

</div>

Hello, I am new to Processing Android, I have installed the required things from Processing itself and manage to enter the Android mode on Processing. I am trying to develop VR Project using Processing. I tested the mos…

---

## [Parallel lines in 3D space](https://discourse.processing.org/t/parallel-lines-in-3d-space/41801)

<div class="topic-metadata">

**Author:** [@paulstgeorge](https://discourse.processing.org/u/paulstgeorge)\
**Replies:** 18\
**Last updated:** [April 27, 2023, 2:40pm UTC](https://discourse.processing.org/t/parallel-lines-in-3d-space/41801 "2023-04-27T14:40:43Z")

</div>

I have a line in 3D space. The line is not parallel to any of the three axes (X, Y, Z). I know the 3D coordinates of point 0 and point 1. How would I use Processing to find the coordinates of a parallel line? By paralle…

---

## [An Open Source Browser-Based Implementation of P5-Python and a Utility Library for Helping Teachers Explain Concepts in P5](https://discourse.processing.org/t/an-open-source-browser-based-implementation-of-p5-python-and-a-utility-library-for-helping-teachers-explain-concepts-in-p5/41839)

<div class="topic-metadata">

**Author:** [@StriveMath](https://discourse.processing.org/u/StriveMath)\
**Replies:** 6\
**Last updated:** [April 27, 2023, 1:01pm UTC](https://discourse.processing.org/t/an-open-source-browser-based-implementation-of-p5-python-and-a-utility-library-for-helping-teachers-explain-concepts-in-p5/41839 "2023-04-27T13:01:44Z")

</div>

GitHub - StriveMath/p5-python-web: p5-python-web lets you run p5.js sketches written in Python on the web! Is a Python execution context with p5.js bindings. It uses Skulpt to execute p5.js sketches written in Python. …

---

## [Q: Make connected objects, e.g. mobiles, chain, seesaw, using physics engine?](https://discourse.processing.org/t/q-make-connected-objects-e-g-mobiles-chain-seesaw-using-physics-engine/41848)

<div class="topic-metadata">

**Author:** [@Raj](https://discourse.processing.org/u/Raj)\
**Replies:** 0\
**Last updated:** [April 27, 2023, 10:11am UTC](https://discourse.processing.org/t/q-make-connected-objects-e-g-mobiles-chain-seesaw-using-physics-engine/41848 "2023-04-27T10:11:39Z")

</div>

Dear Processing folks, I’m a math teacher, and am playing around with trying to make math games in p5js and p5.play. Here’s what I’ve got so far: a math version of Candy Crush: https://rajeevraizada.github.io/rajmathg…

---

## [How to change background color for just a short period of time after pressing a key?](https://discourse.processing.org/t/how-to-change-background-color-for-just-a-short-period-of-time-after-pressing-a-key/41811)

<div class="topic-metadata">

**Author:** [@Rebello](https://discourse.processing.org/u/Rebello)\
**Replies:** 4\
**Last updated:** [April 26, 2023, 10:39pm UTC](https://discourse.processing.org/t/how-to-change-background-color-for-just-a-short-period-of-time-after-pressing-a-key/41811 "2023-04-26T22:39:02Z")

</div>

hello everyone. i want to press the enter key and than change the color of the screen to green for 1 second. After that 1 second it should go back to white. And I want to do that in the keyPressed() method. My work so …

---

## [Multiple polygons loaded, user selects polygon of interest, user edits selected polygon nodes, user saves polygon](https://discourse.processing.org/t/multiple-polygons-loaded-user-selects-polygon-of-interest-user-edits-selected-polygon-nodes-user-saves-polygon/41774)

<div class="topic-metadata">

**Author:** [@andyhill](https://discourse.processing.org/u/andyhill)\
**Replies:** 18\
**Last updated:** [April 26, 2023, 10:17pm UTC](https://discourse.processing.org/t/multiple-polygons-loaded-user-selects-polygon-of-interest-user-edits-selected-polygon-nodes-user-saves-polygon/41774 "2023-04-26T22:17:56Z")

</div>

I want to load several polygons, user selects a polygon of interest, selected polygon nodes are visually drawn, user optionally drags polygon node to a new position, adjusted polygon is then saved. I would appreciate a …

---

## [How to skip a method in Processing](https://discourse.processing.org/t/how-to-skip-a-method-in-processing/41837)

<div class="topic-metadata">

**Author:** [@ImLandfall](https://discourse.processing.org/u/ImLandfall)\
**Replies:** 2\
**Last updated:** [April 26, 2023, 7:45pm UTC](https://discourse.processing.org/t/how-to-skip-a-method-in-processing/41837 "2023-04-26T19:45:59Z")

</div>

So I thought I could use " ! " in some way but is there a function to skip a method or something like it? if(player.isDestroyed == true) { } and if it is true, I want it to skip drawplayer.

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

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