Skip to content

Commit 17b4bfa

Browse files
committed
Add preview screenshot to documentation
1 parent 65730e3 commit 17b4bfa

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Open `Sources/BlurHashViews/Previews.swift` in Xcode 16 for an interactive Swift
1515

1616
There's also a decoder that returns the mesh points and colors so you can customize it in code however you want – animate the points to make it swirl, find the most intense color in the image, make custom transitions… whatever you can dream up!
1717

18+
<img src="Sources/BlurHashViews/Documentation.docc/Resources/[email protected]" alt="Screenshot from Xcode Previews showing color, palette, simplified mesh gradient, and full detailed mesh gradient for a variety of BlurHashes" width="402" height="793" />
19+
1820
### Compatibility
1921

2022
- iOS/tvOS 13+, macOS 10.15+, watchOS 6+ – Create a SwiftUI `Color` from the average of a BlurHash or generate a palette of representative `Color`s.

Sources/BlurHashViews/Documentation.docc/Documentation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Open `Sources/BlurHashViews/Previews.swift` in Xcode 16 for an interactive Swift
1313
- Decode the BlurHash at different detail levels for more or less complex mesh gradients.
1414
- Adjust the smoothing and color space options provided by SwiftUI MeshGradient.
1515

16+
![Screenshot from Xcode Previews showing color, palette, simplified mesh gradient, and full detailed mesh gradient for a variety of BlurHashes](Previews)
17+
1618
### Compatibility
1719

1820
- iOS/tvOS 13+, macOS 10.15+, watchOS 6+ – Create a SwiftUI `Color` from the average of a BlurHash or generate a palette of representative `Color`s.
841 KB
Loading

0 commit comments

Comments
 (0)