13 lines
885 B
Markdown
13 lines
885 B
Markdown
# Day 2 Update
|
|
|
|
- Built the React Three Fiber app for Task 1 (`Week-1/Task-1/r3f/solar-system`) with full Vite project setup and base files.
|
|
- Implemented a simple solar system scene in R3F:
|
|
- Added Sun and Earth meshes.
|
|
- Created parent-child hierarchy using a `<group ref={orbitRef}>` for Earth orbit pivot.
|
|
- Animated orbit with `useFrame` by rotating the parent group each frame.
|
|
- Added/updated documentation for the day:
|
|
- Added Day 1 summary (`Week-1/Days-update/Day1.md`).
|
|
- Updated Task 1 notes (`Week-1/Task-1/TaskNotes.md`) with Vanilla, R3F, and Thob comparison.
|
|
- Added Builder notes (`Week-1/Task-1/builder/BuilderNotes.md`) including observed warnings/errors and limitations.
|
|
- Key learning: Scene graph parent-child transforms are straightforward in Vanilla and R3F, while Thob showed unstable behavior when changing child local position under parent transforms.
|