It's Called Ted's Byte Snakes and it doesn't seem to do what I remember it did when I first saw it.
Here's the code w/ perhaps deprecated funcs (i.e seed(?)):
//Byte Snakes
Stps="fft(s)*6 * rnd(34)",
Aspc=0,
A0="rnd( 1 )", // seed function randomizer
A1=".02 + rnd ( .06 )", // box width
A2="t",
A3="rnd( 3 ) + 1", // speed
B0="flor( ( t - a2 ) * a3 )",
B1="1 - sqwv( 3 * ( b0 - b2 ) )", // movement timer
B2="b0", // last frame memory
B3="b3 + b1", // counter
B4="b3 % 2", // axis shifter
B5="seed( b3 + a0 )",
B6="sgn( rnd( 2 ) - 1 ) * a1 * b1", // movement tensor
B7="b7 + b6 * b4", // iterative X
B8="b8 + b6 * ( 1 - b4 )", // iterative Y
C0="flor( s * ( NUM_S_STEPS - 1 ) )", // convert steps to integers
C1="( b3 + c0 ) % 2", // axis shifter
C2="seed( b3 + c0 + a0 )",
C3="sgn( rnd( 2 ) - 1 ) * a1", // movement factor
C4="( c4 + c3 * c1 )* clip( c0 )", // iterative X
C5="( c5 + c3 * ( 1 - c1 ) ) * clip( c0 )", // iterative Y
C6="1.8 * trwv(b7+c4 + .45) - .9",
C7="1.8 * trwv(b8+c5 + .45) - .9",
X0=" c6",
Y0=" c7",
X1="-c6",
Y1=" c7",
X2=" c6",
Y2="-c7",
X3="-c6",
Y3="-c7",
Pen=".5 + .5 * s",
ConB=0,
LWdt="2"
Meta="reactive=1, detail=2, density=3, morphable=3",
Vers=270
// From Ted
It's supposed to react; but how to activate it is the question. Please advise; TYVM.
Trying to Resurrect an old Waveshape/Particle
Moderators: BTT, andy55, b.dwall, juxtiphi
- JayPro
- Posts: 738
- Joined: Sat May 01, 2004 10:51 pm
- Location: Huntington Station, Long Island, New York
Trying to Resurrect an old Waveshape/Particle
"God is syntax."
You're right; since this is an accessibility issue, you can't quite see it properly. Here, BTT, here's a better formatting of the text:BTT wrote:The colour used for the config is impossible to read.
Code: Select all
//Byte Snakes
Stps="fft(s)*6 * rnd(34)",
Aspc=0,
A0="rnd( 1 )", // seed function randomizer
A1=".02 + rnd ( .06 )", // box width
A2="t",
A3="rnd( 3 ) + 1", // speed
B0="flor( ( t - a2 ) * a3 )",
B1="1 - sqwv( 3 * ( b0 - b2 ) )", // movement timer
B2="b0", // last frame memory
B3="b3 + b1", // counter
B4="b3 % 2", // axis shifter
B5="seed( b3 + a0 )",
B6="sgn( rnd( 2 ) - 1 ) * a1 * b1", // movement tensor
B7="b7 + b6 * b4", // iterative X
B8="b8 + b6 * ( 1 - b4 )", // iterative Y
C0="flor( s * ( NUM_S_STEPS - 1 ) )", // convert steps to integers
C1="( b3 + c0 ) % 2", // axis shifter
C2="seed( b3 + c0 + a0 )",
C3="sgn( rnd( 2 ) - 1 ) * a1", // movement factor
C4="( c4 + c3 * c1 )* clip( c0 )", // iterative X
C5="( c5 + c3 * ( 1 - c1 ) ) * clip( c0 )", // iterative Y
C6="1.8 * trwv(b7+c4 + .45) - .9",
C7="1.8 * trwv(b8+c5 + .45) - .9",
X0=" c6",
Y0=" c7",
X1="-c6",
Y1=" c7",
X2=" c6",
Y2="-c7",
X3="-c6",
Y3="-c7",
Pen=".5 + .5 * s",
ConB=0,
LWdt="2"
Meta="reactive=1, detail=2, density=3, morphable=3",
Vers=270
// From Ted
Since I don't know what you remember... I will only suggest a GUESS.
>>> REMOVE ALL the comma's EXCEPT contained within the "META=..." statement. <<<
(See how nicely the BLUE shows up! )
The COMMA can act as a statement delimiter (in lieu of the more commonly used 'NEWLINE'), allowing you to put more than one statement on a single line. You 'may' find lines like:
in MY code, when I want to logically group certain operations. Although it is cute, there ARE reasons to avoid such notation. The use of the COMMA, in your posted code, is VALID (but superfluous) for the most part, and most likely is getting CONFUSED on the lines that also have trailing comments, i.e.,
Alternate possible solutions (that I DON'T recommend) would be to:
a) delete ALL the trailing comments, i.e.,
b) delete the COMMA ONLY on lines with trailing comments, i.e.,
These solutions should technically work, but are poor form and confusing...
update:
after playing with your post, the changes I suggested don't seem to change its output... You can bump up Lwdt and/or set ConB=1 and see if it gives you any clue. It generally seems way too busy.
This line:
is particularly squirrelly and I would assume nonsense IF Ted's name wasn't listed as the author
>>> REMOVE ALL the comma's EXCEPT contained within the "META=..." statement. <<<
(See how nicely the BLUE shows up! )
The COMMA can act as a statement delimiter (in lieu of the more commonly used 'NEWLINE'), allowing you to put more than one statement on a single line. You 'may' find lines like:
Code: Select all
X0=" c6", Y0=" c7"
Code: Select all
A0="rnd( 1 )", // seed function randomizer
a) delete ALL the trailing comments, i.e.,
Code: Select all
A0="rnd( 1 )",
Code: Select all
A0="rnd( 1 )" // seed function randomizer
update:
after playing with your post, the changes I suggested don't seem to change its output... You can bump up Lwdt and/or set ConB=1 and see if it gives you any clue. It generally seems way too busy.
This line:
Code: Select all
Stps="fft(s)*6 * rnd(34)"