Giter Site home page Giter Site logo

alvarlaigna / hashlips_art_pixelator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hashlips/hashlips_art_pixelator

0.0 2.0 0.0 1.53 MB

HashLips Art Pixelator is a tool used to convert multiple images to pixelated images.

License: MIT License

JavaScript 100.00%

hashlips_art_pixelator's Introduction

โ€‹โ€‹# Welcome to HashLips ๐Ÿ‘„

All the code in these repos was created and explained by HashLips on the main YouTube channel.

To find out more please visit:

๐Ÿ“บ YouTube

๐Ÿ‘„ Discord

๐Ÿ’ฌ Telegram

๐Ÿฆ Twitter

โ„น๏ธ Website

HashLips Art Pixelator ๐Ÿ”ฅ

HashLips Art Pixelator is a tool used to convert multiple images to pixelated images.

Installation ๐Ÿ› ๏ธ

If you are cloning the project then run this first, otherwise you can download the source code on the release page and skip this step.

git clone https://github.com/HashLips/hashlips_art_engine.git

Go to the root of your folder and run this command if you have yarn installed.

yarn install

Alternatively you can run this command if you have node installed.

npm install

Usage โ„น๏ธ

In order to convert images into pixelated images you would need a list of images that you want to convert. Place all these images that will be converted in the /input directory.

Then simply run this command:

node index.js

All your images will be outputted in the /build directory. If you want to change the ratio of the pixelation then you can update the ratio property on the pixelFormat object in the src/config.js file. The lower the number on the left, the more pixelated the image will be.

const pixelFormat = {
  ratio: 5 / 128,
};

That's it, now you have pixelated images.

Hope you create some awesome artworks with this code ๐Ÿ‘„

hashlips_art_pixelator's People

Contributors

hashlips avatar

Watchers

James Cloos avatar  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.