Plan 9 from Bell Labs’s /usr/web/sources/contrib/fgb/root/sys/src/cmd/4th/examples/fractals.4th

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


\ Copyright (C) 2002, 2003 Volker Poplawski <[email protected]>
\                          Stefan Reinauer
\ This example even fits in a signature ;-)

include lib/pickroll.4th

[hex] 4666 dup negate
do
    i 4000 dup 2* negate
    do
        2a 0 dup 2dup 1e 0
    do
        2swap * d rshift 4 pick +
        -rot - j +
        dup dup * e rshift rot
        dup dup * e rshift rot
        swap
        2dup + 10000 > if
            drop 2drop 2drop 20 0 dup 2dup leave
        then
    loop
    2drop 2drop
    emit
    268 +loop
    cr drop
5de +loop


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].