init: project scaffold

This commit is contained in:
2026-04-23 22:58:36 +08:00
commit 468c57def5
7 changed files with 133 additions and 0 deletions

12
.gitignore vendored Normal file
View File

@@ -0,0 +1,12 @@
node_modules/
dist/
build/
.env
.env.local
.env.production
__pycache__/
*.pyc
.DS_Store
.vscode/
.idea/
*.log

View File

@@ -0,0 +1,16 @@
# anime.js 源码解析 源码解析
> 创建日期2026-04-23
> 上游版本:待填写
## 概览
待补充
## 核心模块
待补充
## 关键流程
待补充

11
.memory/worklog.json Normal file
View File

@@ -0,0 +1,11 @@
{
"entries": [
{
"ts": "2026-04-23T00:00:00+08:00",
"type": "milestone",
"message": "项目创建: anime.js 源码解析",
"hash": "",
"files_changed": 0
}
]
}

30
.project.json Normal file
View File

@@ -0,0 +1,30 @@
{
"name": "anime.js 源码解析",
"description": "anime.js v4 动画库源码深度拆解Timeline/Tween/SVG morphing/Stagger",
"status": "active",
"kind": "analysis",
"created": "2026-04-23",
"ports": [
{
"port": 4500,
"label": "dev",
"fixed": true
}
],
"worklog": {
"path": ".memory/worklog.json",
"auto": true
},
"ownership": "personal",
"source": {
"upstream": "https://github.com/juliangarnier/anime.git",
"path": "source/",
"last_sync": "2026-04-23",
"version": "v4.3.6"
},
"analysis": {
"path": ".memory/source-analysis.md",
"version": "v4.3.6",
"last_updated": "2026-04-23"
}
}

17
RULES.md Normal file
View File

@@ -0,0 +1,17 @@
# anime.js 源码解析
## 启动
- `python3 -m http.server 4500` — 端口 4500
## 部署
- 平台:待定
- 域名:待定
## 环境变量
- 待补充
## 规则
- 待补充
## 注意事项
- 待补充

46
index.html Normal file
View File

@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>anime.js 源码解析</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: #0a0a0a; color: #e0e0e0;
min-height: 100vh; padding: 2rem;
}
.container { max-width: 1200px; margin: 0 auto; }
h1 {
font-size: 2.5rem; font-weight: 700;
background: linear-gradient(135deg, #60a5fa, #a78bfa);
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
margin-bottom: 0.5rem;
}
.subtitle { color: #888; font-size: 1.1rem; margin-bottom: 2rem; }
.card {
background: #141414; border: 1px solid #222; border-radius: 12px;
padding: 2rem; margin-bottom: 1.5rem;
}
.card h2 { color: #60a5fa; margin-bottom: 1rem; font-size: 1.3rem; }
.card p { line-height: 1.8; color: #aaa; }
</style>
</head>
<body>
<div class="container">
<h1>anime.js 源码解析</h1>
<p class="subtitle">anime.js v4 动画库源码深度拆解Timeline/Tween/SVG morphing/Stagger</p>
<div class="card">
<h2>概述</h2>
<p>待补充研究内容...</p>
</div>
<div class="card">
<h2>核心发现</h2>
<p>待补充...</p>
</div>
</div>
</body>
</html>

1
source Submodule

Submodule source added at 3b369a4b1a