port to egui (WIP)

This commit is contained in:
Simon Gardling
2022-02-23 15:10:08 -05:00
parent eaf858b097
commit 59e4793a1b
15 changed files with 383 additions and 1072 deletions

View File

@@ -13,11 +13,14 @@ opt-level = 3
lto = true
[dependencies]
wasm-bindgen = "0.2.79"
plotters = "0.3.1"
plotters-canvas = "0.3.0"
meval = { git = "https://github.com/Titaniumtown/meval-rs.git" }
egui = "0.17.0"
eframe = "0.17.0"
emath = "0.17.0"
epaint = "0.17.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.7"
tracing-wasm = "0.2.1"
wee_alloc = "0.4.5"
web-sys = { version = "0.3.56", features = ["HtmlCanvasElement"] }
meval = { git = "https://github.com/Titaniumtown/meval-rs.git" }
console_error_panic_hook = "0.1.7"
tracing-wasm = "0.2.1"
wasm-bindgen = "0.2.79"