three.js-gui-engine

0.4.9 • Public • Published

three.js-GUI-engine

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

npm package

example (see example folder)

Allows to create the following elements:

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(object), onmouseup(object), onmouseover(object), 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

/three.js-gui-engine/

    Package Sidebar

    Install

    npm i three.js-gui-engine

    Weekly Downloads

    331

    Version

    0.4.9

    License

    MIT

    Unpacked Size

    101 kB

    Total Files

    19

    Last publish

    Collaborators

    • donteatme