Bots and Simulations > The Gene depository

Ocu

<< < (2/2)

Billy:
Here's the way I think would fix the problem. I haven't tested this code yet, so it's probably broken, but you can get an idea of what I'm trying to do. Unfortunately, it makes it much longer, but oh well. Still shorter than Oculus II, IIRC. I'll call this one "Ocul".

*.eye1 *.eye2 floor *.eye3 floor *.eye4 floor *.eye5 floor *.eye6 floor *.eye7 floor *.eye8 floor *.eye9 floor *.eye1 over sub ++ sgn 0 floor swap *.eye2 over sub ++ sgn 0 floor 3 mult swap *.eye3 over sub ++ sgn 0 floor 5 mult swap *.eye4 over sub ++ sgn 0 floor 7 mult swap *.eye5 over sub ++ sgn 0 floor 9 mult swap *.eye6 over sub ++ sgn 0 floor 8 mult swap *.eye7 over sub ++ sgn 0 floor 6 mult swap *.eye8 over sub ++ sgn 0 floor 4 mult swap *.eye9 swap sub ++ sgn 0 floor 2 mult floor floor floor floor floor floor floor floor dup - 2 add 0 floor -4 mult swap dup 2 sub abs - ++ 0 floor 4 mult swap dup 3 sub abs - ++ 0 floor -3 mult swap dup 4 sub abs - ++ 0 floor 3 mult swap dup 5 sub abs - ++ 0 floor -2 mult swap dup 6 sub abs - ++ 0 floor 2 mult swap dup 7 sub abs - ++ 0 floor - swap 8 sub abs - ++ 0 floor add add add add add add add .focuseye store

Botsareus:
 8)

Billy:
Yep, there were some errors in Ocul. I've fixed them now, it seems to work. I've edited my post with the fixed version.

Botsareus:
awesome! sorry, not a bot dev. directly, can not offer further insight.

Navigation

[0] Message Index

[*] Previous page

Go to full version