Elektrine lite

← Feed

@lisyarus@mastodon.gamedev.place

Post #1844344

2026-04-21 18:29 UTC

Improved river height interpolation using cubic splines, fixed some weirdness on river banks & deltas. Still hunting a few remaining discontinuities... #indiedev #gamedev #indiegames

Replies (5)

  • @lisyarus@mastodon.gamedev.place random comment in case it helps and you didnt already know - rational splines aka splines with weights per control point are just one curve divided by another, but gain a lot of power - like being able to represent conic sections.

    Open ##2342308

  • @lisyarus@mastodon.gamedev.place Fascinating to follow your progress, it looks really beautiful, especially with those clouds hanging there in the sky.

    Open ##2342310

  • @lisyarus@mastodon.gamedev.place I don't know what the game will be about, and probably your intention is much different, but it would make a great generative racing game, maybe even with boats on the rivers 😅.

    Open ##2342311

  • @mmby@mastodon.social 2026-04-21 18:45

    @lisyarus@mastodon.gamedev.place I think I spy a discontinuity in pic 3 I'm surprised how well cubic looks here - with piecewise-curves you can sometimes see the 'stitching' - or did you solve for the slopes globally to make them match up nicely?

    Open ##2342313

  • @lisyarus@mastodon.gamedev.place Oh these look great! Really loving the terrain shape in picture 2

    Open ##2342315