examples1

package
v0.0.0-...-9312a82 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT, MIT Imports: 5 Imported by: 0

README

Examples

Example code copied from https://github.com/fogleman/ln/tree/master/examples

Documentation

Index

Constants

View Source
const Size = 1024
View Source
const Slicers = 32

Variables

This section is empty.

Functions

func Beads

func Beads()

func Example1

func Example1()

func LowPass

func LowPass(values []float64, alpha float64) []float64

func LowPassNoise

func LowPassNoise(n int, alpha float64, iterations int) []float64

func Normalize

func Normalize(values []float64, a, b float64) []float64

func Outline

func Outline()

func SliceBowser

func SliceBowser()

func SliceSuzanne

func SliceSuzanne()

func Slices

func Slices()

func Suzanne

func Suzanne()

func VoxelizeBowser

func VoxelizeBowser()

func VoxelizeBunny

func VoxelizeBunny()

Types

type Shape

type Shape struct {
	ln.Mesh
}

func (*Shape) Paths

func (s *Shape) Paths() ln.Paths

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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