experimental

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Nodes

func Nodes() *refutil.TypeFactory

Types

type BrushedMetalNodeNodeData

type BrushedMetalNodeNodeData struct {
	Dimensions nodes.NodeOutput[int]
	BaseColor  nodes.NodeOutput[coloring.WebColor]
	BrushColor nodes.NodeOutput[coloring.WebColor]
	BrushSize  nodes.NodeOutput[float64]
	Count      nodes.NodeOutput[int]
}

func (BrushedMetalNodeNodeData) Process

func (gnd BrushedMetalNodeNodeData) Process() (image.Image, error)

type CosNode

type CosNode = nodes.Struct[[]float64, CosNodeData]

type CosNodeData

type CosNodeData struct {
	Input nodes.NodeOutput[[]float64]
	Scale nodes.NodeOutput[float64]
}

func (CosNodeData) Process

func (snd CosNodeData) Process() ([]float64, error)

type QuaternionArrayFromThetaNodeData

type QuaternionArrayFromThetaNodeData struct {
	X nodes.NodeOutput[[]float64]
	Y nodes.NodeOutput[[]float64]
	Z nodes.NodeOutput[[]float64]
	W nodes.NodeOutput[[]float64]
}

func (QuaternionArrayFromThetaNodeData) Process

type SampleNode

type SampleNode = nodes.Struct[[]float64, SampleNodeData]

type SampleNodeData

type SampleNodeData struct {
	Start   nodes.NodeOutput[float64]
	End     nodes.NodeOutput[float64]
	Samples nodes.NodeOutput[int]
}

func (SampleNodeData) Process

func (snd SampleNodeData) Process() ([]float64, error)

type SeamlessPerlinNodeData

type SeamlessPerlinNodeData struct {
	Positive nodes.NodeOutput[coloring.WebColor]
	Negative nodes.NodeOutput[coloring.WebColor]
}

func (SeamlessPerlinNodeData) Process

func (an SeamlessPerlinNodeData) Process() (image.Image, error)

type ShiftNode

type ShiftNode = nodes.Struct[[]float64, ShiftNodeData]

type ShiftNodeData

type ShiftNodeData struct {
	In    nodes.NodeOutput[[]float64]
	Shift nodes.NodeOutput[float64]
}

func (ShiftNodeData) Process

func (snd ShiftNodeData) Process() ([]float64, error)

type SinNode

type SinNode = nodes.Struct[[]float64, SinNodeData]

type SinNodeData

type SinNodeData struct {
	Input nodes.NodeOutput[[]float64]
	Scale nodes.NodeOutput[float64]
}

func (SinNodeData) Process

func (snd SinNodeData) Process() ([]float64, error)

type TRSNode

type TRSNode = nodes.Struct[[]trs.TRS, TRSNodeData]

type TRSNodeData

type TRSNodeData struct {
	Position nodes.NodeOutput[[]vector3.Float64]
	Scale    nodes.NodeOutput[[]vector3.Float64]
}

func (TRSNodeData) Process

func (tnd TRSNodeData) Process() ([]trs.TRS, error)

type VectoryArrayNodeData

type VectoryArrayNodeData struct {
	X nodes.NodeOutput[[]float64]
	Y nodes.NodeOutput[[]float64]
	Z nodes.NodeOutput[[]float64]
}

func (VectoryArrayNodeData) Process

func (snd VectoryArrayNodeData) Process() ([]vector3.Float64, error)

Jump to

Keyboard shortcuts

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