Code Monkey home page Code Monkey logo

fast-life's Introduction

Fast-life

This project is bootstrapped by aurelia-cli.

For more information, go to https://aurelia.io/docs/cli/cli-bundler

Run dev app

Run au run, then open http://localhost:9000

To open browser automatically, do au run --open.

To change dev server port, do au run --port 8888.

To change dev server host, do au run --host 127.0.0.1

To install new npm packages automatically, do au run --auto-install

PS: You could mix all the flags as well, au run --host 127.0.0.1 --port 7070 --open

Build for production

Run au build --env prod.

Fast Life

Pushing Aurelia JS to speed

Conway's Game Of Life has been a vehicle to learn new things to me for many years; here I’m experimenting to see if Aurelia can match a Vanilla js version — It does. Take look at this wikipedia page for a description of GOL

The modular nature of Aurelia invited me to enhance the UI / layout as well.

Features

  • Easy buttons to experiment with the rules
  • Rule presets that sync with your own settings - if there’s a match
  • Adjustable cell size
  • Draw cells yourself
  • Optional ‘trails’ to smooth things out
  • Slow life with slider or hover over the canvas
  • Grid for drawing life cells more precisely
  • Web-worker for computing of life generations
  • Optionally stop heavy computing automatically when Life get's stable

Don't hesitate to check out my other games and projects at ashWare.nl

fast-life's People

Contributors

esger avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.