https://github.com/dherault/aquarelle
Random profile pictures with a sense of Art.
https://github.com/dherault/aquarelle
javascript
Last synced: 9 months ago
JSON representation
Random profile pictures with a sense of Art.
- Host: GitHub
- URL: https://github.com/dherault/aquarelle
- Owner: dherault
- License: mit
- Created: 2015-08-29T14:05:42.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2025-02-12T10:35:17.000Z (over 1 year ago)
- Last Synced: 2025-09-20T14:39:59.065Z (10 months ago)
- Topics: javascript
- Language: TypeScript
- Homepage:
- Size: 32.9 MB
- Stars: 17
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aquarelle

Aquarelle is a random profile picture generator, based on famous paintings.
## Example thumbnails
 .
 .
 .
 .
 .

## Installation
`npm i aquarelle --save`
## Usage
```js
const aquarelle = require('aquarelle')
const {
filePath,
fileName,
width,
height,
top, // Crop y position
left, // Crop x position
title, // Title of the artwork
year, // Year of the artwork
author, // Author name of the artwork
originalFilePath, // To display the original artwork (uncropped) if you want to
originalFileName,
} = await aquarelle(128, 128, '/path/to/output/dir')
console.log('Profile picture generated!', filePath) // /path/to/output/dir/f8b80502-19c6-4b7e-ad8e-acc1e793b952.png
```
## License
MIT