Skip to content

Latest commit

 

History

History
63 lines (32 loc) · 2.45 KB

README.md

File metadata and controls

63 lines (32 loc) · 2.45 KB

thi.ng/houdini

Houdini HDAs & sketches (VEX, OpenCL, Python)

Not much here yet...

/hda - digital assets

PTF (Parallel Transport Frames)

Tags: VEX, curves, polygons

Sweeps profile shape along one or multiple curves. Use multiple instances for recursive application. Parameters for twisting, radius modulation ramp, multiple generation modes: curves, tube, disc. Includes Help page w/ further details.

Phyllotaxis

Tags: Python, points

Point generator for phyllotaxis patterns

SVG polygon import

Tags: Python, polygons

Imports first <polygon> element from given SVG file. No SVG transforms are supported. No 3rd party deps required.

Tessellations

Tags: Python, polygons

Recursive face tessellations: tri fan, quad fan, edge split triangles. An optional displacement amount can be specified for the latter two modes.

/hip - scenes

DeJong

Tags: OpenCL, simulation, points

Uses an OpenCL kernel to compute the 2D DeJong strange attractor w/ 3 million particles, then applies a second kernel to perform stereographic transformation to 3D.

DLA

Tags: VEX, simulation, points

VEX simulation of Diffusion-limited aggregation (DLA), supports various params to control growth. Sim uses an initial set of seed particles, then each frame spawns a fixed number of new particles in the vicinity of existing points. Each particle has a selection probability attrib, which decays each time the particle is used as growth source. Once that probability is less than configured threshold the particle is ignored as source for new growth.

This implementation is based on the approach taken in toxiclibs. For an alternative approach, see Entagma.

Dipole fieldlines

Tags: VEX, simulation, curves

VEX field line simulation between randomly charged dipoles. Takes an input geometry, and spawns a configurable number of agents in a disc around each point. These agents are then attracted/repelled by other poles in the field. Each agent's trajectory is stored in individual polylines. Agents are removed from the sim (not updated further) once they've reached another pole.

License

© 2017 Karsten Schmidt // ASL2 licensed