Skip to content

kdaimiel/gravity-angular

Repository files navigation

gravity-angular-velocity

Gravity 2D model with Velocity & Angular

Documentation

Example

<html>
<head>
  <title>Gravity 2D model with Velocity & Angular</title>

  <link rel="stylesheet" type="text/css" href="css/gravity.css"/>
</head>
<body ng-app="gravity">
  <div id="gravity" data-ng-controller="GravityController as gc">
      <p>Double-click to add new nodes. Drag to move them. <br>Change skin: <a data-ng-click="gc.previousSkin()" href="">Previous</a> / <a data-ng-click="gc.nextSkin()" href="">Next</a>.</p>
      <gravity></gravity>
  </div>

  <script type="text/javascript" src="../bower_components/angular/angular.min.js"></script>
  <script type="text/javascript" src="../bower_components/velocity/velocity.min.js"></script>

  <!-- Gravity dependencies -->
  <script type="text/javascript" src="../dist/gravity.min.js"></script>

</body>
</html>

About

Gravity 2D model with Velocity & Angular

Resources

Stars

Watchers

Forks

Packages

No packages published