Giter Site home page Giter Site logo

skrooob / drawnamesjs Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 248 KB

A Node.js app that reads a list of names from a text file, draws each name on an image using a specific font, and saves the resulting image as a new file.

Home Page: https://socialmaniaom.com

JavaScript 100.00%

drawnamesjs's Introduction

๐Ÿ’ป DrawNamesJs Node.js App

A Node.js app that reads a list of names from a text file, draws each name on an image using a specific font, and saves the resulting image as a new file.

๐Ÿš€ Quick Start

  1. Clone the repository: git clone https://github.com/SkroooB/drawnamesjs.git
  2. Install the dependencies: npm install
  3. Customize the app by modifying the names.txt, input.jpg, and cairo.tff files
  4. Run the app: npm start

๐Ÿ“ Details

The app uses the canvas module to draw the text on the image. The font can be customized by replacing the cairo.tff file with another font file. The text placement can be customized by modifying the x and y coordinates passed to the fillText method.

The app can also generate multiple images from a list of names by looping through the names and creating a new image for each name.

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ“ง Contact

If you have any questions or feedback, feel free to contact me at [email protected].

drawnamesjs's People

Contributors

skrooob 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.