Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng3-gui

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng3-gui

![image](https://user-images.githubusercontent.com/25032599/196543108-dae2ae7c-f6d8-4b89-9b21-e93bee66376e.png)

  • 0.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by125%
Maintainers
1
Weekly downloads
 
Created
Source

Angular Three version of lil-gui

image

For use in threejs scenes built using angular-three. Uses ng3-flat-ui controls and theme.

Interface matches lil-gui, so easy drop-in replacement for use within a three scene. Supports onChange event.

Updated to support multi-line text input.

import { Ng3GUI } from 'ng3-gui'; 

selectable = new InteractiveObjects();
basic!: Ng3GUI;

ngOnInit(): void {
  const gui = new Ng3GUI();

  const myObject = {
	  myBoolean: true,
	  myFunction: function() { ... },
	  myString: 'lil-gui',
	  myNumber: 1
  };

  gui.add( myObject, 'myBoolean' );  // Checkbox
  gui.add( myObject, 'myFunction' ); // Button
  gui.add( myObject, 'myString' );   // Text Field
  gui.add( myObject, 'myNumber' );   // Number Field

  this.basic = gui;
}
<ng3-gui [position]="[1.7, 1, -2]"  [gui]="basic" [selectable]="selectable"></ng3-gui>

Component works in browser window using touch or mouse. GUI windows can be moved along x-y plane.

Component also work in VR using ray caster to provide an in-scene user interface. Windows can be dragged around scene.

Roadmap

In no particular order, add support for

  • lighting properties
  • geometry properties
  • material properties
  • material picker
  • mesh picker
  • performance stat panels

Keywords

FAQs

Package last updated on 11 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc