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.

31 lines
728 B

<?xml version="1.0" encoding="utf-8"?>
<transform_def name="horseshoe2">
<node name="input_params">
<real name="horseshoe2">1</real>
<real name="horseshoe2_h">0</real>
<real name="horseshoe2_i">2</real>
<node name="internal_params">
<real name="weight" />
<real name="h" />
<real name="i" />
<string name="winter_init_function">
horseshoe2_init_result(horseshoe2, horseshoe2_h, horseshoe2_i)
<string name="winter_eval_function">
r = weight / (length(p_in) + h)
vec2((p_in.x - p_in.y) * (p_in.x + p_in.y), i * p_in.x * p_in.y) * r