Boson

Boson is a web GPU engine for 2D and 3D: it draws large scenes in the browser, picks them back by persistent ID, and is driven by a small typed control surface.

What it is for

  • Large models in the browser: many parts and millions of triangles at interactive rates.
  • Picks come back as the IDs the model gave its elements, not as renderer indices.
  • A JSON control surface that a person, a host or an agent drives the same way.
  • Small download and a fast first frame.

Verbs by topic

Topic Verbs Start with
Camera 12 camera_set_view
Selection 6 selection_set
Visibility 4 visibility_hide
Display 3 display_set_mode
Render 3 render_set_ao
Materials 2 material_set
Painterly brushes 3 brush_style_set
Edges 2 render_set_edges
Section box 4 section_box_set
Properties 4 color_by_property
Semantic camera 3 screenshot
Scene info 4 get_world_origin
Interaction 8 tool_set
Text 2 get_text_layout
Batch 1 batch

The contract has the types a host speaks to the engine; the playground has it running.