Skip to content
resnik.tsx✕
// radovi/resnik · 2026 · websites & web apps

Resnik

An interactive sales presentation with a 3D model generated from the architect's drawings.

import { Next.js 16, three.js, Python, Tailwind CSS v4, next-intl } from "sokrat";

A presentation site for a tourist resort in Kaštel Štafilić near Split, in English, Croatian and German. The 3D model is generated from the drawings with Python and shown in a three.js scene.

What it is

An interactive presentation site for a tourist resort in Kaštel Štafilić near Split: villas with their own pools by the sea. Visitors turn a 3D model of the resort, pick a building to see it highlighted, and read about it on a page of its own, in English, Croatian or German. The images are the architectural visualisations supplied for the project.

How it's built

The geometry isn't modelled by hand: a Python extractor reads the architect's drawings and produces a data file, and the site reads only that file. The three.js scene and the pages for the buildings are built from it. The site itself is Next.js 16 with Tailwind CSS v4 and next-intl.

The section 'The estate, pulled out of the drawings': white building volumes drawn in line over the site plan
The page of House 2, with a visualisation of the villa, its pool and the garden steps
The ground-floor plan of House 2 redrawn to scale, next to a table of room areas
The website on a phone, from the top: the headline over the resort, the houses and the estate model
scroll inside the phone