Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Catseye{
- ;
- ; Attempt to code the Catseye formula from XaoS.
- ; The XaoS source credits Arpad Fekete
- ;
- init:
- z = @start
- c = #pixel
- loop:
- z = c/z + z/c
- bailout:
- |z| <= @bailout
- default:
- title = "Catseye"
- param start
- caption = "Starting point"
- default = (0.0, -1.0)
- endparam
- float param bailout
- caption = "Bailout"
- default = 8.0
- endparam
- switch:
- type = "CatseyeJulia"
- seed = #pixel
- bailout = bailout
- }
- CatseyeJulia{
- init:
- z = #pixel
- c = @seed
- loop:
- z = c/z + z/c
- bailout:
- |z| <= @bailout
- default:
- title = "Catseye Julia"
- param seed
- caption = "Julia seed"
- default = (0.0,-1.0)
- endparam
- float param bailout
- caption = "Bailout"
- default = 8.0
- endparam
- switch:
- type = "Catseye"
- bailout = bailout
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement