heaxjs:用JavaScript编写的Verlet物理引擎

时间:2021-05-08 07:44:42
【文件属性】:
文件名称:heaxjs:用JavaScript编写的Verlet物理引擎
文件大小:358KB
文件格式:ZIP
更新时间:2021-05-08 07:44:42
JavaScript Heax Js 用javascript编写的Verlet物理引擎。 安装 从npm npm install heax 来自CDN < script src =" https://cdn.jsdelivr.net/gh/coderosh/heaxjs@1.0.0/dist/bundle.js " > </ script > 用法 导入类 // if you are using npm import Heax , { Vector , Composite } from "heax" ; // if you are using cdn link const { Heax , Vector , Composite } = window ; 创建一个heax实例并将画布元素传递给它 const heax = new Heax ( document . querySelector ( "ca
【文件预览】:
heaxjs-main
----docs()
--------Vector.js.html(14KB)
--------Point.js.html(16KB)
--------Vector.html(27KB)
--------fonts()
--------Stick.html(27KB)
--------Point.html(30KB)
--------index.html(15KB)
--------Composite.js.html(15KB)
--------dist()
--------Heax.html(43KB)
--------Mouse.js.html(15KB)
--------examples()
--------Composite.html(29KB)
--------Stick.js.html(15KB)
--------Mouse.html(22KB)
--------styles()
--------scripts()
--------Heax.js.html(18KB)
----package.json(927B)
----package-lock.json(211KB)
----dist()
--------bundle.js(6KB)
----src()
--------index.js(334B)
--------Composite.js(3KB)
--------Mouse.js(3KB)
--------Stick.js(3KB)
--------Point.js(3KB)
--------Heax.js(5KB)
--------Vector.js(2KB)
----jsdoc.json(930B)
----.npmignore(93B)
----examples()
--------ragdoll.html(4KB)
--------cloth.html(1KB)
--------index.html(2KB)
--------shapes.html(2KB)
----.gitignore(14B)
----webpack.config.js(412B)
----README.md(2KB)

网友评论