Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hcaptcha-for-forms-and-more domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/cassenet/domains/cass-e.net/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hcaptcha-for-forms-and-more domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/cassenet/domains/cass-e.net/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/cassenet/domains/cass-e.net/public_html/wp-includes/functions.php on line 6114
p5.js Pixel Summer Storm - Cass-E Design

Cass-E Design

Design, Experiments, Games, Resources

p5.js Pixel Summer Storm

WARNING: Flashing lightning! I would not expect this to be dangerous because it shouldn't happen too often and it's not very sharp. You should still know about it in advance!

The height of a storm we had here, made in the p5js library.
Press keys or click/tap to make the lightning flash! if It's not working, try clicking on the piece first.

Edit April 2021: Apparently a change somewhere along the lines has doubled the resolution of the live sketch. The preview thumbnail shows its original resolution. I'm not sure why yet.

I had a lot of fun with this!

This is my first time exploring fake lighting and the illusion of 3D space in p5js. I've done fake shadows, and I've changed the entire colours of objects based on light, but I haven't ever tried to create highlights around the edges of shapes, or tried for a really '3D' space rather than just stylized 2.5D.

Previous Post

Next Post