free software resistance
the cost of computing freedom is eternal vigilance
### co.py
*original date:* sep 2014
*orginally posted:* sep 2024
one of the qb-esque python demos from 2014 that ultimately led to fig:
```
#!/usr/bin/env python
#public domain
import time
import sys
import random
def color(f, b):
n = "0"
if f > 7: n = "1" ; f = f - 8
if f == 1: f = 4
elif f == 4: f = 1
if f == 3: f = 6
elif f == 6: f = 3
if b > 7: b = b - 8
if b == 1: b = 4
elif b == 4: b = 1
if b == 3: b = 6
elif b == 6: b = 3
print "\x1b[" + n + ";" + str(30+f) + ";" + str(40+b) + "m\x08",
def locate(l, c):
print "\x1b[" + str(l) + ";" + str(c) + "H",
def cls():
print "\x1b[2J\x1b[1;1H",
def qprints(q):
print "\x08"+str(q),
cls()
color(7, 1)
cls()
b = "\x08" # backspace
color(2, 0)
print b + "h",
color(3, 0)
print b + "e",
color(4, 0)
print b + "l",
color(5, 0)
print b + "l",
color(1, 0)
print b + "o"
```
license: 0-clause bsd
```
# 2014 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