package
0.4.4
Repository: https://github.com/unixpickle/model3d.git
Documentation: pkg.go.dev

# README

ball-physics

This demo simulates ball-model collisions using the model3d.PointSDF API. It renders the resulting animation using bidirectional path tracing.

# Functions

NewScene creates a new scene.
StepWorld performs a small step of a differential equation describing the forces acting on balls.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

A BallState represents the constant-motion state of a particle.
A CollisionField is a force field that.
A ConstantField is a force field with a constant force in some direction (e.g.
Scene stores the state of the rendered scene.

# Interfaces

A ForceField determines forces applied to moving balls in a 3D scene.

# Type aliases

A JoinedField is a ForceField that adds ForceFields.