# Latest

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

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

**Page:** 305

---

## [Ketai camera not working](https://discourse.processing.org/t/ketai-camera-not-working/24026)

<div class="topic-metadata">

**Author:** [@JoLi](https://discourse.processing.org/u/JoLi)\
**Replies:** 1\
**Last updated:** [September 22, 2020, 10:21am UTC](https://discourse.processing.org/t/ketai-camera-not-working/24026 "2020-09-22T10:21:01Z")

</div>

Hi, I wanted to use ketaicam in APDE, but it doesn’t work I gave camera permission,but I always get the error " java.lang.NoClassDefFoundError: Failed resolution of: Lketai/camera/KetaiCamera; at processing.test.ske…

---

## [How to create "Page Peel" or "Page Turn" effect in Processing?](https://discourse.processing.org/t/how-to-create-page-peel-or-page-turn-effect-in-processing/23193)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 11\
**Last updated:** [September 22, 2020, 9:14am UTC](https://discourse.processing.org/t/how-to-create-page-peel-or-page-turn-effect-in-processing/23193 "2020-09-22T09:14:31Z")

</div>

I am looking to recreate the “page turn” or “page peel” effect in Processing for a project. I have a string of text I am displaying and I want to have this page peel away to reveal another page underneath. What do I ne…

---

## [Building a minimalist watch](https://discourse.processing.org/t/building-a-minimalist-watch/24019)

<div class="topic-metadata">

**Author:** [@Milchreis](https://discourse.processing.org/u/Milchreis)\
**Replies:** 2\
**Last updated:** [September 22, 2020, 8:19am UTC](https://discourse.processing.org/t/building-a-minimalist-watch/24019 "2020-09-22T08:19:07Z")

</div>

hi everybody, last weekend I developed a minimalist watch in P5js. I recorded the process and edited it with some LoFi music. It’s a kind of a tutorial, but not as a typical one. Maybe it helps you for your upcoming pro…

---

## [Removing Border from Processing Screen](https://discourse.processing.org/t/removing-border-from-processing-screen/23965)

<div class="topic-metadata">

**Author:** [@BuffaloFan32](https://discourse.processing.org/u/BuffaloFan32)\
**Replies:** 8\
**Last updated:** [September 22, 2020, 1:21am UTC](https://discourse.processing.org/t/removing-border-from-processing-screen/23965 "2020-09-22T01:21:20Z")

</div>

I wrote the script below that takes part of my computer screen and shows a smaller version of it in a tiny window in the corner. I found a helpful thread that helped me remove the toolbar from the top of the window but …

---

## [Timers Not Frame Rate Dependent & Starting On Demand - Oh Please Oh Please :)](https://discourse.processing.org/t/timers-not-frame-rate-dependent-starting-on-demand-oh-please-oh-please/23994)

<div class="topic-metadata">

**Author:** [@mnoble](https://discourse.processing.org/u/mnoble)\
**Replies:** 11\
**Last updated:** [September 21, 2020, 11:44pm UTC](https://discourse.processing.org/t/timers-not-frame-rate-dependent-starting-on-demand-oh-please-oh-please/23994 "2020-09-21T23:44:06Z")

</div>

Hello Forum, I am making interactive visualizers that coordinate with sequenced visual automations and sound. I need to start a timer after a button is pushed (which I am pretty sure you can’t do with millis()) and I c…

---

## [Is millis() heavy on CPU program efficiency?](https://discourse.processing.org/t/is-millis-heavy-on-cpu-program-efficiency/23266)

<div class="topic-metadata">

**Author:** [@mnoble](https://discourse.processing.org/u/mnoble)\
**Replies:** 8\
**Last updated:** [September 21, 2020, 10:43pm UTC](https://discourse.processing.org/t/is-millis-heavy-on-cpu-program-efficiency/23266 "2020-09-21T22:43:23Z")

</div>

Hello Forum, I am working a project running p5js sketches from Open Processing on mobile devices. I have the need to create a series of timed events with millis() but this slowing things down greatly! Are there efficien…

---

## [Canvas not appearing in Div](https://discourse.processing.org/t/canvas-not-appearing-in-div/24008)

<div class="topic-metadata">

**Author:** [@minirachel](https://discourse.processing.org/u/minirachel)\
**Replies:** 2\
**Last updated:** [September 21, 2020, 10:13pm UTC](https://discourse.processing.org/t/canvas-not-appearing-in-div/24008 "2020-09-21T22:13:24Z")

</div>

Hi, I’m brand new. I’m building a project that relies on a section in the middle of the website generating a random output from a list. This is my p5 code: let words = \["stretching", "drink water", "sun" \] function set…

---

## [Processing resizing and changing sketch to and from fullScreen() mid sketch](https://discourse.processing.org/t/processing-resizing-and-changing-sketch-to-and-from-fullscreen-mid-sketch/24005)

<div class="topic-metadata">

**Author:** [@kikomali2517](https://discourse.processing.org/u/kikomali2517)\
**Replies:** 0\
**Last updated:** [September 21, 2020, 9:02pm UTC](https://discourse.processing.org/t/processing-resizing-and-changing-sketch-to-and-from-fullscreen-mid-sketch/24005 "2020-09-21T21:02:18Z")

</div>

This might not sound useful but It took me a some time to get this working so I figured someone might find it useful. Here is the code to be able to resize the sketch and switch it to and from fullscreen while it is run…

---

## [OutOfMemoryError](https://discourse.processing.org/t/outofmemoryerror/24004)

<div class="topic-metadata">

**Author:** [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Replies:** 1\
**Last updated:** [September 21, 2020, 7:42pm UTC](https://discourse.processing.org/t/outofmemoryerror/24004 "2020-09-21T19:42:32Z")

</div>

Why do you think I am getting this error message? “java.lang.OutOfMemoryError: Cannot allocate new IntPointer(1): totalBytes = 8, physicalBytes = 7249M” I think it’s because of this class I wrote that colors a greyscal…

---

## [Accessing individual channel values of a color var?](https://discourse.processing.org/t/accessing-individual-channel-values-of-a-color-var/23993)

<div class="topic-metadata">

**Author:** [@pablohotsauce](https://discourse.processing.org/u/pablohotsauce)\
**Replies:** 4\
**Last updated:** [September 21, 2020, 4:55pm UTC](https://discourse.processing.org/t/accessing-individual-channel-values-of-a-color-var/23993 "2020-09-21T16:55:39Z")

</div>

I’m trying to access the individual RGBA channel values of a color variable in Processing. In p5, it seems like color variables are objects, and they have a property called levels, which is an array, which can spit out …

---

## [PraxisLIVE v5 beta-1, libp5x and LWJGL renderer](https://discourse.processing.org/t/praxislive-v5-beta-1-libp5x-and-lwjgl-renderer/22932)

<div class="topic-metadata">

**Author:** [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Replies:** 8\
**Last updated:** [September 21, 2020, 3:40pm UTC](https://discourse.processing.org/t/praxislive-v5-beta-1-libp5x-and-lwjgl-renderer/22932 "2020-09-21T15:40:04Z")

</div>

We’ve just released our first beta of PraxisLIVE v5 at https://github.com/praxis-live/praxis-live/releases and would love to get some testing. PraxisLIVE is a live programming IDE and runtime for Java, and it includes Pr…

---

## [About the draw function](https://discourse.processing.org/t/about-the-draw-function/23974)

<div class="topic-metadata">

**Author:** [@Willian\_Xz](https://discourse.processing.org/u/Willian_Xz)\
**Replies:** 11\
**Last updated:** [September 21, 2020, 1:05pm UTC](https://discourse.processing.org/t/about-the-draw-function/23974 "2020-09-21T13:05:39Z")

</div>

Hello people!! I built a code on a lamp that goes on and off, the idea was to talk about the frequency in Hertz that a common lamp goes on and off, so I created a “simulation” of it. The draw function as far as I know …

---

## [Why P2D is slower than default renderer？](https://discourse.processing.org/t/why-p2d-is-slower-than-default-renderer/23897)

<div class="topic-metadata">

**Author:** [@IpNeNaEcRe](https://discourse.processing.org/u/IpNeNaEcRe)\
**Replies:** 8\
**Last updated:** [September 21, 2020, 10:12am UTC](https://discourse.processing.org/t/why-p2d-is-slower-than-default-renderer/23897 "2020-09-21T10:12:33Z")

</div>

Why P2D is much slower than default renderer? Here is the number of bubbles makes the FPS slower than 30. Default renderer: click 28 times(2800 bubbles) P2D: click 3 times(300 bubbles) P3D: click 55 times(5500 bub…

---

## [Moving a ellipse on a grid with arrow keys](https://discourse.processing.org/t/moving-a-ellipse-on-a-grid-with-arrow-keys/23987)

<div class="topic-metadata">

**Author:** [@Reynaert98](https://discourse.processing.org/u/Reynaert98)\
**Replies:** 3\
**Last updated:** [September 21, 2020, 9:56am UTC](https://discourse.processing.org/t/moving-a-ellipse-on-a-grid-with-arrow-keys/23987 "2020-09-21T09:56:32Z")

</div>

I have an ellipse that can move on a grid by using the arrow keys. I can move the ellipse but since it’s a function called within draw it keeps creating circles after moving with it. I know using background() in draw can…

---

## [Implementing WEBGL 3D with graphics objects](https://discourse.processing.org/t/implementing-webgl-3d-with-graphics-objects/23989)

<div class="topic-metadata">

**Author:** [@AlteredPhoenix](https://discourse.processing.org/u/AlteredPhoenix)\
**Replies:** 8\
**Last updated:** [September 21, 2020, 9:23am UTC](https://discourse.processing.org/t/implementing-webgl-3d-with-graphics-objects/23989 "2020-09-21T09:23:47Z")

</div>

Hello, I’m currently working on adding 3D functionality to a music visualizer program. Initially I planned to just add the WEBGL argument to the existing createCanvas(), but it caused formatting problems, so I switched t…

---

## [Recommendations for Java books / online classes?](https://discourse.processing.org/t/recommendations-for-java-books-online-classes/23972)

<div class="topic-metadata">

**Author:** [@pablohotsauce](https://discourse.processing.org/u/pablohotsauce)\
**Replies:** 3\
**Last updated:** [September 20, 2020, 10:50pm UTC](https://discourse.processing.org/t/recommendations-for-java-books-online-classes/23972 "2020-09-20T22:50:35Z")

</div>

I’m about to finish working through Make’s book Getting Started with Processing, 2nd ed. I want to get better at Java itself, with an eye towards Processing v4. As I understand it, Processing v4 will use Java 11, while t…

---

## [Class and arguments : can't make fish turn around](https://discourse.processing.org/t/class-and-arguments-cant-make-fish-turn-around/23937)

<div class="topic-metadata">

**Author:** [@vlafortune](https://discourse.processing.org/u/vlafortune)\
**Replies:** 11\
**Last updated:** [September 20, 2020, 11:16pm UTC](https://discourse.processing.org/t/class-and-arguments-cant-make-fish-turn-around/23937 "2020-09-20T23:16:59Z")

</div>

Hi! With p5.js, I made three fishes that move and have different colors and speed with arguments in a class. But when I tried to add conditional statements to turn around when reaching the border, it didn’t work and I c…

---

## [P5.js competition! js1024 is about to start!](https://discourse.processing.org/t/p5-js-competition-js1024-is-about-to-start/22241)

<div class="topic-metadata">

**Author:** [@nully](https://discourse.processing.org/u/nully)\
**Replies:** 3\
**Last updated:** [September 20, 2020, 10:11pm UTC](https://discourse.processing.org/t/p5-js-competition-js1024-is-about-to-start/22241 "2020-09-20T22:11:26Z")

</div>

JS1024 - 2020 Edition You can submit any p5.js projects under 1024 bytes :slight\_smile: Winner gets “fame” and 2$. This competition is very new, so share it everywhere you can :smiley:

---

## [Beginning ReacTIVision and Processing](https://discourse.processing.org/t/beginning-reactivision-and-processing/23795)

<div class="topic-metadata">

**Author:** [@AmberInteractive](https://discourse.processing.org/u/AmberInteractive)\
**Replies:** 1\
**Last updated:** [September 20, 2020, 9:53pm UTC](https://discourse.processing.org/t/beginning-reactivision-and-processing/23795 "2020-09-20T21:53:27Z")

</div>

Hi all! I’ve picked back up processing after a while for my uni honours project and I’m struggling to find information about installing reacTIVision and generally setting it up, there’s been a lot of dead links. Any up t…

---

## [Working on a Processing library/program to store all my most used/fav functions](https://discourse.processing.org/t/working-on-a-processing-library-program-to-store-all-my-most-used-fav-functions/15481)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 26\
**Last updated:** [September 20, 2020, 6:58pm UTC](https://discourse.processing.org/t/working-on-a-processing-library-program-to-store-all-my-most-used-fav-functions/15481 "2020-09-20T18:58:55Z")

</div>

Please feel free to check it out and give me some feedback, its just a start for now, and i will be improving it as I go along, I will be making another version with PVectors too. Things I plan to add in the future perl…

---

## [Close JPopupMenu on Keystroke](https://discourse.processing.org/t/close-jpopupmenu-on-keystroke/23961)

<div class="topic-metadata">

**Author:** [@Okaghana](https://discourse.processing.org/u/Okaghana)\
**Replies:** 1\
**Last updated:** [September 20, 2020, 4:30pm UTC](https://discourse.processing.org/t/close-jpopupmenu-on-keystroke/23961 "2020-09-20T16:30:08Z")

</div>

Hey Guys. Im creating tool to autocomplete Text for the Processing IDE. The following class Is the popup-menu that pops up to present the different fill-in possibilities: class Entry extends JPopupMenu implements KeyLis…

---

## [Error Message Help Pls](https://discourse.processing.org/t/error-message-help-pls/23924)

<div class="topic-metadata">

**Author:** [@BigBigRed](https://discourse.processing.org/u/BigBigRed)\
**Replies:** 2\
**Last updated:** [September 20, 2020, 1:28pm UTC](https://discourse.processing.org/t/error-message-help-pls/23924 "2020-09-20T13:28:11Z")

</div>

I am totally new to p5js. trying (I think) to execute p5js to run locally but get this error message from Windows. any ideas? I have no ideas.

---

## [Spherical Billboards](https://discourse.processing.org/t/spherical-billboards/23977)

<div class="topic-metadata">

**Author:** [@zackatoo](https://discourse.processing.org/u/zackatoo)\
**Replies:** 1\
**Last updated:** [September 20, 2020, 10:01am UTC](https://discourse.processing.org/t/spherical-billboards/23977 "2020-09-20T10:01:16Z")

</div>

I am trying to create a spherical billboard in the WEBGL version of p5.js. A spherical billboard is a 2D drawing which always faces the camera. I managed to create a cylindrical billboard (faces the camera, but only rota…

---

## [How to Can I turn a flat drawing into 3D?](https://discourse.processing.org/t/how-to-can-i-turn-a-flat-drawing-into-3d/23930)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 6\
**Last updated:** [September 20, 2020, 8:37am UTC](https://discourse.processing.org/t/how-to-can-i-turn-a-flat-drawing-into-3d/23930 "2020-09-20T08:37:10Z")

</div>

Can I turn a flat drawing into 3D? I want to change it like a slanted picture like a 3D feel. Is there any way?

---

## [Minim library: trying to make beautiful representations of chords but getting glitchy output](https://discourse.processing.org/t/minim-library-trying-to-make-beautiful-representations-of-chords-but-getting-glitchy-output/23921)

<div class="topic-metadata">

**Author:** [@gamgades](https://discourse.processing.org/u/gamgades)\
**Replies:** 2\
**Last updated:** [September 20, 2020, 5:32am UTC](https://discourse.processing.org/t/minim-library-trying-to-make-beautiful-representations-of-chords-but-getting-glitchy-output/23921 "2020-09-20T05:32:05Z")

</div>

Hey everybody, hope you’re all doing swell. I’m working on using the minim library’s oscillator generators to create static shapes with sounds by manipulating the note intervals. However, I’m running into a bit of an is…

---

## [Loading large amount of image files](https://discourse.processing.org/t/loading-large-amount-of-image-files/23971)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 1\
**Last updated:** [September 20, 2020, 5:16am UTC](https://discourse.processing.org/t/loading-large-amount-of-image-files/23971 "2020-09-20T05:16:49Z")

</div>

I have made an image viewer unfortunately it isn’t really efficient. I can only load a maximum of around 60 medium resolution images, anything high rez or in larger volumes and the program suffers from memory errors. My…

---

## [3 Body problem Solution Visualized (2D, 3D maybe coming later)](https://discourse.processing.org/t/3-body-problem-solution-visualized-2d-3d-maybe-coming-later/23877)

<div class="topic-metadata">

**Author:** [@B0tOx](https://discourse.processing.org/u/B0tOx)\
**Replies:** 6\
**Last updated:** [September 20, 2020, 4:24am UTC](https://discourse.processing.org/t/3-body-problem-solution-visualized-2d-3d-maybe-coming-later/23877 "2020-09-20T04:24:08Z")

</div>

Research Paper: By just playing around with Planetary systems that have more than 2 bodies (they can be utterly Complex and it is almost impossible to find a stable Constellation), you can easily see why such Solu…

---

## [How to initialize CLASS by it's own function?](https://discourse.processing.org/t/how-to-initialize-class-by-its-own-function/23946)

<div class="topic-metadata">

**Author:** [@IpNeNaEcRe](https://discourse.processing.org/u/IpNeNaEcRe)\
**Replies:** 2\
**Last updated:** [September 19, 2020, 9:34pm UTC](https://discourse.processing.org/t/how-to-initialize-class-by-its-own-function/23946 "2020-09-19T21:34:30Z")

</div>

I can assign a new value to the variables. But I can’t use constructor to initialize the variables in the object function. int nums = 20; Drop\[\] drops = new Drop\[nums\]; void setup() { size(800, 800); smooth(); …

---

## [Int array and Int dict](https://discourse.processing.org/t/int-array-and-int-dict/23879)

<div class="topic-metadata">

**Author:** [@rattus](https://discourse.processing.org/u/rattus)\
**Replies:** 6\
**Last updated:** [September 19, 2020, 7:53pm UTC](https://discourse.processing.org/t/int-array-and-int-dict/23879 "2020-09-19T19:53:54Z")

</div>

hi, i am foreign with java, and processing but i know just enough to “get around” now, i have a lattice/2d array, and I would like to assign a dictionary to each one ex: int myArray = new int\[2\]\[2\]; for (int x = 0;…

---

## [Text separation help](https://discourse.processing.org/t/text-separation-help/23859)

<div class="topic-metadata">

**Author:** [@DariusKempton](https://discourse.processing.org/u/DariusKempton)\
**Replies:** 8\
**Last updated:** [September 19, 2020, 7:45pm UTC](https://discourse.processing.org/t/text-separation-help/23859 "2020-09-19T19:45:15Z")

</div>

I am trying to create a Text Adventure game, but i am having problems trying to have both the title for the game and the game text display at the same time. Is there a way to create different text, so that i can have Sto…

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

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