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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?