Terminal & 3D Phase

3dFileSystem

Navigate your filesystem as an interactive 3D scene. Folders become containers you fly through, files become objects you can inspect.

TypeScript Created Jul 15, 2025 425 KB MIT License
click & drag to orbit

3dFileSystem reimagines the filesystem browser as a Three.js-powered 3D environment. Instead of flat lists and tree views, directories become physical containers you navigate through with camera controls, and files are rendered as 3D objects whose size and color reflect their type and weight.

This was the first project in the Terminal/3D experimentation phase -- the spark that ignited an obsession with putting developer tools into spatial interfaces. The question was simple: what if ls was a place you could walk around in?

3D Folder Containers

Directories render as translucent boxes you can fly into. Nested folders create a spatial hierarchy you physically traverse.

File Objects

Files appear as colored 3D shapes -- cubes, spheres, cylinders -- mapped by extension. Size scales with file size.

Camera Navigation

Orbit, zoom, and fly-through controls let you explore your project like a 3D game world. Double-click to enter directories.

Real-Time FS Reading

Watches the filesystem for changes and updates the 3D scene in real time. Create a file, see it appear.

TypeScript Three.js Node.js fs API OrbitControls Raycasting Recursive Traversal WebGL
// Core pipeline FileSystemReader -- recursive scan, watch mode --> SceneGraph | | fs.readdir() Three.js objects fs.watch() ├── FolderMesh (Box3) | ├── FileMesh (geometry by ext) v └── Labels (CSS2DRenderer) TreeModel -- layout algorithm --> PositionResolver --> Renderer | CameraController <-- orbit / fly-through RaycastPicker <-- click to inspect
425
KB Total Size
TS
Primary Language
MIT
License
#1
3D Phase Origin