All Projects → colejd → Guify

colejd / Guify

Licence: other
A simple GUI for inspecting and changing JavaScript variables

Programming Languages

javascript
184084 projects - #8 most used programming language
js
455 projects

Projects that are alternatives of or similar to Guify

Qml Creative Controls
QML controls for creative applications and creative coding
Stars: ✭ 199 (+79.28%)
Mutual labels:  creative-coding, gui
Hello imgui
Hello, Dear ImGui: cross-platform Gui apps for Windows / Mac / Linux / iOS / Android / Emscripten with the simplicity of a "Hello World" app
Stars: ✭ 120 (+8.11%)
Mutual labels:  creative-coding, gui
Vuegg
🐣 vue GUI generator
Stars: ✭ 2,056 (+1752.25%)
Mutual labels:  gui, prototyping
Tweakpane
🎛 Compact GUI for fine-tuning parameters and monitoring value changes
Stars: ✭ 1,296 (+1067.57%)
Mutual labels:  creative-coding, gui
Horus ui
HorusUI Immediate Mode Graphical User Interface
Stars: ✭ 106 (-4.5%)
Mutual labels:  gui
Gotcha
Turn your Framer prototype into its own live developer spec.
Stars: ✭ 103 (-7.21%)
Mutual labels:  prototyping
Python Examples
Python examples from my answers on Stackoverflow and other short scripts.
Stars: ✭ 101 (-9.01%)
Mutual labels:  gui
Pytkgen
Create Tkinter GUIs from JSON definition files.
Stars: ✭ 100 (-9.91%)
Mutual labels:  gui
Handwriter
A smart program to convert digital document to hand-written document
Stars: ✭ 108 (-2.7%)
Mutual labels:  gui
Python Example
How to Build an Electron GUI for a Python Module
Stars: ✭ 108 (-2.7%)
Mutual labels:  gui
Reflex Dom Inbits
A tutorial for reflex-dom with small code bits
Stars: ✭ 105 (-5.41%)
Mutual labels:  gui
Whoosh
[Prototype] Control a 3D spaceship with hand movements
Stars: ✭ 104 (-6.31%)
Mutual labels:  creative-coding
Hamster Gtk
A GTK3 time tracker. Powered by 'hamster-lib'
Stars: ✭ 106 (-4.5%)
Mutual labels:  gui
Easyfxml
A collection of tools and libraries for easier development on the JavaFX platform!
Stars: ✭ 102 (-8.11%)
Mutual labels:  gui
Desktop
Go/HTML/CSS/JS Desktop application scaffold.
Stars: ✭ 109 (-1.8%)
Mutual labels:  gui
Ahk Rare
My collection of rare and maybe very useful functions
Stars: ✭ 101 (-9.01%)
Mutual labels:  gui
Qtquickvcp
A Virtual Control Panel for Machinekit written in Qt/C++/QML
Stars: ✭ 104 (-6.31%)
Mutual labels:  gui
Jquery Querybuilder
jQuery plugin offering an interface to create complex queries
Stars: ✭ 1,499 (+1250.45%)
Mutual labels:  gui
Invmenu
A PocketMine-MP virion to create and manage virtual inventories!
Stars: ✭ 104 (-6.31%)
Mutual labels:  gui
Websoftspheredemo
Implement and optimizate ANALYTICAL FOAM algorithm metioned in Entagma
Stars: ✭ 104 (-6.31%)
Mutual labels:  creative-coding

guify

npm version

Demo

Guify provides you a simple GUI for your JS code. I made this because there wasn't anything really good for quick GUI creation for things like three.js or p5.js projects.

Guify gives you toast notifications, as well as an optional header bar to give your project a "web app" look. Each component of the GUI can be bound to a variable so you don't have to manually poll its state.

Guify is designed to be accessibility-friendly, but I don't have a good way to test it. If something doesn't work for you, please file an issue and I'll do my best to help!

Check out the React version!

Installation

npm install --save guify, or copy guify.js from /lib.

Usage

For browser projects, you can use the transpiled version in /lib. If you're working with ES6 (for example, in a Node project), you can use the files at /src directly.

The API can be found at /docs/api.md.

Quick Start

First import using either require or ES6 imports:

// ES6
import guify from 'guify'

// Require
let guify = require('guify');

Then you can make a quick GUI this way:

var gui = new guify({
    title: "Some Title",
    align: 'right',
    theme: 'light'
});

gui.Register([
    { 
        type: 'range', label: 'Range', 
        min: 0, max: 20, step: 1 
    },
    { 
        type: 'button', label: 'Button' 
    },
    { 
        type: 'checkbox', label: 'Checkbox' 
    }
]);

See example.html for a more complete example.

Building This Package

If you want to build this package, you can run npm install and then npm run build, which will create /lib/guify.min.js.

NPM commands:

  • build: Creates /lib/guify.min.js, the default script used by this package.
  • dev: Creates /lib/guify.js.
  • dev:watch: Runs dev and serves the /example directory as a static web page.

If you're working with Visual Studio Code, download my CSJS Syntax Highlighter plugin to help when editing any of the .csjs.js files in /styles.

Changelog

See changelog.md.

License

MIT license. See license.md for specifics.

Credit

This package is largely based on control-panel. For setting this up, I used webpack-library-starter.

Alternatives

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].