尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
Interactive gradient generator: bend gradients through OKLab, OKLCH, LCh, HSL and sRGB along arcs, Béziers and splines, with perceptually even stops and CSS export.
翻譯準備中
正在載入完整 README。
檢視完整 README ↗An interactive gradient generator that treats a gradient as a path through color space. Pick two colors, pick a space (OKLab, OKLCH, CIELAB, LCh, HSL, HSV or sRGB), then bend the route between them with arcs, Bézier curves or splines. Space the stops evenly by perceived difference and copy the CSS.
Above: "Night to sunrise", a smooth OKLab spline through plum, magenta and coral, with perceptually even stops. A plain two-stop gradient between the same colors goes through a dull mauve. Open it.
src/color/spaces.ts) where the curves are built and drawn.src/path/paths.ts):
in <space> does, with hue directionThe URL hash holds the current state, so you can share a link to it.
3D view. Middle-drag to orbit, or right-drag to pan. Shift swaps the two (Shift+middle pans, Shift+right orbits), and Ctrl dollies. Use the wheel or a pinch to zoom toward the cursor, and a two-finger drag to orbit. The left button never moves the camera: drag a handle to move it across the screen, or click it to select it and drag the gizmo's arrows. The axis widget in the top-right corner snaps to a view along any axis when you click one of its ends, and orbits when you drag it.
2D slice. Drag a handle to move it; hold Shift to lock the move horizontally or vertically. Drag empty space, or right- or middle-drag, to pan. Use the wheel or a pinch to zoom.
npm install
npm run dev