Skip to main content
Back to Blog

Reflections on
JavaScript.

Browsing 6 articles tagged with JavaScript.

H3 Hierarchy and Compaction: Multi-Resolution Spatial Analysis - Master H3's parent-child cell relationships and compaction algorithm for efficient spatial data representation
· 12 min read · H3 Grids

H3 Hierarchy and Compaction: Multi-Resolution Spatial Analysis

Master H3's parent-child cell relationships and compaction algorithm for efficient spatial data representation

Every H3 hexagon at any resolution is the parent of exactly seven children at the next finer resolution. This seven-to-one relationship makes H3 uniquely powerful for multi-scale analysis — and its compaction algorithm exploits it to compress spatial datasets dramatically.

Read more
H3 Catchment Analysis: Modelling Service Areas with Hexagonal Grids - Use H3's k-ring and grid distance functions to build precise spatial buffers and accessibility zones
· 10 min read · H3 Grids

H3 Catchment Analysis: Modelling Service Areas with Hexagonal Grids

Use H3's k-ring and grid distance functions to build precise spatial buffers and accessibility zones

Traditional circular buffers distort space and ignore real-world geometry. H3's hexagonal rings give you scale-consistent spatial catchments that work the same way across the entire Earth's surface.

Read more
H3 Density Mapping: Visualising Urban Point Data as Hexagonal Heatmaps - Transform scattered coordinates into meaningful density patterns using H3's spatial aggregation
· 8 min read · H3 Grids

H3 Density Mapping: Visualising Urban Point Data as Hexagonal Heatmaps

Transform scattered coordinates into meaningful density patterns using H3's spatial aggregation

Raw GPS coordinates are noisy, overwhelming, and hard to interpret at scale. H3's hexagonal grid transforms thousands of points into clear, legible density maps — and the core aggregation logic fits in under ten lines.

Read more
How to Use Rust and WebAssembly for Real-Time Data Processing in the Browser - Compile performance-critical Rust logic to WASM and run it at near-native speed inside any modern web browser — no server round-trip, no bottleneck
· 7 min read · Rust

How to Use Rust and WebAssembly for Real-Time Data Processing in the Browser

Compile performance-critical Rust logic to WASM and run it at near-native speed inside any modern web browser — no server round-trip, no bottleneck

WebAssembly finally makes it practical to run genuinely fast computation inside a browser tab. When you combine it with Rust — a language designed around zero-cost abstractions and memory safety — you get a pipeline that can process tens of thousands of records per frame without blocking the UI thread. This post walks through the full workflow: writing the Rust crate, compiling to WASM, and wiring it into a JavaScript frontend.

Read more
Self-Hosted Vector Tiles with PMTiles and MapLibre GL JS - Serve a fully interactive web map from a single static file — no tile server, no backend, no infrastructure
· 6 min read · MapLibre GL JS

Self-Hosted Vector Tiles with PMTiles and MapLibre GL JS

Serve a fully interactive web map from a single static file — no tile server, no backend, no infrastructure

Vector tiles have become the standard for interactive web mapping, but running a tile server has always been the barrier to entry. PMTiles changes this: it is a single-file archive format that lets browsers fetch individual tiles via HTTP range requests, turning any static host — S3, GitHub Pages, a CDN — into a tile server.

Read more
Getting Started with H3: The Hexagonal Grid System for Spatial Analysis - A practical tutorial for understanding and implementing Uber's H3 hexagonal grid system
· 7 min read · H3 Grids

Getting Started with H3: The Hexagonal Grid System for Spatial Analysis

A practical tutorial for understanding and implementing Uber's H3 hexagonal grid system

Why are Uber, Foursquare, and every major location intelligence company switching to hexagonal grids? This tutorial will teach you H3 fundamentals with interactive examples you can run in your browser.

Read more