npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

dreemgl

v0.0.6

Published

DreemGL is an open-source multi-screen prototyping framework for mediated environments, with a visual editor and shader styling for webGL and DALi runtimes written in JavaScript. As a toolkit for gpu-accelerated multiscreen development, DreemGL includes

Downloads

20

Readme

DreemGL

DreemGL is an open-source multi-screen prototyping framework for mediated environments, with a visual editor and shader styling for webGL and DALi runtimes written in JavaScript. As a toolkit for gpu-accelerated multiscreen development, DreemGL includes features such as:

  • IoT Integration for Smart Environments that is elegantly simple
  • Visual layouts and compositions using real data from network services
  • Fast prototyping that allows designers to easily test compositions that connect multiple users in shared experiences on big screens or projections, while allowing each person to use the control tools and preferences they have configured.

An overview of the DreemGL's architecture:

Getting Started with DreemGL

The fastest way to get started with DreemGL is to walk through DreemGL in 10 Minutes.

Working with DreemGL NPM

Install the DreemGl NPM globally to include the dreemgl command line standalone launcher:

npm install -g dreemgl

Serve a single DreemGL composition

The easiest way to get started quickly is to have DreemGL serve an individual composition using the standalone launcher:

dreemgl -port 3000 ./mydreemglapp.js

Serve DreemGL from within an expresss app

It's easy to integrate the DreemGL runtime from within an express app:

// Create an express app
var express = require('express');
var app = express();

// Init DreemGL setup
require = require('dreemgl')

// These options will be used when building composition servers, use dummy bus for simplicity
define.$compositionOptions = {
	busclass: '$system/rpc/dummybusserver',
	clientdefines: { busclass:"$system/rpc/dummybusclient" }
}

// The ExpressAdapter helps configure DreemGl to work with express easily
var ExpressAdapter = require('$system/adapters/expressadapter')()

// Configure serving the static JS files that DreemGL will ask for
ExpressAdapter.mountStatic(express, app)

// Configure requests to be handled by the ExpressAdapter.requestHandler, in this case everything:
app.get('/*', ExpressAdapter.requestHandler);

// Start the server listening on port 3000
app.listen(3000, function() { console.log("Started express server on port 3000") });

A more complex example using the firebase bus can be found in the DreemGL repository at ./examples/express+firebase.js

Working with DreemGL Repository

For more complex usage, it's often easier to work outside of the NPM with the full DreemGL stack from the github repository. Once you have downloaded the source from the master branch of dreemproject in Github, you can start DreemGL by typing:

node server.js

To test if everything is working fine, open the following URL for the treeart2.js composition in a supported browser: http://localhost:2000/examples/treeart2. You should be seeing an animated tree with some nice shader effects.

To try livecoding a shader open this: http://127.0.0.1:2000/test/rendertest and open ./test/rendertest.js in your editor and start typing away and saving, reload is live.

Documentation

DreemGL provides an API reference, a Developer's Guide, and guides for all components, including the visual layout toolkit, the flow graph, and IoT integration. See the links to all available guides.

DreemGL can generate documentation automatically from all the code in its system. When DreemGL is running, this documentation can be accessed locally at http://localhost:2000/docs/api/index.html.

Instructions for adding documentation and rebuilding the documentation can be found in the Developer's Guide.

##Talk to Us

Have a question? Comment? Something cool to show people? We're all on Slack. Join us! Slack Status

Contributing to DreemGL

Like DreemGL? Get involved. Find more information in the file "Contributing.md", also in this directory.

Filing Feature Requests and Bug Reports

DreemGl is an open-source project and uses JIRA to track feature requests and bug reports. We encourage you to post your reports here.

License

This software is licensed under the Apache License, Version 2.0. You will find the terms in the file named "LICENSE.md", also in this directory.

Attribution

DreemGL is produced in collaboration between Teeming Society and Samsung Electronics, sponsored by Samsung Electronics and others.