Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (14 loc) · 1.21 KB

README.md

File metadata and controls

24 lines (14 loc) · 1.21 KB

Canvas Object Model (COM)

Motivation

Nowadays we can see more and more use cases of canvas object model (hence COM): one good example is a word processor whose all render logic is reflected within drawn pixels. Think of COM as a, however not perfect, but starter boilerplate that strives to help you understand what is Canvas Object Model paradigm as a whole;

Installation

npm ci && npx vite serve --open

Goals

  1. Text detection integration;
  2. Control characters (hereinafter referred to as "chars" for "characters") is grey-listing switch statement-based control flow for various print characters : we don't want literal chars such as "Enter", "Shift", etc. be raw-printed on the screen;
  3. Text selection with Konva.Transformer;
  4. Text cursor see commit, line:56;

Related