尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗An interactive, textured 3D model of a 35′-5″ × 49′-9″ house, built from the supplied ground-floor plan and dressed with the front elevation's facade, with a proposed 2BHK flat on the first floor, a walkable roof terrace and a side garden. Made with three.js (WebGL) and plain HTML/CSS/JavaScript.
Live site: https://pspk001.github.io/home/
| Dollhouse cut-away | Plan view | Walk-through |
|---|---|---|
| First floor (2BHK) | First-floor plan | Roof terrace |
|---|---|---|
The dining hall and kitchen rise double height, overlooked by the first-floor dining area across a glass railing. Along the back the wall is solid up to door height, with a tall glass wall above it facing the sunrise.
Upstairs, the dining table of the first-floor flat stands at the railing, with the living room behind a slatted teak screen.
The side garden on the north side of the house, from its gate: stepping stones run to the tulsi chaura by the puja room, between flower beds along the boundary wall and the house.
Double-click Home-3D-Viewer.html. It is one self-contained file (~780 KB) with all code,
styles and textures inside, so it works offline in any recent Chrome, Edge, Safari or Firefox
(WebGL 2 required). It also works on phones and tablets.
| Control | What it does |
|---|---|
| Exterior | Orbit around the house: drag to rotate, scroll / pinch to zoom, right-drag / two fingers to pan |
| Ground floor / First floor / Roof | Choose the level to look at. The room list, labels and minimap follow it, and the dollhouse and plan views slice the walls just above that floor |
| Dollhouse | Walls sliced at 7′-7″ above the chosen floor so every room is visible from above, from any angle |
| Plan | Top-down view of the chosen floor, with furniture |
| Walk | First-person tour: drag to look, WASD / arrows to move (Shift to run), double-click the floor to walk there. The stairs climb from the ground floor to the first floor and on to the roof, and you can walk out onto the front terrace and the roof terrace. On phones use the on-screen joystick |
| Rooms list / labels / minimap | Click any room to fly into it. The info card shows level, size, area, floor finish and a Walk inside button |
| Angle | One-click Front / Left / Back / Right / Top views |
| Wall cut | Slice the whole house at any height (from 1 ft above the floor up to the full house) |
| Sun | Move the sun from 7 AM to 6:30 PM (shadows update). As on site, it rises behind the house and sets over the road |
| Room labels / Furniture / Auto-rotate | Toggles |
| 📷 | Save the current view as a PNG |
Keyboard: 1–4 views · PgUp / PgDn floor up / down · L labels · F furniture · R auto-rotate · Esc back.
| Layer | Used |
|---|---|
| Markup / styling | HTML5, CSS3 (custom properties, backdrop blur, responsive bottom sheet for phones) |
| Language | JavaScript (ES modules) |
| 3D engine | three.js r186: WebGL 2 renderer, PBR materials, soft shadows, OrbitControls, CSS2DRenderer (labels), Sky, RoomEnvironment, RoundedBoxGeometry, BufferGeometryUtils |
| Tooling | Vite 8 (dev server + bundler) and vite-plugin-singlefile (builds the offline single HTML file) |
| Textures | Generated in code on <canvas>: vitrified and marble tiles, oak flooring, granite, subway and bathroom tiles, wood cladding, siding, pavers, plinth stone, grass, fabric, rug, asphalt. There are no image files |
Needs Node.js 18 or newer.
npm install
npm run dev # live dev server (opens http://localhost:5173)
npm run build # writes dist/index.html and refreshes Home-3D-Viewer.html
npm run preview # serve the production build
.github/workflows/deploy.yml runs on every push to main: it installs the packages, runs
npm run build and publishes dist/ to GitHub Pages (Settings → Pages → Source: GitHub Actions).
Edit the code, push, and the live site updates in about a minute.
home/
├─ Home-3D-Viewer.html standalone build: double-click to open
├─ index.html page + UI markup (Vite entry)
├─ package.json dependencies and scripts
├─ vite.config.js single-file build setup
├─ .github/workflows/ GitHub Pages build + deploy
├─ docs/ preview screenshots
└─ src/
├─ main.js start-up and loading screen
├─ config.js levels (plinth, ceilings, slabs, roof), door/window heights, plot, stair, colours
├─ plan.js every ground-floor wall, opening, door and room, measured from the floor plan (in feet)
├─ plan-ff.js the first-floor flat (walls, doors, windows, rooms) and the roof, plus their minimap outlines
├─ textures.js procedural canvas textures
├─ materials.js material library + the "wall cut" section shader
├─ geometry.js batching, world-scale UVs, extrusion and mesh-merging helpers
├─ style.css UI styles (desktop side panel, phone bottom sheet)
├─ build/
│ ├─ structure.js ground-floor walls, floors, ceiling slab, staircase, bathroom tiles, kitchen dado
│ ├─ openings.js ground-floor windows (frames, glass, grilles, sills, chajjas) and doors
│ ├─ firstfloor.js first-floor walls, doors and windows, floors, bathroom tiles, and the stair up to the roof
│ ├─ exterior.js stair tower front, roof terrace and parapets, rear glass wall, pipe line shaft, mumty, C-frame, cladding, gates, street
│ └─ furniture.js beds, wardrobes, sofas, dining, kitchens, toilets, mandir, SUV, fans, terrace and roof furniture…
└─ viewer/
├─ viewer.js renderer, lights, sky, view modes, room focus, picking
├─ walk.js first-person walking (collisions, stairs, joystick)
├─ tween.js camera animation helper
└─ ui.js panel, room list, minimap, info card, shortcuts
src/materials.js, e.g. paint('pBed1', 0xd3ddcb); feature walls are accentBed1, accentBed2, accentGuest, accentLiving, and upstairs accentBed3, accentBed4 (first-floor rooms use pFFLiving, pFFKitchen, pFFBed3, pFFBed4).floor: in ROOMS (src/plan.js) or FF_ROOMS (src/plan-ff.js). Options: tileMarble, tileWarm, wood, woodLight, tileKitchen, tileBath, marble, graniteGrey, pavers, terrace.FF_WALLS, FF_DOORS and FF_ROOMS in src/plan-ff.js (opening heights there are measured from the first-floor slab).LV and OPENING in src/config.js.buildFurniture() in src/build/furniture.js (positions are in feet).VOID in src/config.js.src/plan-ff.js and can be adjusted. The window positions on the side and rear walls of the first floor are part of the proposal too.GARDENsrc/config.jsbuildGarden()src/build/exterior.jssrc/materials.js and is separate from the app's title ("HOME", in index.html).REAR_COLS in src/config.js and C-F5 in src/plan.js.DUCT in src/config.js.