Skip to content

Latest commit

 

History

51 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lucy App Build Status

Part of lucidity project.

Simple runtime for Lucidity applications

lucy.app helps loading scenes and runs the animate loop.

Usage example (without live coding):

// Singleton
const app  = require ( 'lucy-app' )
const main = require ( './scene/index' )

main.setup ()

app.run ( main )

Usage example (live coding):

// Singleton
const app  = require ( 'lucy-app' )
const live = require ( 'lucy-live' )
live.require
( './scene/index'
, function ( s )
  { s.setup ()
    app.run ( s )
  }
)

Usage example (live coding, scene composition):

// Singleton
const app   = require ( 'lucy-app' )
const comp  = require ( 'lucy-compose' ).load

const fx    = comp.load ( './fx' )
const scene = comp.load ( './scene' )

// setup and live reload is managed by composer
fx
( 'blur'
, scene ( 'triangle' )
)
.ready.then
( function (s)
  { app.run (s)
  }
)

Installation

npm install lucy-app --save

Tests

npm test

Contributing

Please use 'jessy style'.

Add unit tests for any new or changed functionality.

Release History

  • 0.2.0 (2015-09-22) Using dirsum to check for changes in work directory.
  • 0.1.0 (2015-09-02) Initial release.

About

Lucidity runtime (scene loader, application loop, etc).

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages