nowfound

Life & fun · December 16, 2015

hg_sdf

A glsl library for building signed distance functions

hg_sdf launched on December 16, 2015 with 7 votes. The site was still online in September 2026, 10 years on.

What it does

This page hosts the hg_sdf library for building signed distance functions (or more precise: signed distance bounds). Those are a very elegant and flexible representation of geometry that can be rendered or otherwise processed. Roughly, coded SDFs are to triangle meshes or voxels what vector graphics are to pixels. Building them is not easy yet. This is a bit like writing svg files by hand. Except fun. This lib is the one that we used ourselves to make 64k intros like the timeless and on , straight from our version control system. Much of what we learned from those productions ended up in here. This includes the following items: All info on this page (except for the screenshots) can also be…from mercury.sexy

Does a similar job

all alternatives →
  • 3D Meshes of Signed Distance Functions in Python2021 · github.com · ▲157

    Simple SDF mesh generation in Python. Contribute to fogleman/sdf development by creating an account on GitHub.

  • A hash array-mapped trie implementation in C2023 · github.com · ▲171

    Long-simmering side project that is finally ready to see the light. HAMTs are a cool persistent data structure and implementing one has been a lot of fun. Beyond the code, there is likely some value in the extensive and largely complete implementation docs; basic benchmarks are linked in the README, too. Kind of aiming to be "the libavl for HAMTs". That is obviously a high and aspirational bar but a distinct possibility if it stirs up a little interest and/or contribution. Anyways, it's time for this to go out, collect feedback and maybe even some use outside of toy projects. Let me…

  • Find2016 · github.com · ▲70

    High-precision indoor positioning framework for wifi-enabled

  • Grokking Algorithms2016 · amazon.com · ▲77

    An illustrated guide for programmers

  • Practical SVG2016 · abookapart.com · ▲65

    Harness power & possibilities of performance-efficient SVG.

  • Purely Functional Data Structures2016 · amazon.com · ▲61

    A guide to functional programming

More life & fun this month

the category →

Source: Product Hunt launch ↗

Launched alongside, December 2015

the whole month →