diamond

command
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2021 License: BSD-2-Clause Imports: 4 Imported by: 0

README

diamond

This example showcases the convex polytope API. In particular, a diamond shape is created as a system of linear inequalities, and then this system is turned into a mesh.

As icing on the cake, we can turn the polytope into a Solid and cut it out of a circular stand. This stand must then be turned into a mesh with marching cubes, since it's not a convex polytope itself.

Renderings

Here is the diamond:

Renderings

Here is the stand:

Renderings of the stand

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL