Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/readshape/covers
Library for generating unique, repeatable book covers on the fly 📚
https://github.com/readshape/covers
books bun covers generative-art
Last synced: 3 months ago
JSON representation
Library for generating unique, repeatable book covers on the fly 📚
- Host: GitHub
- URL: https://github.com/readshape/covers
- Owner: ReadShape
- Created: 2022-08-30T15:31:04.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T17:04:29.000Z (about 2 years ago)
- Last Synced: 2024-11-07T10:02:38.608Z (3 months ago)
- Topics: books, bun, covers, generative-art
- Language: TypeScript
- Homepage: https://readshape.github.io/covers
- Size: 2.39 MB
- Stars: 77
- Watchers: 0
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Covers by ReadShape
## Summary
### What is this?
So. Books have covers, right? Well, yes, but actually no.
Books are tricky business.
If the book is self published then it might not have a cover or an ISBN.
Other times a book might be incredibly old and never really had a cover to begin with.### How this helps with it?
No one is going to make covers for these books, but that doesn't mean we can just leave them naked & coverless.
We want to create a beautiful UI so we have to show _something_.So that is what we do. We will, given the same input arguments, always create the same cover on the fly.
It will obviously not be a "real" cover, but it's better than nothing or just a gray cover.## Examples
### What variance is there?
The covers have some variation. Each cover can be broken down into multiple pieces.
#### Cover color
A cover (might) have a unique color.
It can be the following.- Gradient based on input hash
- Static predefined color
#### Detail placement (title & author)
Details have predefined placement, but it still has the following variance.
- Top (left, center, or right)
- Bottom (left, center, or right)
#### Flow field
We generate a flow field based on the input hash. This affects the pattern.
#### Pattern
There are the following patterns we can draw.
- Circle
- Waves### Outcomes
![Zeit zu leben und Zeit zu sterben](https://i.imgur.com/osw5MWb.png)
![Letters from a Stoic](https://i.imgur.com/j9iqd3T.png)
![The Wonderful Wizzard of Oz](https://i.imgur.com/m6xrHVU.png)
![Beyond Good and Evil](https://i.imgur.com/yMKZDM7.png)
![Klara and the Sun](https://i.imgur.com/KbelLtZ.png)
![Puma Years](https://i.imgur.com/VR4Ctgd.png)