three.js-gui-engine

0.5.16 • Public • Published

three.js-GUI-engine

NPM Package

GUI engine for three.js. It allows to create interfaces by WebGL via three.js.

example (see example folder)

Allows to create the following elements (inherited from THREE.Object3D):

GUI.Button - button
GUI.Panel - panel
GUI.Label - text
GUI.RadioGroup - group of radiobuttons element
GUI.RadioButton - radiobutton
GUI.CheckBox - checkbox
GUI.EditBox - editbox
GUI.ScrollBar - scrollbar
GUI.Icon - image

All elements have redefinable methods onmousedown(intersect), onmouseup(intersect), onmouseover(intersect), onmouseout(object), where object is subelement for which the event has been occurred.
Element form specifies by geometry property.

example install:
npm install

example build:
npm run dev
npm run prod

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.5.1658latest

Version History

VersionDownloads (Last 7 Days)Published
0.5.1658
0.5.157
0.5.142
0.5.132
0.5.111
0.5.101
0.5.82
0.5.71
0.5.60
0.5.51
0.4.130
0.4.121
0.4.110
0.4.101
0.4.91
0.4.80
0.4.71
0.4.51
0.4.42
0.4.31
0.4.22
0.4.11
0.4.01
0.3.131
0.3.120
0.3.110
0.3.100
0.3.90
0.3.81
0.3.70
0.3.61

Package Sidebar

Install

npm i three.js-gui-engine

Weekly Downloads

90

Version

0.5.16

License

MIT

Unpacked Size

109 kB

Total Files

20

Last publish

Collaborators

  • donteatme