Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • Socket score

Version published
Maintainers
1
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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc