========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://distro.ibiblio.org/refracta/files/extra_packages/fig29-31_1.0.deb"
linktext was:"http://distro.ibiblio.org/refracta/file ... 31_1.0.deb"
====================================
# should conflict with 0 anti-x packages
sudo dpkg -i fig29-31_1.0.deb
sudo apt-get update
sudo apt-get install python-pygame aterm
Code: Select all
#### license: creative commons cc0 1.0 (public domain)
#### http://creativecommons.org/publicdomain/zero/1.0/
function rgbcolour r g b c
python
figcgapal[c] = (r, g, b)
fig
fig
v 1
c 400
w 3.14159 divby 2
function radians a
x a times 3.141592653589793 divby 180 return x
fig
for r 490 110 -.50
e w minus 0.00413367105263 swap e w # 3.14159 / 4 / (490 - 300)
for p 1 360 .5
e w cos times 380 divby 1 int
rc r divby 2 int
rd 256 minus rc rgbcolour rc 0 rc 11
x p radians x times 2 cos times e plus c int
y p radians y times 2 sin times e plus r minus 50 int
m 6.28 plus 1.57 divby 108.503 divby 2
now v plus m swap now v
rc r #divby 4 int mod 2
iftrue rc
now v times 2 int mod 2 times 11 pset x y now
y2 y minus 1 pset x y2 now
fig
next
now display
next
now display lineinput