npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

8gui

v1.1.2

Published

Utility tool for modifying any Threejs scenes variables during runtime.

Readme

8gui

Utility tool for modifying Threejs scenes variables during runtime.

Simple npm module with only one function : inspect(), taking up to two arguments. First argument is mandatory : the variable to setup a GUI for. Second argument is optionnal : the GUI button name.

Installation

The easiest way to install 8gui is from npm:

npm i 8gui

You can also copy dist/8gui-standalone.js in your project and require() it like shown below.

Quickstart

import GUI from '8gui'

// Pure JS use
var someJSObjectToInspect = {aString : "aStringValue", aFloat : "2.8"}
GUI.inspect(someJSObjectToInspect, "my Var GUI Editor")

// Enhanced THREE.Scene use
GUI.inspect(document.getElementById("scene")) // Presume a <a-scene id="scene"> in the dom

To 8thWall Teams

Hello ! I'm Jonathann from Flamingo Filter and i came here to give everyone some feedback, along with a surprise. We did realize and sell a few 8thwall project, three things slowed our project development on 8thwall :

1/ Setting up scenegraph nodes positions/rotations/scales is a lot of guessing the good values, reloading app and visually confirming it's fine. 2/ Setting up threejs materials can be complicated and time consuming for doing nice effects. 3/ Sometimes we load up new assets and are searching them for hours. It could be because of :

  • tiny scales, gigantic scales
  • far away position
  • invisible material setup
  • animations not running
  • disabled scene part
  • some model data never loaded
  • skinned mesh bounding box issues

For those three reasons we wanted to have the ability to edit during runtime objects transforms, to have tools to locate them in space, and to be able to edit material property during runtime too.

Thus we created a tool for this purpose : 8gui 8gui provides a runtime scene inspector GUI.

We showcase it in a 8thwall face effect project copy : https://flamingofilter.8thwall.app/official-8thwall-face-demo

You should notice the top right GUI. Try to explore contexts and change values. (Simplest test should be Glasses --> visible : on/off)


It's simple to setup : 1/ Add the 8gui-standalone.js to the 8thwall project 2/ In your js, add : require('./8gui-standalone') 3/ And further, use the only exposed function 'document.inspect()' on every object you want to inspect/edit:


The three lines we added in the original face-scene.js from 8thwall official demo :

require('./8gui-standalone')                        // <----- Make sure 8gui is loaded
// .....
loader.load(require('./assets/Models/stereo-glasses.glb'), (glassesObj) => {
    glassesObj.scene.scale.set(1.1, 1.1, 1.1)
    glasses.add(glassesObj.scene)
    document.inspect(glasses, "Glasses")            // <----- New line for inspecting the glasses object3d
  })
// .....
const {scene} = XR8.Threejs.xrScene()
document.inspect(scene)                             // <----- New line for inspecting the whole scene

We also made 8gui an npm js module : https://www.npmjs.com/package/8gui

We are trying to make the inspector more intelligent with specific tools. One of them already present is a 'locate' button inside 'position' objects. Clicking on it should create a yellow bounding box on the target with a 3D arrow going from camera center to the target world position.

A few other tools like this are in progress but not working as intended yet, like MoveTo buttons next to Locate buttons. Feedback and participations are welcome.

Feel free to use 8gui in your projects for speeding up development ! (Licence is Apache 2.0)

Cheers from the Flamingos