Skip to content

immediate mode ui in javascript on html canvas (2016+) (multimedia loop (60fps))

Notifications You must be signed in to change notification settings

remzmike/javascript-simpleui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(demo)

screenshot

  • simpleui - v00 - 12/8/2016 10:19:01 AM - preview release
  • simpleui - v01 - 9/16/2018 1:03 PM - added webgl support
  • simpleui - v02 - 11/10/2018 4:14 PM - broad refactoring
  • simpleui - v03 - 11/17/2018 5:32 PM - broad refactoring

About

This is an "immediate-mode ui", which basically means ui components are functions.

This is useful because it changes the way gui applications are written and extended.

It is a work in progress, written in a straight-line style for easy experimentation.

History

I wrote this twice in C#, then ported to lua, then ported to this javascript.

Where has this library been used?

* XNA (C#) (2008)
* Mono GTK [cairo] (C#) (2012)
* leaguebot (lua) (2014)
* love2d (lua) (2015)    
* html canvas (javascript) (2016)
* html webgl [pixi] (javascript) (2018)

Todo

  • refactor / semantic compression
  • nested stack auto id's
  • dom renderer (no canvas)

About

immediate mode ui in javascript on html canvas (2016+) (multimedia loop (60fps))

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published