nowfound

Life & fun · August 24, 2014

Sweep.js

A JavaScript library for smoother color transitions

Sweep.js launched on August 24, 2014 with 68 votes, #802 of 2,208 launches that month. The site was still online in September 2026, 12 years on.

What it does

This project is no longer maintained. CSS now has built-in support for setting color-interpolation-method . Transitioning through the oklch color space is a superior alternative to using this library. sweep.js is a small JavaScript library (5kb zipped) that enables proper color transitions through the HSL and HUSL spaces. Ordinary CSS transitions and existing frameworks convert HSL colors to RGB before transitioning. sweep.js addresses this by letting you transition through the color spectrum. I've written an in-depth post about the need for HSL transitions here . Sweep's dependencies are bundled; all you have to do is include the script. Sweep is wrapped with UMD , so it will also work as…from rileyjshaw.com

Does a similar job

all alternatives →
  • Color Library2016 · colorlibrary.ch · ▲116

    Automated color separation

  • Snabbt.js2015 · daniel-lundin.github.io · ▲129

    A minimalistic animation library

  • Impulse2014 · impulse.luster.io · ▲84

    Dynamic JS Animations for the Mobile Web

  • NotebookJS2016 · datazar.com · ▲109

    Scientific computation for JavaScript

  • Stylestats2014 · stylestats.org · ▲59

    A Node.js library to collect CSS statistics

  • Colorful Gradients2014 · ▲72

    1 CSS Gradient Background per second.

More life & fun this month

the category →

Source: Product Hunt launch ↗

Launched alongside, August 2014

the whole month →