Plan 9 from Bell Labs’s /usr/web/sources/contrib/rsc/pico/doug.pico

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


lerp = x < X/3 ? 0 : x > 2*X/3 ? 255 : (x-X/3)*Z/(X/3)
r doug
rdoug = Z-doug[X-x,y]
(doug*lerp+rdoug*(Z-lerp))/Z
d
(rdoug*lerp+doug*(Z-lerp))/Z
d

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].