Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdvanes/procgen-cover
Procedurally generate cover images for blogs posts from a hash
https://github.com/mdvanes/procgen-cover
Last synced: 3 days ago
JSON representation
Procedurally generate cover images for blogs posts from a hash
- Host: GitHub
- URL: https://github.com/mdvanes/procgen-cover
- Owner: mdvanes
- License: mit
- Created: 2018-05-20T08:48:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-20T07:25:22.000Z (about 2 years ago)
- Last Synced: 2024-01-27T05:02:42.367Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 777 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Run `node examples/simple.js`. The script will procedurally create geometrical scenes for a set of hashes.
E.g. the hash 3e7398b93eb529004e1c67a2d28fced849ee1bb76e7391b results in this image:
![3e7398b93eb529004e1c67a2d28fced849ee1bb76e7391b-1222w.png](3e7398b93eb529004e1c67a2d28fced849ee1bb76e7391b-1222w.png)
Based on my earlier project: https://github.com/mdvanes/ImpossibleObjects/tree/gh-pages/kubische_ruimteverdeling
Because it does not seem possible to run Three.js directly in Node, I use Puppeteer to start a Chrome instance and
run the script there. Since this only uses one specific version of Chrome, I use ES6 syntax and native modules without
transpilation.