← All projects
Project record1 mention
Originally shared on Hacker News

Negs

Negs runs spektrafilm, Andrea Volpato's physically based spectral film simulation, in the browser via a Rust/WebGPU rewrite. Users load a photo (JPEG, PNG, TIFF or RAW), pick a film stock and print paper, and adjust physical controls (exposure, enlarger filters, DIR coupling, grain, halation) with live updates, all processed locally. GPLv3 code is available, plus native apps on the same engine: SwiftUI on macOS, GTK4 on Linux, and Windows.

Last shared
01 / The problem

What it addresses

The original Python Spektrafilm implementation was too slow for interactive use; Negs is orders of magnitudes faster so slider changes give live feedback.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Negs

    Negs runs spektrafilm, Andrea Volpato's physically based spectral film simulation, in the browser via a Rust/WebGPU rewrite. Users load a photo (JPEG, PNG, TIFF or RAW), pick a film stock and print paper, and adjust physical controls (exposure, enlarger filters, DIR coupling, grain, halation) with live updates, all processed locally. GPLv3 code is available, plus native apps on the same engine: SwiftUI on macOS, GTK4 on Linux, and Windows.

    Problem: The original Python Spektrafilm implementation was too slow for interactive use; Negs is orders of magnitudes faster so slider changes give live feedback.

    Posted by @haasisnoah · Original source ↗

    Story title · @haasisnoah · · Source ↗

    Show HN: Negs (Spektrafilm) brings spectral film simulations to the browser

    Submitted URL · @haasisnoah · · Source ↗

    https://getnegs.com/try/

    Source text · @haasisnoah · · Source ↗

    Code (GPLv3): https://github.com/noahhaasis/negs

    Source text · @haasisnoah · · Source ↗

    Negs runs spektrafilm, Andrea Volpato's physically based film simulation, in your browser (it's completely rewritten in Rust and using WebGPU).

    Source text · @haasisnoah · · Source ↗

    Drop in a photo (JPEG, PNG, TIFF or a RAW), pick a film and a print paper, and drag the sliders. The picture updates as you drag, and nothing is uploaded: it all runs on your machine.

    Source text · @haasisnoah · · Source ↗

    There are also native apps on the same engine: SwiftUI on macOS, GTK4 on Linux, and Windows.

    Source text · @haasisnoah · · Source ↗

    Negs implements the entire chain and is orders of magnitudes faster than the original python Spektrafilm implementation, so you can play around with sliders and get live feedback.