# Latest

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

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

**Page:** 216

---

## [Strange pixels with point()](https://discourse.processing.org/t/strange-pixels-with-point/30659)

<div class="topic-metadata">

**Author:** [@maze](https://discourse.processing.org/u/maze)\
**Replies:** 4\
**Last updated:** [June 12, 2021, 10:13am UTC](https://discourse.processing.org/t/strange-pixels-with-point/30659 "2021-06-12T10:13:19Z")

</div>

Drawing points with float positions doesn’t seem to round correctly in special situations. It seems that sometimes two points are rendered instead of one. stroke(0); strokeWeight(3); point(10, 19.9999); point(1…

---

## [Exporting a live wallpaper as stand alone app](https://discourse.processing.org/t/exporting-a-live-wallpaper-as-stand-alone-app/30637)

<div class="topic-metadata">

**Author:** [@Nino](https://discourse.processing.org/u/Nino)\
**Replies:** 1\
**Last updated:** [June 12, 2021, 5:30am UTC](https://discourse.processing.org/t/exporting-a-live-wallpaper-as-stand-alone-app/30637 "2021-06-12T05:30:19Z")

</div>

So I’ve been making live wallpapers in the processing app and I would love to be ble to share them with friends. Does anyone know if and how I can go about to export a live wallpaper as an apk file that others can instal…

---

## [Recreate Parabolic Triangle](https://discourse.processing.org/t/recreate-parabolic-triangle/30638)

<div class="topic-metadata">

**Author:** [@Chencho](https://discourse.processing.org/u/Chencho)\
**Replies:** 2\
**Last updated:** [June 12, 2021, 2:40am UTC](https://discourse.processing.org/t/recreate-parabolic-triangle/30638 "2021-06-12T02:40:49Z")

</div>

I want to recreate this Parabolic triangle gif using Processing. I’ve already got the “base” code figured out I think. What I need now is to cycle through my code to get the correct number of triangles/lines. I’m using…

---

## [PBox2D How to change individual shapes' Position in a body?](https://discourse.processing.org/t/pbox2d-how-to-change-individual-shapes-position-in-a-body/30646)

<div class="topic-metadata">

**Author:** [@goblincaptain](https://discourse.processing.org/u/goblincaptain)\
**Replies:** 2\
**Last updated:** [June 11, 2021, 3:13pm UTC](https://discourse.processing.org/t/pbox2d-how-to-change-individual-shapes-position-in-a-body/30646 "2021-06-11T15:13:27Z")

</div>

I want to create a static body with two rectangles in processing, and i want them to be like an “L”, but now the two rectangles are placed in the middle, and I don’t know how to fix that. Any suggestion will be appreciat…

---

## [Slider programmatic update](https://discourse.processing.org/t/slider-programmatic-update/30651)

<div class="topic-metadata">

**Author:** [@AndyP5](https://discourse.processing.org/u/AndyP5)\
**Replies:** 1\
**Last updated:** [June 11, 2021, 2:30pm UTC](https://discourse.processing.org/t/slider-programmatic-update/30651 "2021-06-11T14:30:51Z")

</div>

Hi there, I am looking to programmatically update position of a slider. I would like to have the slider manual user action, but also step the slider in response to a button press. Is this possible or do I need to re-…

---

## [ABCjs music notation library](https://discourse.processing.org/t/abcjs-music-notation-library/30635)

<div class="topic-metadata">

**Author:** [@patricio1979](https://discourse.processing.org/u/patricio1979)\
**Replies:** 4\
**Last updated:** [June 11, 2021, 8:39am UTC](https://discourse.processing.org/t/abcjs-music-notation-library/30635 "2021-06-11T08:39:32Z")

</div>

Hello, how can I port this https://www.abcjs.net/ libraryto p5js? It is useful for importing ABC music files (there’s a corpus for musicology research). In the index.html \<script src="abcjs-basic-min.js" type="text/ja…

---

## [Using Sound with Processing](https://discourse.processing.org/t/using-sound-with-processing/30641)

<div class="topic-metadata">

**Author:** [@Iperez](https://discourse.processing.org/u/Iperez)\
**Replies:** 0\
**Last updated:** [June 11, 2021, 2:45am UTC](https://discourse.processing.org/t/using-sound-with-processing/30641 "2021-06-11T02:45:03Z")

</div>

I am trying to add sound to my code using the Processing sound library but the sound is very slow and suddenly stops playing. I am working with an IMac 8Gb of Ram using Sur. The code is correct, I tested it on other com…

---

## [The command image() do not works](https://discourse.processing.org/t/the-command-image-do-not-works/30608)

<div class="topic-metadata">

**Author:** [@Kevincroos](https://discourse.processing.org/u/Kevincroos)\
**Replies:** 4\
**Last updated:** [June 10, 2021, 10:43pm UTC](https://discourse.processing.org/t/the-command-image-do-not-works/30608 "2021-06-10T22:43:19Z")

</div>

homework policy asking questions hello developers I had a problem with the image() command One answer is very important to me : \_ ( My image does not load on the screen, I check the console but I have no errors, my ima…

---

## [String Compare!](https://discourse.processing.org/t/string-compare/30612)

<div class="topic-metadata">

**Author:** [@r0x15](https://discourse.processing.org/u/r0x15)\
**Replies:** 2\
**Last updated:** [June 10, 2021, 8:55pm UTC](https://discourse.processing.org/t/string-compare/30612 "2021-06-10T20:55:47Z")

</div>

Good evening Does anyone know how to do that; given a string of IMEI characters and compared to its value, if it is the same, give me the possibility to run a program in android? Thanks so much!!

---

## [Formula does work on paper however not in my very simple program](https://discourse.processing.org/t/formula-does-work-on-paper-however-not-in-my-very-simple-program/30141)

<div class="topic-metadata">

**Author:** [@Nino](https://discourse.processing.org/u/Nino)\
**Replies:** 3\
**Last updated:** [June 10, 2021, 8:28pm UTC](https://discourse.processing.org/t/formula-does-work-on-paper-however-not-in-my-very-simple-program/30141 "2021-06-10T20:28:00Z")

</div>

I’m running into an issue where it seems like processing is wrongly calculating my formulas. The idea is simple I draw a line and I want to draw n number of points on that line, evenly distributed. So I came up with a …

---

## [Scene management in p5.js games](https://discourse.processing.org/t/scene-management-in-p5-js-games/30592)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [June 8, 2021, 11:44pm UTC](https://discourse.processing.org/t/scene-management-in-p5-js-games/30592 "2021-06-08T23:44:06Z")

</div>

Hello community, p5.js is a great library for drawings, animation and other fun programs. Some users use it even for making small games on canvas. Although p5.js wasn’t designed for games, it is a great tool for protot…

---

## [Fighting langton ants](https://discourse.processing.org/t/fighting-langton-ants/30636)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 0\
**Last updated:** [June 10, 2021, 7:34pm UTC](https://discourse.processing.org/t/fighting-langton-ants/30636 "2021-06-10T19:34:44Z")

</div>

An interesting little video from some named Ivan Vlahov the guy works in processing and also has code to share. His channel might also be worth checking out as he codes a lot of simulations like these.

---

## [Transparent sketch](https://discourse.processing.org/t/transparent-sketch/30603)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 1\
**Last updated:** [June 10, 2021, 7:29pm UTC](https://discourse.processing.org/t/transparent-sketch/30603 "2021-06-10T19:29:35Z")

</div>

@GoToLoop I’m just following an old thread and stumbled upon some of your code https://forum.processing.org/two/discussion/20499/moving-a-translucent-window-around-the-screen/p1 /\*\* \* Opacity + WindowDecoration (v2.0…

---

## [Fix NullPointerException error](https://discourse.processing.org/t/fix-nullpointerexception-error/30632)

<div class="topic-metadata">

**Author:** [@Chencho](https://discourse.processing.org/u/Chencho)\
**Replies:** 3\
**Last updated:** [June 10, 2021, 7:21pm UTC](https://discourse.processing.org/t/fix-nullpointerexception-error/30632 "2021-06-10T19:21:13Z")

</div>

I have an error in my code and I’m not sure how to fix it.I’m relatively new to Arrays. I want to sort the numbers given in Arreglo into two other arrays, one for positive numbers and the other for negative. Error is o…

---

## [Need to Delete control from G4P Builder](https://discourse.processing.org/t/need-to-delete-control-from-g4p-builder/30634)

<div class="topic-metadata">

**Author:** [@microchip22](https://discourse.processing.org/u/microchip22)\
**Replies:** 0\
**Last updated:** [June 10, 2021, 6:37pm UTC](https://discourse.processing.org/t/need-to-delete-control-from-g4p-builder/30634 "2021-06-10T18:37:57Z")

</div>

I added a control to a window in the G4P designer and now I want to deleted it. I tried to highlight the control, and press the delete key.

---

## [Printing Partial Name From Array](https://discourse.processing.org/t/printing-partial-name-from-array/30630)

<div class="topic-metadata">

**Author:** [@cottonchipper](https://discourse.processing.org/u/cottonchipper)\
**Replies:** 4\
**Last updated:** [June 10, 2021, 6:33pm UTC](https://discourse.processing.org/t/printing-partial-name-from-array/30630 "2021-06-10T18:33:41Z")

</div>

I’ve got an array made up of function names: Gz = \[Waterpump, Cyclotron, Conveyor, BoxDance, Tumblers, Giza, Lunar, Luxor, Trapeze, Sticks, Plus3, Bowtie, FourWalls, SquarePeg, Clockwork, Atomic, Batman, Robin, PolloLoc…

---

## [How to destroy sliders?](https://discourse.processing.org/t/how-to-destroy-sliders/30629)

<div class="topic-metadata">

**Author:** [@olaf000olaf](https://discourse.processing.org/u/olaf000olaf)\
**Replies:** 3\
**Last updated:** [June 10, 2021, 5:57pm UTC](https://discourse.processing.org/t/how-to-destroy-sliders/30629 "2021-06-10T17:57:05Z")

</div>

I have a slider that makes other sliders, and whenever I change the value of the first slider I create that amount of them. For example, the main slider is set to 3 then I make three sliders below, but whenever I change …

---

## [Reordering a chopped-up video (crop images from frames)](https://discourse.processing.org/t/reordering-a-chopped-up-video-crop-images-from-frames/30567)

<div class="topic-metadata">

**Author:** [@Mat100](https://discourse.processing.org/u/Mat100)\
**Replies:** 4\
**Last updated:** [June 10, 2021, 4:06pm UTC](https://discourse.processing.org/t/reordering-a-chopped-up-video-crop-images-from-frames/30567 "2021-06-10T16:06:06Z")

</div>

Hi, I’m a total noob at Processing. I presume this is possible but it would be good to have it confirmed before I start. :slightly\_smiling\_face: I want to cut rectangles from random frames in an existing video to const…

---

## [Upcoming crit session in June](https://discourse.processing.org/t/upcoming-crit-session-in-june/30622)

<div class="topic-metadata">

**Author:** [@tomchambers](https://discourse.processing.org/u/tomchambers)\
**Replies:** 1\
**Last updated:** [June 10, 2021, 7:43am UTC](https://discourse.processing.org/t/upcoming-crit-session-in-june/30622 "2021-06-10T07:43:59Z")

</div>

Next meeting on Tues 22nd June at 7:30pm UK time 8x8 8x8 is a peer community for artists who use technology in their work. It’s a place to build relationships, collaborate and create space for questions and debate. It…

---

## [Vectors and classes](https://discourse.processing.org/t/vectors-and-classes/30061)

<div class="topic-metadata">

**Author:** [@AnnaJo21](https://discourse.processing.org/u/AnnaJo21)\
**Replies:** 5\
**Last updated:** [June 9, 2021, 8:56pm UTC](https://discourse.processing.org/t/vectors-and-classes/30061 "2021-06-09T20:56:57Z")

</div>

Hello I'm trying to simplify some very clunky code in this example \[Vector grid\](https://editor.p5js.org/Anna21/sketches/bESH6Jgj1) by using classes. I'm very new to this and I'm sure there's a simple explanation but it…

---

## [Scaling to file](https://discourse.processing.org/t/scaling-to-file/30607)

<div class="topic-metadata">

**Author:** [@yalaniv](https://discourse.processing.org/u/yalaniv)\
**Replies:** 1\
**Last updated:** [June 9, 2021, 5:30pm UTC](https://discourse.processing.org/t/scaling-to-file/30607 "2021-06-09T17:30:24Z")

</div>

Is it possible to create graphics on screen size 1000\\750, But saving it to file as a 10000/7500? Export as a 1000/750 and scale it won’t work because it will make lines become rectangles and I want it to be thick as a…

---

## [I don't even know how to ask for help with this i must just be missing something obvious](https://discourse.processing.org/t/i-dont-even-know-how-to-ask-for-help-with-this-i-must-just-be-missing-something-obvious/30604)

<div class="topic-metadata">

**Author:** [@canslp](https://discourse.processing.org/u/canslp)\
**Replies:** 7\
**Last updated:** [June 9, 2021, 5:27pm UTC](https://discourse.processing.org/t/i-dont-even-know-how-to-ask-for-help-with-this-i-must-just-be-missing-something-obvious/30604 "2021-06-09T17:27:47Z")

</div>

???

---

## [Magnifier please help : (](https://discourse.processing.org/t/magnifier-please-help/30602)

<div class="topic-metadata">

**Author:** [@Goku557](https://discourse.processing.org/u/Goku557)\
**Replies:** 10\
**Last updated:** [June 9, 2021, 4:58pm UTC](https://discourse.processing.org/t/magnifier-please-help/30602 "2021-06-09T16:58:09Z")

</div>

Hey so i am trying to magnify a 5x5 area around the mouse cursour and then draw that area in a rect. Basicaly i want to get the surround pixels at mouse x and mouse Y . put those pixels into an array? use that array t…

---

## [Pong - Ball Bouncing Bug](https://discourse.processing.org/t/pong-ball-bouncing-bug/30599)

<div class="topic-metadata">

**Author:** [@SaftigMelo](https://discourse.processing.org/u/SaftigMelo)\
**Replies:** 7\
**Last updated:** [June 9, 2021, 11:06am UTC](https://discourse.processing.org/t/pong-ball-bouncing-bug/30599 "2021-06-09T11:06:44Z")

</div>

Hi, in school we are making a Pong Game. I only have a problem with the bouncing when the ball touches the paddle on one of the edges the ball gets stuck in the paddle. Bounce Method: void testCollision(Ball ball) …

---

## [How do I save an array of integers to json object/array](https://discourse.processing.org/t/how-do-i-save-an-array-of-integers-to-json-object-array/30583)

<div class="topic-metadata">

**Author:** [@gerrikoio](https://discourse.processing.org/u/gerrikoio)\
**Replies:** 2\
**Last updated:** [June 9, 2021, 9:06am UTC](https://discourse.processing.org/t/how-do-i-save-an-array-of-integers-to-json-object-array/30583 "2021-06-09T09:06:16Z")

</div>

If I had an array of integers, like so: int array\[\] = {1,2,3,4,5}; How would I convert this array to JSON so that it is in this format { "array" : \[ 1, 2, 3, 4, 5 \] } I am not sure what’s best inside my Processing(J…

---

## [Webcam interaction (colour component)](https://discourse.processing.org/t/webcam-interaction-colour-component/30577)

<div class="topic-metadata">

**Author:** [@Sarahjjt](https://discourse.processing.org/u/Sarahjjt)\
**Replies:** 2\
**Last updated:** [June 9, 2021, 7:57am UTC](https://discourse.processing.org/t/webcam-interaction-colour-component/30577 "2021-06-09T07:57:20Z")

</div>

Hi there, I’m working on an interactive webcam design, everything seems to be working okay except I’m stuck on how to get the local colours to reflect what’s on the camera. I’d really appreciate your help! let video; …

---

## [Embedding p5.js web editor in external site](https://discourse.processing.org/t/embedding-p5-js-web-editor-in-external-site/18400)

<div class="topic-metadata">

**Author:** [@Jithin](https://discourse.processing.org/u/Jithin)\
**Replies:** 6\
**Last updated:** [June 9, 2021, 7:43am UTC](https://discourse.processing.org/t/embedding-p5-js-web-editor-in-external-site/18400 "2021-06-09T07:43:08Z")

</div>

Is there any way to embed the whole p5 text editor in some external site rather than just the sketch part. This would help users to edit the code then and there itself to get the feedback.

---

## [MetaBalls from shaderToy](https://discourse.processing.org/t/metaballs-from-shadertoy/30414)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 6\
**Last updated:** [June 9, 2021, 7:29am UTC](https://discourse.processing.org/t/metaballs-from-shadertoy/30414 "2021-06-09T07:29:52Z")

</div>

Hello, I’m trying to use this metaballs shaders found on shaderToy with no results. I’ve got a black screen with this error : OpenGL error 1282 at bot endDraw(): invalid operation I adapt a little bit the code but I…

---

## [Looking for help working with CSV code or excel](https://discourse.processing.org/t/looking-for-help-working-with-csv-code-or-excel/28718)

<div class="topic-metadata">

**Author:** [@ADIYAIR](https://discourse.processing.org/u/ADIYAIR)\
**Replies:** 21\
**Last updated:** [June 9, 2021, 7:18am UTC](https://discourse.processing.org/t/looking-for-help-working-with-csv-code-or-excel/28718 "2021-06-09T07:18:35Z")

</div>

Looking for help or examples working with CSV code or excel to create visual pattern

---

## [Coding playground for kids](https://discourse.processing.org/t/coding-playground-for-kids/30591)

<div class="topic-metadata">

**Author:** [@codeguppy](https://discourse.processing.org/u/codeguppy)\
**Replies:** 0\
**Last updated:** [June 8, 2021, 11:37pm UTC](https://discourse.processing.org/t/coding-playground-for-kids/30591 "2021-06-08T23:37:38Z")

</div>

Hello Community, Processing and p5.js are great for coding education! Students from all over the world (high-school and college) are enjoying immensely the gently ease into coding that p5.js offers. As a matter of fa…

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

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