Commit graph

52 commits

Author SHA1 Message Date
7d74a56559 Simplify drawing logic
Now that only typst is left, things become a lot simpler.
2025-03-01 23:35:10 +01:00
6e6dfb2b66 Remove all dependencies on showbits-common 2025-03-01 23:23:43 +01:00
de7ae63a5e Typstify /chat_message to /chat 2025-03-01 23:18:03 +01:00
8bece23baf Typstify /tictactoe endpoint 2025-03-01 22:57:02 +01:00
d32be913fd Remove /photo endpoint 2025-03-01 22:44:09 +01:00
fbab0b9441 Remove /typst endpoint 2025-03-01 22:23:30 +01:00
5f2dcf81d3 Typstify /calendar endpoint 2025-03-01 22:21:45 +01:00
ca4e807c9f Typstify /cells endpoint 2025-03-01 21:52:17 +01:00
db06addc42 Typstify /egg endpoint 2025-03-01 20:14:08 +01:00
fa43074f3d Typstify /image endpoint 2025-03-01 18:38:22 +01:00
98071dfe32 Typstify /text endpoint 2025-03-01 17:33:45 +01:00
428b825e43 Use new typst rendering in /test endpoint 2025-02-28 23:53:28 +01:00
0ed868ff6d Increase feed padding 2025-02-27 20:29:46 +01:00
6555e9c0bd Switch to persistent printer with queue 2025-02-27 03:39:59 +01:00
9b6865ff50 Add /typst 2024-05-13 13:02:26 +02:00
9c4ee1a350 Add tic tac toe drawing 2024-03-31 13:38:04 +02:00
a9ba160c13 Print random easter egg 2024-03-30 16:28:30 +01:00
57fc128be0 Turn ChatMessage into drawing 2024-03-30 12:52:39 +01:00
13ee9c5267 Turn Photo into drawing 2024-03-30 12:45:57 +01:00
aa02b42f5d Turn Image into drawing 2024-03-30 12:42:43 +01:00
0bc2942b2b Turn Text into drawing 2024-03-30 12:42:43 +01:00
dddef6b3b5 Remove Test command 2024-03-30 12:26:12 +01:00
9b1df02819 Turn Cells into drawing 2024-03-30 12:26:12 +01:00
d04a697d51 Turn Calendar into drawing 2024-03-30 12:26:09 +01:00
a50e0999ca Remove Stop and Rip commands 2024-03-30 12:18:49 +01:00
c85c4ee14b Add Drawing trait 2024-03-30 12:12:09 +01:00
95d49daa23 Make video play on iOS 2024-03-29 20:39:21 +01:00
755889e82d Add /cells 2024-03-17 17:41:08 +01:00
4f3d66f6a0 Make bright printing optional 2024-03-15 23:19:17 +01:00
9d4ecaaf72 Print images lighter 2024-03-15 22:13:45 +01:00
853895df79 Add /calendar 2024-03-13 02:37:52 +01:00
571dff3598 Implement instant photo website 2024-03-10 19:10:26 +01:00
e903ca7ff9 Add /photo 2024-03-10 15:40:41 +01:00
1c3b2a380a Center images 2024-03-10 01:53:54 +01:00
3cec866ba2 Increase feed after image 2024-03-09 23:17:40 +01:00
74b0d25dfc Add /image endpoint 2024-03-09 22:47:10 +01:00
a0c94c1884 Fix layout issues
The issues were likely caused by floating point inaccuracy. I don't have
a minimal working example though.
2024-03-09 20:28:30 +01:00
7aa192047b Add box around /me 2024-03-09 19:02:39 +01:00
db2766bbb4 Limit nick height 2024-03-09 19:02:27 +01:00
757b401b2d Increase max username width
Long nicks were annoying if the message itself was only a single line
and there was enough space left.
2024-03-09 18:23:09 +01:00
9ebcabbf36 Reimplement chat message command 2024-03-09 15:21:57 +01:00
5cdc62bd29 Reimplement text command 2024-03-09 14:53:15 +01:00
638a449343 Make naming scheme more consistent
Constructor functions that set/overwrite a value are called with_*,
functions that add a value are called and_*.
2024-03-09 14:53:15 +01:00
0f21c3701e Improve text widget API 2024-03-09 13:28:13 +01:00
aff5b4974e Measure width and decide on chunk height
The chunk height was tested by printing a widget with height 1200 and
continuous vertical lines. It printed perfectly and in one go.
2024-03-09 01:27:26 +01:00
2c8f9685b9 Add Block widget 2024-03-09 00:52:14 +01:00
602ad96cfe Add margin to text 2024-03-08 18:13:35 +01:00
1e73c01845 Switch to sRGBA everywhere 2024-03-08 17:40:17 +01:00
859fdb4bfe Add background color to Tree 2024-03-08 17:24:16 +01:00
6ab43a8d5e Try to draw simple "Hello world!" 2024-03-08 17:01:54 +01:00