# Latest

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

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

**Page:** 164

---

## [How to have multiple drawingcontext clip](https://discourse.processing.org/t/how-to-have-multiple-drawingcontext-clip/34696)

<div class="topic-metadata">

**Author:** [@blkpanther](https://discourse.processing.org/u/blkpanther)\
**Replies:** 0\
**Last updated:** [January 17, 2022, 9:41pm UTC](https://discourse.processing.org/t/how-to-have-multiple-drawingcontext-clip/34696 "2022-01-17T21:41:54Z")

</div>

I’m trying to have multiple shapes on the canvas clip other shapes. I tried two methods that don’t work: First is to put the multiple shape masks on the canvas into a function. the result is only the last shape will ac…

---

## [Transparency fails looking at backside of 3D shape](https://discourse.processing.org/t/transparency-fails-looking-at-backside-of-3d-shape/34627)

<div class="topic-metadata">

**Author:** [@dy1](https://discourse.processing.org/u/dy1)\
**Replies:** 12\
**Last updated:** [January 17, 2022, 8:51pm UTC](https://discourse.processing.org/t/transparency-fails-looking-at-backside-of-3d-shape/34627 "2022-01-17T20:51:34Z")

</div>

Hi In 3D (WEBGL) I’m drawing a rect with a color that includes an alpha. When I look at that shape from the “front” the alpha works as expected… and I can adjust the rect’s transparency. However, when I rotate the rect …

---

## [Delete leftmost circle on the canvas](https://discourse.processing.org/t/delete-leftmost-circle-on-the-canvas/34663)

<div class="topic-metadata">

**Author:** [@processingboy1](https://discourse.processing.org/u/processingboy1)\
**Replies:** 2\
**Last updated:** [January 17, 2022, 7:14pm UTC](https://discourse.processing.org/t/delete-leftmost-circle-on-the-canvas/34663 "2022-01-17T19:14:54Z")

</div>

I was able to write a code that draws different circles on a canvas and i need to find a way i could delete the leftmost circle when any key is pressed. i’ve been at this for hours and i feel like i am close to the answe…

---

## [How to change name of tab in openprocessing.org IDE?](https://discourse.processing.org/t/how-to-change-name-of-tab-in-openprocessing-org-ide/34676)

<div class="topic-metadata">

**Author:** [@kenjones](https://discourse.processing.org/u/kenjones)\
**Replies:** 2\
**Last updated:** [January 17, 2022, 5:10pm UTC](https://discourse.processing.org/t/how-to-change-name-of-tab-in-openprocessing-org-ide/34676 "2022-01-17T17:10:52Z")

</div>

I know how to create a new tab in the openprocessing.org IDE by clicking the button labeled “+” to the right of the names of the tabs above the code editor. But, by default, the tabs are named “tabx”, where “x” is a nume…

---

## [How to save a sketch a local image or a font?](https://discourse.processing.org/t/how-to-save-a-sketch-a-local-image-or-a-font/34672)

<div class="topic-metadata">

**Author:** [@Pierre1](https://discourse.processing.org/u/Pierre1)\
**Replies:** 11\
**Last updated:** [January 17, 2022, 2:47pm UTC](https://discourse.processing.org/t/how-to-save-a-sketch-a-local-image-or-a-font/34672 "2022-01-17T14:47:17Z")

</div>

After Submit and Save (which work well) , I can’t see how to upload either an image or a font.

---

## [Compile time OutOfMemoryError](https://discourse.processing.org/t/compile-time-outofmemoryerror/34683)

<div class="topic-metadata">

**Author:** [@codebodger](https://discourse.processing.org/u/codebodger)\
**Replies:** 0\
**Last updated:** [January 17, 2022, 12:14am UTC](https://discourse.processing.org/t/compile-time-outofmemoryerror/34683 "2022-01-17T00:14:25Z")

</div>

I have a sketch that is quite big (about 8 MiB) that will not compile. When I run it, it gives me an OutOfMemoryError while compiling. It will not even do print("hi"); if I put it at the beginning. Does anyone know ho…

---

## [Opening Processing 3 starts Processing 2](https://discourse.processing.org/t/opening-processing-3-starts-processing-2/34680)

<div class="topic-metadata">

**Author:** [@tomatocultivator](https://discourse.processing.org/u/tomatocultivator)\
**Replies:** 1\
**Last updated:** [January 16, 2022, 9:11pm UTC](https://discourse.processing.org/t/opening-processing-3-starts-processing-2/34680 "2022-01-16T21:11:18Z")

</div>

I have multiple versions of processing installed. When I try to open processing 3, the PDE that opens up is processing 2. Similarly, when I try to open processing 4, the PDE that opens up is processing 2. Strangely, mult…

---

## [Processing sketch as screensaver](https://discourse.processing.org/t/processing-sketch-as-screensaver/34678)

<div class="topic-metadata">

**Author:** [@SomeOne](https://discourse.processing.org/u/SomeOne)\
**Replies:** 1\
**Last updated:** [January 16, 2022, 7:50pm UTC](https://discourse.processing.org/t/processing-sketch-as-screensaver/34678 "2022-01-16T19:50:58Z")

</div>

Has anyone tried to run processing sketch as a screensaver on any OS? It could be an interesting project to try out.

---

## [Empty starting panel (about-1x.png is not shown)](https://discourse.processing.org/t/empty-starting-panel-about-1x-png-is-not-shown/34677)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 0\
**Last updated:** [January 16, 2022, 6:23pm UTC](https://discourse.processing.org/t/empty-starting-panel-about-1x-png-is-not-shown/34677 "2022-01-16T18:23:19Z")

</div>

processing-4.0b 3, on a Fedora 35 machine. When I launch Processing, I see an empty blank panel. Intro graphics about-1x.png is not shown. What do I check? Is there a way to fix it?

---

## [Processing-4.0b2 crashes on Fedora 35](https://discourse.processing.org/t/processing-4-0b2-crashes-on-fedora-35/34472)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 1\
**Last updated:** [January 16, 2022, 5:34pm UTC](https://discourse.processing.org/t/processing-4-0b2-crashes-on-fedora-35/34472 "2022-01-16T17:34:24Z")

</div>

Hi on my Fedora 35, processing-4.0b2 crashes any time I try to open a file. When I launch from command line, I get: \[-----@localhost processing-4.0b2\]$ /home/-----/processing-4.0b2/processing \[-----@localhost processi…

---

## [Allowed to remove background in p5.js iframe embeds?](https://discourse.processing.org/t/allowed-to-remove-background-in-p5-js-iframe-embeds/34675)

<div class="topic-metadata">

**Author:** [@pinto](https://discourse.processing.org/u/pinto)\
**Replies:** 0\
**Last updated:** [January 16, 2022, 5:18pm UTC](https://discourse.processing.org/t/allowed-to-remove-background-in-p5-js-iframe-embeds/34675 "2022-01-16T17:18:47Z")

</div>

Hi there! I was wondering if it’s possible to remove the gray background + p5.js bar, and embed only our p5.js canvas as an iframe on another site. My sketch also does not react to mouse movement when embedded in an ifr…

---

## [Drawing background in setup function and changing renderer to P2D/P3D](https://discourse.processing.org/t/drawing-background-in-setup-function-and-changing-renderer-to-p2d-p3d/34637)

<div class="topic-metadata">

**Author:** [@Setsuna](https://discourse.processing.org/u/Setsuna)\
**Replies:** 6\
**Last updated:** [January 16, 2022, 4:09pm UTC](https://discourse.processing.org/t/drawing-background-in-setup-function-and-changing-renderer-to-p2d-p3d/34637 "2022-01-16T16:09:46Z")

</div>

Hello everyone, I use python mode and Processing 3.5.4. I would like to use the setup function to draw background elements once before animating in the draw function. However, have an issue when I choose the P2D or P3D…

---

## [Drag and Drop an Object](https://discourse.processing.org/t/drag-and-drop-an-object/34609)

<div class="topic-metadata">

**Author:** [@Kristina](https://discourse.processing.org/u/Kristina)\
**Replies:** 3\
**Last updated:** [January 16, 2022, 1:06pm UTC](https://discourse.processing.org/t/drag-and-drop-an-object/34609 "2022-01-16T13:06:31Z")

</div>

Hello, I was wondering if someone could explain how I can drag and drop an object if its part of an arrayList. I know how to look if the mouse is inside or how to remove it but for a drag and drop function I really have …

---

## [How to save your p5.js sketch as a GIF using CCapture.js](https://discourse.processing.org/t/how-to-save-your-p5-js-sketch-as-a-gif-using-ccapture-js/1264)

<div class="topic-metadata">

**Author:** [@okliis](https://discourse.processing.org/u/okliis)\
**Replies:** 7\
**Last updated:** [January 15, 2022, 11:26pm UTC](https://discourse.processing.org/t/how-to-save-your-p5-js-sketch-as-a-gif-using-ccapture-js/1264 "2022-01-15T23:26:51Z")

</div>

Hello everyone, I recently figured out how to save my canvas as a GIF using Ccapture.js - something I’ve been trying to do since I started using p5.js a few months ago - so I made a video on how to get it working with a…

---

## [Truchet Tiling Variations](https://discourse.processing.org/t/truchet-tiling-variations/23890)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 6\
**Last updated:** [January 15, 2022, 10:37pm UTC](https://discourse.processing.org/t/truchet-tiling-variations/23890 "2022-01-15T22:37:35Z")

</div>

I recently came across a Truchet Tiling sketch by Jim Bumgardner where he created off screen images of the tiles and had a neat trick to avoid double nested loops when creating the grid. It seemed to me this was an ideal…

---

## [Truchet tiles quarter circles](https://discourse.processing.org/t/truchet-tiles-quarter-circles/33786)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 7\
**Last updated:** [January 15, 2022, 10:23pm UTC](https://discourse.processing.org/t/truchet-tiles-quarter-circles/33786 "2022-01-15T22:23:54Z")

</div>

Hi there! I am trying to adapt a truchet tiles Code but I think that I have made a mess :sweat\_smile: I don’t undestand very well Range() in spite i have seen reference. Could you tell me what I have doing wrong, please…

---

## [Arduino controlled soundfile in Processing](https://discourse.processing.org/t/arduino-controlled-soundfile-in-processing/34564)

<div class="topic-metadata">

**Author:** [@aejstr20](https://discourse.processing.org/u/aejstr20)\
**Replies:** 3\
**Last updated:** [January 15, 2022, 9:27pm UTC](https://discourse.processing.org/t/arduino-controlled-soundfile-in-processing/34564 "2022-01-15T21:27:04Z")

</div>

So, me and my group are trying to control a soundfile in Processing through a potentiometer and sensor data from an Arduino UNO. We’re controlling it’s attributes (specifically pitch) through the beads library. However, …

---

## [Beads library and Arduino controller](https://discourse.processing.org/t/beads-library-and-arduino-controller/34639)

<div class="topic-metadata">

**Author:** [@aejstr20](https://discourse.processing.org/u/aejstr20)\
**Replies:** 0\
**Last updated:** [January 15, 2022, 4:59pm UTC](https://discourse.processing.org/t/beads-library-and-arduino-controller/34639 "2022-01-15T16:59:16Z")

</div>

Hey everyone! So, as some of you might’ve seen over the last couple of days, me and my group are working on a project, where sensor values from an Arduino need to control some sort of sound input. At this point, we’ve g…

---

## [Can I draw a figure every x milliseconds?](https://discourse.processing.org/t/can-i-draw-a-figure-every-x-milliseconds/34611)

<div class="topic-metadata">

**Author:** [@Patriche98](https://discourse.processing.org/u/Patriche98)\
**Replies:** 5\
**Last updated:** [January 14, 2022, 12:02pm UTC](https://discourse.processing.org/t/can-i-draw-a-figure-every-x-milliseconds/34611 "2022-01-14T12:02:36Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi! I’m new to programming and I’m challenging myself trying to: -Draw a vertical line that moves to the left (or right) of the screen every x …

---

## [Create a wall made of cube](https://discourse.processing.org/t/create-a-wall-made-of-cube/34532)

<div class="topic-metadata">

**Author:** [@Bapoivre](https://discourse.processing.org/u/Bapoivre)\
**Replies:** 3\
**Last updated:** [January 14, 2022, 10:10pm UTC](https://discourse.processing.org/t/create-a-wall-made-of-cube/34532 "2022-01-14T22:10:01Z")

</div>

Hello, I am having a hard time solving a problem. To make it simple : I created a cube using quad, and I want to make a wall made of these cubes, so they have to all stick together. Here is the code float x1 = 0; flo…

---

## [Error at start of "3D Drawing" Chapter 16](https://discourse.processing.org/t/error-at-start-of-3d-drawing-chapter-16/34497)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 3\
**Last updated:** [January 14, 2022, 11:54pm UTC](https://discourse.processing.org/t/error-at-start-of-3d-drawing-chapter-16/34497 "2022-01-14T23:54:04Z")

</div>

Just starting out the 16th Chapter of “Processing: A Programming Handbook for Visual Designers and Artists” and I ran into an error of sorts on the first example. I am getting some red warnings and the program won’t run…

---

## [Need help making all circles flicker](https://discourse.processing.org/t/need-help-making-all-circles-flicker/34618)

<div class="topic-metadata">

**Author:** [@processingboy1](https://discourse.processing.org/u/processingboy1)\
**Replies:** 1\
**Last updated:** [January 14, 2022, 1:13pm UTC](https://discourse.processing.org/t/need-help-making-all-circles-flicker/34618 "2022-01-14T13:13:15Z")

</div>

Hey! i am trying to make all the circles i draw flicker in my code. i am currently able to make the latest circle that was drawn to flicker but the goal is to make all the circles on the canvas flicker. here is my code…

---

## [How to overlay a map on a radar style display](https://discourse.processing.org/t/how-to-overlay-a-map-on-a-radar-style-display/34498)

<div class="topic-metadata">

**Author:** [@rajiv.tctech](https://discourse.processing.org/u/rajiv.tctech)\
**Replies:** 6\
**Last updated:** [January 14, 2022, 7:24am UTC](https://discourse.processing.org/t/how-to-overlay-a-map-on-a-radar-style-display/34498 "2022-01-14T07:24:15Z")

</div>

I have built a radar simulator and display. The range and azimuth are fed to the Processing program via USB serial. I have a timebase rotating around the screen, following the azimuth being sent to the USB serial. I have…

---

## [Does Processing have default values for certain alphabets?](https://discourse.processing.org/t/does-processing-have-default-values-for-certain-alphabets/34574)

<div class="topic-metadata">

**Author:** [@prathmesh](https://discourse.processing.org/u/prathmesh)\
**Replies:** 2\
**Last updated:** [January 13, 2022, 10:39pm UTC](https://discourse.processing.org/t/does-processing-have-default-values-for-certain-alphabets/34574 "2022-01-13T22:39:51Z")

</div>

Namaste All, So I wrote the following code : void setup(){ } void draw(){ println(X); } This gives me a value of 0. If I do the same thing with Y it gives a value of 1, with Z a value of 2. Doesn’t work with all th…

---

## [Making a brick breaker in OOP](https://discourse.processing.org/t/making-a-brick-breaker-in-oop/34608)

<div class="topic-metadata">

**Author:** [@Antoine](https://discourse.processing.org/u/Antoine)\
**Replies:** 4\
**Last updated:** [January 13, 2022, 9:18pm UTC](https://discourse.processing.org/t/making-a-brick-breaker-in-oop/34608 "2022-01-13T21:18:17Z")

</div>

Can someone pls help me making my homework which is to do a brick breaker game in class (POO) in python. I have to do multiple levels and I cannot figure how to do that. This is what I have already done: For the game i…

---

## [Heap Memory Issue](https://discourse.processing.org/t/heap-memory-issue/34501)

<div class="topic-metadata">

**Author:** [@Noxus010](https://discourse.processing.org/u/Noxus010)\
**Replies:** 2\
**Last updated:** [January 13, 2022, 9:05pm UTC](https://discourse.processing.org/t/heap-memory-issue/34501 "2022-01-13T21:05:46Z")

</div>

After two days of being frustrated I will post this here… I am constantly getting error in processing 4 (latest version). Consistent crashes and I can’t seem to find a way around it. I tried some of the examples, and th…

---

## [How to move something to where something else will be?](https://discourse.processing.org/t/how-to-move-something-to-where-something-else-will-be/34545)

<div class="topic-metadata">

**Author:** [@millibyte](https://discourse.processing.org/u/millibyte)\
**Replies:** 2\
**Last updated:** [January 13, 2022, 1:35am UTC](https://discourse.processing.org/t/how-to-move-something-to-where-something-else-will-be/34545 "2022-01-13T01:35:12Z")

</div>

I am writing a football video game, and I just started the passing system. I am trying to figure out how to place the ball where the receiver will be. Here’s what I’m working with: A Player object has a position and vel…

---

## [Displaying an image web-editor openprocessing.org](https://discourse.processing.org/t/displaying-an-image-web-editor-openprocessing-org/34563)

<div class="topic-metadata">

**Author:** [@kenjones](https://discourse.processing.org/u/kenjones)\
**Replies:** 36\
**Last updated:** [January 13, 2022, 5:58am UTC](https://discourse.processing.org/t/displaying-an-image-web-editor-openprocessing-org/34563 "2022-01-13T05:58:04Z")

</div>

I am simply trying to display an image and I’m not getting what I expect. The 1624 × 1934 image is displayed as a small brown square in the middle of the screen. I have two questions: Why isn’t the image displayed in t…

---

## [Hitomezashi\_stitchPattern](https://discourse.processing.org/t/hitomezashi-stitchpattern/34281)

<div class="topic-metadata">

**Author:** [@svan](https://discourse.processing.org/u/svan)\
**Replies:** 0\
**Last updated:** [December 25, 2021, 3:40am UTC](https://discourse.processing.org/t/hitomezashi-stitchpattern/34281 "2021-12-25T03:40:06Z")

</div>

This Processing demo was inspired by the following video: https://www.youtube.com/watch?v=JbfhzlMk2eY . It uses two line grids, one for the horizontal stitches and one for the vertical stitches. XOffset is the distanc…

---

## [Simple trajectory calculating](https://discourse.processing.org/t/simple-trajectory-calculating/34413)

<div class="topic-metadata">

**Author:** [@Coyote35](https://discourse.processing.org/u/Coyote35)\
**Replies:** 5\
**Last updated:** [January 12, 2022, 10:40pm UTC](https://discourse.processing.org/t/simple-trajectory-calculating/34413 "2022-01-12T22:40:53Z")

</div>

Hi, I’m trying to develop a little sketch that manages the trajectory of balls that fall from the top of the canvas, as shown on this diagram. I want each ball thrown from the top of the canvas to have a trajectory tha…

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

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