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.

30 lines
738 B

<?xml version="1.0" encoding="utf-8"?>
<user_transforms>
<transform_def name="formant">
<node name="input_params">
<real name="formant">1</real>
<real name="formant_operator1">1</real>
<real name="formant_operator2">1</real>
</node>
<node name="internal_params">
<real name="weight" />
<real name="op1" />
<real name="op2" />
</node>
<int name="num_unit_randoms">2</int>
<string name="winter_init_function">
<![CDATA[
formant_init_result(formant, formant_operator1 * twopi(), formant_operator2)
]]>
</string>
<string name="winter_eval_function">
<![CDATA[
((p_in * (vec2(op2).x)) / ((p_in.x - op1) * (p_in.y))) * weight
]]>
</string>
</transform_def>
</user_transforms>