aboutsummaryrefslogtreecommitdiff
path: root/colorcube
diff options
context:
space:
mode:
authorjaseg <s@jaseg.de>2013-07-30 13:33:07 +0200
committerjaseg <s@jaseg.de>2013-07-30 13:43:23 +0200
commit5e763123f87422e00810bacc0346936a2ae52d3d (patch)
treedb51c86622847e6e46dd1687cba90a71b7d72cc7 /colorcube
parent76579920ef33af869ed9c643234fdb4a3dfbd7a1 (diff)
downloadpixelterm-5e763123f87422e00810bacc0346936a2ae52d3d.tar.gz
pixelterm-5e763123f87422e00810bacc0346936a2ae52d3d.tar.bz2
pixelterm-5e763123f87422e00810bacc0346936a2ae52d3d.zip
Removed standard colors 0-15 for portability. Removed pygments dep. Fixed setup.py
Diffstat (limited to 'colorcube')
-rwxr-xr-xcolorcube23
1 files changed, 0 insertions, 23 deletions
diff --git a/colorcube b/colorcube
deleted file mode 100755
index ebf36b9..0000000
--- a/colorcube
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env python
-
-import os, sys, argparse, os.path, json
-
-# Display an xterm-256color color palette on the terminal, including color ids
-
-reset_sequence = '\033[39;49m'
-
-def esc(i):
- return '\033[48;5;'+str(i)+'m'
-
-print(''.join([str(i).ljust(4) for i in range(16)]))
-print(' '.join([esc(i) for i in range(16)])+' ' + reset_sequence)
-
-for j in range(6):
- for k in range(6):
- c = 16+j*6+k*6*6
- print(''.join([str(c+i).ljust(4) for i in range(6)]))
- print(' '.join([esc(c+i) for i in range(6)])+' ' + reset_sequence)
-
-print(''.join([str(i).ljust(4) for i in range(16+6*6*6, 16+6*6*6+24)]))
-print(' '.join([esc(i) for i in range(16+6*6*6, 16+6*6*6+24)])+' ' + reset_sequence)
-