bauble-runtime
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

Bauble

Bauble is a toy for composing signed distance functions in a high-level language (Janet), compiling them to GLSL, and rendering them via WebGL.

Bauble is still in its early days, but it's progressed to the point that you can do some pretty neat stuff with it. Try it out at https://bauble.studio/, or watch this video introduction where I model an infinite number of hot air balloons:

Livecoding a hot air balloon (1/3)

For more examples, I sometimes tweet videos of Bauble's development:

Dependencies

Development

To build Bauble, all you have to do is run:

$ ./build.sh

To create an optimized build, use:

$ BUILD_MODE=prod ./build.sh

Known bugs

  • [ ] Bauble will cast and calculate lights even for shaders that don't need lights, making it slower than it needs to be in the default RGB-normal shading view.

/bauble-runtime/

    Package Sidebar

    Install

    npm i bauble-runtime

    Weekly Downloads

    7

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    1.37 MB

    Total Files

    5

    Last publish

    Collaborators

    • jpaquim