🚀 Init public commit

This commit is contained in:
Markus Scully 2025-07-27 00:42:40 +03:00
commit 62fbf6d17c
Signed by: mascully
GPG key ID: 93CA5814B698101C
42 changed files with 7433 additions and 0 deletions

View file

@ -0,0 +1,37 @@
#![allow(unused)]
#![warn(unused_must_use)]
use crate::plot::{Camera, Element, Plot};
use leptos::prelude::*;
#[component]
pub fn PlotDemo() -> impl IntoView {
let camera = Camera::default();
// TODO: Create sample elements for the plot
let elements = vec![
Element {
// TODO: Initialize with sample data
},
Element {
// TODO: Initialize with sample data
},
];
view! {
<article class="plot-demo-post">
<header>
<h1>"Interactive Plot Demo"</h1>
<p class="post-description">
"A demonstration of the Plot component with interactive graphics rendering."
</p>
</header>
<section class="plot-section">
<h2>"Sample Plot"</h2>
<p>"This plot component will render interactive graphics:"</p>
<Plot camera=camera elements=elements />
<p>"TODO: Implement rendering logic, camera controls, and element interactions."</p>
</section>
</article>
}
}