xforms for Chaotica
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
689 B

<?xml version="1.0" encoding="utf-8"?>
<transform_def name="pringle">
<node name="input_params">
<real name="pringle">1</real>
<real name="pringle_a">0.5</real>
<real name="pringle_b">-1</real>
<node name="internal_params">
<real name="weight" />
<real name="a" />
<real name="b" />
<string name="winter_init_function">
pringle_init_result(pringle, pringle_a, pringle_b)
<string name="winter_eval_function">
mat2x2(sin(p_in.x), sin(p_in.y), cos(p_in.x), cos(p_in.y)) * vec2((a * p_in.x), (b * p_in.y)) * weight