Skip to content

Commit 27ffaf3

Browse files
Merge pull request #11 from FireAndIceFrog/main
Main
2 parents f5585c3 + 3a573f0 commit 27ffaf3

95 files changed

Lines changed: 4610 additions & 2128 deletions

File tree

Some content is hidden

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

.github/workflows/build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Install Node.js dependencies
3232
run: npm install
33-
working-directory: string-art-demo
33+
working-directory: string-art-website
3434

3535
- name: Set up Rust
3636
uses: actions-rs/toolchain@v1
@@ -46,15 +46,16 @@ jobs:
4646
- name: Build WASM
4747
run: ./build-wasm.sh
4848

49-
- name: Build JavaScript project
49+
- name: Build static files
50+
id: build
5051
run: npm run build
51-
working-directory: string-art-demo
52+
working-directory: string-art-website
5253

53-
- name: Upload build artifacts
54-
uses: actions/upload-artifact@v4
54+
- name: Upload static files as artifact
55+
id: deployment
56+
uses: actions/upload-pages-artifact@v3
5557
with:
56-
name: github-pages
57-
path: string-art-demo/dist
58+
path: string-art-website/dist
5859

5960
- name: Create Release
6061
if: github.event_name == 'release'

.vscode/launch.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Debug Rust CLI",
6+
"type": "lldb",
7+
"request": "launch",
8+
"program": "${workspaceFolder}/StringArtRustImpl/target/debug/string_art",
9+
"args": [
10+
"portrait.jpg"
11+
],
12+
"cwd": "${workspaceFolder}/StringArtRustImpl",
13+
"sourceLanguages": ["rust"]
14+
}
15+
]
16+
}

Modelfile

Lines changed: 411 additions & 0 deletions
Large diffs are not rendered by default.

StringArtRustImpl/processing.jpg

112 KB
Loading

StringArtRustImpl/src/abstract_generator.rs

Lines changed: 0 additions & 341 deletions
This file was deleted.

0 commit comments

Comments
 (0)