Version 0.55.1

warp

Transformation that is defined by one or more movement path curves.

Signatures

  •   warp( curve path[], float dist )

Details

The warp transformation is a space point transformation whose transformation behavior is defined by exemplary movement paths. These are one or more curves that represent the movement of a space point as induced by the transformation.

Example

 solid bunny = mesh( "bunny.stl" )
 curve paths[] = [ <[-0.07, 0.18, -0.06]> -> <[-0.12, 0.15, -0.02]>,
                   <[-0.01, 0.18, -0.03]> -> <[0.01, 0.16, 0.01 ]> ]
 make warp( paths, 0.05 ) >> bunny
 

The Stanford bunny before (left) and after the warp transformation (right).

Casts To

string
modifier

Parameters

path

An array that should consist of one or more curves defining the transformation paths.

dist

A distance parameter. This value represents the effective distance of the transformation along each path in form of the full width half maximum (FWHM) of a Gaussian function.

🗙

Search results for