verlet-js

A simple Verlet physics engine written in javascript

  • 所有者: subprotocol/verlet-js
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

verlet-js

A simple Verlet (pronounced 'ver-ley') physics engine written in javascript.

Particles, distance constraints, and angular constraints are all supported by verlet-js. From these primitives it is possible to construct just about anything you can imagine.

License

You may use verlet-js under the terms of the MIT License (See LICENSE).

Examples

  1. Shapes (verlet-js Hello world)
  2. Fractal Trees
  3. Cloth
  4. Spiderweb

Code Layout

  1. js/verlet-js/vec2.js: 2d vector implementation
  2. js/verlet-js/constraint.js: constraint code
  3. js/verlet-js/verlet.js: verlet-js engine
  4. js/verlet-js/objects.js: shapes and objects (triangles, circles, tires..)

Build for npm

npm run build

主要指标

概览
名称与所有者subprotocol/verlet-js
主编程语言JavaScript
编程语言CSS (语言数: 2)
平台
许可证Other
所有者活动
创建于2013-04-10 07:22:41
推送于2019-10-18 18:50:44
最后一次提交2014-05-01 20:18:48
发布数0
用户参与
星数3.8k
关注者数223
派生数460
提交数62
已启用问题?
问题数11
打开的问题数9
拉请求数3
打开的拉请求数6
关闭的拉请求数10
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?