Skip to content

Chappie Brain / Consciousness in HTML, CSS & JS (React, Angular 1, Angular 2, Canvas "flavors")

License

Notifications You must be signed in to change notification settings

dimorphic/chappie-brain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 

Repository files navigation

Chappie Brain

Chappie inspired Brain / Consciousness animation recreated in HTML, CSS & JavaScript, available in multiple flavors: React, Angular 1, Angular 2 (RC1), Vue.js 2 and Canvas.

This was used as reference for my 'insane' test case presentation @ Angular-vs-React. This test is focused on a specific case, update items that is, and it's scores should be taken as is, and not as an overall score of one framework vs another. There are other libs out there that handle animations better. Do not do this at home! :)

Available branches (so far!):

  1. React demo (branch brain-react) ~0.13.3
  2. Angular
  1. Canvas
  1. Vue.js 2 demo (branch brain-vue) ^2.0.3

Preview

brain-preview-demo

Some stats:

Sample size: 1120 cells (half retina screen @ 1440 x 1800 px)

stats-half-screen-1120

Sample size: 2240 cells (full retina screen @ 2880 x 1800 px)

stats-full-screen-2240

Getting started

  1. Clone the repo of desired flavor (brain-react, brain-angular or brain-canvas):

$ git clone -b brain-FLAVOR https://github.com/dimorphic/chappie-brain

  1. Get in there

$ cd chappie-brain

  1. Install dev & app depedencies:

$ npm install

$ bower install (not on ES6 branches, going npm all the way!)

  1. Start it up:

$ npm start

Todo:

  • Fix funky Angular 1 bug rendering only strings on initial load? (hit refresh!)
  • test more libs/frameworks?
  • TBA

Contribution:

I've tried to keep things simple and make'em as fast as possible with each method/framework used. I'm looking forward to any contributions or even other 'flavor' branches and tests. Go fork, go hacking! :)

Credits:

  • @Chappie creators: Thanks for the awesome movie!
  • @James Whayman: Thanks for the color ranges! Sharing is caring <3

About

Chappie Brain / Consciousness in HTML, CSS & JS (React, Angular 1, Angular 2, Canvas "flavors")

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published