GithubHelp home page GithubHelp logo

devryyeong / image-in-the-browser Goto Github PK

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

Canvas API를 사용한 이미지 구현

Home Page: https://image-in-the-browser.vercel.app

License: MIT License

JavaScript 93.78% Shell 0.42% HTML 5.32% CSS 0.48%

image-in-the-browser's Introduction

브라우저에 이미지 구현하기

Vanilla JS와 Canvas API를 사용하여 이미지의 요소들을 구현


✏️ 구현 목록

  • 이미지의 주요 요소 및 전체적인 레이아웃 구현
  • 풍선의 모양은 원, 하트, 곰으로 총 3가지, 색은 red, orange, green, pink, navy, brown, white로 총 7가지로 구현
  • 하단 중앙 집을 클릭하면 모양과 색이 랜덤인 풍선이 추가됨
  • 각각의 풍선을 클릭하면 사라짐

🔧 설치 및 실행

깃 클론 및 설치 경로 이동

$ git clone https://github.com/devryyeong/image-in-the-browser.git
$ cd image-in-the-browser

설치

$ yarn

실행

$ yarn dev

📎 배포 주소 및 기능 설명


풍선 추가 풍선 삭제 구름 애니메이션
addBalloon removeBalloon cloud animation
가운데에 있는 집 클릭시 랜덤 모양과 색의 풍선 추가 각각의 풍선 클릭시 삭제 구름이 상단에 수평으로 움직이는 애니메이션

image-in-the-browser's People

Contributors

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