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.

33 lines
755 B

<?xml version="1.0" encoding="utf-8"?>
<transform_def name="waves_linear">
<node name="input_params">
<real name="waves_linear">1</real>
<real name="waves_linear_x">1</real>
<real name="waves_linear_y">1</real>
<node name="internal_params">
<real name="weight" />
<real name="ex" />
<real name="wy" />
<int name="num_unit_randoms">1</int>
<string name="winter_init_function">
waves_linear_init_result(waves_linear, waves_linear_x, waves_linear_y)
<string name="winter_eval_function">
a = vec2(cos((p_in.x) * ex) * sin((p_in.y) * wy)) + p_in
a * weight