🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

lucy-app

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lucy-app

Scene loading and event loop for Lucidity.

0.2.0
latest
Source
npm
Version published
Weekly downloads
1
-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

application

FAQs

Package last updated on 22 Sep 2015

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