This commit is contained in:
Simon Gardling
2023-03-23 12:24:14 -04:00
parent b421159f81
commit f8a1297857
4 changed files with 125 additions and 103 deletions

View File

@@ -25,7 +25,7 @@ mod widgets;
// For running the program natively! (Because why not?)
#[cfg(not(target_arch = "wasm32"))]
fn main() {
fn main() -> eframe::Result<()> {
let subscriber = tracing_subscriber::FmtSubscriber::builder()
.with_max_level(tracing::Level::TRACE)
.finish();
@@ -36,5 +36,5 @@ fn main() {
"(Yet-to-be-named) Graphing Software",
eframe::NativeOptions::default(),
Box::new(|cc| Box::new(math_app::MathApp::new(cc))),
);
)
}

View File

@@ -505,7 +505,7 @@ impl App for MathApp {
ui.collapsing("Functions", |ui| {
ui.label("(From Left to Right)\n`✖` allows you to delete the selected function. Deleting a function is prevented if only 1 function exists.\n`∫` toggles integration.\n`d/dx` toggles the calculation of derivatives.\n`⚙` opens a window to tweak function options.");
});
ui.collapsing("Other", |ui| {
ui.label("- Extrema (local minimums and maximums) and Roots (intersections with the x-axis) are displayed though yellow and light blue points respectively located on the graph. These can be toggled in the side panel.");
});