Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zeriodev/effects.js
A simple module to add effects to your pictures.
https://github.com/zeriodev/effects.js
discord effects generation manipulation
Last synced: 2 months ago
JSON representation
A simple module to add effects to your pictures.
- Host: GitHub
- URL: https://github.com/zeriodev/effects.js
- Owner: ZerioDev
- License: mit
- Created: 2021-10-24T16:09:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-25T10:08:23.000Z (about 3 years ago)
- Last Synced: 2023-11-03T21:42:24.406Z (about 1 year ago)
- Topics: discord, effects, generation, manipulation
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/effects-gallery.js
- Size: 310 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EffectsJS
A simple module to add effects to your pictures 🎨
*Project under construction... follow the progress on the [Discord](https://discord.gg/5cGSYV8ZZj) server.*
*If you don't have any development knowledge, it is recommended to join the Discord support server to get help.*
### 🎠 A nice and easy to use system
Add a blur filter to an image ? It's possible and easy !
```js
const { Blur } = require('effects-gallery.js');new Blur()
.setImage('./img.png')
.setLevel(5)
.write('./new.png')
.build().then(console.log('Saved'))new Blur({
image: './img.png',
level: 5,
file: './new.png'
}).build().then(console.log('Saved'))
```Simple Discord example (discord.js v13)
```js
const { Blur } = require('effects-gallery.js');
const { Client, Intents } = require('discord.js');const client = new Client({
intents: [
Intents.FLAGS.GUILDS,
Intents.FLAGS.GUILD_MESSAGES
]
});client.on('messageCreate', (message) => {
if (message.author.bot) return;new Blur()
.setImage('./img.png')
.setLevel(5)
.build().then(res => {
message.channel.send({
content: 'Hello world', files: [
{ attachment: res }
]
})
})
});client.login('');
```### ⚡️ Available features
Find the features available on the [GitHub](https://github.com/ZerioDev/Effects.js/tree/main/testing) page of the project.
Realized with ❤️ by [ZerioDev](https://github.com/ZerioDev).