@evoke-ui/zsort3d
Version:
TypeScript z-plane rendering engine with 3D depth simulation using Canvas 2D and mouse-based navigation
35 lines (30 loc) • 1.36 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.1.0] - 2025-08-10
### Added
- Initial release of ZSort3D TypeScript library
- Core rendering engine (`Z3DRenderer`) with Canvas 2D support
- Mouse-based 3D navigation with drag controls
- Mathematical 3D transformations using rotation matrices
- Depth sorting algorithm for back-to-front rendering
- Built-in 3D objects:
- `Z3DBall` - Sphere with gradient shading
- `Z3DContainer` - Rectangular container
- `Z3DSVG` - SVG renderer with click detection
- TypeScript support with full type declarations
- Dual module support (CommonJS and ESM)
- Interactive demo application
- ESLint configuration and code quality checks
- Comprehensive documentation and examples
- Configurable perspective distance
- Object click detection and event handling
- Optimized rendering with `requestAnimationFrame`
- Scale-based rendering optimizations
### Technical Details
- Port from ActionScript 3.0 to modern TypeScript
- ES2020 target with strict TypeScript configuration
- Browser compatibility with modern Canvas 2D support
- Node.js 16.0.0+ requirement for development
- Vite-based development and demo system