Skip to content

A collection of "Hello World"s in varieties of programming languages.

License

Notifications You must be signed in to change notification settings

foreverbell/lisa-kaleidoscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lisa-kaleidoscope

Introduction

Some funny thing powered by genetic algorithm implemented in different languages. As I learn one programming language by building some small, funny but full-functional programs, this is a good example for me to get familiar with one programming language, including basic syntax, programming model, asynchronous IO and e.t.c.

Imagine your have one hundred monkeys, and you give each of them a colorful pencil and paper. Your monkeys are creatures that are brilliant at drawing circles! At each turn you ask every monkey to draw a randomized filled circle on the paper. After that you compare their works with Leonardo da Vinci's Mona Lisa, choose the best among your monkeys' works including the last turn's best one, make one hundred hard-copys and let your monkeys do again. Well.. do you think your monkeys will eventually draw you a Mona Lisa?

Usage

Currently it is implemented in the following languages, I will add more if I am interested in other languages.

  • C++
  • Golang
  • Rust
$ cd $LANGUAGE
$ make run

Make sure you have the corresponding toolchain installed before you compile it.

Navigate to http://localhost:8080/lisa with your browser to see funny stuffs.

Animation

Well....

About

A collection of "Hello World"s in varieties of programming languages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published