Skip to content

Commit ba5dd17

Browse files
committed
feat: upgrade to v0.3.0, introduce text rendering, layout engine, and uncapped benchmark loop
- Bump version package.json to 0.3.0 and add framework exports. - Implement TextRenderer and font-atlas generation for WebGPU-based text nodes. - Add basic flex layout (direction, padding, gap, alignment) and scene graph integration. - Introduce an uncapped benchmark loop using MessageChannel for precise performance metric estimation. - Migrate raw WGSL files to a central directory and clean up buffer management boundaries.
1 parent 8ceb035 commit ba5dd17

34 files changed

Lines changed: 5502 additions & 355 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ dist
55
.vscode
66

77
.DS_Store
8+
context.txt

bench-dom.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Synapse.js Bench (DOM)</title>
7+
<link rel="icon" type="image/svg+xml" href="assets/synapse-logo.svg" />
78
</head>
89
<body>
910
<script type="module" src="/src/bench/dom-entry.ts"></script>

bench-report.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Synapse.js Bench Report</title>
7+
<link rel="icon" type="image/svg+xml" href="assets/synapse-logo.svg" />
78
</head>
89
<body>
910
<script type="module" src="/src/bench/report.ts"></script>

bench.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Synapse.js Bench (Synapse)</title>
7+
<link rel="icon" type="image/svg+xml" href="assets/synapse-logo.svg" />
78
</head>
89
<body>
910
<script type="module" src="/src/bench/synapse-entry.ts"></script>

0 commit comments

Comments
 (0)