#![warn(missing_docs)]
mod adapter;
#[cfg(not(target_arch = "wasm32"))]
mod cli;
mod engine;
#[cfg(not(target_arch = "wasm32"))]
mod preview;
mod project;
mod scene;
#[cfg(feature = "wasm")]
pub mod wasm;
pub use adapter::PreviewAdapter;
pub use engine::{Engine, EngineError, MetaSection};
pub use project::Project;
pub use scene::{SceneDef, SourceLocation};
pub use oxframe_2d::{
Circle, Code, CodeTheme, Direction, Grid, Group, Img, Justify, Layout, LayoutAlign, Line,
LineCap, LineJoin, MONO, Node, NodeBuilder, NodeId, Path, Polygon, Rect, RichSpan, SANS,
SceneGraph, Star, TextAlign, Txt, View, span,
};
pub use oxframe_core::{
Affine, BezPath, BlendMode, BoxFuture, Color, CubicBezier, Ease, Executor, Gradient,
JoinHandle, Lerp, Point, Signal, Transform, Tween, Vec2, all, all_vec, bounce_in,
bounce_in_out, bounce_out, dt, ease_named, elastic_in, elastic_in_out, elastic_out, fps, frame,
next_frame, now, presets, random, random_range, sequence, spawn, time, tunable, wait_for,
wait_until, with_rng,
};
pub use oxframe_macros::{color, ease, scene, tune};
pub use oxframe_2d as nodes;
pub use oxframe_core as core;
pub use oxframe_protocol as protocol;
pub use oxframe_render as render;
pub use oxframe_text as text;
pub use oxframe_text::register_font;
pub mod prelude {
pub use crate::{
BezPath, BlendMode, Circle, Code, CodeTheme, Color, Direction, Ease, Gradient, Grid, Group,
Img, Justify, Layout, LayoutAlign, Lerp, Line, LineCap, LineJoin, MONO, Node, NodeBuilder,
Path, Point, Polygon, Project, Rect, RichSpan, SANS, Signal, Star, TextAlign, Txt, Vec2,
View, all, all_vec, color, ease, next_frame, presets, random, random_range, sequence, span,
spawn, tune, wait_for, wait_until,
};
}