# Latest

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

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

**Page:** 119

---

## [Make an ASCII Video](https://discourse.processing.org/t/make-an-ascii-video/38507)

<div class="topic-metadata">

**Author:** [@Roklair](https://discourse.processing.org/u/Roklair)\
**Replies:** 2\
**Last updated:** [August 28, 2022, 7:31am UTC](https://discourse.processing.org/t/make-an-ascii-video/38507 "2022-08-28T07:31:05Z")

</div>

Hello everyone. Recently I got interested in ASCII art, I could see that there was an example created by Ben Fry in the Processing library. My problem is that I want to use this code but with an imported video and not …

---

## [How to Read Data from Google Calendar (or similar) in Processing](https://discourse.processing.org/t/how-to-read-data-from-google-calendar-or-similar-in-processing/38525)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 1\
**Last updated:** [August 27, 2022, 7:17pm UTC](https://discourse.processing.org/t/how-to-read-data-from-google-calendar-or-similar-in-processing/38525 "2022-08-27T19:17:08Z")

</div>

I have been thinking of ways to read data from a collaborative cloud based calendar, like Google Calendar. I imagine there may be other services but let’s roll with this one for now. Would it be possible to read data fr…

---

## [How to map an object to JSON in Processing](https://discourse.processing.org/t/how-to-map-an-object-to-json-in-processing/38432)

<div class="topic-metadata">

**Author:** [@Rico](https://discourse.processing.org/u/Rico)\
**Replies:** 2\
**Last updated:** [August 27, 2022, 4:49pm UTC](https://discourse.processing.org/t/how-to-map-an-object-to-json-in-processing/38432 "2022-08-27T16:49:29Z")

</div>

Hi all, I’ve been looking into various ways of mapping object to json in Processing and I can’t seem to get anything to work. I have tried GSON, Javax and Jackson. but all throw errors. Maybe I’m not loading all the de…

---

## [Where is my 2017 topic, in the old forum?](https://discourse.processing.org/t/where-is-my-2017-topic-in-the-old-forum/38518)

<div class="topic-metadata">

**Author:** [@RichardDL](https://discourse.processing.org/u/RichardDL)\
**Replies:** 4\
**Last updated:** [August 27, 2022, 3:52pm UTC](https://discourse.processing.org/t/where-is-my-2017-topic-in-the-old-forum/38518 "2022-08-27T15:52:44Z")

</div>

I had a topic, think in 2017, think had JSON in the topic title. Can’t find it. Did this current forum start in 2018? so my topic is in the old forum. Is that this https://forum.processing.org/two/ or is that 2 forums …

---

## [MA/MFA Computational Arts Degree Show](https://discourse.processing.org/t/ma-mfa-computational-arts-degree-show/38516)

<div class="topic-metadata">

**Author:** [@jessewolpert](https://discourse.processing.org/u/jessewolpert)\
**Replies:** 0\
**Last updated:** [August 27, 2022, 1:22pm UTC](https://discourse.processing.org/t/ma-mfa-computational-arts-degree-show/38516 "2022-08-27T13:22:37Z")

</div>

Message from the MA/MFA Computational Arts Students 2022 Join us for Goldsmiths largest Computational Art Exhibition to date! The MA/MFA Computational Arts students are proud to present their final show, (Sub)Systems o…

---

## [Couldn't load image into py5](https://discourse.processing.org/t/couldnt-load-image-into-py5/38503)

<div class="topic-metadata">

**Author:** [@Lyra](https://discourse.processing.org/u/Lyra)\
**Replies:** 2\
**Last updated:** [August 27, 2022, 12:24am UTC](https://discourse.processing.org/t/couldnt-load-image-into-py5/38503 "2022-08-27T00:24:07Z")

</div>

Hi, I’m a new user and just begin learning py5 in school, I’ve run the code with no errors appeared, but the sketch is blank, could anyone help me figure out the problem? Thank you so much! \< size(600,600) background(…

---

## [Dynamically Setting the Window as Undecorated](https://discourse.processing.org/t/dynamically-setting-the-window-as-undecorated/33327)

<div class="topic-metadata">

**Author:** [@Brahvim](https://discourse.processing.org/u/Brahvim)\
**Replies:** 5\
**Last updated:** [August 26, 2022, 12:02pm UTC](https://discourse.processing.org/t/dynamically-setting-the-window-as-undecorated/33327 "2022-08-26T12:02:49Z")

</div>

Just as the title says: I want to be able to set the window as ‘undecorated’, while the sketch is running. It causes some errors inside “handleDraw()”, however. I felt that it may be possible if I call noLoop(), wait f…

---

## [ForthCalc calculator update](https://discourse.processing.org/t/forthcalc-calculator-update/38496)

<div class="topic-metadata">

**Author:** [@cameyo](https://discourse.processing.org/u/cameyo)\
**Replies:** 0\
**Last updated:** [August 26, 2022, 3:25pm UTC](https://discourse.processing.org/t/forthcalc-calculator-update/38496 "2022-08-26T15:25:10Z")

</div>

ForthCalc: RPN calculator (with some Forth functions) Updated for processing 4. ForthCalc

---

## [Can't detect PDE vs command line, PDE no longer passing --external](https://discourse.processing.org/t/cant-detect-pde-vs-command-line-pde-no-longer-passing-external/10508)

<div class="topic-metadata">

**Author:** [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Replies:** 9\
**Last updated:** [August 26, 2022, 11:49am UTC](https://discourse.processing.org/t/cant-detect-pde-vs-command-line-pde-no-longer-passing-external/10508 "2022-08-26T11:49:54Z")

</div>

Two years ago I developed a sketch that could be run from PDE or from the command line (processing-java) – optionally with arguments. I wanted the sketch to know which way it had been run (PDE or command line). Detect …

---

## [How to change FrameRate](https://discourse.processing.org/t/how-to-change-framerate/38455)

<div class="topic-metadata">

**Author:** [@aladin](https://discourse.processing.org/u/aladin)\
**Replies:** 4\
**Last updated:** [August 26, 2022, 11:03am UTC](https://discourse.processing.org/t/how-to-change-framerate/38455 "2022-08-26T11:03:33Z")

</div>

I am trying to set FrameRate using the framerate() function but it is not working, the actual framerate while running the code ranges between 1.8 - 4 fps , here is my setup code: void setup (){ System.out.println("dis…

---

## [Simple Sketch Lagging Despite Low Draw Time](https://discourse.processing.org/t/simple-sketch-lagging-despite-low-draw-time/38491)

<div class="topic-metadata">

**Author:** [@sudonym](https://discourse.processing.org/u/sudonym)\
**Replies:** 3\
**Last updated:** [August 26, 2022, 5:12am UTC](https://discourse.processing.org/t/simple-sketch-lagging-despite-low-draw-time/38491 "2022-08-26T05:12:57Z")

</div>

I have been using Processing for a while, and though my code can get pretty long it never lags. However, while working on this relatively simple sketch the display lags like crazy (~3-4fps). This is the code for my sket…

---

## [How do I push UART data into the sound library's FFT function?](https://discourse.processing.org/t/how-do-i-push-uart-data-into-the-sound-librarys-fft-function/38484)

<div class="topic-metadata">

**Author:** [@onelectron](https://discourse.processing.org/u/onelectron)\
**Replies:** 0\
**Last updated:** [August 25, 2022, 11:25am UTC](https://discourse.processing.org/t/how-do-i-push-uart-data-into-the-sound-librarys-fft-function/38484 "2022-08-25T11:25:17Z")

</div>

Hello, I am trying to send data from an accelerometer to the Processing through UART. I was able to accomplish that portion of my project. My final goal is to use the sensor data to create an FFT visual interface to vis…

---

## [How to check if something is on screen](https://discourse.processing.org/t/how-to-check-if-something-is-on-screen/38483)

<div class="topic-metadata">

**Author:** [@graph100](https://discourse.processing.org/u/graph100)\
**Replies:** 4\
**Last updated:** [August 25, 2022, 2:41pm UTC](https://discourse.processing.org/t/how-to-check-if-something-is-on-screen/38483 "2022-08-25T14:41:37Z")

</div>

Hi, I was wondering if there was a way to see if something is being displayed on the current canvas in WEBGL mode. I’m working on a game and i have a class of objects that i need to know if they are on screen (that inclu…

---

## [Combining matrix functions with applyMatrix()](https://discourse.processing.org/t/combining-matrix-functions-with-applymatrix/38475)

<div class="topic-metadata">

**Author:** [@Sunt](https://discourse.processing.org/u/Sunt)\
**Replies:** 2\
**Last updated:** [August 25, 2022, 2:31pm UTC](https://discourse.processing.org/t/combining-matrix-functions-with-applymatrix/38475 "2022-08-25T14:31:09Z")

</div>

Hi. In this code I have a rotating rectangle in the center of the canvas using the applyMatrix() function. In the reference it’s said that I can combine these functions into one. This is a powerful operation that can …

---

## [FFT in Processing](https://discourse.processing.org/t/fft-in-processing/38463)

<div class="topic-metadata">

**Author:** [@onelectron](https://discourse.processing.org/u/onelectron)\
**Replies:** 4\
**Last updated:** [August 25, 2022, 2:01pm UTC](https://discourse.processing.org/t/fft-in-processing/38463 "2022-08-25T14:01:38Z")

</div>

Hello, I am trying to send data from an accelerometer to the Processing through UART. It’s working. My final goal is to use the sensor data to create an FFT visual interface to visualize the vibration frequency. I have …

---

## [Creating SVG limited to canvas size](https://discourse.processing.org/t/creating-svg-limited-to-canvas-size/38426)

<div class="topic-metadata">

**Author:** [@i-draw-monkeys](https://discourse.processing.org/u/i-draw-monkeys)\
**Replies:** 13\
**Last updated:** [August 25, 2022, 6:52am UTC](https://discourse.processing.org/t/creating-svg-limited-to-canvas-size/38426 "2022-08-25T06:52:36Z")

</div>

I am just learning Processing to make files for the Axidraw. I have figured out my best workflow in terms of saving SVGs but just hit a snag. I am using simplified code for this example here using one line (but in the fi…

---

## [Splitting a list of ints, using a special number as a "separator"](https://discourse.processing.org/t/splitting-a-list-of-ints-using-a-special-number-as-a-separator/38471)

<div class="topic-metadata">

**Author:** [@eltrem](https://discourse.processing.org/u/eltrem)\
**Replies:** 10\
**Last updated:** [August 24, 2022, 10:02pm UTC](https://discourse.processing.org/t/splitting-a-list-of-ints-using-a-special-number-as-a-separator/38471 "2022-08-24T22:02:27Z")

</div>

I’m trying to split an incoming list of numbers to fill an ArrayList. Each new chopped IntList would have a different size, and on the incoming -unchopped- list i can use -1 as the separator. I’m having problems to pars…

---

## [Advice to improve performance of a 3D model composed of many blocks](https://discourse.processing.org/t/advice-to-improve-performance-of-a-3d-model-composed-of-many-blocks/38446)

<div class="topic-metadata">

**Author:** [@ramith](https://discourse.processing.org/u/ramith)\
**Replies:** 11\
**Last updated:** [August 24, 2022, 4:11pm UTC](https://discourse.processing.org/t/advice-to-improve-performance-of-a-3d-model-composed-of-many-blocks/38446 "2022-08-24T16:11:54Z")

</div>

Hi ! I’m trying to display several layers like the one depicted below. it’s basically a grid of 64 x 64 box() elements each having a different thickness (i read those values from a .mat file at the start). It occured …

---

## [Set Height and Width of Display Area using Variables?](https://discourse.processing.org/t/set-height-and-width-of-display-area-using-variables/38468)

<div class="topic-metadata">

**Author:** [@digitalArtform](https://discourse.processing.org/u/digitalArtform)\
**Replies:** 1\
**Last updated:** [August 23, 2022, 8:14pm UTC](https://discourse.processing.org/t/set-height-and-width-of-display-area-using-variables/38468 "2022-08-23T20:14:42Z")

</div>

Is it possible to first load an image, and then use the height and width of the loaded image to specify the height and width of the Processing canvas? Every example I see already knows the needed canvas height and width …

---

## [Feedback on tutorial](https://discourse.processing.org/t/feedback-on-tutorial/38467)

<div class="topic-metadata">

**Author:** [@hl5hl5](https://discourse.processing.org/u/hl5hl5)\
**Replies:** 0\
**Last updated:** [August 23, 2022, 8:04pm UTC](https://discourse.processing.org/t/feedback-on-tutorial/38467 "2022-08-23T20:04:37Z")

</div>

Wonderful tutorial by Dan. Hope to keep learning code. I’m new at all this but it’s very exciting.

---

## [Problem on displaying fonts in webgl on some devices](https://discourse.processing.org/t/problem-on-displaying-fonts-in-webgl-on-some-devices/38329)

<div class="topic-metadata">

**Author:** [@Parabola](https://discourse.processing.org/u/Parabola)\
**Replies:** 2\
**Last updated:** [August 23, 2022, 5:30pm UTC](https://discourse.processing.org/t/problem-on-displaying-fonts-in-webgl-on-some-devices/38329 "2022-08-23T17:30:41Z")

</div>

Hi folks! Is have a strange issue thats driving me insane and cant figure out the problem Im kinda new to p5js and have a little experience with processing java. I’ve made a lyrics visualizer sketch for a friends song…

---

## [Can someone help draw a robot?](https://discourse.processing.org/t/can-someone-help-draw-a-robot/38461)

<div class="topic-metadata">

**Author:** [@Frost](https://discourse.processing.org/u/Frost)\
**Replies:** 11\
**Last updated:** [August 23, 2022, 12:39pm UTC](https://discourse.processing.org/t/can-someone-help-draw-a-robot/38461 "2022-08-23T12:39:40Z")

</div>

i need to make a target that includes ellipses, triangles, rectangles and lines. so im trying to make a robot but im struggling on drawing the triangles and lines. i was thinking to have two triangles for ears directly a…

---

## [Reversing Projection like \`gluUnproject()\`](https://discourse.processing.org/t/reversing-projection-like-gluunproject/35964)

<div class="topic-metadata">

**Author:** [@Brahvim](https://discourse.processing.org/u/Brahvim)\
**Replies:** 3\
**Last updated:** [August 23, 2022, 9:09am UTC](https://discourse.processing.org/t/reversing-projection-like-gluunproject/35964 "2022-08-23T09:09:16Z")

</div>

Edit, made a day later: This Stackoverflow Post seems to be of some help. ORIGINAL POST: Hello there! As the title states, I want to “reverse” the effect that applying projection makes to a vector. So, in Processing, …

---

## [How to make gradient color in controlP5](https://discourse.processing.org/t/how-to-make-gradient-color-in-controlp5/15539)

<div class="topic-metadata">

**Author:** [@yty](https://discourse.processing.org/u/yty)\
**Replies:** 7\
**Last updated:** [August 23, 2022, 1:01am UTC](https://discourse.processing.org/t/how-to-make-gradient-color-in-controlp5/15539 "2022-08-23T01:01:06Z")

</div>

Hello, I’m fairly new to processing therefore I have some issues with my program. I have made a slider using the cp5 library in Processing. However, I have some issues when it comes to changing the color to a gradient…

---

## [Py5 vs Processing.py](https://discourse.processing.org/t/py5-vs-processing-py/38452)

<div class="topic-metadata">

**Author:** [@antoniorumen](https://discourse.processing.org/u/antoniorumen)\
**Replies:** 2\
**Last updated:** [August 22, 2022, 10:19pm UTC](https://discourse.processing.org/t/py5-vs-processing-py/38452 "2022-08-22T22:19:18Z")

</div>

I am just starting out with processing and since I have some basic python experience I would like to utilize that to my advantage. However, I am confused as to which platform to use. What’s the difference between Process…

---

## [How does the P5 web editor sandbox code?](https://discourse.processing.org/t/how-does-the-p5-web-editor-sandbox-code/38456)

<div class="topic-metadata">

**Author:** [@dayetown](https://discourse.processing.org/u/dayetown)\
**Replies:** 1\
**Last updated:** [August 22, 2022, 4:39pm UTC](https://discourse.processing.org/t/how-does-the-p5-web-editor-sandbox-code/38456 "2022-08-22T16:39:24Z")

</div>

How does the P5 web editor take user code and run it while disallowing malicious user access. Does it simply use the eval function? Or does it interpret a subset of js on its own? Or neither? Asking because I’d like to …

---

## [Does anyone know how to link a library into the online p5.js editor?](https://discourse.processing.org/t/does-anyone-know-how-to-link-a-library-into-the-online-p5-js-editor/38444)

<div class="topic-metadata">

**Author:** [@RobinChase](https://discourse.processing.org/u/RobinChase)\
**Replies:** 2\
**Last updated:** [August 22, 2022, 3:36pm UTC](https://discourse.processing.org/t/does-anyone-know-how-to-link-a-library-into-the-online-p5-js-editor/38444 "2022-08-22T15:36:50Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Does anyone know how to create a link in HTML in order to use the different libraries that are suggested on the P5.js website?

---

## [Processing cheat sheet for generative art, animation, and art pictures](https://discourse.processing.org/t/processing-cheat-sheet-for-generative-art-animation-and-art-pictures/38429)

<div class="topic-metadata">

**Author:** [@Ahmed24633](https://discourse.processing.org/u/Ahmed24633)\
**Replies:** 6\
**Last updated:** [August 22, 2022, 2:38pm UTC](https://discourse.processing.org/t/processing-cheat-sheet-for-generative-art-animation-and-art-pictures/38429 "2022-08-22T14:38:20Z")

</div>

Can anyone provide me a good processing cheat sheet? I think large cheat sheet will work for may purpose. I want to make generative art, animations, and some beautiful art work pictures. The cheat sheet should cover pro…

---

## [Adding Timestamps in Applications at time of Export](https://discourse.processing.org/t/adding-timestamps-in-applications-at-time-of-export/38431)

<div class="topic-metadata">

**Author:** [@pyronox](https://discourse.processing.org/u/pyronox)\
**Replies:** 3\
**Last updated:** [August 22, 2022, 10:15am UTC](https://discourse.processing.org/t/adding-timestamps-in-applications-at-time-of-export/38431 "2022-08-22T10:15:45Z")

</div>

Hi all, I was hoping this might be quite an easy one. but haven’t been able to find an answer. When exporting an application in processing4 , does anybody know an easy way to store the time at export into the code with…

---

## [Saving SVG: I only want to save the canvas, not lines drawn outside](https://discourse.processing.org/t/saving-svg-i-only-want-to-save-the-canvas-not-lines-drawn-outside/38421)

<div class="topic-metadata">

**Author:** [@i-draw-monkeys](https://discourse.processing.org/u/i-draw-monkeys)\
**Replies:** 1\
**Last updated:** [August 21, 2022, 9:02pm UTC](https://discourse.processing.org/t/saving-svg-i-only-want-to-save-the-canvas-not-lines-drawn-outside/38421 "2022-08-21T21:02:17Z")

</div>

I am trying to make some SVGs for my pen plotter using math to draw lines. I define the canvas size in setup, but some points that the math designates are outside of this. Here is example code that I simplified where thi…

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

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