Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.1] - 2026-05-20

### Features

- Add per-display seed offset for independent multi-monitor animations

## [0.1.0] - 2026-05-20

### Features
Expand Down
11 changes: 10 additions & 1 deletion Sources/MatrixScreenSaver/NativeMatrixRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1160,6 +1160,10 @@ final class NativeMatrixRenderer {
}

/// Builds the green palette used for foreground and diffuse rendering levels.
///
/// The xterm-256 color cube has no green values between 0 and 95, so two
/// extra dark steps (≈32 and ≈63) are inserted directly after black to
/// bridge that gap and provide a smoother fade trail at the dim end.
private static func makePalette() -> [TerminalColor] {
let base = index2color(47)

Expand Down Expand Up @@ -1204,6 +1208,11 @@ final class NativeMatrixRenderer {
indices.append(grayStart - 1)
}

return indices.map(index2color)
var result = indices.map(index2color)
// Insert two darker steps between black (index 0) and the first xterm
// dim green (≈95), dividing the gap into thirds for a gradual fade-in.
result.insert(TerminalColor(red: 0, green: 63, blue: 0), at: 1)
result.insert(TerminalColor(red: 0, green: 32, blue: 0), at: 1)
return result
}
}
Loading