pillow_sdf

command
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: BSD-2-Clause Imports: 9 Imported by: 0

README

pillow-sphere

This is an experiment to generate rounded 3D shapes from 2D shapes by insetting their SDF according to the radius of a sphere. The goal is similar to pillow_medial, but the results do not look nearly as compelling. Also see pillow_sphere. The main difference from pillow_sphere is that we instead use the maximum of the SDF instead of 1, potentially preventing odd behavior for asymmetrical shapes.

Renderings

Here is what happens when you apply the algorithm to a heart shape:

Renderings of the 3D heart

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