← All projects
Project record3 mentions
Originally shared on Hacker News

Bauble

A lisp-based 3D art tool that is gaining a graphtoy.com-style graph plotting feature to visualize functions, especially animation curves that vary over time. The goal is to plot arbitrary expressions with free variables, inferring the axes and overlaying the values in the orthographic view (alt-q), so a user can write something like (ss p.x 0 10 | graph) on any expression and see it visualized as they work.

Last shared
01 / The problem

What it addresses

The graphing feature is not yet seamless: plotting arbitrary expressions with free variables and inferred axes in the orthographic view hasn't been fully figured out.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Bauble

    A lisp-based 3D art tool that is gaining a graphtoy.com-style graph plotting feature to visualize functions, especially animation curves that vary over time. The goal is to plot arbitrary expressions with free variables, inferring the axes and overlaying the values in the orthographic view (alt-q), so a user can write something like (ss p.x 0 10 | graph) on any expression and see it visualized as they work.

    Problem: The graphing feature is not yet seamless: plotting arbitrary expressions with free variables and inferred axes in the orthographic view hasn't been fully figured out.

    Posted by @ianthehenry · Original source ↗

    Source text · @ianthehenry · · Source ↗

    I'm working on adding something like https://graphtoy.com/ to my lisp-based 3D art tool https://bauble.studio/. It's really useful to visualize functions like this, especially when writing animation curves that vary over time.
  2. Bauble

    A programmatic 3D art playground built around signed distance functions (SDFs). It works as a high-level GLSL compiler that models SDFs as first-class values, letting users compose, distort, and repeat 3D shapes with mathematical operations in just a few lines of code, then 3D print the results. Still being finished up with documentation and a few more primitives before wider promotion.

    Problem: SDFs are widely used in generative art but hard to wrangle in shader code directly, because GLSL lacks first-class functions and composing shapes requires manually plumbing arguments around.

    Posted by @ianthehenry · Original source ↗

    Source text · @ianthehenry · · Source ↗

    https://bauble.studio/ is a programmatic 3D art playground that I've been working on for a while now, and I'm pretty excited about it!
  3. Bauble

    A lisp-based procedural 3D art playground for composing signed distance functions in the browser. A v2 in development exposes a full superset of GLSL so users can write arbitrary shaders — even foregoing SDFs for volumetric rendering — in a high-level lisp, while keeping the default raymarcher and SDF combinators. The new version supports 2D extrusions, mesh export for 3D printing, and user-defined procedural noise functions, with upcoming custom uniforms and embedding of interactive 3D visualizations in webpages.

    Problem: The original tool is very limiting: users can compose signed distance functions but there is no way to control the rendering or do anything custom that the tool doesn't explicitly allow.

    Posted by @ianthehenry · Original source ↗

    Source text · @ianthehenry · · Source ↗

    https://bauble.studio/ is a lisp-based procedural 3D art playground that I hacked together a while ago. It's fun to play with, but it's a very limiting tool: you can do a lot to compose signed distance functions, but there's no way to control the rendering or do anything "custom" that the tool doesn't explicitly allow. So lately I've been working on a "v2" that exposes a full superset of GLSL, so you can write arbitrary shaders -- even foregoing SDFs altogether -- in a high-level lisp language.