Kartik K. Agaram
|
9c4a381770
|
.
|
2021-07-11 15:35:55 -07:00 |
Kartik K. Agaram
|
c76ac49f8f
|
forget HSL conversion for now, stick to RGB
It looks like seeking the nearest neighbor in HSL space leads to more
saturated colors.
|
2021-07-11 15:31:15 -07:00 |
Kartik K. Agaram
|
e8b8584796
|
.
Inline a helper.
|
2021-07-11 11:42:10 -07:00 |
Kartik K. Agaram
|
70a03be0d0
|
.
Extract a helper.
|
2021-07-11 09:25:24 -07:00 |
Kartik K. Agaram
|
7e21abe0c9
|
.
Inline an unnecessary block.
|
2021-07-11 09:18:47 -07:00 |
Kartik K. Agaram
|
5234ba60f5
|
.
|
2021-07-11 09:16:46 -07:00 |
Kartik K. Agaram
|
598fe88ebb
|
.
|
2021-07-11 03:47:15 -07:00 |
Kartik K. Agaram
|
430dd67cb2
|
dither 256-level greyscale to 8-level greyscale
|
2021-07-11 03:14:17 -07:00 |
Kartik K. Agaram
|
eb6cee6022
|
.
|
2021-07-10 21:15:51 -07:00 |
Kartik K. Agaram
|
e1dc0e8250
|
.
|
2021-07-10 20:37:21 -07:00 |
Kartik K. Agaram
|
a97a7cb8c4
|
.
|
2021-07-10 20:10:30 -07:00 |
Kartik K. Agaram
|
80023c3e54
|
.
|
2021-07-10 20:03:16 -07:00 |
Kartik K. Agaram
|
b28a31315e
|
increase precision for dithering computations
Now we get a perfect checkerboard pattern.
|
2021-07-10 19:56:32 -07:00 |
Kartik K. Agaram
|
3420f10f18
|
.
https://merveilles.town/@akkartik/106559551043772522
|
2021-07-10 19:47:32 -07:00 |
Kartik K. Agaram
|
e377991a9e
|
.
https://merveilles.town/@akkartik/106557664535993377
|
2021-07-10 11:18:47 -07:00 |
Kartik K. Agaram
|
5f8a8c11a2
|
dithering greyscale using black/white
Starting to look right.
|
2021-07-10 10:51:39 -07:00 |
Kartik K. Agaram
|
2a0f6cbb6f
|
reorder a few functions
|
2021-07-08 17:08:34 -07:00 |
Kartik K. Agaram
|
76f1fdc83e
|
.
|
2021-07-08 16:57:07 -07:00 |
Kartik K. Agaram
|
0539b961a0
|
scaling ppm images
|
2021-07-08 16:53:06 -07:00 |
Kartik K. Agaram
|
b8488c5223
|
scaling pgm images
|
2021-07-08 16:43:34 -07:00 |
Kartik K. Agaram
|
f07ebb9e5e
|
.
|
2021-07-08 16:33:49 -07:00 |
Kartik K. Agaram
|
b049cc1320
|
.
|
2021-07-08 16:23:48 -07:00 |
Kartik K. Agaram
|
019fb0babc
|
scaling pbm images
|
2021-07-08 11:00:51 -07:00 |
Kartik K. Agaram
|
b628bbd686
|
.
|
2021-07-08 09:26:55 -07:00 |
Kartik K. Agaram
|
0f29e61238
|
better greyscale
|
2021-07-08 00:26:58 -07:00 |
Kartik K. Agaram
|
9c70f7c643
|
.
|
2021-07-08 00:21:01 -07:00 |
Kartik K. Agaram
|
359f55d893
|
.
|
2021-07-08 00:13:12 -07:00 |
Kartik K. Agaram
|
d1482a9e89
|
ppm colors are weird, though
|
2021-07-08 00:12:31 -07:00 |
Kartik K. Agaram
|
91af9ccf2c
|
ppm support
Typo in commit fe3cbcd77: it only rendered pbm/pgm.
|
2021-07-07 19:43:56 -07:00 |
Kartik K. Agaram
|
d78a45340c
|
.
|
2021-07-07 19:24:12 -07:00 |
Kartik K. Agaram
|
fe3cbcd778
|
render ppm/pgm
Looks pretty bad compressing 256 shades of grey to 8.
|
2021-07-07 09:57:18 -07:00 |
Kartik K. Agaram
|
a9353ea327
|
load ppm/pgm/ppm on demand
|
2021-07-07 08:35:17 -07:00 |
Kartik K. Agaram
|
ef73cb78f1
|
initial image rendering
Supports just some ASCII formats: https://en.wikipedia.org/wiki/Netpbm
Colors are messed up. That's next.
|
2021-07-07 07:13:16 -07:00 |