This commit is contained in:
Simon Gardling 2022-05-11 18:48:55 -04:00
parent 8d4a315a96
commit 813c545e06
3 changed files with 14 additions and 17 deletions

12
Cargo.lock generated
View File

@ -669,7 +669,7 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
[[package]]
name = "eframe"
version = "0.18.0"
source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936"
source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0"
dependencies = [
"bytemuck",
"egui",
@ -689,7 +689,7 @@ dependencies = [
[[package]]
name = "egui"
version = "0.18.1"
source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936"
source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0"
dependencies = [
"ahash",
"epaint",
@ -700,7 +700,7 @@ dependencies = [
[[package]]
name = "egui-winit"
version = "0.18.0"
source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936"
source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0"
dependencies = [
"arboard",
"egui",
@ -713,7 +713,7 @@ dependencies = [
[[package]]
name = "egui_glow"
version = "0.18.1"
source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936"
source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0"
dependencies = [
"bytemuck",
"egui",
@ -733,7 +733,7 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
[[package]]
name = "emath"
version = "0.18.0"
source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936"
source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0"
dependencies = [
"bytemuck",
"serde",
@ -742,7 +742,7 @@ dependencies = [
[[package]]
name = "epaint"
version = "0.18.1"
source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936"
source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0"
dependencies = [
"ab_glyph",
"ahash",

18
TODO.md
View File

@ -13,13 +13,11 @@
3. Allow constants in min/max integral input (like pi or euler's number)
4. Sliding values for functions (like a user-interactable slider that adjusts a variable in the function, like desmos)
5. Fix integral display
6. Better handling of panics and errors to display to the user
7. Turn Dynamic Iterator functions into traits
8. Better handling of roots and extrema finding
9. Add closing animation for function entry
10. Create actual icon(s) for PWA/favicon (using placeholder from eframe_template)
11. Fix mobile text input
12. Don't use json for text storage
13. Write custom plotter
14. Cache decompressed data in browser's [Local Storage](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Storage.html)
15. Add Url hashes loading and setting
6. Turn Dynamic Iterator functions into traits
7. Better handling of roots and extrema finding
8. Add closing animation for function entry
9. Create actual icon(s) for PWA/favicon (using placeholder from eframe_template)
10. Fix mobile text input
11. Write custom plotter
12. Add Url hashes loading and setting
13. Store settings in LocalStorage/Cookies

View File

@ -289,7 +289,6 @@ pub fn storage_create(commit: &[u8], data: &[u8]) -> String {
assert_eq!(commit.len(), 8);
let mut new_data = commit.to_vec();
// new_data.push(20); // push 'space'
let mut data = data.to_vec();
new_data.append(&mut data);
base64::encode(new_data)