LET'S CONNECT
✨ Sign up for my newsletter at https://www.pattvira.com
✨ Instagram: https://www.instagram.com/pattvira
✨ Twitter: https://twitter.com/pattvira
--
Links:
🔗 p5.js editor: https://editor.p5js.org/
🔗 NileRed Logo (BZ Reaction) Code: https://editor.p5js.org/pattvira/sketches/FxKGvAwEj
🔗 Introduction to Creative Coding Playlist: https://youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
References:
🔗 @NileRed 's Recreating one of the weirdest reactions: https://youtu.be/LL3kVtc-4vY?si=WsYSk0BLRWV6YFo5
🔗 Alasdair Turner’s A Simple Model of the Belousov-Zhabotinsky Reaction from First Principles: https://discovery.ucl.ac.uk/id/eprint/17241/1/17241.pdf
Timestamps:
0:00 Intro
01:12 Approach
02:59 Create 3d arrays
06:03 Display and color grid based on arrays
08:33 Apply reaction-diffusion rules
13:02 Fix index out of range issues with modulo %
16:17 Final touches