Skip to content

Commit

Permalink
Upgrade dependencies, change get_tile API to use complex plane coordi…
Browse files Browse the repository at this point in the history
…nates, add tests
  • Loading branch information
rosslh committed Feb 3, 2024
1 parent 15aba74 commit d556ae9
Show file tree
Hide file tree
Showing 32 changed files with 5,093 additions and 5,796 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
on: push
name: publish web app
name: Deploy
on:
push:
branches: [master]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: Install
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- uses: actions/setup-node@v2.1.2
- uses: actions/setup-node@v2
with:
node-version: "10"
node-version: "18"
- name: Install dependencies
working-directory: ./client
run: |
npm ci --no-optional
npm i
- name: Build project
working-directory: ./client
run: |
Expand Down
201 changes: 0 additions & 201 deletions LICENSE-APACHE

This file was deleted.

13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,17 @@

- Set max iterations to adjust speed vs render quality
- "Multibrot" sets can be rendered by increasing the exponent parameter
- Tune rendering performance by setting the number of worker threads
- Adjust the size of map tiles
- Enter fullscreen mode
- Save the visible portion of the fractal as an image

## Local development

- Build scripts are available in [<code>client/package.json</code>](client/package.json). You can use the following commands from within `client/`:
- `npm install` -- Install npm dependencies
- `npm run start` -- Serve the project locally for development at `http://localhost:9090`
- `npm run build` -- Build the project for production
- `npm run test` -- Run Rust tests
- `npm run lint` -- Find problems with code
- `npm install` -- Install npm dependencies
- `npm run start` -- Serve the project locally for development at `http://localhost:9090`
- `npm run build` -- Build the project for production
- `npm run test` -- Run Rust tests
- `npm run lint` -- Find problems with code

If you get weird errors, try running `./clean.sh` to purge all dependency caches.

The project is based on [this Rust WASM worker template](https://github.com/DDR0/large-graph-editor/tree/updated-deps).
Loading

0 comments on commit d556ae9

Please sign in to comment.