Get started with dynamics.js CDN

MIT licensed

Dynamics.js is a lightweight library for creating physics-based animations and interactions.

Tags:
  • animation
  • javascript
  • requestAnimationFrame
  • spring
  • physic
  • dynamics

Stable version

Copied!

How to start using dynamics.js CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with dynamics.js CDN - cdnhub.io</title>
  <style>
    #box {
      width: 100px;
      height: 100px;
      background-color: red;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      opacity: 1;
    }
  </style>
</head>
<body>
  <div id="box"></div>
  <script src="https://cdn.cdnhub.io/dynamics.js/1.1.5/dynamics.min.js"></script>
  <script src="script.js"></script>
</body>
</html>
Copied!
Copied!

All versions