Giter Site home page Giter Site logo

three.gui's Introduction

THREE.GUI

Simple 3D GUI for threejs, take a look at the demo.

TODO

  • (create) GUI.CircularList: like vertical list be move arround a centered axis.
  • (create) GUI.ParagraphGeometry: simple multiline text (just specify height and width).
  • (update) GUI.TextInput: change geometry generation to not exceed the area.
  • (update) GUI.TextInput: add placeholder.
  • (update) GUI.TextInput: add word suppresion.
  • (update) GUI.TextInput: add cursor.
  • (update) GUI.TextInput: add label.
  • (create) GUI.Grid: used to create simple grid layout to place items
  • (create) GUI.Block: Simple text block.
  • (create) GUI.ScrollableBlock: Simple text block with scrollbar if too much text.

THREE.GUI.Button

GUI.Button is a 3D button object.

Events

  • click - triggered when the mouse click on the button.�
  • hover - triggered when the mouse hovered the button.
  • unhover - triggered when the mouse unhovered the button.
  • focus - triggered when the button is focused.

THREE.GUI.TextInput

GUI.TextInput is a special button which allow to type some text like <input type="text"> html balise.

Events

  • change - triggered when type something.
  • submit - triggered when validate selection (pressed enter key).
  • hover - triggered when the mouse hovered the button.
  • unhover - triggered when the mouse unhovered the button.
  • focus - triggered when the button is focused.
  • unfocus - triggered when the button isnt focused anymore.

THREE.GUI.VerticalList

GUI.List generate a vertical list of gui objects automaticaly resized when you add new objects into.

Events

  • submit - triggered when user validate selection.
  • change - triggered when user change selection.

three.gui's People

Contributors

jeremt avatar

Watchers

James Cloos avatar Joan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.