Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 644 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 644 Bytes

Conjure

About

Conjure is a 3D Constructive Solid Geometry (CSG) language.

Rough prototype at the moment.

Conjuring

./conjure --resolution 0.5 --bound 8 examples/union.cnj

Example Conjure Lang

(union
  ; centered on origin
  (sphere 4)
  ; lower left point & upper right point
  (cube [-3 -3 -3] [3 3 3])
)

rendering of union

Benchmarking

cargo bench --bench octree_render

report at: target/criterion/report/index.html

cargo bench --bench octree_render -- --profile-time=10

flamegraphs at: target/criterion/octree_render/<depth>/profile/flamegraph.svg