Skip to content

Commit 73cb817

Browse files
authored
Merge pull request #89 from AnuKritiW/docs/cleanup
Cleanup + Documentation Improvements
2 parents 7b143d7 + 85060fd commit 73cb817

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+9161
-2769
lines changed

.github/workflows/check-tests.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ jobs:
3737
runs-on: ubuntu-latest
3838

3939
strategy:
40+
fail-fast: false
4041
matrix:
41-
project: [backend, frontend]
42+
shard: ['1/2','2/2']
4243

4344
steps:
4445
- name: Checkout repo
@@ -53,10 +54,5 @@ jobs:
5354
- name: Install dependencies
5455
run: npm ci
5556

56-
- name: Run ${{ matrix.project }} tests
57-
run: |
58-
if [ "${{ matrix.project }}" = "backend" ]; then
59-
npx vitest run tests/backend
60-
else
61-
npx vitest run tests/frontend
62-
fi
57+
- name: Run unit tests (shard ${{ matrix.shard }})
58+
run: npx vitest run tests --shard ${{ matrix.shard }}

README.md

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -113,20 +113,37 @@ npm run deploy
113113

114114
```
115115
src/
116-
├── components/ # Vue components
117-
│ ├── EditorPanel.vue # Monaco shader editor
118-
│ ├── PreviewPanel.vue # WebGPU render canvas
119-
│ ├── ResourcesPanel.vue # Mesh/texture selector
120-
│ └── ...
121-
├── webgpu/ # WebGPU engine
122-
│ ├── renderer.ts # Main renderer
123-
│ ├── pipeline.ts # Render pipeline
124-
│ ├── shaders.ts # Shader compilation
125-
│ └── ...
126-
├── composables/ # Vue composables
127-
├── shaders/ # Example WGSL shaders
128-
├── utils/ # Utility functions
129-
└── styles/ # Global styles
116+
├── ui/ # UI layer (Vue.js frontend)
117+
│ ├── components/ # Vue components
118+
│ │ ├── panels/ # Main application panels
119+
│ │ │ ├── EditorPanel.vue # Monaco shader editor
120+
│ │ │ ├── PreviewPanel.vue # WebGPU render canvas
121+
│ │ │ ├── ResourcesPanel.vue # Mesh/texture selector
122+
│ │ │ └── ConsolePanel.vue # Error/output display
123+
│ │ ├── modals/ # Modal dialogs
124+
│ │ │ ├── TextureModal.vue # Texture selection
125+
│ │ │ └── MeshModal.vue # Mesh selection
126+
│ │ └── WebGPUWarning.vue # Browser compatibility
127+
│ ├── composables/ # Vue composition functions
128+
│ │ ├── useShaderRunner.ts # Shader execution
129+
│ │ ├── useTextures.ts # Texture management
130+
│ │ └── useMesh.ts # Mesh handling
131+
│ └── styles/ # UI styling
132+
│ └── app.css
133+
├── core/ # Core WebGPU setup
134+
│ └── context.ts # Device/adapter management
135+
├── runtime/ # Rendering execution
136+
│ └── renderer.ts # Main rendering engine
137+
├── pipeline/ # Rendering pipeline
138+
│ ├── pipeline.ts # Render pipeline factory
139+
│ └── uniforms.ts # Uniform buffer management
140+
├── shader/ # Shader processing
141+
│ ├── shaderUtils.ts # Shader compilation & templates
142+
│ └── wgslReflect.ts # WGSL parsing & reflection
143+
└── resources/ # Asset management
144+
├── textures.ts # Texture loading & binding
145+
└── mesh/
146+
└── objParser.ts # OBJ file parsing
130147
```
131148

132149
## Links
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)