borntofrappe / the-nature-of-code

Recreate some of the examples from the book [The Nature of Code](https://natureofcode.com/book/) with Lua and Love2D.
4 stars 0 forks source link

Book status #1

Open borntofrappe opened 3 years ago

borntofrappe commented 3 years ago
|1|2|3|4|5|6|7|8|x|x|

The repository has evolved rather nicely from chapters 1 to 7 (included). Chapter 8 took more effort than anticipated, and while I covered it entirely, I need to revisit some of the demos (L-system first).

I've started reading chapter 9 , and I can already admit it will take a day or two before I manage to write code for it. The concepts are clear, but I want to understand the topic thoroughly before jumping in VSCode.

borntofrappe commented 3 years ago

Update: I'm halfway through chapter 9, and satisfied to have already created a few working demos exploring genetic algorithms. A clear highlight is the the demo evolving a flow field to have vehicles move toward an arbitrary target.

Evolutionary flow field

borntofrappe commented 3 years ago

Update: chapter 9 completed. However, I want to spend more time refactoring the code for a couple of demos (see issue #4) and then develop a rough version of the Smart rockets concept (see issue #5 and this coding challenge)

borntofrappe commented 3 years ago

Satisfied to report that both issues where addressed. The demo with the rockets learning to approach the target is particularly entertaining.

https://user-images.githubusercontent.com/33316703/106816967-7af54300-6676-11eb-9104-0185a2834146.mp4