- Notifications
You must be signed in to change notification settings - Fork1
hectorbennett/rust-wasm-image-editor
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
See a very early example in action at
https://seahorse-app-r8jlv.ondigitalocean.app/
Contributors welcome! Get in touch or check out thegood first issues.
- node v19.7.0 (Best to install via
nvm) - wasm-pack (installed globally with
npm install -g wasm-pack) - yarn
- Install packages with
yarn. This should also automatically set up husky and install cargo watch and wasm-pack globally. - Run the development environment with
yarn run dev. This runsyarn run dev:wasmandyarn run dev:jssimultaneously and watches for changes to both.
Run all tests withyarn run test. This calls bothyarn run test:wasm andyarn run test:cypress. We may add unit tests to the TypeScript at a later date.
It is important to benchmark some functions to make sure we can render updates at 60fps. To make this happen each api call that updates the canvas must take < 16ms.
To run benchmarks runyarn run bench
Deployments are triggered whenever a pull request to the 'prod' branch is merged.
You can test the Dockerfile withdocker build .. The test site lives is hosted in a digital ocean app under the following config
name: orca-appregion: lonservices:- dockerfile_path: Dockerfile github: branch: main deploy_on_push: true repo: hectorbennett/rust-wasm-react-base http_port: 3000 instance_count: 1 instance_size_slug: basic-xxs name: rust-wasm-react-base routes: - path: / source_dir: /About
Browser based pixel editor
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
