Browse Source

+ linear_strip

development
Crystalize 11 months ago
parent
commit
8f28c610b4
  1. 31
      linear_strip.xml

31
linear_strip.xml

@ -0,0 +1,31 @@ @@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<user_transforms>
<transform_def name="linear_strip">
<!-- Crystalize made this -->
<node name="input_params">
<real name="linear_strip" >1</real>
</node>
<node name="internal_params">
<real name="weight" />
</node>
<string name="winter_init_function">
<![CDATA[
linear_strip_init_result(linear_strip * invpi())
]]>
</string>
<string name="winter_eval_function">
<![CDATA[
let
rin = p_in * (pi() / 3)
z = complex(rin.x, rin.y)
result = weight * log(exp(z))
in
toVec2(result)
]]>
</string>
</transform_def>
</user_transforms>
Loading…
Cancel
Save