Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Home / Developers / hughsk
Developer Profile

hughsk

Discovered public repositories for hughsk in the GitHub catalog.

↗

hughsk/resize-logic

Determines the correct dimensions for resizing and cropping images, without being attached to any particular tool

↗

hughsk/clone-stats

Safely clone node's fs.Stats instances without losing their class methods

↗

hughsk/koa

Expressive middleware for node.js using generators

↗

hughsk/tldr

Simplified and community-driven man pages

↗

hughsk/face-normals

Given an array of triangles' vertices, return a `Float32Array` of their normal vectors.

↗

hughsk/gl-shader-hook

Instruments WebGL shaders to keep track of updates and modify existing shaders on the fly.

↗

hughsk/gl-catch-context

Retrieve any newly created WebGL contexts as they're being created. Useful for instrumentation.

↗

hughsk/on-first

Attach an EventEmitter listener that emits before all other existing listeners

↗

hughsk/preload

Load images, scripts and CSS with XHR progress events where supported

↗

hughsk/bicubic

Bicubic interpolation - traditionally used for scaling up images or heightmaps

↗

hughsk/talkie

A small module for handling animation frames in smaller, stackable pieces.

↗

hughsk/rgb-pack

Packs integer values from a 2D ndarray into an RGB one for storing as compressed images

↗

hughsk/pp-now

Quick setup for single-pass GLSL post-processing with gl-now

↗

hughsk/worker-query

Reduces the boilerplate in setting up a request/response pattern between your main thread and a web worker

↗

hughsk/tab64

Encode/decode typed arrays (e.g. Float32Array, Uint8Array) to and from base64 strings.

↗

hughsk/unindex-mesh

Takes a list of vertices and faces, giving you back an array of individual triangles.

↗

hughsk/glsl-defines

Takes an object or array of variable names/values and gives you back a list of `#define` statements you can drop into GLSL.

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.