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.

25 lines
557 B

<?xml version="1.0" encoding="utf-8"?>
<user_transforms>
<transform_def name="half_cylinder">
<node name="input_params">
<real name="half_cylinder">1</real>
</node>
<node name="internal_params">
<real name="weight" />
</node>
<string name="winter_init_function">
<![CDATA[
half_cylinder_init_result(half_cylinder)
]]>
</string>
<string name="winter_eval_function">
<![CDATA[
vec2(tanh(p_in.x / sqrt(p_in.x * p_in.x + halfpi())), exp(p_in.y)) * (weight * 1.3)
]]>
</string>
</transform_def>
</user_transforms>