# Latest

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

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

**Page:** 315

---

## [The Art of Creative Coding \[lockdown edition\]](https://discourse.processing.org/t/the-art-of-creative-coding-lockdown-edition/22040)

<div class="topic-metadata">

**Author:** [@George](https://discourse.processing.org/u/George)\
**Replies:** 1\
**Last updated:** [August 17, 2020, 10:28pm UTC](https://discourse.processing.org/t/the-art-of-creative-coding-lockdown-edition/22040 "2020-08-17T22:28:43Z")

</div>

Check out Jessica In’s Processing workshop: Topics: Examples of creative coding in art and in design practice How to write your own creative code Pattern creation Image sampling …

---

## [PDF export with createGraphics won't play nice with selectOutput file selector](https://discourse.processing.org/t/pdf-export-with-creategraphics-wont-play-nice-with-selectoutput-file-selector/23289)

<div class="topic-metadata">

**Author:** [@raron](https://discourse.processing.org/u/raron)\
**Replies:** 1\
**Last updated:** [August 17, 2020, 4:37pm UTC](https://discourse.processing.org/t/pdf-export-with-creategraphics-wont-play-nice-with-selectoutput-file-selector/23289 "2020-08-17T16:37:22Z")

</div>

I might be a bit over my head, apologies for the semi-long sketch and wall-of-text. I’m really puzzled by this! I have a sketch with a PDF export that works great on it’s own, but that just saves a file in the sketch fo…

---

## [Whack-A-Mole Game](https://discourse.processing.org/t/whack-a-mole-game/23113)

<div class="topic-metadata">

**Author:** [@chemicalite](https://discourse.processing.org/u/chemicalite)\
**Replies:** 9\
**Last updated:** [August 17, 2020, 2:30pm UTC](https://discourse.processing.org/t/whack-a-mole-game/23113 "2020-08-17T14:30:14Z")

</div>

Hello there! I am a somewhat beginner in Processing. So far, all I’ve learned is for and while loops, simple animation, if and if else statements, drawing primitives, and some other related things along with relative ba…

---

## [Ideas which I want to realize in Processing](https://discourse.processing.org/t/ideas-which-i-want-to-realize-in-processing/23130)

<div class="topic-metadata">

**Author:** [@yhlaskerimov](https://discourse.processing.org/u/yhlaskerimov)\
**Replies:** 23\
**Last updated:** [August 17, 2020, 11:18am UTC](https://discourse.processing.org/t/ideas-which-i-want-to-realize-in-processing/23130 "2020-08-17T11:18:06Z")

</div>

Hello, everyone. I wanna give a motion to texts like this. Can we do it in processing ? If we can, who has an idea how to do it ? Thanks everyone who answers)

---

## [Notarizing exported application on macOS 10.15 (Catalina)](https://discourse.processing.org/t/notarizing-exported-application-on-macos-10-15-catalina/22622)

<div class="topic-metadata">

**Author:** [@seth.bashford](https://discourse.processing.org/u/seth.bashford)\
**Replies:** 1\
**Last updated:** [August 17, 2020, 10:29am UTC](https://discourse.processing.org/t/notarizing-exported-application-on-macos-10-15-catalina/22622 "2020-08-17T10:29:26Z")

</div>

I am trying to notarize an exported application on macOS 10.15 (Catalina) as it is required. My steps are as follows. Export application without embedding Java. “JDK 14 is the first release that complies with the new m…

---

## [Any plans to include a LISP mode for processing?](https://discourse.processing.org/t/any-plans-to-include-a-lisp-mode-for-processing/23301)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 2\
**Last updated:** [August 17, 2020, 9:34am UTC](https://discourse.processing.org/t/any-plans-to-include-a-lisp-mode-for-processing/23301 "2020-08-17T09:34:42Z")

</div>

Hi, Currently processing has programming language modes for JavaScript, Python. Are there any plans to include LISP (common LISP) as a mode in processing? Common LISP is a powerful AI language that i think would fit wel…

---

## [Text() overlaps itself every time draw() is called no matter what](https://discourse.processing.org/t/text-overlaps-itself-every-time-draw-is-called-no-matter-what/23298)

<div class="topic-metadata">

**Author:** [@Crysp](https://discourse.processing.org/u/Crysp)\
**Replies:** 3\
**Last updated:** [August 17, 2020, 1:59am UTC](https://discourse.processing.org/t/text-overlaps-itself-every-time-draw-is-called-no-matter-what/23298 "2020-08-17T01:59:44Z")

</div>

I am trying to make Conway’s Game Of Life in Processing and everything works, but I want to have a textbox that shows how many generations have passed. I opted to use the text() command, which looks as follows: fill(255…

---

## [Rotate a smilie around its center](https://discourse.processing.org/t/rotate-a-smilie-around-its-center/23291)

<div class="topic-metadata">

**Author:** [@txwgnd](https://discourse.processing.org/u/txwgnd)\
**Replies:** 2\
**Last updated:** [August 16, 2020, 7:36pm UTC](https://discourse.processing.org/t/rotate-a-smilie-around-its-center/23291 "2020-08-16T19:36:45Z")

</div>

Hello, i try to write a method that rotates my Smilie object around its center axis. The show() function draws the complete object based on the center coordinates. The problem is that when I try to rotate the whole th…

---

## [When is processing faster than p5?](https://discourse.processing.org/t/when-is-processing-faster-than-p5/23216)

<div class="topic-metadata">

**Author:** [@Hapiel](https://discourse.processing.org/u/Hapiel)\
**Replies:** 4\
**Last updated:** [August 16, 2020, 6:23pm UTC](https://discourse.processing.org/t/when-is-processing-faster-than-p5/23216 "2020-08-16T18:23:16Z")

</div>

Heya, I originally did a Processing course, and now discovered p5 which I prefer to use. Today I tried to follow this Processing tutorial in p5: https://timrodenbroeker.de/processing-tutorial-kinetic-typography-1/ It …

---

## [Tutorial: Locked Rotation with p5.easycam](https://discourse.processing.org/t/tutorial-locked-rotation-with-p5-easycam/23295)

<div class="topic-metadata">

**Author:** [@SamuelCobb](https://discourse.processing.org/u/SamuelCobb)\
**Replies:** 0\
**Last updated:** [August 16, 2020, 3:59pm UTC](https://discourse.processing.org/t/tutorial-locked-rotation-with-p5-easycam/23295 "2020-08-16T15:59:57Z")

</div>

Hey guys, I just wanted to share my experience and my newfound knowledge of easycam. This idea started when I wanted to smoothly move around a physics sim that I am working on. The freeness of the camera was slightly to…

---

## [Get() returns RGB values while the colorMode is set to HSB](https://discourse.processing.org/t/get-returns-rgb-values-while-the-colormode-is-set-to-hsb/22827)

<div class="topic-metadata">

**Author:** [@papaboo](https://discourse.processing.org/u/papaboo)\
**Replies:** 7\
**Last updated:** [August 16, 2020, 1:34pm UTC](https://discourse.processing.org/t/get-returns-rgb-values-while-the-colormode-is-set-to-hsb/22827 "2020-08-16T13:34:25Z")

</div>

I’ve swicthed to p5.js from Procesisng.js today (I’ll miss that dude) and already encountered a problem. get() returns an RGB value but my canvas is set to HSB mode. As far as I remember that wasn’t happening when I was…

---

## [Trouble with P3D box edges clipping](https://discourse.processing.org/t/trouble-with-p3d-box-edges-clipping/23201)

<div class="topic-metadata">

**Author:** [@Natalie](https://discourse.processing.org/u/Natalie)\
**Replies:** 13\
**Last updated:** [August 16, 2020, 6:57am UTC](https://discourse.processing.org/t/trouble-with-p3d-box-edges-clipping/23201 "2020-08-16T06:57:38Z")

</div>

Hello everyone! New to the forum, all help is appreciated! I’m working on a P3D project and am drawing boxes with a stroke on the edges. The issue that I noticed is that when I move around them (I’m using queasycam) the…

---

## [Looping logical operators?](https://discourse.processing.org/t/looping-logical-operators/23267)

<div class="topic-metadata">

**Author:** [@eltrem](https://discourse.processing.org/u/eltrem)\
**Replies:** 2\
**Last updated:** [August 15, 2020, 4:51pm UTC](https://discourse.processing.org/t/looping-logical-operators/23267 "2020-08-15T16:51:06Z")

</div>

Hi all! I’m wondering if there’s a way to evaluate operators in a loop… ooops…i hope this statement makes any sense… maybe it is better if i show my code first: for(int i=0; i\<height; i++){ if((scalenotes.hasVal…

---

## [Println(what); - "what" argument datatype](https://discourse.processing.org/t/println-what-what-argument-datatype/23221)

<div class="topic-metadata">

**Author:** [@Natalie](https://discourse.processing.org/u/Natalie)\
**Replies:** 10\
**Last updated:** [August 15, 2020, 4:27pm UTC](https://discourse.processing.org/t/println-what-what-argument-datatype/23221 "2020-08-15T16:27:59Z")

</div>

I’m making a debug tool in which I can print out values on a gui every frame, and I want to be able to input any type of value—much like how println/print works. After looking at the reference page, I noticed how it sai…

---

## [No shading after flipping x axis wth scale(-1, 1, 1). How to fix this?](https://discourse.processing.org/t/no-shading-after-flipping-x-axis-wth-scale-1-1-1-how-to-fix-this/23177)

<div class="topic-metadata">

**Author:** [@brcow](https://discourse.processing.org/u/brcow)\
**Replies:** 8\
**Last updated:** [August 15, 2020, 2:33pm UTC](https://discourse.processing.org/t/no-shading-after-flipping-x-axis-wth-scale-1-1-1-how-to-fix-this/23177 "2020-08-15T14:33:14Z")

</div>

The following simple code works perfectly. But the shading is gone if I enable scale(-1, 1, 1). What is the proper way to flip the object with respect to y-z plane without losing shading? I guess this may be caused by cu…

---

## [Drawing inside the box()](https://discourse.processing.org/t/drawing-inside-the-box/23133)

<div class="topic-metadata">

**Author:** [@nokkoran](https://discourse.processing.org/u/nokkoran)\
**Replies:** 3\
**Last updated:** [August 15, 2020, 12:19am UTC](https://discourse.processing.org/t/drawing-inside-the-box/23133 "2020-08-15T00:19:08Z")

</div>

function setup() { createCanvas(400, 400, WEBGL); } function draw() { background(255); rotateX(frameCount \* 0.01); rotateY(frameCount \* 0.01); noStroke(); fill(0); box(150); } I have this code and i want…

---

## [Using class specific vectors(?) outside class](https://discourse.processing.org/t/using-class-specific-vectors-outside-class/23269)

<div class="topic-metadata">

**Author:** [@JunQu](https://discourse.processing.org/u/JunQu)\
**Replies:** 1\
**Last updated:** [August 15, 2020, 11:04am UTC](https://discourse.processing.org/t/using-class-specific-vectors-outside-class/23269 "2020-08-15T11:04:18Z")

</div>

My problem is, that I need two different positions for a collision, that will later result in a “you died” or “game over” screen. For now. Although my two positions are in two different classes. I have tried creating a c…

---

## [How Can I crop an image in processing js with javascript?](https://discourse.processing.org/t/how-can-i-crop-an-image-in-processing-js-with-javascript/2048)

<div class="topic-metadata">

**Author:** [@donammar](https://discourse.processing.org/u/donammar)\
**Replies:** 3\
**Last updated:** [August 15, 2020, 10:16am UTC](https://discourse.processing.org/t/how-can-i-crop-an-image-in-processing-js-with-javascript/2048 "2020-08-15T10:16:49Z")

</div>

How Can I crop an image in processing js with javascript ?

---

## [Drawing with custom function on p5.Graphics layer](https://discourse.processing.org/t/drawing-with-custom-function-on-p5-graphics-layer/23268)

<div class="topic-metadata">

**Author:** [@Hapiel](https://discourse.processing.org/u/Hapiel)\
**Replies:** 3\
**Last updated:** [August 15, 2020, 9:36am UTC](https://discourse.processing.org/t/drawing-with-custom-function-on-p5-graphics-layer/23268 "2020-08-15T09:36:44Z")

</div>

Hiya, I wrote a function which draws a shape for me, and now I want to draw that shape onto a p5.Graphics layer. How do I do that? Normally I write myGraphics.ellipse(0,0,10); which works fine, but I can’t write: myGr…

---

## [Is the p5.js editor broken?](https://discourse.processing.org/t/is-the-p5-js-editor-broken/23209)

<div class="topic-metadata">

**Author:** [@darkglove](https://discourse.processing.org/u/darkglove)\
**Replies:** 6\
**Last updated:** [August 14, 2020, 11:38pm UTC](https://discourse.processing.org/t/is-the-p5-js-editor-broken/23209 "2020-08-14T23:38:07Z")

</div>

I can’t see anything in the preview browser on multiple browsers, same for example codes I also have a sketch embedded in a site (for ages) and that isn’t showing up either EDIT: Not paying attention to where I’m posti…

---

## [Help with Error](https://discourse.processing.org/t/help-with-error/23261)

<div class="topic-metadata">

**Author:** [@doggointhehouse](https://discourse.processing.org/u/doggointhehouse)\
**Replies:** 1\
**Last updated:** [August 14, 2020, 9:00pm UTC](https://discourse.processing.org/t/help-with-error/23261 "2020-08-14T21:00:33Z")

</div>

Hello, I am trying to make a program. However, after I run the project every so often. I get this huge long error. Sometimes, it happens after I run my program once, or after a few times. java.lang.Exception at process…

---

## [Animation with 3 different sketches combined using Switch with keyboard input](https://discourse.processing.org/t/animation-with-3-different-sketches-combined-using-switch-with-keyboard-input/23258)

<div class="topic-metadata">

**Author:** [@Gus\_Fermin](https://discourse.processing.org/u/Gus_Fermin)\
**Replies:** 11\
**Last updated:** [August 14, 2020, 6:20pm UTC](https://discourse.processing.org/t/animation-with-3-different-sketches-combined-using-switch-with-keyboard-input/23258 "2020-08-14T18:20:35Z")

</div>

Hi there, I am combining 3 different (but similar) sketches into one sketch, and using switch to change states. Using the keyboard input of ‘1’, ‘2’, ‘3’. However, my sketch does not switch when I press the keys. Becaus…

---

## [I need a line with different random numbers that have been picked once](https://discourse.processing.org/t/i-need-a-line-with-different-random-numbers-that-have-been-picked-once/23163)

<div class="topic-metadata">

**Author:** [@lu\_mime](https://discourse.processing.org/u/lu_mime)\
**Replies:** 2\
**Last updated:** [August 10, 2020, 8:18am UTC](https://discourse.processing.org/t/i-need-a-line-with-different-random-numbers-that-have-been-picked-once/23163 "2020-08-10T08:18:26Z")

</div>

I’m trying to solve an exercise, that i have to do a line, with for cycle. I need that it looks like this 6 8 9 3 1 but the only thing that I have is multiple numbers, in the same place, multiple times. I don’t kno…

---

## [Get height of text with wrapping](https://discourse.processing.org/t/get-height-of-text-with-wrapping/16087)

<div class="topic-metadata">

**Author:** [@jeffthompson](https://discourse.processing.org/u/jeffthompson)\
**Replies:** 10\
**Last updated:** [August 14, 2020, 2:23pm UTC](https://discourse.processing.org/t/get-height-of-text-with-wrapping/16087 "2020-08-14T14:23:17Z")

</div>

I love the wrapping function in text(), which does a great job. But I wish I could get the height of the block it creates so I can place further text below it. I’ve got a pretty kludgy version going here, which creates …

---

## [Random custom 3d model / P5js](https://discourse.processing.org/t/random-custom-3d-model-p5js/23253)

<div class="topic-metadata">

**Author:** [@HelloP5js](https://discourse.processing.org/u/HelloP5js)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 1:20pm UTC](https://discourse.processing.org/t/random-custom-3d-model-p5js/23253 "2020-08-14T13:20:35Z")

</div>

Hi, I’ve been following this amazing tutorial and trying to make it work with custom 3d object. So my goal is to get random 3d objects in random locations. I’m a beginner in p5.js and I’ve spent a long time watching tu…

---

## [P3D confusion with translate() and collision](https://discourse.processing.org/t/p3d-confusion-with-translate-and-collision/23249)

<div class="topic-metadata">

**Author:** [@qewer3322](https://discourse.processing.org/u/qewer3322)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 11:10am UTC](https://discourse.processing.org/t/p3d-confusion-with-translate-and-collision/23249 "2020-08-14T11:10:03Z")

</div>

So I decided to try and experiment a bit with P3D. I researched about it, borrowed some code, wrote my own and came up with this thing: import java.awt.MouseInfo; import java.awt.Point; import java.awt.Robot; import jav…

---

## [OpenProcessing: Cannot read property 'bind' of null](https://discourse.processing.org/t/openprocessing-cannot-read-property-bind-of-null/23245)

<div class="topic-metadata">

**Author:** [@Devolian](https://discourse.processing.org/u/Devolian)\
**Replies:** 2\
**Last updated:** [August 14, 2020, 6:19am UTC](https://discourse.processing.org/t/openprocessing-cannot-read-property-bind-of-null/23245 "2020-08-14T06:19:19Z")

</div>

I am in the process of putting a project of mine on OpenProcessing, and although it works just fine in both the Eclipse IDE and the Processing IDE, it won’t work on OpenProcessing. I have gotten through most of the erro…

---

## [Using opencv with processing](https://discourse.processing.org/t/using-opencv-with-processing/14148)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 7\
**Last updated:** [August 14, 2020, 5:43am UTC](https://discourse.processing.org/t/using-opencv-with-processing/14148 "2020-08-14T05:43:33Z")

</div>

I intend to use opencv with processing for face detection while the examples are explicit in how to do face detection on a static image when i am trying to apply that using video from a webcam the method is not working …

---

## [\[Processing 3\] Mac OS Catalina audio signal](https://discourse.processing.org/t/processing-3-mac-os-catalina-audio-signal/18056)

<div class="topic-metadata">

**Author:** [@felice.c](https://discourse.processing.org/u/felice.c)\
**Replies:** 4\
**Last updated:** [August 14, 2020, 1:42am UTC](https://discourse.processing.org/t/processing-3-mac-os-catalina-audio-signal/18056 "2020-08-14T01:42:17Z")

</div>

Hello to all, I’m trying to get the audio signal from my computer, I’m using the example sketch which is present in the example of the audio library but nothing happens. Digging into Google maybe I found a solution but…

---

## [Toxiclibs particle question](https://discourse.processing.org/t/toxiclibs-particle-question/23242)

<div class="topic-metadata">

**Author:** [@cdaein](https://discourse.processing.org/u/cdaein)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 1:36am UTC](https://discourse.processing.org/t/toxiclibs-particle-question/23242 "2020-08-14T01:36:10Z")

</div>

Hi, I am trying to figure out toxiclibs VerletPhysics2D and AttractionBehavior2D. What I want to achieve is that use the attractor so the small particles will be attracted to the big center circle but do not go inside …

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

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