# Latest

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

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

**Page:** 160

---

## [Opening assets inside folders](https://discourse.processing.org/t/opening-assets-inside-folders/35010)

<div class="topic-metadata">

**Author:** [@JoseMY](https://discourse.processing.org/u/JoseMY)\
**Replies:** 3\
**Last updated:** [February 7, 2022, 7:15am UTC](https://discourse.processing.org/t/opening-assets-inside-folders/35010 "2022-02-07T07:15:03Z")

</div>

Hi! I’m doing a big project using processing. I have a bunch of files containing assets, and I want to store them in data folder/font\_assets data folder/sprite assets etc. But when I try to load them, everything fai…

---

## [Displaying, exporting generated svgs](https://discourse.processing.org/t/displaying-exporting-generated-svgs/35015)

<div class="topic-metadata">

**Author:** [@bcabc](https://discourse.processing.org/u/bcabc)\
**Replies:** 1\
**Last updated:** [February 7, 2022, 6:22am UTC](https://discourse.processing.org/t/displaying-exporting-generated-svgs/35015 "2022-02-07T06:22:10Z")

</div>

hi there - i have been through the examples of exporting svgs from processing, at this url: https://processing.org/reference/libraries/svg/index.html i am looking for a solution that falls between these examples, thou…

---

## [How to hide one side of a vertex?](https://discourse.processing.org/t/how-to-hide-one-side-of-a-vertex/34857)

<div class="topic-metadata">

**Author:** [@xerneas02](https://discourse.processing.org/u/xerneas02)\
**Replies:** 1\
**Last updated:** [February 6, 2022, 2:06pm UTC](https://discourse.processing.org/t/how-to-hide-one-side-of-a-vertex/34857 "2022-02-06T14:06:16Z")

</div>

Hello, I am working on little 3D project in processing and to do so i have create a cube using vertex (i don’t use box cause i want to be able to hide each face of the cube indivdualy) and i was wondering if it’s possib…

---

## [Visual calculator for learning and play](https://discourse.processing.org/t/visual-calculator-for-learning-and-play/35008)

<div class="topic-metadata">

**Author:** [@desk](https://discourse.processing.org/u/desk)\
**Replies:** 0\
**Last updated:** [February 6, 2022, 1:44pm UTC](https://discourse.processing.org/t/visual-calculator-for-learning-and-play/35008 "2022-02-06T13:44:48Z")

</div>

I created this project for students and my children. It needs more development, and I’d welcome anyone who wants to help. There is a lot more that can be done with this project. GitHub - theluckyfellow/calc\_u\_sea: A calc…

---

## [Windows64 export application is massive](https://discourse.processing.org/t/windows64-export-application-is-massive/35006)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 2\
**Last updated:** [February 6, 2022, 1:40pm UTC](https://discourse.processing.org/t/windows64-export-application-is-massive/35006 "2022-02-06T13:40:22Z")

</div>

Not really sure which tag to use but yeah. So I made a project that I want to show to a friend, however, he doesn’t have processing installed. So I exported the application and checked the files. the windows64 version w…

---

## [Serial Routine Crashing with Latest Java jre-8u261](https://discourse.processing.org/t/serial-routine-crashing-with-latest-java-jre-8u261/22798)

<div class="topic-metadata">

**Author:** [@PhilHaw](https://discourse.processing.org/u/PhilHaw)\
**Replies:** 10\
**Last updated:** [February 6, 2022, 1:39pm UTC](https://discourse.processing.org/t/serial-routine-crashing-with-latest-java-jre-8u261/22798 "2022-02-06T13:39:14Z")

</div>

After updating Java to the latest version jre8u261 a couple of my Processing apps now crash when I try to open a Serial (COM) port. They worked fine with jre8u251 that I had installed. The apps run ok in the Processing …

---

## [updatePixels() on P3D texture](https://discourse.processing.org/t/updatepixels-on-p3d-texture/34978)

<div class="topic-metadata">

**Author:** [@garrettlynch](https://discourse.processing.org/u/garrettlynch)\
**Replies:** 4\
**Last updated:** [February 6, 2022, 1:23pm UTC](https://discourse.processing.org/t/updatepixels-on-p3d-texture/34978 "2022-02-06T13:23:11Z")

</div>

Hi Is it possible to updatePixels() of a texture in P3D? Here is what I have but I’m only getting a black image or no image - works just fine if I load an image from file. I have tried moving setTexture to draw() to for…

---

## [Sphere caused an error: A library relies on native code that's not available](https://discourse.processing.org/t/sphere-caused-an-error-a-library-relies-on-native-code-thats-not-available/35007)

<div class="topic-metadata">

**Author:** [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Replies:** 0\
**Last updated:** [February 6, 2022, 12:33pm UTC](https://discourse.processing.org/t/sphere-caused-an-error-a-library-relies-on-native-code-thats-not-available/35007 "2022-02-06T12:33:07Z")

</div>

I copied a code from the examples: size(400, 400, P3D); noStroke(); lights(); translate(232, 192, 0); sphere(112); and got an error: A library relies on native code that’s not available. Or only works properly when t…

---

## [Needing help with coding an object following the player by turning towards him](https://discourse.processing.org/t/needing-help-with-coding-an-object-following-the-player-by-turning-towards-him/34997)

<div class="topic-metadata">

**Author:** [@SailorToei](https://discourse.processing.org/u/SailorToei)\
**Replies:** 4\
**Last updated:** [February 6, 2022, 12:19pm UTC](https://discourse.processing.org/t/needing-help-with-coding-an-object-following-the-player-by-turning-towards-him/34997 "2022-02-06T12:19:34Z")

</div>

Hello, originally this is a problem I found when doing 3D games. I got the formula xPos=sin(turn)\*speed+xPos and zPos=cos(turn)\*speed+zPos from here, it is a formula to move a playable figure. The turn is made from the c…

---

## [O P5.js \> websocket \> Processing \> OSC \> Unity](https://discourse.processing.org/t/o-p5-js-websocket-processing-osc-unity/35004)

<div class="topic-metadata">

**Author:** [@MaxMax](https://discourse.processing.org/u/MaxMax)\
**Replies:** 0\
**Last updated:** [February 6, 2022, 9:55am UTC](https://discourse.processing.org/t/o-p5-js-websocket-processing-osc-unity/35004 "2022-02-06T09:55:11Z")

</div>

Hi I need to send messages to different proccesing files and Unity + a websocket. I just can’t figure out how to send the received data from the websocket over to the processing file. This is my websocket: import webso…

---

## [I have an error with divide (float issue)](https://discourse.processing.org/t/i-have-an-error-with-divide-float-issue/34762)

<div class="topic-metadata">

**Author:** [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Replies:** 3\
**Last updated:** [February 6, 2022, 11:48am UTC](https://discourse.processing.org/t/i-have-an-error-with-divide-float-issue/34762 "2022-02-06T11:48:46Z")

</div>

I had a problem with a code, so I wrote a small one, and when I run it, it print 0.0, instead 0.2 What am I missing? void setup(){ noLoop(); } void draw(){ float a = 2/10; println(a); }

---

## [How to access main p5.Renderer object?](https://discourse.processing.org/t/how-to-access-main-p5-renderer-object/34951)

<div class="topic-metadata">

**Author:** [@benjaminmarkus](https://discourse.processing.org/u/benjaminmarkus)\
**Replies:** 1\
**Last updated:** [February 6, 2022, 12:42am UTC](https://discourse.processing.org/t/how-to-access-main-p5-renderer-object/34951 "2022-02-06T00:42:55Z")

</div>

Is there a way to refer to the main p5.Renderer object that draws to the canvas in a way one would refer to an object created with createGraphics()? An example: //how it works when you created a Renderer: var myRenderer…

---

## [Android Cannot get access to data folder](https://discourse.processing.org/t/android-cannot-get-access-to-data-folder/14636)

<div class="topic-metadata">

**Author:** [@PhoenixStormJr](https://discourse.processing.org/u/PhoenixStormJr)\
**Replies:** 34\
**Last updated:** [February 5, 2022, 10:05pm UTC](https://discourse.processing.org/t/android-cannot-get-access-to-data-folder/14636 "2022-02-05T22:05:45Z")

</div>

No matter what i do i cannot get access to the data folder in android. Whats wierd is the exact same code works for desktops. I enabled all permissions but it still tells me permission denied. Whats even more wierd is th…

---

## [Time Difference](https://discourse.processing.org/t/time-difference/34858)

<div class="topic-metadata">

**Author:** [@Bunnytoes](https://discourse.processing.org/u/Bunnytoes)\
**Replies:** 6\
**Last updated:** [February 5, 2022, 11:02pm UTC](https://discourse.processing.org/t/time-difference/34858 "2022-02-05T23:02:26Z")

</div>

I want to get a change in time, but I don’t know how to do that in processing (in java I know there is Instant.Now but what is there in processing)?

---

## [Windows processing.exe](https://discourse.processing.org/t/windows-processing-exe/34832)

<div class="topic-metadata">

**Author:** [@Bunnytoes](https://discourse.processing.org/u/Bunnytoes)\
**Replies:** 4\
**Last updated:** [February 5, 2022, 11:00pm UTC](https://discourse.processing.org/t/windows-processing-exe/34832 "2022-02-05T23:00:43Z")

</div>

On my windows pc I have downloaded the processing 4 file and whenever I try to run the processing.exe file it doesn’t work, and I need it to run to be able use it. I unzipped the file and everything, but it still won’t …

---

## [New to class and need a project](https://discourse.processing.org/t/new-to-class-and-need-a-project/34972)

<div class="topic-metadata">

**Author:** [@SharkJulen](https://discourse.processing.org/u/SharkJulen)\
**Replies:** 5\
**Last updated:** [February 5, 2022, 2:47pm UTC](https://discourse.processing.org/t/new-to-class-and-need-a-project/34972 "2022-02-05T14:47:56Z")

</div>

Hello, I have come to a new institute because I have changed and I chose ICT. They ask me for processing but I have no idea and the work counts for 30% of the grade. Help :frowning: This I have to do: Draw on a light…

---

## [Where to start contributing to Processing Foundation open source project?](https://discourse.processing.org/t/where-to-start-contributing-to-processing-foundation-open-source-project/34985)

<div class="topic-metadata">

**Author:** [@Utsav](https://discourse.processing.org/u/Utsav)\
**Replies:** 0\
**Last updated:** [February 5, 2022, 6:38am UTC](https://discourse.processing.org/t/where-to-start-contributing-to-processing-foundation-open-source-project/34985 "2022-02-05T06:38:21Z")

</div>

Hello, I am Utsav Jha, first-year undergraduate studying Information Technology at MIT. I was hoping to start contributing 4 months ago but I knew basic school level coding. So I took the time of 4 months and fine-tuned…

---

## [How to change the color of a png image to different colors](https://discourse.processing.org/t/how-to-change-the-color-of-a-png-image-to-different-colors/34963)

<div class="topic-metadata">

**Author:** [@joey1](https://discourse.processing.org/u/joey1)\
**Replies:** 2\
**Last updated:** [February 5, 2022, 4:59am UTC](https://discourse.processing.org/t/how-to-change-the-color-of-a-png-image-to-different-colors/34963 "2022-02-05T04:59:13Z")

</div>

I am hoping to know how to write a program that changes the pixels of an image to different colors (ideally it would loop through r,g,b for a variety of colors) tint is not giving the desired effect I want. say if the …

---

## [Why are sketches larger with the Default Renderer than with P2D? Should I be concerned?](https://discourse.processing.org/t/why-are-sketches-larger-with-the-default-renderer-than-with-p2d-should-i-be-concerned/34949)

<div class="topic-metadata">

**Author:** [@leatherbird](https://discourse.processing.org/u/leatherbird)\
**Replies:** 4\
**Last updated:** [February 5, 2022, 2:19am UTC](https://discourse.processing.org/t/why-are-sketches-larger-with-the-default-renderer-than-with-p2d-should-i-be-concerned/34949 "2022-02-05T02:19:35Z")

</div>

Hello, Beginner question, not sure what is happening. Or which size is correct. If I don’t include P2D, the sketch appears much larger. Is this normal? Or is there a setting somewhere I need to address? Processing 4.…

---

## [I need help with my project (IMAGES;Y-AXIS;RANDOM)](https://discourse.processing.org/t/i-need-help-with-my-project-images-y-axis-random/34980)

<div class="topic-metadata">

**Author:** [@studentinneed](https://discourse.processing.org/u/studentinneed)\
**Replies:** 1\
**Last updated:** [February 4, 2022, 10:55pm UTC](https://discourse.processing.org/t/i-need-help-with-my-project-images-y-axis-random/34980 "2022-02-04T22:55:23Z")

</div>

Hi, i am struggeling with an project i have to do for university. I am a beginner and havn’t worked with this program nor was i working on any other coding programs. I study design and have a visual in my head but not t…

---

## [How do I load images?](https://discourse.processing.org/t/how-do-i-load-images/34965)

<div class="topic-metadata">

**Author:** [@tazrXxx](https://discourse.processing.org/u/tazrXxx)\
**Replies:** 27\
**Last updated:** [February 4, 2022, 6:13am UTC](https://discourse.processing.org/t/how-do-i-load-images/34965 "2022-02-04T06:13:08Z")

</div>

Hi! I was researching Javascript libraries and I found p5.js. It looks simple and easy, so I decided to try it out. So I made this little code snippet where it should just put up an image on the screen, but for some rea…

---

## [Setting alpha for a point in HSB mode](https://discourse.processing.org/t/setting-alpha-for-a-point-in-hsb-mode/34959)

<div class="topic-metadata">

**Author:** [@goldorak](https://discourse.processing.org/u/goldorak)\
**Replies:** 1\
**Last updated:** [February 4, 2022, 12:57am UTC](https://discourse.processing.org/t/setting-alpha-for-a-point-in-hsb-mode/34959 "2022-02-04T00:57:54Z")

</div>

Hi, I’m trying to change randomly the alpha setting of a point. Here is a summary of my code strokeWeight(10); c = color(0,0,0); c.setAlpha(random(10)); stroke(c); point(i,j); I can’t get any kind of graduat…

---

## [Code to compare pixels by color](https://discourse.processing.org/t/code-to-compare-pixels-by-color/34764)

<div class="topic-metadata">

**Author:** [@Marn](https://discourse.processing.org/u/Marn)\
**Replies:** 20\
**Last updated:** [February 3, 2022, 9:48pm UTC](https://discourse.processing.org/t/code-to-compare-pixels-by-color/34764 "2022-02-03T21:48:36Z")

</div>

I need a script that does the following: The script should look at an image pixels by pixels. For each pixel, the script has to look for an other pixel with the same rgb value in a different image. (Possibly with a sma…

---

## [G4P GUI builder library help request](https://discourse.processing.org/t/g4p-gui-builder-library-help-request/34957)

<div class="topic-metadata">

**Author:** [@thoegersen](https://discourse.processing.org/u/thoegersen)\
**Replies:** 2\
**Last updated:** [February 3, 2022, 9:36pm UTC](https://discourse.processing.org/t/g4p-gui-builder-library-help-request/34957 "2022-02-03T21:36:07Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Is there a way to hide the buttons created by the G4P GUI builder tool so that they do not ubstruct the background of the window, I would like …

---

## [Abrir o llamar una APP de Android con Processing?](https://discourse.processing.org/t/abrir-o-llamar-una-app-de-android-con-processing/34468)

<div class="topic-metadata">

**Author:** [@SUNRISE](https://discourse.processing.org/u/SUNRISE)\
**Replies:** 3\
**Last updated:** [February 3, 2022, 8:28pm UTC](https://discourse.processing.org/t/abrir-o-llamar-una-app-de-android-con-processing/34468 "2022-02-03T20:28:59Z")

</div>

Hola , les consulto ya que no pude encontrar por ningun lado , es posible mediante algun comando llamar a ejecutar otra app de android ? por ejemplo desde el mismo sketch de processing abrir Google Assitant ? Muchas gra…

---

## [Adding an image as "mask" to existing code](https://discourse.processing.org/t/adding-an-image-as-mask-to-existing-code/34824)

<div class="topic-metadata">

**Author:** [@marieeiko](https://discourse.processing.org/u/marieeiko)\
**Replies:** 0\
**Last updated:** [January 24, 2022, 3:33pm UTC](https://discourse.processing.org/t/adding-an-image-as-mask-to-existing-code/34824 "2022-01-24T15:33:06Z")

</div>

Hello ! I’m having issues to add in image as background : I created a light on a sphere, following my mouse, but I would like it to be all over an image background, not on the sphere as in P5js references… How can I ad…

---

## [Any one interesting in creating projects with scene recognition and 3D reconstruction?](https://discourse.processing.org/t/any-one-interesting-in-creating-projects-with-scene-recognition-and-3d-reconstruction/34745)

<div class="topic-metadata">

**Author:** [@lessthanoptimal](https://discourse.processing.org/u/lessthanoptimal)\
**Replies:** 0\
**Last updated:** [January 20, 2022, 5:02am UTC](https://discourse.processing.org/t/any-one-interesting-in-creating-projects-with-scene-recognition-and-3d-reconstruction/34745 "2022-01-20T05:02:09Z")

</div>

So I development BoofCV, which is a computer vision libraries. Every once in a while I update the processing plugin. There are a lot of cool features which have yet to be integrated into the simplified interface for proc…

---

## [How to zoom on to center of the screen](https://discourse.processing.org/t/how-to-zoom-on-to-center-of-the-screen/14090)

<div class="topic-metadata">

**Author:** [@TheZipCreator](https://discourse.processing.org/u/TheZipCreator)\
**Replies:** 7\
**Last updated:** [February 3, 2022, 5:50pm UTC](https://discourse.processing.org/t/how-to-zoom-on-to-center-of-the-screen/14090 "2022-02-03T17:50:52Z")

</div>

So I made a zoom (and pan) function for a program I am creating, and currently it zooms on the topleft corner of the screen. I want it to zoom on the center. NOTE: I can’t use imageMode(center), without refactoring a lo…

---

## [Trying to load random images from an array into rows and columns](https://discourse.processing.org/t/trying-to-load-random-images-from-an-array-into-rows-and-columns/34950)

<div class="topic-metadata">

**Author:** [@Rico22](https://discourse.processing.org/u/Rico22)\
**Replies:** 2\
**Last updated:** [February 3, 2022, 12:49pm UTC](https://discourse.processing.org/t/trying-to-load-random-images-from-an-array-into-rows-and-columns/34950 "2022-02-03T12:49:58Z")

</div>

Hello! I am new here and this is my first post. I looked around and wasn’t able to quite find a solution. I am relatively new to coding and am stuck. I have created a pattern of four squares and have attempted to set u…

---

## [Cp5 GUI; function runs before new window shows up](https://discourse.processing.org/t/cp5-gui-function-runs-before-new-window-shows-up/34911)

<div class="topic-metadata">

**Author:** [@pas](https://discourse.processing.org/u/pas)\
**Replies:** 0\
**Last updated:** [January 31, 2022, 10:38am UTC](https://discourse.processing.org/t/cp5-gui-function-runs-before-new-window-shows-up/34911 "2022-01-31T10:38:15Z")

</div>

Hi everyone, I am new to processing and coding in general. I’m trying to make Software for an automatic liquid handling station and the most of it is working. But: I have a GUI with a “Start” Button. When you click on i…

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

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