Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
11
Task/Mandelbrot-set/EchoLisp/mandelbrot-set.echolisp
Normal file
11
Task/Mandelbrot-set/EchoLisp/mandelbrot-set.echolisp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
(lib 'math) ;; fractal function
|
||||
(lib 'plot)
|
||||
|
||||
;; (fractal z zc n) iterates z := z^2 + c, n times
|
||||
;; 100 iterations
|
||||
(define (mset z) (if (= Infinity (fractal 0 z 100)) Infinity z))
|
||||
|
||||
;; plot function argument inside square (-2 -2), (2,2)
|
||||
(plot-z-arg mset -2 -2)
|
||||
|
||||
;; result here [http://www.echolalie.org/echolisp/help.html#fractal]
|
||||
Loading…
Add table
Add a link
Reference in a new issue