Giter VIP home page Giter VIP logo

cs4802l3's Introduction

Jon Sorrells, lab 3, cs 4802 To view the output, go to http://jlsorrells.github.io/cs4802l3/

For this lab, I added a graph of population over time, and a button to clear the board.
For the graph code, I modified an example from http://bl.ocks.org/mbostock/3883245

supported interactions before lab:

  • Button to pause/unpause simulation. This allows the user to stop at a certain generation and look more closely at it.
  • Input box to control speed of simulation. This allows users to slow down the simulation to watch each generation more closely, or speed it up to see the long term results.
  • Click on cells to change their state. This allows users to put in custom patterns.

interaction opportunities:

  • Ability to clear board so you can more easily put in a specific pattern. The user needs to be able to easily input a custom pattern. Currently, there is no way to clean the board, so a user inputting a pattern needs to manually clear it by clicking on every single live cell. A single button to set the board to empty would fix this.
  • View population over time. Currently, there is no way to see how many live cells there are (you could count them one at a time, but the gird is 50x50, so it would take a while). A nice fix for this would be to include a graph of population over time.
  • Ability to modify rules to control cell life/death. Users may want to simulate different environments with custom rules. The current system has default rules and no options to change them. A fix for this would be to have checkboxes where users could select if a cell should live or die if it has x neighbours.

cs4802l3's People

Contributors

jlsorrells 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.