chore: added day2 update

This commit is contained in:
anshk 2026-03-27 19:29:11 +05:30
parent 8a29c9edb2
commit 8e925f0ec6

View File

@ -0,0 +1,12 @@
# 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.