Code Monkey home page Code Monkey logo

gradient.png's Introduction

gradient.png

gradient.png is a custom image generation web app.

Netlify Status

Screenshot

Customizable features:

  • 2 - 5 colors and their respective percentages
  • Image height and width (in pixels)
  • Linear or radial gradient
  • Linear gradient degrees or radial gradient center

Download the image (for wallpapers) or copy the CSS (for divs)!

Installation

  1. Clone this repo
  2. npm install
  3. npm start

Motivation

Many background customization features require uploading an image -- social media profile covers/banners, Gmail theme, your phone/laptop wallpaper. Gradients are a great option for such instances. They're pretty, yet subdued and not distracting.

CSS Gradient exists as a customizable gradient background generator for websites. Specifically, they generate the CSS that can be supplied for a div's background property. However, this site does not have the option to export the generated gradient as an image. I decided to take this opportunity as a UI/UX redesign challenge, in addition to adding the image exportation feature.

The goal was to hone in my React skills, getting into the habit of good web dev practices, as well as generate an intuitive and responsive user interface and experience.

Dependencies

gradient.png uses the following npm packages:

Acknowledgments

gradient.png's People

Contributors

karenying avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

5l1v3r1

gradient.png's Issues

Edge cases when repeats of colors

The stops of repeat colors don't update. Probably because of how colors are compared. Could resolve by adding a unique id such as new Date()

Separate library

Hello

Thank you for awesome web app. Do you plan to separate gradient color image generator as separate library?

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.