Giter Site home page Giter Site logo

fietu's Introduction

FIETU

Image generation library

Installation

npm install fietu
Fietu
Clases
Canvas Filters and Efects
Tweet Generate a tweet
Love Generate a graph to measure your love
Canvas
blur Generates a blurred effect
invert Generates an inverted effect
pixelate Generates a pixelated effect
greyscale Generates a black and white effect
brightness Generates a shimmering effect
rainbow Generates a rainbow effect
circle Generates a circle

Examples

blur

const fietu = require("fietu")
const buffer = await fietu.Canvas.blur("https://cdn.discordapp.com/avatars/780876656352559125/c89c766ef2e00991c45a661845402e17.webp?size=1024")

Preview

img

Tweet

const fietu = require("fietu")
const tweet = await new fietu.Tweet()
    .setAvatar("https://cdn.discordapp.com/avatars/780876656352559125/c89c766ef2e00991c45a661845402e17.png")
    .setUsername("Alguien")
    .setNickname("El Fietulais")
    .setText("Holaaa")
    .render() // renders the image

Preview

img

Love

const fietu = require("fietu")
const love = await new fietu.Love()
    .setAvatarOne("https://cdn.discordapp.com/avatars/780876656352559125/c89c766ef2e00991c45a661845402e17.png")
    .setAvatarTwo("https://cdn.discordapp.com/avatars/736691726089060372/997623d873d2070c350c17ac8ae2ff89.png")
    .setEmoji("https://cdn.discordapp.com/emojis/970071879102644304.png")
    .setBackground("https://cdn.discordapp.com/attachments/970948627390410822/971441960416051261/unknown.png")
    .render() // renders the image

Preview

img

fietu's People

Contributors

elfietulais avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.