This thing also worked quite smooth on mobile devices :).
I just wanted to show animation I did long time ago when I was working at http://cnj.si/. I needed to animate two cute creatures, whale and elephant.
All I did was animation – those cartoon animals are not mine and website is not mine either.
I did it with help of Paper.JS library.
Animation of elephant:
Animation of fish/whale:
This is another fun python project I made myself in spare time. It’s simple connect four game made, where I studied mini max algorithm with α-β pruning. I admit that it took me a while to figure out the idea behind mini max, but when I did, it was quite simple to code. To bad I did it in python since it’s slow. Because of my expensive heuristic function I could reach only depth of 5 for minimax. Well, it’s possible to go deeper, but the game becomes un-playable because of slow response time.
Bot is quite strong, but anyone determined enough can beat it. If I would switch language from python to something like C#, I could make really faster -> stronger. But it’s ok, I have learned a lot!
Oh, also I like to do “dynamic” stuff so I can play connect four in any size I want.
This is where I won against the bot – the proof that bot was too weak :(. But I was scared that my own code outsmarted me so of course I needed to beat the bot! Well, it didn’t outsmarted me, yeah!