68

Generative Coding – “The Nature of Code” Ported to Three.js

 5 years ago
source link: https://www.tuicool.com/articles/hit/36zaIbB
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Generative Coding — The Nature of Code Ported to Three.js

UjUNNzR.gif
Game of Life in three.js

Daniel Shiffman’s Nature of Code book introduced me to the world of generative coding.

This port of his Nature of Code examples to three.js is my homage to the book.

I’ve not reproduced every single example, but rather the key ones in each chapter. These should be more than enough for anyone to understand how to code all his examples in three.js.

I’ve also not followed the styles and colors faithfully, but rather added some of my own flourishes.

The listing is below. First link in each set is the demo, and the second link is the github repo with the code.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK