# Latest

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

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

**Page:** 163

---

## [How to Restart or Shutdown Windows 10 PC using Processing 3](https://discourse.processing.org/t/how-to-restart-or-shutdown-windows-10-pc-using-processing-3/34687)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 7\
**Last updated:** [January 21, 2022, 8:52pm UTC](https://discourse.processing.org/t/how-to-restart-or-shutdown-windows-10-pc-using-processing-3/34687 "2022-01-21T20:52:01Z")

</div>

I am making an arcade station with a Latte Panda v1.0 as the main computer which plays fun games like “The Game of Life” an others. In the middle there is a “World Reset” button and pressing it is supposed to reset the …

---

## [Organizing a virtual CC Fest + 1:1 educator check-in](https://discourse.processing.org/t/organizing-a-virtual-cc-fest-1-1-educator-check-in/34480)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 5\
**Last updated:** [January 21, 2022, 4:11pm UTC](https://discourse.processing.org/t/organizing-a-virtual-cc-fest-1-1-educator-check-in/34480 "2022-01-21T16:11:56Z")

</div>

Hi folks, Happy New Year. I am organizing a virtual creative coding event for educators and students for late January. You can learn more at http://ccfest.rocks/. If you are interested in helping organize or present a w…

---

## [Line not drawing (PVector)](https://discourse.processing.org/t/line-not-drawing-pvector/34776)

<div class="topic-metadata">

**Author:** [@Ex1ne](https://discourse.processing.org/u/Ex1ne)\
**Replies:** 5\
**Last updated:** [January 21, 2022, 3:09pm UTC](https://discourse.processing.org/t/line-not-drawing-pvector/34776 "2022-01-21T15:09:15Z")

</div>

I’m about done scratching my head over this. What I’m trying to do is this: Make a point A. Make a new point B in refference to point A with an added x and y using PVector, aswell as rotate by an amount. Make a line b…

---

## [Help in understanding the tensorflow error for mediapipe hands estimation](https://discourse.processing.org/t/help-in-understanding-the-tensorflow-error-for-mediapipe-hands-estimation/34638)

<div class="topic-metadata">

**Author:** [@Timo](https://discourse.processing.org/u/Timo)\
**Replies:** 15\
**Last updated:** [January 21, 2022, 12:01pm UTC](https://discourse.processing.org/t/help-in-understanding-the-tensorflow-error-for-mediapipe-hands-estimation/34638 "2022-01-21T12:01:58Z")

</div>

Hi, I have been trying to follow the mediapipe documentation and associated tutorial to check if the handpose estimation is working. I seem to get into the following error . I am unable to understand what is the reason f…

---

## [Randomized Overlapping Translucent Quadrilaterals](https://discourse.processing.org/t/randomized-overlapping-translucent-quadrilaterals/34774)

<div class="topic-metadata">

**Author:** [@javagar](https://discourse.processing.org/u/javagar)\
**Replies:** 0\
**Last updated:** [January 21, 2022, 11:41am UTC](https://discourse.processing.org/t/randomized-overlapping-translucent-quadrilaterals/34774 "2022-01-21T11:41:18Z")

</div>

This sketch is composed of randomized overlapping translucent quadrilaterals. The sketch in draw in black, white, and gray in order to favor form over color. It is based on a regular grid of coordinate pairs. The act…

---

## [Even stroke weight on distorted svg](https://discourse.processing.org/t/even-stroke-weight-on-distorted-svg/34749)

<div class="topic-metadata">

**Author:** [@danielkozma](https://discourse.processing.org/u/danielkozma)\
**Replies:** 3\
**Last updated:** [January 21, 2022, 9:17am UTC](https://discourse.processing.org/t/even-stroke-weight-on-distorted-svg/34749 "2022-01-21T09:17:50Z")

</div>

Hi! I would like to use an imported svg in various distorted aspect ratios. Is there a way to get an even stroke weight on the distorted versions (right), just like on the original (left)? PShape gl; void setup() { …

---

## [Unable to get console output with p5.js mode in Processing IDE](https://discourse.processing.org/t/unable-to-get-console-output-with-p5-js-mode-in-processing-ide/34691)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 10\
**Last updated:** [January 21, 2022, 7:54am UTC](https://discourse.processing.org/t/unable-to-get-console-output-with-p5-js-mode-in-processing-ide/34691 "2022-01-21T07:54:36Z")

</div>

For some reason I am unable to get console output in Processing using p5.js mode. Nothing shows up in the Processing window or in the web output screen. function setup() { createCanvas(400, 400); background(220); …

---

## [Switching title images](https://discourse.processing.org/t/switching-title-images/34735)

<div class="topic-metadata">

**Author:** [@cisky](https://discourse.processing.org/u/cisky)\
**Replies:** 9\
**Last updated:** [January 20, 2022, 11:32pm UTC](https://discourse.processing.org/t/switching-title-images/34735 "2022-01-20T23:32:39Z")

</div>

Hi everyone, I’ve just started working with Processing and I need your help on my project. I’m tryna make the classic “Breakout” game and, to start, I’d like to have a “blinking” title. My goal is to have this red and …

---

## [P3D performance with 62500 boxes](https://discourse.processing.org/t/p3d-performance-with-62500-boxes/3821)

<div class="topic-metadata">

**Author:** [@coco](https://discourse.processing.org/u/coco)\
**Replies:** 56\
**Last updated:** [January 20, 2022, 4:38pm UTC](https://discourse.processing.org/t/p3d-performance-with-62500-boxes/3821 "2022-01-20T16:38:24Z")

</div>

I have a program that I wrote a long time ago using the GLGraphics library and that I’m trying to port into Processing 3.0. It is a program that has 62500 boxes independently moving all over the place. In P151 I used coo…

---

## [How to packed JSON object over serial port (Serialise JSON object)](https://discourse.processing.org/t/how-to-packed-json-object-over-serial-port-serialise-json-object/34686)

<div class="topic-metadata">

**Author:** [@avong](https://discourse.processing.org/u/avong)\
**Replies:** 5\
**Last updated:** [January 20, 2022, 5:44am UTC](https://discourse.processing.org/t/how-to-packed-json-object-over-serial-port-serialise-json-object/34686 "2022-01-20T05:44:01Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I wish to set PC to communicate with my microcontroller over serial port. The data format i use JSON. The microcontroller to PC is working well …

---

## [DropDownList\_p5.js](https://discourse.processing.org/t/dropdownlist-p5-js/34743)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 0\
**Last updated:** [January 20, 2022, 3:35am UTC](https://discourse.processing.org/t/dropdownlist-p5-js/34743 "2022-01-20T03:35:44Z")

</div>

Drop down list in a p5.js class. // Drop Down List parts =\> a.)display field, b.)arrow, c.)listItems // Syntax: List(x, y, w, h, itemH, txtSize) let list; let selectedItem = -1; let drop = false; let items = \["Apples",…

---

## [CodePen Problem - Finance library blocking P5](https://discourse.processing.org/t/codepen-problem-finance-library-blocking-p5/34279)

<div class="topic-metadata">

**Author:** [@rms2256](https://discourse.processing.org/u/rms2256)\
**Replies:** 6\
**Last updated:** [January 19, 2022, 7:37pm UTC](https://discourse.processing.org/t/codepen-problem-finance-library-blocking-p5/34279 "2022-01-19T19:37:43Z")

</div>

Programming a stock charting program with CodePen has not been without errors. My program (here), appears to be encountering an error with running both the Finance API (Finnhub.io) and P5. Particularly, only the financ…

---

## [Access Elgato Stream Deck from Processing](https://discourse.processing.org/t/access-elgato-stream-deck-from-processing/34724)

<div class="topic-metadata">

**Author:** [@stixan](https://discourse.processing.org/u/stixan)\
**Replies:** 0\
**Last updated:** [January 19, 2022, 10:42am UTC](https://discourse.processing.org/t/access-elgato-stream-deck-from-processing/34724 "2022-01-19T10:42:28Z")

</div>

I got myself an Elgato Stream Deck XL that I want to use to control my Processing sketches on my Mac. Ideally, I would connect to my Stream Deck directly from Processing to be able to send text/images to buttons and lis…

---

## [How do i use 2 loops to place a image in each circles?](https://discourse.processing.org/t/how-do-i-use-2-loops-to-place-a-image-in-each-circles/34723)

<div class="topic-metadata">

**Author:** [@Anjel](https://discourse.processing.org/u/Anjel)\
**Replies:** 1\
**Last updated:** [January 19, 2022, 9:59am UTC](https://discourse.processing.org/t/how-do-i-use-2-loops-to-place-a-image-in-each-circles/34723 "2022-01-19T09:59:32Z")

</div>

I am suppose to insert a image in each circle, which to my understanding i could use this to make a grid for (var j = 0; j \< 4; j++ ) { for (var i=0; i \< 8; i++ ){ image(item, 467 + (i \* 70), 331 + (j \* 60)); } } i…

---

## [Get correct geometry and scale using photo or vision... Is this possible with Processing?](https://discourse.processing.org/t/get-correct-geometry-and-scale-using-photo-or-vision-is-this-possible-with-processing/25806)

<div class="topic-metadata">

**Author:** [@Teljemo](https://discourse.processing.org/u/Teljemo)\
**Replies:** 5\
**Last updated:** [January 19, 2022, 8:46am UTC](https://discourse.processing.org/t/get-correct-geometry-and-scale-using-photo-or-vision-is-this-possible-with-processing/25806 "2022-01-19T08:46:19Z")

</div>

Hi, This would be my long topic title: Take a photo with reference points for scale or use camera vision save contour as DXF or SVG in the correct dimensions/scale. Is this possible in Processing? I have a couple of p…

---

## [Serial OTG Android Mode on PC (Android-Arduino)](https://discourse.processing.org/t/serial-otg-android-mode-on-pc-android-arduino/34102)

<div class="topic-metadata">

**Author:** [@gab022](https://discourse.processing.org/u/gab022)\
**Replies:** 22\
**Last updated:** [January 19, 2022, 8:16am UTC](https://discourse.processing.org/t/serial-otg-android-mode-on-pc-android-arduino/34102 "2022-01-19T08:16:49Z")

</div>

Hi, i want to know hot to use the Processing Android mode, serial(OTG) communication with arduino nano! I found an library but it didn’t work for me, just exits without error message! Thanks for the help!

---

## [Webcam capture not working on Microsoft Surface](https://discourse.processing.org/t/webcam-capture-not-working-on-microsoft-surface/34719)

<div class="topic-metadata">

**Author:** [@ctbrahmstedt](https://discourse.processing.org/u/ctbrahmstedt)\
**Replies:** 0\
**Last updated:** [January 19, 2022, 3:30am UTC](https://discourse.processing.org/t/webcam-capture-not-working-on-microsoft-surface/34719 "2022-01-19T03:30:16Z")

</div>

I just bought a brand new Microsoft Surface 8, x64 variety, and I’m trying to get a basic video capture sketch working. I’m using this for a product demo, so this is literally the first app I’m installing on this machine…

---

## [I want it to look like a real brush](https://discourse.processing.org/t/i-want-it-to-look-like-a-real-brush/34684)

<div class="topic-metadata">

**Author:** [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Replies:** 7\
**Last updated:** [January 18, 2022, 6:28pm UTC](https://discourse.processing.org/t/i-want-it-to-look-like-a-real-brush/34684 "2022-01-18T18:28:10Z")

</div>

I am willing to create a random spline, that it would look like it was made by brush any idea where to begin?

---

## [A Processing precision problem?](https://discourse.processing.org/t/a-processing-precision-problem/34693)

<div class="topic-metadata">

**Author:** [@coderambler](https://discourse.processing.org/u/coderambler)\
**Replies:** 2\
**Last updated:** [January 18, 2022, 5:45pm UTC](https://discourse.processing.org/t/a-processing-precision-problem/34693 "2022-01-18T17:45:33Z")

</div>

The code example below inscribes a circle within a square. In the result however, the circle is moved one point up and one point left, relative to the square. Check the picture: The borderless circle is tipping over th…

---

## [P5.js not found as Processing mode?](https://discourse.processing.org/t/p5-js-not-found-as-processing-mode/34662)

<div class="topic-metadata">

**Author:** [@mihnu](https://discourse.processing.org/u/mihnu)\
**Replies:** 10\
**Last updated:** [January 18, 2022, 5:45pm UTC](https://discourse.processing.org/t/p5-js-not-found-as-processing-mode/34662 "2022-01-18T17:45:00Z")

</div>

Sorry if this is an obvious question, but I am having trouble finding the p5.js mode from the PDE’s “mode” section. I was able to find and use it before with a previous version of Processing but not anymore. Is it delaye…

---

## [Grain texture in Processing](https://discourse.processing.org/t/grain-texture-in-processing/34694)

<div class="topic-metadata">

**Author:** [@Nik](https://discourse.processing.org/u/Nik)\
**Replies:** 5\
**Last updated:** [January 18, 2022, 4:56pm UTC](https://discourse.processing.org/t/grain-texture-in-processing/34694 "2022-01-18T16:56:52Z")

</div>

Hello! Does anyone know how to make such textures in Processing as in the photo. Maybe it’s some kind of GLSL shader?

---

## [Android Mode (AR) - Displaying PFragment and Android Fragment in same activity (Android Studio exported.)](https://discourse.processing.org/t/android-mode-ar-displaying-pfragment-and-android-fragment-in-same-activity-android-studio-exported/34715)

<div class="topic-metadata">

**Author:** [@foxfire999](https://discourse.processing.org/u/foxfire999)\
**Replies:** 0\
**Last updated:** [January 18, 2022, 1:21pm UTC](https://discourse.processing.org/t/android-mode-ar-displaying-pfragment-and-android-fragment-in-same-activity-android-studio-exported/34715 "2022-01-18T13:21:43Z")

</div>

Hello, I’m an advanced android developer and also very stuck in this topic, Exported my sketch to Android Studio; sketch = new Sketch(); fragment = new PFragment(sketch); frame = findViewById(R.id.the\_frame); getSup…

---

## [Text inaccuracies in P2D/P3D mode](https://discourse.processing.org/t/text-inaccuracies-in-p2d-p3d-mode/34634)

<div class="topic-metadata">

**Author:** [@macwarrior](https://discourse.processing.org/u/macwarrior)\
**Replies:** 8\
**Last updated:** [January 18, 2022, 11:53am UTC](https://discourse.processing.org/t/text-inaccuracies-in-p2d-p3d-mode/34634 "2022-01-18T11:53:33Z")

</div>

I have been working on a project that involves a lot of text handling, and I’ve recently started trying to add some 3D rotations and transformations to some of the graphics. However, when I switch to the P3D renderer, th…

---

## [selectInput() not opening file dialogue when used as intended](https://discourse.processing.org/t/selectinput-not-opening-file-dialogue-when-used-as-intended/34697)

<div class="topic-metadata">

**Author:** [@Crysp](https://discourse.processing.org/u/Crysp)\
**Replies:** 7\
**Last updated:** [January 18, 2022, 10:07am UTC](https://discourse.processing.org/t/selectinput-not-opening-file-dialogue-when-used-as-intended/34697 "2022-01-18T10:07:43Z")

</div>

Hello. I am on a Macbook running macOS Monterey 12.0.1 and I found an issue (or a mistake I wasn’t able to solve) with selectInput() in Processing. My goal was to use it to pass an image to the program which I then do wh…

---

## [Buttons and input boxes](https://discourse.processing.org/t/buttons-and-input-boxes/34711)

<div class="topic-metadata">

**Author:** [@parichko](https://discourse.processing.org/u/parichko)\
**Replies:** 2\
**Last updated:** [January 18, 2022, 8:59am UTC](https://discourse.processing.org/t/buttons-and-input-boxes/34711 "2022-01-18T08:59:26Z")

</div>

I am not really sure how buttons and input boxes functions work. I know for each button you have to create a function but I don’t know how to make them work. If someone can give a simple example of a button that changes …

---

## [How to stop a p5js script from looping print()](https://discourse.processing.org/t/how-to-stop-a-p5js-script-from-looping-print/34705)

<div class="topic-metadata">

**Author:** [@Ruimao96](https://discourse.processing.org/u/Ruimao96)\
**Replies:** 1\
**Last updated:** [January 18, 2022, 3:55am UTC](https://discourse.processing.org/t/how-to-stop-a-p5js-script-from-looping-print/34705 "2022-01-18T03:55:50Z")

</div>

so I accidentally put print() in my script and it start trying to save the picture nonstop. How do I stop this? of course I know how using noloop can make draw only run once, but that is not my question. If the saving ta…

---

## [createVector error : Cannot set properties of undefined](https://discourse.processing.org/t/createvector-error-cannot-set-properties-of-undefined/34702)

<div class="topic-metadata">

**Author:** [@Ruimao96](https://discourse.processing.org/u/Ruimao96)\
**Replies:** 2\
**Last updated:** [January 18, 2022, 3:18am UTC](https://discourse.processing.org/t/createvector-error-cannot-set-properties-of-undefined/34702 "2022-01-18T03:18:35Z")

</div>

a really simple script trying to use createvector to make a sliding box. let b; function setup() { createCanvas(800, 800); b=new box(); b.startp(200,500,400,700) b.slided(20,100,40,80) } function draw() { backgr…

---

## [Question about mouseX and mouseY](https://discourse.processing.org/t/question-about-mousex-and-mousey/34620)

<div class="topic-metadata">

**Author:** [@vasco](https://discourse.processing.org/u/vasco)\
**Replies:** 4\
**Last updated:** [January 18, 2022, 2:04am UTC](https://discourse.processing.org/t/question-about-mousex-and-mousey/34620 "2022-01-18T02:04:13Z")

</div>

hello guys Working on a project with p5js and getting a curious result with mouseX and mouseY So I have this code: if(tx \> 0 && tx \< 500 && ty \> 0 && ty \< 500 && myp5.mouseIsPressed && (pty != ty || ptx != tx)){ …

---

## [Performance Bugs - Computationally Low Sketches take up 11GB of memory](https://discourse.processing.org/t/performance-bugs-computationally-low-sketches-take-up-11gb-of-memory/34586)

<div class="topic-metadata">

**Author:** [@arkwl](https://discourse.processing.org/u/arkwl)\
**Replies:** 3\
**Last updated:** [January 17, 2022, 10:54pm UTC](https://discourse.processing.org/t/performance-bugs-computationally-low-sketches-take-up-11gb-of-memory/34586 "2022-01-17T22:54:22Z")

</div>

Hello, I’ve been using Processing for the past 4 weeks and it’s my new favorite IDE! I’ll work on a sketch for about an hour, and when I frequently re-run a sketch, my computer will freeze. The last time it happened, I w…

---

## [Sketch exported to Android Studio, cannot use in Multi-Fragment Scenario](https://discourse.processing.org/t/sketch-exported-to-android-studio-cannot-use-in-multi-fragment-scenario/34699)

<div class="topic-metadata">

**Author:** [@foxfire999](https://discourse.processing.org/u/foxfire999)\
**Replies:** 0\
**Last updated:** [January 17, 2022, 10:37pm UTC](https://discourse.processing.org/t/sketch-exported-to-android-studio-cannot-use-in-multi-fragment-scenario/34699 "2022-01-17T22:37:14Z")

</div>

I have successfully exported a sketch to A.S., when run as a single fragment in a single activity it works fine, When I want to insert a custom fragment alongside it (2 separate FrameLayouts); the custom fragment’s crea…

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

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