This commit is contained in:
2025-06-12 20:23:52 +02:00
parent 6f591627be
commit 64642b404d
28 changed files with 6730 additions and 0 deletions

View File

@ -0,0 +1,18 @@
---
source: src/custom_code_block.rs
expression: markdown
---
# Hello world
## Subheader
- 1
```foo
whatever
some code
Hi mom!
```
```` # wrong number of ticks, but that's ok
``` # indented ticks
```
``` # no closing ticks

View File

@ -0,0 +1,19 @@
---
source: src/painting.rs
expression: handwriting.strokes
---
[
[
[-1.0 1.0],
[3.0 1.0],
[3.0 3.0],
[1.5 2.0],
[0.0 0.0],
],
[
[3.0 3.0],
[-1.0 1.0],
[0.0 0.0],
[3.0 1.0],
],
]

View File

@ -0,0 +1,33 @@
---
source: src/rasterizer.rs
expression: "(triangle, point_to_pixel, bounding_box)"
---
(
[
Vertex {
pos: [56.3 18.9],
uv: [0.0 0.0],
color: #FF_FF_FF_FF,
},
Vertex {
pos: [56.4 19.6],
uv: [0.0 0.0],
color: #FF_FF_FF_FF,
},
Vertex {
pos: [55.8 20.5],
uv: [0.0 0.0],
color: #FF_FF_FF_FF,
},
],
TSTransform {
scaling: 2.0,
translation: [-111.6 -37.8],
},
PxBoundingBox {
x_from: 0,
y_from: 0,
x_to: 2,
y_to: 4,
},
)