# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=28

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

**Page:** 29

---

## [Creation of a tower with boxes](https://discourse.processing.org/t/creation-of-a-tower-with-boxes/43232)

<div class="topic-metadata">

**Author:** [@Smail\_OUABED](https://discourse.processing.org/u/Smail_OUABED)\
**Replies:** 24\
**Last updated:** [November 26, 2023, 1:15pm UTC](https://discourse.processing.org/t/creation-of-a-tower-with-boxes/43232 "2023-11-26T13:15:34Z")

</div>

we have a homework which asks us to create a tower, I directly thought of using iterations with boxes to create a wall which I will then turn according to a certain angle to form a tower I expected it to be feasible and …

---

## [Issue with VideoExport library by hamoid](https://discourse.processing.org/t/issue-with-videoexport-library-by-hamoid/43313)

<div class="topic-metadata">

**Author:** [@Altenblpc](https://discourse.processing.org/u/Altenblpc)\
**Replies:** 1\
**Last updated:** [November 26, 2023, 12:35pm UTC](https://discourse.processing.org/t/issue-with-videoexport-library-by-hamoid/43313 "2023-11-26T12:35:59Z")

</div>

I am attempting to use the VideoExport library by hamoid but am running into a compile exception with the error ClassNotFoundException: com.hamoid.VideoExport. This means even the example patch ‘basic’ from the library d…

---

## [Trying to create a city scape, but code is running very slow, can this be fixed by creating each tower as a PShape?](https://discourse.processing.org/t/trying-to-create-a-city-scape-but-code-is-running-very-slow-can-this-be-fixed-by-creating-each-tower-as-a-pshape/43306)

<div class="topic-metadata">

**Author:** [@mdrmx](https://discourse.processing.org/u/mdrmx)\
**Replies:** 3\
**Last updated:** [November 25, 2023, 8:49pm UTC](https://discourse.processing.org/t/trying-to-create-a-city-scape-but-code-is-running-very-slow-can-this-be-fixed-by-creating-each-tower-as-a-pshape/43306 "2023-11-25T20:49:17Z")

</div>

import peasy.\*; PeasyCam cam; float cubeSize = 15; float xoff = 0.5; PShape Box; Building\[\] city = new Building\[100\]; void setup() { //size( 1000, 1000, P3D); fullScreen(P3D); cam = new PeasyCam(this, width/2 -5…

---

## [How to specify files encoding?](https://discourse.processing.org/t/how-to-specify-files-encoding/43299)

<div class="topic-metadata">

**Author:** [@MGDSStudio](https://discourse.processing.org/u/MGDSStudio)\
**Replies:** 0\
**Last updated:** [November 24, 2023, 9:17pm UTC](https://discourse.processing.org/t/how-to-specify-files-encoding/43299 "2023-11-24T21:17:32Z")

</div>

I have troubles with deployment of my videogame for Windows 64 platform. After the export with embedded Java I can not read Cyrillic text from external files. This means - I can read normally Cyrrilc text from an externa…

---

## [Problem reading csv file in SecondApplet](https://discourse.processing.org/t/problem-reading-csv-file-in-secondapplet/43297)

<div class="topic-metadata">

**Author:** [@graham](https://discourse.processing.org/u/graham)\
**Replies:** 1\
**Last updated:** [November 24, 2023, 11:13am UTC](https://discourse.processing.org/t/problem-reading-csv-file-in-secondapplet/43297 "2023-11-24T11:13:47Z")

</div>

---

## [Having trouble with P3D and ControlP5 in m1 MAC](https://discourse.processing.org/t/having-trouble-with-p3d-and-controlp5-in-m1-mac/43294)

<div class="topic-metadata">

**Author:** [@eduzal](https://discourse.processing.org/u/eduzal)\
**Replies:** 1\
**Last updated:** [November 23, 2023, 10:04pm UTC](https://discourse.processing.org/t/having-trouble-with-p3d-and-controlp5-in-m1-mac/43294 "2023-11-23T22:04:35Z")

</div>

hi’m in an m1 mac now. i’ve written my code in 3.5.4 and it was working fine on an intel architecture. when moved to m1 it all became a catastrophe. the controlFrame won’t open code import websockets.\*; import controlP…

---

## [Video Library for Processing 4 does not run on this architecture](https://discourse.processing.org/t/video-library-for-processing-4-does-not-run-on-this-architecture/43292)

<div class="topic-metadata">

**Author:** [@Marc](https://discourse.processing.org/u/Marc)\
**Replies:** 0\
**Last updated:** [November 23, 2023, 11:36am UTC](https://discourse.processing.org/t/video-library-for-processing-4-does-not-run-on-this-architecture/43292 "2023-11-23T11:36:55Z")

</div>

Moving up to a pi 5 from 3…I run into the error “Video Library for Processing 4 does not run on this architecture : linux-aarch64” I’ve done something wrong and after hours of searching and trying…no idea where to turn n…

---

## [UPDATED: Creating a Game: Just need a kick in the right direction](https://discourse.processing.org/t/updated-creating-a-game-just-need-a-kick-in-the-right-direction/43287)

<div class="topic-metadata">

**Author:** [@beginn](https://discourse.processing.org/u/beginn)\
**Replies:** 1\
**Last updated:** [November 23, 2023, 6:06am UTC](https://discourse.processing.org/t/updated-creating-a-game-just-need-a-kick-in-the-right-direction/43287 "2023-11-23T06:06:43Z")

</div>

Hopefully I formatted this right… So this is the code I have so far on making a somewhat pong game but also that game where you bounce the ball off the bar (rect) (like that game where you break bricks with the ball). I …

---

## [Brand New the Processing - Need help!](https://discourse.processing.org/t/brand-new-the-processing-need-help/43286)

<div class="topic-metadata">

**Author:** [@Amamallama](https://discourse.processing.org/u/Amamallama)\
**Replies:** 7\
**Last updated:** [November 23, 2023, 3:42am UTC](https://discourse.processing.org/t/brand-new-the-processing-need-help/43286 "2023-11-23T03:42:41Z")

</div>

PImage img; void setup() { size(1000, 1000); img = loadImage( "rickroll.jpg" ); } void draw() { loadPixels(); img.loadPixels(); for (int x = 0; x \< img.width; x++ ) { for (int y = 0; y \< img.height; y…

---

## [Multiple input audio devices](https://discourse.processing.org/t/multiple-input-audio-devices/43239)

<div class="topic-metadata">

**Author:** [@Pandela](https://discourse.processing.org/u/Pandela)\
**Replies:** 1\
**Last updated:** [November 21, 2023, 8:39am UTC](https://discourse.processing.org/t/multiple-input-audio-devices/43239 "2023-11-21T08:39:06Z")

</div>

Recently I was messing around with Minum and found a way to read multiple virtual audio devices, in Processing 4.3 on Windows 10. Is there a more efficient way I can do this? I’m really only interested in the volume/ampl…

---

## [Modify a library](https://discourse.processing.org/t/modify-a-library/43270)

<div class="topic-metadata">

**Author:** [@12walid34](https://discourse.processing.org/u/12walid34)\
**Replies:** 2\
**Last updated:** [November 20, 2023, 10:03pm UTC](https://discourse.processing.org/t/modify-a-library/43270 "2023-11-20T22:03:33Z")

</div>

Hi everyone, I downloaded a library and I wanted to modify a small functionality, after checking the files, I found the java code files but I don’t know whats the correct approach to apply modification, I guess I can’t j…

---

## [Making images appear under mousePressed() function](https://discourse.processing.org/t/making-images-appear-under-mousepressed-function/43252)

<div class="topic-metadata">

**Author:** [@bwowie](https://discourse.processing.org/u/bwowie)\
**Replies:** 4\
**Last updated:** [November 19, 2023, 10:28pm UTC](https://discourse.processing.org/t/making-images-appear-under-mousepressed-function/43252 "2023-11-19T22:28:11Z")

</div>

Hi! Very new to processing for my design class, but I’m trying to make an image appear under mousePressed() function. I have six total and I’ve gotten them to load when the mouse is pressed but I want to know how to make…

---

## [Key and coded key shift combo (cmd + something)](https://discourse.processing.org/t/key-and-coded-key-shift-combo-cmd-something/43199)

<div class="topic-metadata">

**Author:** [@Leo\_Aguiar](https://discourse.processing.org/u/Leo_Aguiar)\
**Replies:** 14\
**Last updated:** [November 19, 2023, 8:02am UTC](https://discourse.processing.org/t/key-and-coded-key-shift-combo-cmd-something/43199 "2023-11-19T08:02:43Z")

</div>

Hi I am attempting to make a simple sketch that draws two different shapes depending on what keys a user presses. The first part of the code detects when the lowercase ‘o’ is pressed and draws a small ellipse. The second…

---

## [How to use extended code completion?](https://discourse.processing.org/t/how-to-use-extended-code-completion/43245)

<div class="topic-metadata">

**Author:** [@laya](https://discourse.processing.org/u/laya)\
**Replies:** 2\
**Last updated:** [November 18, 2023, 9:53am UTC](https://discourse.processing.org/t/how-to-use-extended-code-completion/43245 "2023-11-18T09:53:42Z")

</div>

I type “for” and then ctrl+space, but it does not autocompletes. Please help.

---

## [Issue with alpha in P2D Renderer](https://discourse.processing.org/t/issue-with-alpha-in-p2d-renderer/43137)

<div class="topic-metadata">

**Author:** [@eltrem](https://discourse.processing.org/u/eltrem)\
**Replies:** 2\
**Last updated:** [November 17, 2023, 6:56pm UTC](https://discourse.processing.org/t/issue-with-alpha-in-p2d-renderer/43137 "2023-11-17T18:56:46Z")

</div>

Hello Processing Community, I’ve encountered a challenging issue while working with the P2D renderer in Processing, specifically when trying to layer semi-transparent shapes over a white background. The expected result …

---

## [Always fullScreen in presentation mode or executable](https://discourse.processing.org/t/always-fullscreen-in-presentation-mode-or-executable/43217)

<div class="topic-metadata">

**Author:** [@GSA\_IxD](https://discourse.processing.org/u/GSA_IxD)\
**Replies:** 9\
**Last updated:** [November 17, 2023, 4:27pm UTC](https://discourse.processing.org/t/always-fullscreen-in-presentation-mode-or-executable/43217 "2023-11-17T16:27:02Z")

</div>

I have a weird problem in latest (4.3) Processing in MacOS Big in that I want the sketch to run in a window but can’t make it not be fullscreen even though I uncheck this when I export. Never used to behave like this. Is…

---

## [Voxel Game Memory Problems](https://discourse.processing.org/t/voxel-game-memory-problems/43231)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 2\
**Last updated:** [November 17, 2023, 3:02pm UTC](https://discourse.processing.org/t/voxel-game-memory-problems/43231 "2023-11-17T15:02:48Z")

</div>

Hi! I recoded my voxel game, and now it gets 700 Fps with as many chunks as i want, the only problem is memory. 32 chunks that are meshed take up almost 2 gb (a chunk is 32x32x32) without the mesh data load it takes up a…

---

## [Weird P3D Error](https://discourse.processing.org/t/weird-p3d-error/43220)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 2\
**Last updated:** [November 17, 2023, 3:56pm UTC](https://discourse.processing.org/t/weird-p3d-error/43220 "2023-11-17T15:56:37Z")

</div>

Hello! My P3D game has the function voxel(x, y, z, img\_front, img\_back, img\_right, img\_left, img\_top, img\_bottom). If i use the same image as input (for all voxel calls in a chunk), the framerate is very stable at 60fps…

---

## [Broadcast to AWS](https://discourse.processing.org/t/broadcast-to-aws/43042)

<div class="topic-metadata">

**Author:** [@eduzal](https://discourse.processing.org/u/eduzal)\
**Replies:** 5\
**Last updated:** [November 17, 2023, 12:16am UTC](https://discourse.processing.org/t/broadcast-to-aws/43042 "2023-11-17T00:16:04Z")

</div>

Hello I need guidance for a new project that fell on my lap. I need to stream a float array from processing to AWS and then broadcast it to multiple mobile app clients. I’m clueless about this. Never been on this side…

---

## [Applying a texture to a .obj shape in P3D](https://discourse.processing.org/t/applying-a-texture-to-a-obj-shape-in-p3d/43225)

<div class="topic-metadata">

**Author:** [@Sayoregg](https://discourse.processing.org/u/Sayoregg)\
**Replies:** 5\
**Last updated:** [November 16, 2023, 5:06pm UTC](https://discourse.processing.org/t/applying-a-texture-to-a-obj-shape-in-p3d/43225 "2023-11-16T17:06:44Z")

</div>

Hello, I am trying to load in a model with a texture in processing. I managed to load in the shape itself, but even after applying a texture to it the model is just fully black. I followed the setTexture() example with…

---

## [How to make multiple enemies affect health](https://discourse.processing.org/t/how-to-make-multiple-enemies-affect-health/43209)

<div class="topic-metadata">

**Author:** [@3xotic109](https://discourse.processing.org/u/3xotic109)\
**Replies:** 4\
**Last updated:** [November 16, 2023, 5:32am UTC](https://discourse.processing.org/t/how-to-make-multiple-enemies-affect-health/43209 "2023-11-16T05:32:17Z")

</div>

//Declared Global Variables final static float MOVE\_SPEED = 7.5; final static float SPRITE\_SCALE = 50.0/64; final static float SPRITE\_SCALE1 = 50.0/1920; final static float SPRITE\_SCALE2 =50.0/45; final static float SPRI…

---

## [Update Processing 3.5.4 to 4.3 window size](https://discourse.processing.org/t/update-processing-3-5-4-to-4-3-window-size/43197)

<div class="topic-metadata">

**Author:** [@meirbns](https://discourse.processing.org/u/meirbns)\
**Replies:** 9\
**Last updated:** [November 14, 2023, 7:54pm UTC](https://discourse.processing.org/t/update-processing-3-5-4-to-4-3-window-size/43197 "2023-11-14T19:54:36Z")

</div>

---

## [How to animate properly arcs according to time with millis()? (draw letters animation)](https://discourse.processing.org/t/how-to-animate-properly-arcs-according-to-time-with-millis-draw-letters-animation/42986)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 38\
**Last updated:** [November 14, 2023, 1:57pm UTC](https://discourse.processing.org/t/how-to-animate-properly-arcs-according-to-time-with-millis-draw-letters-animation/42986 "2023-11-14T13:57:39Z")

</div>

Hello, Here is my attempt to animate arcs with millis(). It is not smooth, it jumps… Not what it should be! Thanks a lot in advance. Best, L float startTime; void setup() { size(400, 400); startTime=millis(); }…

---

## [IDE Console Window Single Line Select](https://discourse.processing.org/t/ide-console-window-single-line-select/43200)

<div class="topic-metadata">

**Author:** [@RichardDL](https://discourse.processing.org/u/RichardDL)\
**Replies:** 7\
**Last updated:** [November 13, 2023, 3:20pm UTC](https://discourse.processing.org/t/ide-console-window-single-line-select/43200 "2023-11-13T15:20:43Z")

</div>

I have just discovered that if you treble-click on the console window, it selects the current line (and then you can copy it with ^c). Other features: double click selects one word. F8 lets you use the up and down arr…

---

## [How to reduce an abstract 2D trajectory to segments between points in a given set?](https://discourse.processing.org/t/how-to-reduce-an-abstract-2d-trajectory-to-segments-between-points-in-a-given-set/43159)

<div class="topic-metadata">

**Author:** [@amundsen](https://discourse.processing.org/u/amundsen)\
**Replies:** 9\
**Last updated:** [November 13, 2023, 7:45am UTC](https://discourse.processing.org/t/how-to-reduce-an-abstract-2d-trajectory-to-segments-between-points-in-a-given-set/43159 "2023-11-13T07:45:00Z")

</div>

Hello, I am looking for the right tools/algorithms to code some movements/trajectories in 2D. The idea is to have abstract movements and translate them to sequences of line segments (polylines?) linking points selected …

---

## [P2D Window can't be resized](https://discourse.processing.org/t/p2d-window-cant-be-resized/43194)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 0\
**Last updated:** [November 12, 2023, 12:20am UTC](https://discourse.processing.org/t/p2d-window-cant-be-resized/43194 "2023-11-12T00:20:12Z")

</div>

Hello! My P2D Window doesn’t seem to be resizable :frowning: It doesn’t show a cursor when hovering the window edges (im on windows) with no renderer it works! -Libby

---

## [Two problems in code (table sheet)](https://discourse.processing.org/t/two-problems-in-code-table-sheet/43181)

<div class="topic-metadata">

**Author:** [@kusspuss](https://discourse.processing.org/u/kusspuss)\
**Replies:** 14\
**Last updated:** [November 11, 2023, 7:08pm UTC](https://discourse.processing.org/t/two-problems-in-code-table-sheet/43181 "2023-11-11T19:08:39Z")

</div>

Table table; int numRows = 30; // Number of rows int numCols = 7; // Number of columns float cellWidth = 100; // Adjustable cell width float cellHeight = 27; // Adjustable cell height float tableWidth, tableHeight; // …

---

## [Ellipse Loop + Animation (raining color lines)](https://discourse.processing.org/t/ellipse-loop-animation-raining-color-lines/43174)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 29\
**Last updated:** [November 11, 2023, 1:03pm UTC](https://discourse.processing.org/t/ellipse-loop-animation-raining-color-lines/43174 "2023-11-11T13:03:41Z")

</div>

Hi there! I am trying to draw a lot of drops falling across the screen, from diferents heights. I can draw a loop with many drops and I can animate one drop, but I can not mix both :sweat\_smile: could you please help m…

---

## [Cull faces in P3D](https://discourse.processing.org/t/cull-faces-in-p3d/43127)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 4\
**Last updated:** [November 10, 2023, 10:04pm UTC](https://discourse.processing.org/t/cull-faces-in-p3d/43127 "2023-11-10T22:04:02Z")

</div>

Hi! I was wondering if it is possible to set a face, to only be visible from one angle, as it would increase performance also known as culling faces. Thanks for all your advice :slight\_smile: Im programming a voxel engi…

---

## [Interface with launchpad x](https://discourse.processing.org/t/interface-with-launchpad-x/43176)

<div class="topic-metadata">

**Author:** [@artomat](https://discourse.processing.org/u/artomat)\
**Replies:** 1\
**Last updated:** [November 9, 2023, 3:17pm UTC](https://discourse.processing.org/t/interface-with-launchpad-x/43176 "2023-11-09T15:17:47Z")

</div>

Looking for a working solution to use launchpad x to trigger processing functions. Thanks

[Previous page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=27)

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=29)
