Trap Shape

From Ultrafractal Wiki

Jump to: navigation, search

Concept

From Damien:

"Mathematically, a trap shape and a texture do the same thing. The code using them (the "calling code") provides a complex number, and the Trap Shape/Texture give back a single (real, not complex) value. The only difference is how that number is interpreted. For a trap shape, the value is the "distance" to the trap. For a texture, it is a texture value. The difference isn't in the trap shape/texture class itself, it's entirely in how the "calling code" uses it."

From class documentation:

"The purpose of a trap shape is very simple: to take one or more complex values and determine a "distance" to a trap shape for those values."


PlugIn Slot

Name of a PlugIn slot and parameter block. see: Trap Shape PlugIn

List of Example UPRs by Trap Shape PlugIn Class.


online sample images for Trap Shapes in kcc5.ulb:[1]

also see:

   Coloring Trap
   Fractal Formula as Trap Shape
   Trap Shape as Texture
   TrapShapePlayground
   Trap Position and TrapShape Merge
   Trap Shape used as coloring algorithm G.I.Plus

Trap Shapes

List of Trap Shapes with pages in this wiki:

 Combine Shapes
 Inversions
 Popcorn
 RRL
 Spokes N Rings
 SSG (a large collection)


Sample images for the TrapShape classes found in kcc5.ulb.

Personal tools