Performance Note: These pure Rust examples demonstrate beamterm's optimal performance characteristics.
Rust+WASM provides predictable performance with direct memory management and no garbage collection overhead,
while the JS/TS examples below show the convenience of web development APIs with some additional runtime overhead.
Batch API Demo
Live Demo
Interactive
Two Screens
All Methods
Focused, interactive demonstration of all 6 Batch API methods. Navigate between two
screens using the SPACE key to learn basic and advanced features step by step.
- All batch methods demonstrated
- Interactive SPACE key navigation
- Performance guidance included
- Perfect for API learning
Webpack Example
Live Demo
Webpack 5
JavaScript
ES6
Classic bundler setup demonstrating beamterm integration with Webpack 5.
Features dynamic text rendering, color palettes, and smooth animation loops.
- Traditional webpack configuration
- Dynamic terminal content
- Color palette showcase
- Real-time FPS counter
Vite + TypeScript
Live Demo
Vite
TypeScript
ES Modules
Modern development setup with full TypeScript support, HMR, and
component-based architecture. Showcases advanced batch operations and type safety.
- Full TypeScript integration
- Hot module replacement
- Component architecture
- Batch API demonstration
Selection & Clipboard
Live Demo
Mouse Events
Text Selection
Clipboard API
Interactive demonstration of text selection and clipboard functionality.
Features both Linear and Block selection modes with automatic clipboard copying.
- Linear & Block selection modes
- Automatic clipboard integration
- Custom mouse event handling
- Programmatic text selection