[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay bomb.sh/docs/tty
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184/* GENERATED by tasks/gen-shape-vectors.ts — do not edit. * * Shape vectors for the ascii art tier (Graphics Specification * §9.3.2/§9.3.3): per-character ink fractions over the six internal * sampling circles, computed from the public-domain 8x8 bitmap font * (vendor/font8x8_basic.h), per-component max normalized. The circle * geometry mirrors src/graphics.c's CIRCLE_R/INTERNAL; regeneration: * deno task gen-shape (verify: deno task gen-shape:check). */
#ifndef SHAPE_VECTORS_H#define SHAPE_VECTORS_H
#include <stdint.h>
#define SHAPE_VECTOR_COUNT 95
static const float SHAPE_VECTORS[95][6] = { {0, 0, 0, 0, 0, 0}, /* U+0020 (space) */ {0.573712, 0.765193, 0.408567, 0.532286, 0.210526, 0.313924}, /* U+0021 (!) */ {0.346359, 0.38674, 0.01318, 0.122164, 0, 0}, /* U+0022 (") */ {0.941385, 0.839779, 1, 0.848168, 0.707895, 0.741772}, /* U+0023 (#) */ {0.683837, 0.441989, 0.777595, 0.4363, 0.589474, 0.465823}, /* U+0024 ($) */ {0.476021, 0.41989, 0.518946, 0.553229, 0.486842, 0.443038}, /* U+0025 (%) */ {0.761989, 0.660221, 0.881384, 0.724258, 0.613158, 0.746835}, /* U+0026 (&) */ {0.362345, 0.022099, 0.095552, 0, 0, 0}, /* U+0027 (') */ {0.534636, 0.292818, 0.53542, 0.048866, 0.460526, 0.240506}, /* U+0028 (() */ {0.465364, 0.312155, 0.512356, 0.373473, 0.4, 0.286076}, /* U+0029 ()) */ {0.648313, 0.627072, 0.718287, 0.914485, 0.289474, 0.574684}, /* U+002a (*) */ {0.559503, 0.28453, 0.617792, 0.34555, 0.271053, 0.260759}, /* U+002b (+) */ {0, 0, 0.227348, 0.017452, 0.536842, 0.187342}, /* U+002c (,) */ {0.278863, 0.104972, 0.285008, 0.188482, 0, 0.096203}, /* U+002d (-) */ {0, 0, 0.214168, 0.017452, 0.347368, 0.187342}, /* U+002e (.) */ {0.371226, 0.535912, 0.433278, 0.312391, 0.381579, 0.002532}, /* U+002f (/) */ {0.865009, 0.930939, 0.924217, 0.874346, 0.797368, 0.807595}, /* U+0030 (0) */ {0.568384, 0.292818, 0.649094, 0.240838, 0.739474, 0.392405}, /* U+0031 (1) */ {0.708703, 0.596685, 0.68369, 0.47644, 0.821053, 0.427848}, /* U+0032 (2) */ {0.634103, 0.596685, 0.609555, 0.579407, 0.605263, 0.518987}, /* U+0033 (3) */ {0.730018, 0.859116, 0.736409, 0.736475, 0.407895, 0.873418}, /* U+0034 (4) */ {0.753108, 0.546961, 0.69028, 0.465969, 0.605263, 0.577215}, /* U+0035 (5) */ {0.722913, 0.243094, 0.92257, 0.352531, 0.663158, 0.518987}, /* U+0036 (6) */ {0.692718, 0.696133, 0.448105, 0.431065, 0.444737, 0.286076}, /* U+0037 (7) */ {0.865009, 0.596685, 0.869852, 0.579407, 0.663158, 0.518987}, /* U+0038 (8) */ {0.825933, 0.662983, 0.665568, 0.596859, 0.415789, 0.516456}, /* U+0039 (9) */ {0.21492, 0.179558, 0.329489, 0.095986, 0.347368, 0.187342}, /* U+003a (:) */ {0.21492, 0.179558, 0.342669, 0.095986, 0.536842, 0.187342}, /* U+003b (;) */ {0.523979, 0.292818, 0.53542, 0.038394, 0.460526, 0.240506}, /* U+003c (<) */ {0.316163, 0.251381, 0.489292, 0.30541, 0.413158, 0.268354}, /* U+003d (=) */ {0.412078, 0.375691, 0.46458, 0.373473, 0.4, 0.344304}, /* U+003e (>) */ {0.634103, 0.596685, 0.339374, 0.403141, 0.271053, 0.18481}, /* U+003f (?) */ {0.877442, 1, 0.90939, 0.849913, 0.631579, 0.61519}, /* U+0040 (@) */ {0.788632, 0.588398, 0.859967, 0.595113, 0.692105, 0.63038}, /* U+0041 (A) */ {0.841918, 0.80663, 0.808896, 0.712042, 0.771053, 0.696203}, /* U+0042 (B) */ {0.566607, 0.502762, 0.574959, 0.268761, 0.526316, 0.417722}, /* U+0043 (C) */ {0.797513, 0.70442, 0.759473, 0.614311, 0.826316, 0.617722}, /* U+0044 (D) */ {0.893428, 0.624309, 0.871499, 0.383944, 0.773684, 0.513924}, /* U+0045 (E) */ {0.893428, 0.624309, 0.855025, 0.308901, 0.668421, 0.207595}, /* U+0046 (F) */ {0.568384, 0.502762, 0.644152, 0.450262, 0.528947, 0.751899}, /* U+0047 (G) */ {0.85968, 0.651934, 0.850082, 0.663176, 0.594737, 0.56962}, /* U+0048 (H) */ {0.630551, 0.375691, 0.621087, 0.230366, 0.634211, 0.316456}, /* U+0049 (I) */ {0.321492, 0.848066, 0.617792, 0.582897, 0.663158, 0.577215}, /* U+004a (J) */ {0.802842, 0.640884, 0.820428, 0.635253, 0.6, 0.556962}, /* U+004b (K) */ {0.678508, 0.121547, 0.691928, 0.21466, 0.771053, 0.58481}, /* U+004c (L) */ {1, 1, 0.883031, 1, 0.465789, 0.724051}, /* U+004d (M) */ {0.797513, 0.834254, 0.817133, 0.881326, 0.434211, 0.736709}, /* U+004e (N) */ {0.626998, 0.70442, 0.642504, 0.600349, 0.581579, 0.617722}, /* U+004f (O) */ {0.841918, 0.80663, 0.78089, 0.452007, 0.665789, 0.192405}, /* U+0050 (P) */ {0.824156, 0.660221, 0.802306, 0.593368, 0.613158, 0.716456}, /* U+0051 (Q) */ {0.843694, 0.80663, 0.805601, 0.705061, 0.6, 0.617722}, /* U+0052 (R) */ {0.797513, 0.378453, 0.787479, 0.472949, 0.639474, 0.549367}, /* U+0053 (S) */ {0.749556, 0.574586, 0.621087, 0.303665, 0.634211, 0.316456}, /* U+0054 (T) */ {0.742451, 0.649171, 0.846787, 0.589878, 0.768421, 0.653165}, /* U+0055 (U) */ {0.742451, 0.649171, 0.795717, 0.534031, 0.568421, 0.524051}, /* U+0056 (V) */ {0.648313, 0.718232, 0.869852, 0.877836, 0.692105, 0.853165}, /* U+0057 (W) */ {0.664298, 0.618785, 0.728171, 0.619546, 0.555263, 0.503797}, /* U+0058 (X) */ {0.831261, 0.585635, 0.723229, 0.441536, 0.634211, 0.349367}, /* U+0059 (Y) */ {0.703375, 0.812155, 0.583196, 0.630017, 0.755263, 0.683544}, /* U+005a (Z) */ {0.671403, 0.20442, 0.665568, 0.013962, 0.665789, 0.159494}, /* U+005b ([) */ {0.445826, 0.118785, 0.294893, 0.418848, 0.002632, 0.460759}, /* U+005c (\) */ {0.57016, 0.566298, 0.561779, 0.471204, 0.544737, 0.491139}, /* U+005d (]) */ {0.520426, 0.593923, 0.263591, 0.308901, 0, 0.108861}, /* U+005e (^) */ {0, 0, 0.01318, 0, 0.468421, 0.41519}, /* U+005f (_) */ {0.332149, 0.372928, 0.072488, 0.129145, 0, 0}, /* U+0060 (`) */ {0.390764, 0.254144, 0.813839, 0.530541, 0.668421, 0.729114}, /* U+0061 (a) */ {0.722913, 0.127072, 0.749588, 0.452007, 0.676316, 0.686076}, /* U+0062 (b) */ {0.445826, 0.254144, 0.830313, 0.340314, 0.660526, 0.410127}, /* U+0063 (c) */ {0.502664, 0.751381, 0.769357, 0.666667, 0.578947, 0.668354}, /* U+0064 (d) */ {0.513321, 0.254144, 0.950577, 0.404887, 0.694737, 0.473418}, /* U+0065 (e) */ {0.774423, 0.389503, 0.782537, 0.188482, 0.665789, 0.098734}, /* U+0066 (f) */ {0.390764, 0.370166, 0.782537, 0.556719, 0.957895, 0.817722}, /* U+0067 (g) */ {0.749556, 0.325967, 0.706755, 0.581152, 0.597368, 0.648101}, /* U+0068 (h) */ {0.48135, 0.18232, 0.668863, 0.212914, 0.634211, 0.316456}, /* U+0069 (i) */ {0.168739, 0.466851, 0.431631, 0.478185, 0.9, 0.716456}, /* U+006a (j) */ {0.701599, 0.323204, 0.85173, 0.492147, 0.7, 0.572152}, /* U+006b (k) */ {0.579041, 0.292818, 0.621087, 0.230366, 0.634211, 0.316456}, /* U+006c (l) */ {0.584369, 0.339779, 0.932455, 0.760908, 0.610526, 0.891139}, /* U+006d (m) */ {0.511545, 0.254144, 0.843493, 0.465969, 0.594737, 0.567089}, /* U+006e (n) */ {0.447602, 0.254144, 0.899506, 0.455497, 0.663158, 0.577215}, /* U+006f (o) */ {0.456483, 0.370166, 0.749588, 0.56719, 1, 0.643038}, /* U+0070 (p) */ {0.390764, 0.370166, 0.769357, 0.556719, 0.684211, 1}, /* U+0071 (q) */ {0.509769, 0.372928, 0.749588, 0.500873, 0.665789, 0.389873}, /* U+0072 (r) */ {0.470693, 0.251381, 0.787479, 0.401396, 0.673684, 0.455696}, /* U+0073 (s) */ {0.586146, 0.464088, 0.579901, 0.408377, 0.444737, 0.397468}, /* U+0074 (t) */ {0.401421, 0.28453, 0.802306, 0.471204, 0.578947, 0.665823}, /* U+0075 (u) */ {0.401421, 0.28453, 0.792422, 0.411867, 0.568421, 0.524051}, /* U+0076 (v) */ {0.412078, 0.320442, 0.967051, 0.753927, 0.865789, 0.941772}, /* U+0077 (w) */ {0.374778, 0.301105, 0.685338, 0.490401, 0.555263, 0.562025}, /* U+0078 (x) */ {0.401421, 0.28453, 0.718287, 0.485166, 0.957895, 0.817722}, /* U+0079 (y) */ {0.53286, 0.290055, 0.802306, 0.425829, 0.755263, 0.425316}, /* U+007a (z) */ {0.566607, 0.461326, 0.573311, 0.188482, 0.455263, 0.379747}, /* U+007b ({) */ {0.344583, 0.516575, 0.339374, 0.356021, 0.355263, 0.44557}, /* U+007c (|) */ {0.564831, 0.29558, 0.581549, 0.335079, 0.555263, 0.270886}, /* U+007d (}) */ {0.39254, 0.59116, 0.003295, 0.143106, 0, 0}, /* U+007e (~) */};
#endif