
Ypsilon Golf: an 18-hole course mapped from public lidar
This was a demo. We built it on our own initiative as a pitch for Ypsilon Golf Resort Liberec, to show the club what a modern site and a 3D course map could look like. The club did not commission it and has not signed it off, and it is not the club’s website. It lives at ypsilon.amox.dev, where it is hidden from search engines.
The brief
We gave ourselves one. Ypsilon Golf Resort Liberec is an 18-hole, par 72 course near the Fojtka reservoir, under Ještěd. We wanted to see what a club site would look like if a visitor could pick any hole, fly to it and see it with its scorecard beside it, and if the first thing they saw was a film instead of a stock photo.
The site runs in Czech, English, German and Polish, and holds the usual things a club site needs: the course, the stay, membership, the academy, dining, news and a contact form. This page is about the two parts that took the work: the map and the film.
The constraint
There is no map of this course anywhere in open data. OpenStreetMap has the course boundary, tagged “18 holes Par 72”, and nothing inside it: no tees, greens, fairways or bunkers. Nobody had given us a survey either. So every shape on the map had to be derived.

How we built the course
The terrain is the Czech state’s own lidar, the DMR 5G elevation model, with a stated height error of 0.18 m on open ground and 0.30 m under forest. The colours come from the 0.5 m aerial photograph, both from ČÚZK. The scorecard is the club’s own birdie book, which is the source of truth for par, handicap index and length on the site.
Our first attempt classified the photo by colour, and it failed. Mowing stripes and shadows made fairway and rough look the same. So we ran Meta’s Segment Anything model over the photo instead. It traced the real mown edges and split the course into 2,885 regions. From those we extracted 18 greens, 15 fairways, 41 bunkers and 10 bodies of water.
Fairway and rough have almost the same colour statistics, so no rule could pick the fairway regions for us. We reviewed all 18 holes one at a time against the aerial photo. Each review sheet put the photo beside the numbered regions, and every correction went into a data file rather than into code: which regions form a fairway, which to cut away, which bunker to force or drop, where a ditch was drawn in the wrong place.

The tee and green positions were placed by hand. We georeferenced the club’s published course map onto the photo to get the routing and checked each hole against its birdie-book page. The result matches the official lengths well: 15 of the 18 holes measure within 5% of the scorecard. Trees come from the lidar too: 7,021 stand at the height the canopy model measured, and about 47,000 more fill the dense forest so that it reads as forest rather than separate trees.

The map
On the site the course is one large image you can pan and zoom. It is a single 9216 by 7689 pixel render from Blender’s Cycles, cut into 1024 pixel tiles so that zooming in stays sharp, with a vector layer of hole markers on the same camera. Pick a hole and the camera flies to it, draws the line from tee to green, and opens a hole card and the scorecard over the map.

The figures on the cards come from the club’s scorecard, not from our model. The scorecard has 18 holes, 6128 m from the white tees, par 35 out and 37 in, with 5690, 5156 and 4834 m from the yellow, blue and red tees. The course rating is 74.1 and the slope is 144 from the white tees. The position of each tee set along a hole is an estimate: we placed it at the scorecard’s proportion along the measured line.
Every green is a real traced shape, raised slightly above the fairway in the model, and every one has its flag. Hole 4 shows why the corrections matter: it has a ditch in front of the green that the open data drew in the wrong place, so a correction redraws it where it runs.

The film
The site opens on a film, two Blender clips played back to back: the tee shot, then the ball arriving on the green. Everything in it is built from code. The ball has about 362 real dimples and a printed logo. The driver, the wooden tee, the cup and the flag are modelled in scripts, and the grass is millions of instanced blades: 1.6 million on the tee box and about 2.5 million on the green, each with its own colour, height and lean.
The first clip starts at grass level with the driver soled behind the ball. The strike runs in slow motion, with about 1/1800 of a second per frame around impact, then the camera whips after the ball into the sky and the exposure ramps to pure white. The second clip starts from that white, with an orange flag lit from behind and the ball dropping out of the glare. It lands at a 62 degree angle, bounces, hops, rolls and stops 2 cm from the lip of the cup.



The film arrives on the page as an 8.4 second H.264 video: 1920 by 1080 at 3.3 MB on desktop, 1280 by 720 at 1.3 MB for a lighter connection, and a 540 by 960 cut for phones that crops in on the ball and follows it, at 1.6 MB.
What it took to ship
iPhone Safari wants to stream video through byte-range requests, and the static hosting we used did not answer them correctly. So the page downloads the whole film and plays it from memory. If the phone refuses to play it, as iOS does in Low Power Mode, the page shows a still-frame sequence of the same shot instead. The build also fails if any language’s page lacks the ČÚZK and OpenStreetMap licence credit in the footer, because the open-data licences require it.
Honest limits
- It is a demo. The club did not ask for it, has not approved the course outlines, and does not run it. The production deployment was deliberately never made, and the only live copy is the showcase at ypsilon.amox.dev.
- The geometry is derived, not surveyed. Aerial photos cannot always separate fairway from first cut, so the fairway outlines would need the club’s confirmation, or better, their own CAD or GPS data. Bunkers hidden under tree shadow may be missing.
- Hole 16 measures 135 m on our model against 171 m on the scorecard, 21% short. Its back tee is probably further up the slope than any visible tee box. Holes 1 and 13 are just outside 5%.
- The lidar dates from between 2009 and 2013, and the 2 m native elevation grid is interpolated to 1 m.
- The film starts in 8.8 s on a throttled Slow 4G connection. We tested iPhone behaviour in emulation, not on a real device, and we have no recorded performance audit of the live site.
- The map does not model cart paths, the driving range or the clubhouse in detail.
- The demo uses the club’s logo and some photographs from the club’s current website. They belong to the club, not to us.
Credits
- AMOX Studios Design, front end, 3D
- Map data ČÚZK (CC BY 4.0), OpenStreetMap contributors (ODbL)
- Segment Anything Meta (Apache 2.0)
- HDRI and textures Poly Haven and ambientCG (CC0)






