Browse Source

linkX_ conversion

master
Crystalize 8 months ago
parent
commit
beee061d1f
  1. 4
      linkX_circle_plus_fill.xml
  2. 4
      linkX_get_hexed.xml
  3. 4
      linkX_one_man_band.xml
  4. 4
      linkX_pretty_plastic.xml
  5. 8
      linkX_tiled_squares.xml
  6. 4
      linkX_what_the_fill.xml

4
cPack_circle_plus_fill.xml → linkX_circle_plus_fill.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<user_transforms>
<transform_def name="cPack_circle_plus_fill">
<transform_def name="linkX_circle_plus_fill">
<node name="input_params">
<real name="circle_plus_fill">1</real>
<real name="circle_plus_fill_zero" minval="0" maxval="1">0</real>
@ -22,7 +22,7 @@
<string name="winter_init_function">
<![CDATA[
cPack_circle_plus_fill_init_result(circle_plus_fill, circle_plus_fill_zero, circle_plus_fill_hemi_gaussian, circle_plus_fill_AT_rotate * quartpi(), circle_plus_fill_hemi_AT_switch)
linkX_circle_plus_fill_init_result(circle_plus_fill, circle_plus_fill_zero, circle_plus_fill_hemi_gaussian, circle_plus_fill_AT_rotate * quartpi(), circle_plus_fill_hemi_AT_switch)
]]>
</string>

4
cPack_get_hexed.xml → linkX_get_hexed.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<user_transforms>
<transform_def name="cPack_get_hexed">
<transform_def name="linkX_get_hexed">
<node name="input_params">
<real name="get_hexed">1</real>
<real name="get_hexed_size">1</real>
@ -30,7 +30,7 @@
roundco = 0.0 / sin(alpha * 0.5) / rpow * 2.0
comp = if 1.0 <= 0 then 0.0 else 1.0
in
cPack_get_hexed_init_result(get_hexed, hsize, get_hexed_inner_weight, rpow, alpha, alphaco, roundco, comp)
linkX_get_hexed_init_result(get_hexed, hsize, get_hexed_inner_weight, rpow, alpha, alphaco, roundco, comp)
]]>
</string>

4
cPack_one_man_band.xml → linkX_one_man_band.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<user_transforms>
<transform_def name="cPack_one_man_band">
<transform_def name="linkX_one_man_band">
<!-- xform made by Crystalize, but honestly it couldn't have been done without the whole community.
Thanks ya'll! <3 -->
<node name="input_params">
@ -32,7 +32,7 @@
<string name="winter_init_function">
<![CDATA[
cPack_one_man_band_init_result(one_man_band, one_man_band_cyl_length, one_man_band_cyl_width - 0.05, one_man_band_cyl_blur_strength,
linkX_one_man_band_init_result(one_man_band, one_man_band_cyl_length, one_man_band_cyl_width - 0.05, one_man_band_cyl_blur_strength,
one_man_band_inside_rotate * quartpi(), one_man_band_inside_switch,
one_man_band_outside_switch, one_man_band_inner_weight1, one_man_band_inner_weight2)
]]>

4
cPack_pretty_plastic.xml → linkX_pretty_plastic.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<user_transforms>
<transform_def name="cPack_pretty_plastic">
<transform_def name="linkX_pretty_plastic">
<node name="input_params">
<real name="pretty_plastic">1</real>
<real name="pretty_plastic_zero" minval="0" maxval="1">0</real>
@ -28,7 +28,7 @@
<string name="winter_init_function">
<![CDATA[
cPack_pretty_plastic_init_result(pretty_plastic, pretty_plastic_zero, pretty_plastic_hemi_gaussian,
linkX_pretty_plastic_init_result(pretty_plastic, pretty_plastic_zero, pretty_plastic_hemi_gaussian,
pretty_plastic_sine_power, pretty_plastic_AT_rotate * quartpi(), pretty_plastic_hemi_AT_sine_switch,
pretty_plastic_linear_flip, pretty_plastic_inner_weight)
]]>

8
cPack_tiled_squares.xml → linkX_tiled_squares.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<user_transforms>
<transform_def name="cPack_tiled_squares">
<transform_def name="linkX_tiled_squares">
<node name="input_params">
<real name="tiled_squares">1</real>
<real name="tiled_squares_inside_rotate">0</real>
@ -21,7 +21,7 @@
<string name="winter_init_function">
<![CDATA[
cPack_tiled_squares_init_result(tiled_squares, tiled_squares_inside_rotate * quartpi(), tiled_squares_inside_size, tiled_squares_inside_switch, tiled_squares_tile_strength)
linkX_tiled_squares_init_result(tiled_squares, tiled_squares_inside_rotate * quartpi(), tiled_squares_inside_size, tiled_squares_inside_switch, tiled_squares_tile_strength)
]]>
</string>
@ -35,8 +35,8 @@
z = complex(atin.x * size, atin.y * size)
result = (halfinvpi()) * log((z + 1.0) / (-z + 1.0))
at_out = vec2(result.im, result.re)
catx = clamp(if iswitch == 0 then p_in.x else at_out.x, -0.5, 0.5)
caty = clamp(if iswitch == 0 then p_in.y else at_out.y, -0.5, 0.5)
catx = clamp(if iswitch == 0 then p_in.y else at_out.x, -0.5, 0.5)
caty = clamp(if iswitch == 0 then p_in.x else at_out.y, -0.5, 0.5)
log_out1 = vec2(caty, catx + floor(log(unit_rnd_0) * (if unit_rnd_1 < 0.5
then strength
else -strength) + 0.5))

4
cPack_what_the_fill.xml → linkX_what_the_fill.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<user_transforms>
<transform_def name="cPack_what_the_fill">
<transform_def name="linkX_what_the_fill">
<node name="input_params">
<real name="what_the_fill">1</real>
<real name="what_the_fill_cyl_length">50</real>
@ -32,7 +32,7 @@
<string name="winter_init_function">
<![CDATA[
cPack_what_the_fill_init_result(what_the_fill, what_the_fill_cyl_length,
linkX_what_the_fill_init_result(what_the_fill, what_the_fill_cyl_length,
what_the_fill_cyl_width - 0.05, what_the_fill_cyl_blur_strength,
what_the_fill_inside_rotate * quartpi(), what_the_fill_inside_size,
what_the_fill_inside_strength, what_the_fill_outside_switch,
Loading…
Cancel
Save