Skip to content

ue-too/ue-too

Repository files navigation

uē-tôo

A toolkit for interactive HTML canvas applications

ci tests License

OverviewPackagesExamplesDevelopment

Packages

ue-too is organized into modular packages:

  • @ue-too/being - Finite state machine npm version
  • @ue-too/board - Canvas viewport management with pan, zoom, and rotate functionality npm version
  • @ue-too/math - Mathematical utilities for 2D point operations, transformations, and calculations npm version
  • @ue-too/animate - Animation system for smooth transitions and keyframe animations npm version
  • @ue-too/dynamics - 2D physics engine with collision detection, rigid bodies, and constraints npm version
  • @ue-too/curve - Curve and path tools including Bézier curves, lines, and composite paths npm version
  • @ue-too/border - Geographic projection utilities (great circle, rhumb line, map projections) npm version
  • @ue-too/ecs - Entity Component System architecture support npm version

Install Individual Packages

# Install specific packages you need
npm install @ue-too/board @ue-too/math @ue-too/animate

Examples

A live website containing the examples is available here.

This monorepo includes comprehensive examples demonstrating various packages and integrations:

Core Examples

Framework Integrations

Advanced Features

Running Examples

To run the examples locally:

# Clone the repository
git clone https://github.com/ue-too/ue-too.git
cd ue-too

# Install dependencies
pnpm install

# Start the development server
pnpm dev:examples

Then, visit http://localhost:5173 to explore all examples.

Development

Prerequisites

  • Node.js 22.19.0
  • pnpm 10.17.0

Setup

# Clone and install
git clone https://github.com/ue-too/ue-too.git
cd ue-too
pnpm install

# Run tests
pnpm test

# Build all packages
pnpm build

# Start development server
pnpm dev:examples

Refer to the read me of each libary and application for more detail.

Project Structure

ue-too/
├── packages/           # Individual packages
│   ├── board/         # Canvas viewport management
│   ├── math/          # Mathematical utilities
│   ├── animate/       # Animation system
│   ├── dynamics/      # Physics engine
│   ├── curve/         # Curve and path tools
│   ├── border/        # Geographic projections
│   ├── being/         # Entity interfaces
│   └── ecs/           # ECS architecture
├── apps/              # Example applications
│   ├── examples/      # Interactive examples
│   └── b-curve-exp/   # Bézier curve experiment (WIP)
└── scripts/           # Build and deployment scripts

License

MIT License - see LICENSE.txt for details.

Support

Currently not accepting contributions yet. If there's any features you want to see, please let me know by creating an issue.

Contributors 2

  •  
  •