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.

34 lines
998 B

<?xml version="1.0" encoding="utf-8"?>
<user_transforms>
<transform_def name="murl3">
<!-- Apophysis variation by FarDareisMai -->
<node name="input_params">
<real name="pulsar">1</real>
<real name="pulsar_freqx" demoval="5">2</real>
<real name="pulsar_freqy" demoval="7">2</real>
<real name="pulsar_scalex" demoval="0.1">1</real>
<real name="pulsar_scaley" demoval="0.1">1</real>
</node>
<node name="internal_params">
<real name="weight" />
<real name="freqx" />
<real name="freqy" />
<real name="scalex" />
<real name="scaley" />
</node>
<string name="winter_init_function">
<![CDATA[
pulsar_init_result(pulsar, pulsar_freqx, pulsar_freqy, pulsar_scalex, pulsar_scaley)
]]>
</string>
<string name="winter_eval_function">
<![CDATA[
(mat2x2(cosh(p_in.x * freqx), -sinh(p_in.x * freqx),
sinh(p_in.y * freqy), cosh(p_in.y * freqy)) * (p_in * (p_in.x * p_in.y))) * weight
]]>
</string>
</transform_def>
</user_transforms>