# Latest

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

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

**Page:** 250

---

## [Read file in zipped folder with password](https://discourse.processing.org/t/read-file-in-zipped-folder-with-password/27852)

<div class="topic-metadata">

**Author:** [@Marco0030](https://discourse.processing.org/u/Marco0030)\
**Replies:** 2\
**Last updated:** [March 1, 2021, 10:41am UTC](https://discourse.processing.org/t/read-file-in-zipped-folder-with-password/27852 "2021-03-01T10:41:10Z")

</div>

Hello. I’m new to processing. Is there a way to read and reproduce a file audio in a zipped folder with password? (i would like to avoid that someone could change the audiofiles) thank you

---

## [How to divide a sketch - Beginner math question (rows of graphic)](https://discourse.processing.org/t/how-to-divide-a-sketch-beginner-math-question-rows-of-graphic/28144)

<div class="topic-metadata">

**Author:** [@leatherbird](https://discourse.processing.org/u/leatherbird)\
**Replies:** 8\
**Last updated:** [March 1, 2021, 8:09am UTC](https://discourse.processing.org/t/how-to-divide-a-sketch-beginner-math-question-rows-of-graphic/28144 "2021-03-01T08:09:36Z")

</div>

My efforts to learn Processing always seem to get tripped up by my poor math skills. I am also not sure if I’m using the correct terminology, so I’m hoping someone can either help me, or at least point me toward the corr…

---

## [Can I use Blockbench for Processing, is it able to implement 3d objects and also 3d objects with animation?](https://discourse.processing.org/t/can-i-use-blockbench-for-processing-is-it-able-to-implement-3d-objects-and-also-3d-objects-with-animation/28119)

<div class="topic-metadata">

**Author:** [@SailorToei](https://discourse.processing.org/u/SailorToei)\
**Replies:** 3\
**Last updated:** [March 1, 2021, 7:37am UTC](https://discourse.processing.org/t/can-i-use-blockbench-for-processing-is-it-able-to-implement-3d-objects-and-also-3d-objects-with-animation/28119 "2021-03-01T07:37:50Z")

</div>

Hello everybody. I am just curious what is possible in Processing. I thought that at least adding a 3d object with animation to Javascript is possible, because of games like Minecraft and Yandere Simulator which were ori…

---

## [I need help with a life counter ending the game. I need it to end the program when the lives hit 0](https://discourse.processing.org/t/i-need-help-with-a-life-counter-ending-the-game-i-need-it-to-end-the-program-when-the-lives-hit-0/28154)

<div class="topic-metadata">

**Author:** [@ruvinson](https://discourse.processing.org/u/ruvinson)\
**Replies:** 1\
**Last updated:** [March 1, 2021, 6:27am UTC](https://discourse.processing.org/t/i-need-help-with-a-life-counter-ending-the-game-i-need-it-to-end-the-program-when-the-lives-hit-0/28154 "2021-03-01T06:27:07Z")

</div>

//START SCREEN int stateWaitBeforeProgram = 0; int stateNormalProgram = 1; int state = stateWaitBeforeProgram; //TIMER class Timer { int time; int duration; Timer() { duration = 100; reset(); } v…

---

## [Drawing with lines](https://discourse.processing.org/t/drawing-with-lines/28155)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 1\
**Last updated:** [March 1, 2021, 5:10am UTC](https://discourse.processing.org/t/drawing-with-lines/28155 "2021-03-01T05:10:13Z")

</div>

float x, y, angle, c; variateur v1,v2; void setup(){ size(640,640); x = width/2;y = height/2; angle = random(TWO\_PI); smooth(); noFill();stroke(0,51); colorMode(HSB);c=random(255); background(0); v1=new va…

---

## [Converting PGraphics and Mask from Processing to p5.js](https://discourse.processing.org/t/converting-pgraphics-and-mask-from-processing-to-p5-js/28133)

<div class="topic-metadata">

**Author:** [@bdooley](https://discourse.processing.org/u/bdooley)\
**Replies:** 8\
**Last updated:** [February 28, 2021, 10:17pm UTC](https://discourse.processing.org/t/converting-pgraphics-and-mask-from-processing-to-p5-js/28133 "2021-02-28T22:17:03Z")

</div>

Is there a tag for super beginners? I currently have a simple sketch that uses a mask to reveal an image below another. For some reason once I convert to p5.js, nothing shows up. I think it might have to do with the begi…

---

## [Answers for Learning Processing](https://discourse.processing.org/t/answers-for-learning-processing/11284)

<div class="topic-metadata">

**Author:** [@r8th](https://discourse.processing.org/u/r8th)\
**Replies:** 5\
**Last updated:** [April 24, 2020, 11:14am UTC](https://discourse.processing.org/t/answers-for-learning-processing/11284 "2020-04-24T11:14:55Z")

</div>

Hi, I am an artist new to code. I am using Shiffman’s Learning Processing (2nd Ed.) to teach myself. Throughout the book there are “test” your knowledge and “fill-in-the-blank” exercises. Does anyone know if there is a…

---

## [GPIO on Jetson TX2 and synchronization](https://discourse.processing.org/t/gpio-on-jetson-tx2-and-synchronization/22843)

<div class="topic-metadata">

**Author:** [@darioringach](https://discourse.processing.org/u/darioringach)\
**Replies:** 1\
**Last updated:** [February 28, 2021, 6:27pm UTC](https://discourse.processing.org/t/gpio-on-jetson-tx2-and-synchronization/22843 "2021-02-28T18:27:34Z")

</div>

I am running Processing 3.5.4 on a Jeston TX2. It was also easy to access the GPIO pins. I wanted to get a digital pulse in a reliable way at the onset of given frame (code below), but it is not working well. I am mon…

---

## [https://github.com/rogeriobego/terrain\_3d\_perlinNoise](https://discourse.processing.org/t/https-github-com-rogeriobego-terrain-3d-perlinnoise/28141)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 6\
**Last updated:** [February 28, 2021, 4:55pm UTC](https://discourse.processing.org/t/https-github-com-rogeriobego-terrain-3d-perlinnoise/28141 "2021-02-28T16:55:04Z")

</div>

import peasy.\*; PeasyCam cam; int cols, rows, s; int w,h; float t=0, vt=0.01; // t and speed of t float xoffInit=0, vXoffInit=0.01; // xoffInit and speed of xoffInit float inc=0.025; //…

---

## [Having trouble visualizing twitter data](https://discourse.processing.org/t/having-trouble-visualizing-twitter-data/28139)

<div class="topic-metadata">

**Author:** [@CodingNovice](https://discourse.processing.org/u/CodingNovice)\
**Replies:** 0\
**Last updated:** [February 28, 2021, 3:52pm UTC](https://discourse.processing.org/t/having-trouble-visualizing-twitter-data/28139 "2021-02-28T15:52:00Z")

</div>

Hi! I’m a processing novice and only have a limited understanding of coding, but I’m putting together a sketch for my final project in class. I have the basic code where every time the mouse is pressed, orbs spawn in a …

---

## [No Popup Menu with Video Displaying](https://discourse.processing.org/t/no-popup-menu-with-video-displaying/28023)

<div class="topic-metadata">

**Author:** [@paturn](https://discourse.processing.org/u/paturn)\
**Replies:** 6\
**Last updated:** [February 28, 2021, 12:13pm UTC](https://discourse.processing.org/t/no-popup-menu-with-video-displaying/28023 "2021-02-28T12:13:27Z")

</div>

I have a video running without any menu code. I also have menu code running with static images. However, when I try to run similar menu code with video either playing or paused, the menu doesn’t display. The video uses…

---

## [Some of paid codes over the net](https://discourse.processing.org/t/some-of-paid-codes-over-the-net/28128)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 1\
**Last updated:** [February 28, 2021, 1:45am UTC](https://discourse.processing.org/t/some-of-paid-codes-over-the-net/28128 "2021-02-28T01:45:20Z")

</div>

final int nbWeeds = 60; SeaWeed\[\] weeds; PVector rootNoise = new PVector(random(123456), random(123456)); int mode = 1; float radius = 220; Boolean noiseOn = true; PVector center; void setup() { size(1000, 800, P2D); …

---

## [Random vs noise](https://discourse.processing.org/t/random-vs-noise/28126)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 0\
**Last updated:** [February 28, 2021, 1:22am UTC](https://discourse.processing.org/t/random-vs-noise/28126 "2021-02-28T01:22:01Z")

</div>

This program studies what happens when you map noise() or random() to hue. random() covers the whole spectrum and you get all kinds of hues. The probability for all values is the same. noise() does not cover the whole…

---

## [Generative Mountains](https://discourse.processing.org/t/generative-mountains/28125)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 0\
**Last updated:** [February 28, 2021, 1:17am UTC](https://discourse.processing.org/t/generative-mountains/28125 "2021-02-28T01:17:26Z")

</div>

color cClouds, cFade, cFurther, cCloser, cMist; void setup() { size(800, 600); smooth(); //define the colors colorMode(HSB, 360, 100, 100); cClouds = color(330, 25, 100); //light rose for the clouds c…

---

## [Height Map photos](https://discourse.processing.org/t/height-map-photos/28124)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 2\
**Last updated:** [February 28, 2021, 12:09am UTC](https://discourse.processing.org/t/height-map-photos/28124 "2021-02-28T00:09:41Z")

</div>

import processing.opengl.\*; PImage img; ArrayList points = new ArrayList(); float rotationY = 0; float rotationX = 0; float hgt=0; void setup() { //size (800,800,OPENGL); size (800,800,P3D); colorMode(HSB,100); …

---

## [Is it possible to upload image files to the ftp server through'processing'?](https://discourse.processing.org/t/is-it-possible-to-upload-image-files-to-the-ftp-server-throughprocessing/28115)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [February 27, 2021, 4:01pm UTC](https://discourse.processing.org/t/is-it-possible-to-upload-image-files-to-the-ftp-server-throughprocessing/28115 "2021-02-27T16:01:19Z")

</div>

Is it possible to upload image files to the ftp server through’processing’? Select a picture stored on the smartphone. I want to transfer the saved picture to the ftp server. Is there a method or sample code? He…

---

## [Test whether a button has been pressed even when the program is minimized](https://discourse.processing.org/t/test-whether-a-button-has-been-pressed-even-when-the-program-is-minimized/28114)

<div class="topic-metadata">

**Author:** [@Flolo](https://discourse.processing.org/u/Flolo)\
**Replies:** 0\
**Last updated:** [February 27, 2021, 2:24pm UTC](https://discourse.processing.org/t/test-whether-a-button-has-been-pressed-even-when-the-program-is-minimized/28114 "2021-02-27T14:24:22Z")

</div>

Hi I want to create a program that runs in the background and tests whether a key has been pressed. Like a keylogger… I need that because when I press ALT & S, for example, I want to take a screenshot. Here is the Code…

---

## [Problem playing one sound and then other](https://discourse.processing.org/t/problem-playing-one-sound-and-then-other/28015)

<div class="topic-metadata">

**Author:** [@edufissure](https://discourse.processing.org/u/edufissure)\
**Replies:** 10\
**Last updated:** [February 27, 2021, 2:21pm UTC](https://discourse.processing.org/t/problem-playing-one-sound-and-then-other/28015 "2021-02-27T14:21:04Z")

</div>

Hello, im trying to implement pacman in p5.js. But im facing the problem that when i loose a game I play a song, a mp3 file… and then when i restart the game it should play initial sound/song. So im facing that the two…

---

## [Score help 30 hello](https://discourse.processing.org/t/score-help-30-hello/28110)

<div class="topic-metadata">

**Author:** [@Mrcroissant](https://discourse.processing.org/u/Mrcroissant)\
**Replies:** 1\
**Last updated:** [February 27, 2021, 12:33pm UTC](https://discourse.processing.org/t/score-help-30-hello/28110 "2021-02-27T12:33:27Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello i want too stop the programe when the score go to 30 how i can do that int x,y, couleur; // Déclaration variables coordonées …

---

## [Font on Button Processing an controlP5](https://discourse.processing.org/t/font-on-button-processing-an-controlp5/28094)

<div class="topic-metadata">

**Author:** [@deerfox](https://discourse.processing.org/u/deerfox)\
**Replies:** 2\
**Last updated:** [February 27, 2021, 10:16am UTC](https://discourse.processing.org/t/font-on-button-processing-an-controlp5/28094 "2021-02-27T10:16:40Z")

</div>

Hi everyone, I try to set my font on my button, i tried a few thinks like public ControlFont(processing.core.PFont theFont) but it doesen’t really work but its my first projekt with processing an controlP5, I also tr…

---

## [Good platform choice for teaching p5.js at women's hackathon?](https://discourse.processing.org/t/good-platform-choice-for-teaching-p5-js-at-womens-hackathon/26340)

<div class="topic-metadata">

**Author:** [@baylyd](https://discourse.processing.org/u/baylyd)\
**Replies:** 5\
**Last updated:** [February 27, 2021, 4:05am UTC](https://discourse.processing.org/t/good-platform-choice-for-teaching-p5-js-at-womens-hackathon/26340 "2021-02-27T04:05:06Z")

</div>

Hello there, I’d love to get some insight from others about good tools/platform/environment to use when offering a p5.js workshop for a women’s hackathon. I’m particularly interested in teaching this as a “hackathon ski…

---

## [The Future of Math Education: Teaching Math Through Code](https://discourse.processing.org/t/the-future-of-math-education-teaching-math-through-code/26717)

<div class="topic-metadata">

**Author:** [@StriveMath](https://discourse.processing.org/u/StriveMath)\
**Replies:** 17\
**Last updated:** [February 27, 2021, 4:01am UTC](https://discourse.processing.org/t/the-future-of-math-education-teaching-math-through-code/26717 "2021-02-27T04:01:49Z")

</div>

Hi Processing community :wave: TLDR: We teach maths to primary and high school students in Singapore using p5js and are looking to collaborate with teachers to create novel and exciting math content. If you are a teache…

---

## [How to use nested for-loop to draw a tree](https://discourse.processing.org/t/how-to-use-nested-for-loop-to-draw-a-tree/28102)

<div class="topic-metadata">

**Author:** [@Yeladogg](https://discourse.processing.org/u/Yeladogg)\
**Replies:** 2\
**Last updated:** [February 27, 2021, 2:18am UTC](https://discourse.processing.org/t/how-to-use-nested-for-loop-to-draw-a-tree/28102 "2021-02-27T02:18:08Z")

</div>

Hi everyone, Should I use nested triple for loop to do it? This is my goal: here is my code : int x,y,w,h; void setup() { background(255); size(500, 500); x=250;//The center of the starting circle at the t…

---

## [Implement texture PImage](https://discourse.processing.org/t/implement-texture-pimage/28105)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 1\
**Last updated:** [February 27, 2021, 2:09am UTC](https://discourse.processing.org/t/implement-texture-pimage/28105 "2021-02-27T02:09:42Z")

</div>

PShape customShape, ellipseShape; void setup() { size(400, 400, P3D); smooth(16); // load texture image PImage img = loadImage("vv.png"); // create custom shape customShape = createShape(); customShape.b…

---

## [Discrete Vectors](https://discourse.processing.org/t/discrete-vectors/3942)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 22\
**Last updated:** [February 27, 2021, 1:02am UTC](https://discourse.processing.org/t/discrete-vectors/3942 "2021-02-27T01:02:59Z")

</div>

Dear all, I’ve recently stumbled across a series of rendered drawings made with Grasshopper and got particularly interested in this one. It is made from a combination of components called “Discrete Vectors” (part of…

---

## ["Processing" variants](https://discourse.processing.org/t/processing-variants/28104)

<div class="topic-metadata">

**Author:** [@IRIGIMA](https://discourse.processing.org/u/IRIGIMA)\
**Replies:** 0\
**Last updated:** [February 26, 2021, 11:59pm UTC](https://discourse.processing.org/t/processing-variants/28104 "2021-02-26T23:59:09Z")

</div>

Complex algorithmic structures based upon CPU design / non conformal curved attractors. Is there anything else available??

---

## [Add an input text to "Genetic Algorithm, Evolving Shakespeare" example from NoC](https://discourse.processing.org/t/add-an-input-text-to-genetic-algorithm-evolving-shakespeare-example-from-noc/28086)

<div class="topic-metadata">

**Author:** [@pab10](https://discourse.processing.org/u/pab10)\
**Replies:** 1\
**Last updated:** [February 26, 2021, 8:47pm UTC](https://discourse.processing.org/t/add-an-input-text-to-genetic-algorithm-evolving-shakespeare-example-from-noc/28086 "2021-02-26T20:47:18Z")

</div>

Hi there… i’m try to add an input box to the Shakespeare genetic algorithm example from Daniel Shiffman’s Nature Of Code (https://github.com/nature-of-code/noc-examples-p5.js/tree/master/chp09\_ga/NOC\_9\_01\_GA\_Shakespeare)…

---

## [Can't form array using splitText method (loadStrings)](https://discourse.processing.org/t/cant-form-array-using-splittext-method-loadstrings/28092)

<div class="topic-metadata">

**Author:** [@geo3geo](https://discourse.processing.org/u/geo3geo)\
**Replies:** 12\
**Last updated:** [February 26, 2021, 7:41pm UTC](https://discourse.processing.org/t/cant-form-array-using-splittext-method-loadstrings/28092 "2021-02-26T19:41:32Z")

</div>

I’m trying to get text elements from a local text file into an array. pets.txt contains cat dog Hopefully this code explains the problem. Thanks for looking! var pets; var petArray = \[\]; function preload() { . . …

---

## [Text has opaque background when using webgl renderer](https://discourse.processing.org/t/text-has-opaque-background-when-using-webgl-renderer/18107)

<div class="topic-metadata">

**Author:** [@nevillestyles](https://discourse.processing.org/u/nevillestyles)\
**Replies:** 4\
**Last updated:** [February 25, 2021, 6:51pm UTC](https://discourse.processing.org/t/text-has-opaque-background-when-using-webgl-renderer/18107 "2021-02-25T18:51:16Z")

</div>

Hi all, I am developing a rotating 3D scatter plot to display egg colours. I have labelled the three axes red, green and blue using these bits of code (only relevant sections shown (full script): function preload() { …

---

## [Choir Music Video](https://discourse.processing.org/t/choir-music-video/28098)

<div class="topic-metadata">

**Author:** [@callahan4000](https://discourse.processing.org/u/callahan4000)\
**Replies:** 6\
**Last updated:** [February 26, 2021, 2:12pm UTC](https://discourse.processing.org/t/choir-music-video/28098 "2021-02-26T14:12:08Z")

</div>

Hi, We just published a new video for the band Choir : Entirely made with processing to generate image sequences reacting to frequencies of the song (thanks to the minim library) Basic editing with Blender…

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

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