Files
planar-EL512.256-H/components/el512/trek_sprites.h
T

137 lines
3.7 KiB
C++
Raw Normal View History

// Pixel art for the Star Trek pages, generated by tools/trek_sprites.py;
// edit the art there. Original 1-bit fan art, '#' = lit pixel.
#pragma once
#include "el512_pages.h" // Sprite
namespace esphome::el512::trek {
static const char *const MARINER_ROWS[] = {
".......##.......",
"......####......",
"....########....",
"...##########...",
"...#.#....#.#...",
"...#........#...",
"...#.##..##.#...",
"...#........#...",
"...#......#.#...",
"....#..###.#....",
".....######.....",
"....#######.....",
"..###########...",
".#############..",
".##.###.#####...",
".##.##...###.#..",
".##.#######.##..",
".##.#.....#.##..",
".#..#.....#..#..",
"....#######.....",
"....##...##.....",
"....##...##.....",
"....##...##.....",
"...###...###....",
};
static constexpr Sprite MARINER{16, 24, MARINER_ROWS};
static const char *const BOIMLER_ROWS[] = {
"....#######.....",
"...#########....",
"...######...#...",
"...#........#...",
"...#.##..##.#...",
"...#........#...",
"...#...##...#...",
"...#..####..#...",
"...#..#..#..#...",
"....#.####.#....",
".....######.....",
"....#######.....",
"..###########...",
".#############..",
".##.###.#####...",
".##.##...###.#..",
".##.#######.##..",
".##.#.....#.##..",
".#..#.....#..#..",
"....#######.....",
"....##...##.....",
"....##...##.....",
"....##...##.....",
"...###...###....",
};
static constexpr Sprite BOIMLER{16, 24, BOIMLER_ROWS};
static const char *const TENDI_ROWS[] = {
".....######.....",
"...##########...",
"..############..",
"..##........##..",
"..#..##..##..#..",
"..#..........#..",
"..#.#......#.#..",
"..#..######..#..",
"..##........##..",
"..###......###..",
"..###.####.###..",
"....#######.....",
"..###########...",
".#############..",
".##.###.#####...",
".##.##...###.#..",
".##.#######.##..",
".##.#.....#.##..",
".#..#.....#..#..",
"....#######.....",
"....##...##.....",
"....##...##.....",
"....##...##.....",
"...###...###....",
};
static constexpr Sprite TENDI{16, 24, TENDI_ROWS};
static const char *const RUTHERFORD_ROWS[] = {
"....########....",
"...##########...",
"...#.#.#.#.##...",
"..####......#...",
"..#..#.##...#...",
"..####......#...",
"..####......#...",
"...##...##..#...",
"...#..#####.#...",
"....#......#....",
".....######.....",
"....#######.....",
"..###########...",
".#############..",
".##.###.#####...",
".##.##...###.#..",
".##.#######.##..",
".##.#.....#.##..",
".#..#.....#..#..",
"....#######.....",
"....##...##.....",
"....##...##.....",
"....##...##.....",
"...###...###....",
};
static constexpr Sprite RUTHERFORD{16, 24, RUTHERFORD_ROWS};
static const char *const SHIP_ROWS[] = {
"######################...........................",
"#....................###.........................",
"######################...........................",
".....#.......#...................................",
"......#.......#...................#############..",
".......#.......#...............##################",
"........###########......#######################.",
"........#.........######.........##############..",
"........#.....................#..................",
"........#######################..................",
".........#.....#####.........#...................",
"..........######...##########....................",
};
static constexpr Sprite SHIP{49, 12, SHIP_ROWS};
} // namespace esphome::el512::trek