osnr / dewdrop

:sunny: NeWS clone (very work in progress).
http://dev.rsnous.com/dewdrop/executive/
GNU General Public License v3.0
10 stars 1 forks source link

Neat graphic from the SunDew paper #1

Open duncanmak opened 6 years ago

duncanmak commented 6 years ago

I found this copy of the original SunDew paper online, http://www.chilton-computing.org.uk/inf/literature/books/wm/p005.htm

It includes this cute doodle, with the code for drawing it attached:

clippath pathbbox new path
2 div exch 2 div exch translate 
250 250 scale 90 rotate
25 (0 .9 moveto 0 0 1 90 -90 arc
   0 0 .9 -90 90 arcn fill 
   .88 .88 scale 22.5 rotate) repeat

I tried running it in DewDrop, but I see this:

Error: bind error '05E2710Cnew'

it'd be great to get it to run.

duncanmak commented 6 years ago

I found out that there are some typos in the PS code, and fixed it up.

This renders fine on my Mac, using Preview.app, but it causes DewDrop to error out.

clippath pathbbox newpath
2 div exch 2 div exch translate
250 250 scale 90 rotate
25 { 0 .9 moveto 0 0 1 90 -90 arc
   0 0 .9 -90 90 arcn fill
   .88 .88 scale 22.5 rotate } repeat
showpage

The error is: Undefined type 'NaN'