Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

stardustjs/stardust-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[Archived] Stardust Example Code

Please use the unified repo for further development: https://github.com/stardustjs/stardust

Stardust Example Code

This repository provides a set of Web visualization and graphic examples using the Stardust library.

Example Structure

We use a similar approach as in bl.ocks.org:

  • Each example is runnable standalone with some common code provided in the static folder in this repository.
  • Each example has a metadata.json file for description, and a preview.png file for thumbnail.
  • The content of each example is rendered as a HTML file for reading online.

Common code for all examples:

  • static/assets/style.css: The common CSS styling for Stardust's examples to have a uniform look
  • static/assets/utils.js: Some utility functions, including:
    • FPS measure
    • Transition timing
  • stardust/stardust.bundle.js
    • The version of Stardust that works with the examples.

metadata.json format:

{
    description: "A short description file",
    excludes?: [
        "file.to.exclude",
        ...
    ]
}

About

Examples for stardust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published