Giter Club home page Giter Club logo

image-map-editor's Introduction

Image Map Editor

說明

這個前端作業是使用 Create React App 建立,請依照說明要求完成指定功能與畫面

說明

圖示

圖一 圖二

說明文字

  1. 用 React.js 實現一個 SPA,該 SPA 可以讓使用者從本地選擇一張不限尺寸的圖片顯示於畫面上
  2. 選擇的圖片會顯示於畫面左側預覽中(如圖二左),圖片縮放到寬 355px,高則根據寬度換算的比例來換算高度
  3. 使用者可以在圖片預覽區塊內選取任意數量的矩形區域,選取到的區域座標會映射回圖片本身的尺寸顯示於畫面右側區塊,顯示的方式要有基本的縮排(如圖二右)
  4. 使用者可以刪除矩形選取區塊,刪除後右側對應的座標資料需要一併消失

基本要求

  • 請 fork develop branch,完成之後請開 PR 到 develop branch 提交此作業
  • 請使用 TypeScript 開發
  • 請使用 React hooks 來實作
  • 如果必要的話,可以使用第三方套件(請使用 yarn 安裝)
  • 顯示樣式盡量貼近說明圖示樣式,但以功能完成度為優先

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.