free software resistance
the cost of computing freedom is eternal vigilance
### 24bit.fig
*original date:* mar 2017
*originally posted:* oct 2024
24bit.fig:
```
#### license: creative commons cc0 1.0 (public domain)
#### creativecommons.org/publicdoma…
function rgbcolor r g b
python
now = 0 ; figcgapal[0] = (r, g, b)
fig
fig
# for alex: the first ever fig program with > 16 colors
now display
for y 1 256 1
for x 1 256 1
for my 0 1 1
for mx 0 1 1
r1 x minus 1
g1 y minus 1
b1 mx times 64
b2 my times 128 plus b1
xs mx times 256 plus x
ys my times 256 plus y
now rgbcolor r1 g1 b2 pset xs ys 0
next
next
next
now display
next
now lineinput
```
license: 0-clause bsd
```
# 2017 mn
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
```
=> https://freesoftwareresistance.neocities.org