# Latest

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

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

**Page:** 177

---

## [OrbitControl embeded conflict with scroll on page](https://discourse.processing.org/t/orbitcontrol-embeded-conflict-with-scroll-on-page/32547)

<div class="topic-metadata">

**Author:** [@Sophie1000](https://discourse.processing.org/u/Sophie1000)\
**Replies:** 2\
**Last updated:** [November 18, 2021, 5:40pm UTC](https://discourse.processing.org/t/orbitcontrol-embeded-conflict-with-scroll-on-page/32547 "2021-11-18T17:40:11Z")

</div>

Hello, I’m working on that project : https://sophie1000.com/F360D/F360D/index.html Each 3D object is in a canvas with OrbitControl, then embedded in iframe. On the global page, there is a horizontal scroll that works …

---

## [How to package 12 double variables into JSON Object (Packets)](https://discourse.processing.org/t/how-to-package-12-double-variables-into-json-object-packets/33592)

<div class="topic-metadata">

**Author:** [@avong](https://discourse.processing.org/u/avong)\
**Replies:** 4\
**Last updated:** [November 18, 2021, 10:55am UTC](https://discourse.processing.org/t/how-to-package-12-double-variables-into-json-object-packets/33592 "2021-11-18T10:55:40Z")

</div>

\< I am developing Processing GUI for PID control. I wish to use JSON to share data between the PC and the control board. But i am having issue packaging the JSON object. I need send and receive 12 variable (double). …

---

## [Printing Serial Data from Arduino into a Processing IDE GUI](https://discourse.processing.org/t/printing-serial-data-from-arduino-into-a-processing-ide-gui/33545)

<div class="topic-metadata">

**Author:** [@Handrup](https://discourse.processing.org/u/Handrup)\
**Replies:** 1\
**Last updated:** [November 18, 2021, 10:36am UTC](https://discourse.processing.org/t/printing-serial-data-from-arduino-into-a-processing-ide-gui/33545 "2021-11-18T10:36:13Z")

</div>

Hi guys, I need help with how I make a simple UI displaying a rising number that i am receiving from an Arduino via Serial Port

---

## [Reset orbitControl()](https://discourse.processing.org/t/reset-orbitcontrol/33576)

<div class="topic-metadata">

**Author:** [@thesandrobrito](https://discourse.processing.org/u/thesandrobrito)\
**Replies:** 2\
**Last updated:** [November 18, 2021, 9:18am UTC](https://discourse.processing.org/t/reset-orbitcontrol/33576 "2021-11-18T09:18:23Z")

</div>

Hello everyone, I am working on an application where if I press a button I enable orbitControl, if I press another one it should reset to a automatic rotation. Is there anyway to reset orbitControl to 0 so the environm…

---

## [Please explain to me this strange behavior of Visual Studio Code Thank you](https://discourse.processing.org/t/please-explain-to-me-this-strange-behavior-of-visual-studio-code-thank-you/33591)

<div class="topic-metadata">

**Author:** [@Hiram-Belgium](https://discourse.processing.org/u/Hiram-Belgium)\
**Replies:** 0\
**Last updated:** [November 18, 2021, 8:16am UTC](https://discourse.processing.org/t/please-explain-to-me-this-strange-behavior-of-visual-studio-code-thank-you/33591 "2021-11-18T08:16:26Z")

</div>

Excuse my bad English. Hello, as I am a novice I will try to explain what has been ruining my life for days. In Visual Studio Code - I am running a js program with "live server: open with live server … and, the code do…

---

## [Collaborators wanted. Donate a sketch for a new e-book for kids](https://discourse.processing.org/t/collaborators-wanted-donate-a-sketch-for-a-new-e-book-for-kids/22553)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 7\
**Last updated:** [November 18, 2021, 7:36am UTC](https://discourse.processing.org/t/collaborators-wanted-donate-a-sketch-for-a-new-e-book-for-kids/22553 "2021-11-18T07:36:11Z")

</div>

Dear all, I see a lot of passionate p5.js developers in this community. Therefore I’d like to collaborate with you on compiling a collection of kid friendly sketches. The collection will be included in a FREE PDF e-boo…

---

## [Error on my Processing GUI code for Arduino , I need some help](https://discourse.processing.org/t/error-on-my-processing-gui-code-for-arduino-i-need-some-help/33341)

<div class="topic-metadata">

**Author:** [@fdinumario](https://discourse.processing.org/u/fdinumario)\
**Replies:** 41\
**Last updated:** [November 18, 2021, 6:41am UTC](https://discourse.processing.org/t/error-on-my-processing-gui-code-for-arduino-i-need-some-help/33341 "2021-11-18T06:41:31Z")

</div>

Arduino code : #include \<Wire.h\> #include "SparkFunMPL3115A2.h" #include "SparkFun\_Si7021\_Breakout\_Library.h" MPL3115A2 myPressure; Weather myHumidity; const byte WSPEED = 3; const byte RAIN = 2; const byte STA…

---

## [Create and Run .bat file for FFMPEG code](https://discourse.processing.org/t/create-and-run-bat-file-for-ffmpeg-code/33482)

<div class="topic-metadata">

**Author:** [@deanomite](https://discourse.processing.org/u/deanomite)\
**Replies:** 6\
**Last updated:** [November 18, 2021, 6:20am UTC](https://discourse.processing.org/t/create-and-run-bat-file-for-ffmpeg-code/33482 "2021-11-18T06:20:41Z")

</div>

Hi guys, Was trying to create a sort of batch process to convert some AVI files to MP4 through FFMPEG. I am able to create a .bat which I want to see run directly after creation. I have tried launch() and exec() too bu…

---

## [Error: ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 32768](https://discourse.processing.org/t/error-arrayindexoutofboundsexception-index-1-out-of-bounds-for-length-32768/33431)

<div class="topic-metadata">

**Author:** [@zumdar](https://discourse.processing.org/u/zumdar)\
**Replies:** 10\
**Last updated:** [November 18, 2021, 6:08am UTC](https://discourse.processing.org/t/error-arrayindexoutofboundsexception-index-1-out-of-bounds-for-length-32768/33431 "2021-11-18T06:08:14Z")

</div>

hello! i am making this game in Processing and using a Teensy hooked up to some buttons to play the game. you know the drill haha. well… i am getting this amazingly frustrating error almost everytime i run the program, a…

---

## [Processing API is great for creating e-cards with code](https://discourse.processing.org/t/processing-api-is-great-for-creating-e-cards-with-code/33589)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [November 18, 2021, 1:57am UTC](https://discourse.processing.org/t/processing-api-is-great-for-creating-e-cards-with-code/33589 "2021-11-18T01:57:10Z")

</div>

A nice activity that you can do in classroom / coding club is creating of e-cards with code:

---

## [JavaScript w/ p5.js Editor: Figuring out how to modify my code for mouse over hover box and API display](https://discourse.processing.org/t/javascript-w-p5-js-editor-figuring-out-how-to-modify-my-code-for-mouse-over-hover-box-and-api-display/33566)

<div class="topic-metadata">

**Author:** [@cartopher](https://discourse.processing.org/u/cartopher)\
**Replies:** 1\
**Last updated:** [November 18, 2021, 12:07am UTC](https://discourse.processing.org/t/javascript-w-p5-js-editor-figuring-out-how-to-modify-my-code-for-mouse-over-hover-box-and-api-display/33566 "2021-11-18T00:07:53Z")

</div>

p5.js Web Editor I’m having difficulty figuring out how to modify my code so that when you hover over a point on the map, a box appears displaying the location’s name, in addition to displaying weather data from the wea…

---

## [Can I use a Google font in an offline sketch without downloading it locally?](https://discourse.processing.org/t/can-i-use-a-google-font-in-an-offline-sketch-without-downloading-it-locally/33583)

<div class="topic-metadata">

**Author:** [@Amenhotep](https://discourse.processing.org/u/Amenhotep)\
**Replies:** 0\
**Last updated:** [November 17, 2021, 9:36pm UTC](https://discourse.processing.org/t/can-i-use-a-google-font-in-an-offline-sketch-without-downloading-it-locally/33583 "2021-11-17T21:36:54Z")

</div>

Hi there! I need to distribute a sketch to my students as a one-file app (html file including everything). As long as I use only 2D, it works great. But now I want to have a rotating cube with labels attached to some co…

---

## [Editor.p5js.org present mode disappeared - how to create transparent iframe?](https://discourse.processing.org/t/editor-p5js-org-present-mode-disappeared-how-to-create-transparent-iframe/33580)

<div class="topic-metadata">

**Author:** [@yarinbh](https://discourse.processing.org/u/yarinbh)\
**Replies:** 0\
**Last updated:** [November 17, 2021, 8:21pm UTC](https://discourse.processing.org/t/editor-p5js-org-present-mode-disappeared-how-to-create-transparent-iframe/33580 "2021-11-17T20:21:20Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hey, i add an iframe from p5js to my site and now when they delete the present mode the iframe dosent transparent any more. can i do something t…

---

## [Save the canvas at a frequency keeping all the images](https://discourse.processing.org/t/save-the-canvas-at-a-frequency-keeping-all-the-images/33559)

<div class="topic-metadata">

**Author:** [@Hiram-Belgium](https://discourse.processing.org/u/Hiram-Belgium)\
**Replies:** 7\
**Last updated:** [November 17, 2021, 4:11pm UTC](https://discourse.processing.org/t/save-the-canvas-at-a-frequency-keeping-all-the-images/33559 "2021-11-17T16:11:07Z")

</div>

Hello, I am a beginner who knows very little about programming. I would like to know how to save the canvas at regular intervals, for example every 5 seconds … But also obviously keep all the images. Example image1-5sec…

---

## [Add Column on csv file](https://discourse.processing.org/t/add-column-on-csv-file/33572)

<div class="topic-metadata">

**Author:** [@anwar05](https://discourse.processing.org/u/anwar05)\
**Replies:** 6\
**Last updated:** [November 17, 2021, 2:19pm UTC](https://discourse.processing.org/t/add-column-on-csv-file/33572 "2021-11-17T14:19:41Z")

</div>

I want to save data in tabular form and want to save it in excel (csv) form, I have checked references and also tried examples from the internet, there are no errors, but when I addColumn (title) no new column is formed …

---

## [textureWrap() doesn't work?](https://discourse.processing.org/t/texturewrap-doesnt-work/33563)

<div class="topic-metadata">

**Author:** [@hinken](https://discourse.processing.org/u/hinken)\
**Replies:** 1\
**Last updated:** [November 17, 2021, 8:01am UTC](https://discourse.processing.org/t/texturewrap-doesnt-work/33563 "2021-11-17T08:01:36Z")

</div>

Hi, I’ve been trying to use textureWrap(MIRROR) to tile a texture and no matter what I do it doesn’t seem to do anything - the texture just resizes to the full size of the surface. I’ve put textureWrap() in both draw and…

---

## [Drop library not working when fullscreen()?](https://discourse.processing.org/t/drop-library-not-working-when-fullscreen/33569)

<div class="topic-metadata">

**Author:** [@enrike](https://discourse.processing.org/u/enrike)\
**Replies:** 0\
**Last updated:** [November 17, 2021, 5:08am UTC](https://discourse.processing.org/t/drop-library-not-working-when-fullscreen/33569 "2021-11-17T05:08:58Z")

</div>

Hi I am using the Drop library (Drop) to drag and drop video files into a sketch. All works fine but when I set it fullscreen it just does not allow me to drop anything. I see a forbidden sign and I get no drop event. …

---

## [How to print serial values above rect and not blur](https://discourse.processing.org/t/how-to-print-serial-values-above-rect-and-not-blur/33530)

<div class="topic-metadata">

**Author:** [@anwar05](https://discourse.processing.org/u/anwar05)\
**Replies:** 6\
**Last updated:** [November 17, 2021, 3:27am UTC](https://discourse.processing.org/t/how-to-print-serial-values-above-rect-and-not-blur/33530 "2021-11-17T03:27:16Z")

</div>

Hello, I’m trying to print the serial value of my Arduino just above the rect and circle, but when the value changes there is a buildup of values so it looks blurry. any suggestions for me? Sorry, I’m just learning to us…

---

## [Sound does not play](https://discourse.processing.org/t/sound-does-not-play/33546)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 8:24pm UTC](https://discourse.processing.org/t/sound-does-not-play/33546 "2021-11-16T20:24:52Z")

</div>

I tried to write a program that works on mobile (apple) devices. Everything works except for the sound. This is my code: // A sound file object var dingdong; function preload() { // Load the sound file. // We hav…

---

## [Downloading images from server in the background, while script is running](https://discourse.processing.org/t/downloading-images-from-server-in-the-background-while-script-is-running/33556)

<div class="topic-metadata">

**Author:** [@user101](https://discourse.processing.org/u/user101)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 8:15pm UTC](https://discourse.processing.org/t/downloading-images-from-server-in-the-background-while-script-is-running/33556 "2021-11-16T20:15:59Z")

</div>

I want to create a website with many, many images on the frontpage. However, not all of these images are visiable from the start of the script on, instead they should be downloaded from the server in the background, whil…

---

## [Triangle Circumcircle in py5](https://discourse.processing.org/t/triangle-circumcircle-in-py5/33470)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 5\
**Last updated:** [November 16, 2021, 2:04pm UTC](https://discourse.processing.org/t/triangle-circumcircle-in-py5/33470 "2021-11-16T14:04:33Z")

</div>

In this sketch I make use of the cross product of two 2D vectors, to determine whether 3 points are collinear (NB: you cannot do this with PVector, because it returns the cross product of two 3D vectors, so is flawed). …

---

## [Text Converter (DESPERATE NEED!)](https://discourse.processing.org/t/text-converter-desperate-need/33411)

<div class="topic-metadata">

**Author:** [@processingboy1](https://discourse.processing.org/u/processingboy1)\
**Replies:** 10\
**Last updated:** [November 16, 2021, 11:22am UTC](https://discourse.processing.org/t/text-converter-desperate-need/33411 "2021-11-16T11:22:52Z")

</div>

in desperate need, will depend whether i fail or pass the course!!! Due date is very near! No use of Arrays.

---

## [How to DETECT COLORS from CAMERA CAPTURE and OUTPUT them?](https://discourse.processing.org/t/how-to-detect-colors-from-camera-capture-and-output-them/33553)

<div class="topic-metadata">

**Author:** [@badbatman](https://discourse.processing.org/u/badbatman)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 1:15pm UTC](https://discourse.processing.org/t/how-to-detect-colors-from-camera-capture-and-output-them/33553 "2021-11-16T13:15:15Z")

</div>

How can I gain the colors from a camera capture and output them in swatches? What are the steps to realize this? Something like this: https://www.youtube.com/watch?v=EyuqP43jkQ8 import processing.video.\*; Capture cam…

---

## [Any way to export 3D interactive to .obj or other 3d format?](https://discourse.processing.org/t/any-way-to-export-3d-interactive-to-obj-or-other-3d-format/33555)

<div class="topic-metadata">

**Author:** [@Guy\_Sky](https://discourse.processing.org/u/Guy_Sky)\
**Replies:** 0\
**Last updated:** [November 16, 2021, 1:12pm UTC](https://discourse.processing.org/t/any-way-to-export-3d-interactive-to-obj-or-other-3d-format/33555 "2021-11-16T13:12:36Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi There Project :slight\_smile: I want to scan old family photographs, front and back, make them an interactive “3D” (you can look at back or fr…

---

## [How to DETECT COLORS from CAMERA CAPTURE and OUTPUT them?](https://discourse.processing.org/t/how-to-detect-colors-from-camera-capture-and-output-them/33550)

<div class="topic-metadata">

**Author:** [@badbatman](https://discourse.processing.org/u/badbatman)\
**Replies:** 0\
**Last updated:** [November 16, 2021, 12:54pm UTC](https://discourse.processing.org/t/how-to-detect-colors-from-camera-capture-and-output-them/33550 "2021-11-16T12:54:02Z")

</div>

How can I gain the colors from a camera capture and output them in swatches? What are the steps to do this? Something like this: https://www.youtube.com/watch?v=EyuqP43jkQ8 but then with Processing instead of JS. impo…

---

## [Filling grid cells inside a shape](https://discourse.processing.org/t/filling-grid-cells-inside-a-shape/33427)

<div class="topic-metadata">

**Author:** [@tribblesontoast](https://discourse.processing.org/u/tribblesontoast)\
**Replies:** 8\
**Last updated:** [November 16, 2021, 7:26am UTC](https://discourse.processing.org/t/filling-grid-cells-inside-a-shape/33427 "2021-11-16T07:26:36Z")

</div>

Hi all, I’m writing a program that visualises text from posters as a heatmap. I draw shapes around the titles of the posters and each of these positions is saved as a PVector. In order to visualise these on the heatma…

---

## [Different results in processing and interpreter](https://discourse.processing.org/t/different-results-in-processing-and-interpreter/33492)

<div class="topic-metadata">

**Author:** [@bobodoustaud](https://discourse.processing.org/u/bobodoustaud)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 12:01am UTC](https://discourse.processing.org/t/different-results-in-processing-and-interpreter/33492 "2021-11-16T00:01:30Z")

</div>

Hello again! I encountered a rather strange thing in processing 3.5.4 : the code def rgbshv(x,y): col=\[y\>\>16&0xFF,y\>\>8&0xFF,y&0xFF\] #print(col) if x==0: if max(col)==min(col): return 0 …

---

## [Writing text RTL instead of LTR (left to right)](https://discourse.processing.org/t/writing-text-rtl-instead-of-ltr-left-to-right/33533)

<div class="topic-metadata">

**Author:** [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Replies:** 1\
**Last updated:** [November 15, 2021, 9:18pm UTC](https://discourse.processing.org/t/writing-text-rtl-instead-of-ltr-left-to-right/33533 "2021-11-15T21:18:10Z")

</div>

I want to write text in Hebrew, but the problem is that Hebrew written RTL while English written LTR, So, when I try to write the word שלום (peace in Hebrew, pronounce Shalom), It actualy write םולש (like ECAEP instead…

---

## [Editor.p5js.org present mode disappeared?](https://discourse.processing.org/t/editor-p5js-org-present-mode-disappeared/33495)

<div class="topic-metadata">

**Author:** [@bakercp](https://discourse.processing.org/u/bakercp)\
**Replies:** 7\
**Last updated:** [November 15, 2021, 7:03pm UTC](https://discourse.processing.org/t/editor-p5js-org-present-mode-disappeared/33495 "2021-11-15T19:03:55Z")

</div>

Hi there, I’m working with a student who is using the web bluetooth api in https://editor.p5js.org. Previously we got around iframe cross-origin security errors by running the sketch in full-screen present mode. Now it …

---

## [Text is added twice](https://discourse.processing.org/t/text-is-added-twice/33527)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 1\
**Last updated:** [November 15, 2021, 10:29am UTC](https://discourse.processing.org/t/text-is-added-twice/33527 "2021-11-15T10:29:25Z")

</div>

in the kill screen, there is a textbox. when you click on it you can type, but the letters you type show up twice. how do i fix this?

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

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