Skip to content

Commit

Permalink
Basic rendering on canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
Zequez committed Oct 28, 2020
1 parent 00cddcb commit 9c92bcb
Show file tree
Hide file tree
Showing 8 changed files with 1,018 additions and 75 deletions.
210 changes: 210 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 19 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
[package]
name = "mandelbrot-sandbox"
description = "A Mandelbrot fractal generator that compiles to web assembly and can be visualized in the browser"
repository = "https://github.com/zequez/mandelbrot-sandbox"
version = "0.1.0"
authors = ["Zequez <[email protected]>"]
authors = ["Ezequiel Schwartzman <[email protected]>"]
edition = "2018"
license = "AGPL-3.0-or-later"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib", "rlib"]

[features]
default = ["console_error_panic_hook"]

[dependencies]
terminal_size = "0.1.13"
js-sys = "0.3.45"
wasm-bindgen = "0.2.68"
wee_alloc = { version = "0.4.5", optional = true }
console_error_panic_hook = { version = "0.1.6", optional = true }

[dev-dependencies]
wasm-bindgen-test = "0.3.13"

[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"
Loading

0 comments on commit 9c92bcb

Please sign in to comment.