Implement Owen Animation System with core classes, loaders, and state handlers

- Added OwenSystemFactory for creating the animation system.
- Introduced OwenAnimationContext to manage animations and states.
- Created AnimationLoader and GLTFAnimationLoader for loading animations.
- Developed state handlers: WaitStateHandler, ReactStateHandler, TypeStateHandler, SleepStateHandler.
- Implemented StateFactory for managing state handlers.
- Defined constants for clip types, states, and emotions.
- Added type definitions for TypeScript support.
- Configured Vite for building and serving the project.
- Added licenses (dual) to project.
This commit is contained in:
2025-05-23 21:36:52 +02:00
parent 9e5f576b68
commit 658e1e64b2
29 changed files with 6902 additions and 907 deletions

37
package.json Normal file
View File

@ -0,0 +1,37 @@
{
"name": "owen-animation-system",
"version": "1.0.0",
"description": "A comprehensive Three.js animation system for character state management with clean architecture principles",
"main": "src/index.js",
"types": "src/index.d.ts",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint src --ext .js",
"lint:fix": "eslint src --ext .js --fix",
"docs": "jsdoc -c jsdoc.config.json"
},
"keywords": [
"three.js",
"animation",
"state-machine",
"character",
"gltf",
"3d"
],
"author": "Owen Animation System",
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
"dependencies": {
"three": "^0.176.0"
},
"devDependencies": {
"vite": "^6.3.5",
"eslint": "^9.27.0",
"jsdoc": "^4.0.2"
},
"engines": {
"node": ">=16.0.0"
}
}