Skip to content

Project Development

Jennifer Shepherd edited this page Mar 10, 2018 · 6 revisions

steps we have taken:

day 1:

  • ground rules
  • project idea clarified
  • MVP decided
  • slack created
  • research into matter.js
  • diagramming in multiple cycles
  • blog started

day 2:

  • initial set up of jasmine and matter.js via npm
  • explored using jest for testing
  • Jest took too much time to get running satisfactorily so decided to use jasmine.js for testing
  • brainstorm class structure for our cells
  • experimented with matter.js, creating basic shapes as bodies
  • created basic class structure for implementing matter (cell and simulation)
  • created controller to communicate between classes
  • rendered a shape on the page!

day 3:

  • physics of movement was explored and cells started moving
  • walls were created at the edges of the canvas for the shapes to bounce off
  • gravity got switched off

day 4:

  • agreed structure of the code base
  • got the animator class running
  • created an event controller
  • code extraction
  • installed matter-collision-events plugin and researched collisions

DAY 5:

  • spiked the cell collisions
  • cell factory now produces cells and adds them to the world
  • anything else??

weekend:

  • merged in the cell movement
  • ensured all tests pass
  • explored growing cells
  • pass in new objects to constructors
  • css for browser - title and background
Clone this wiki locally