GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sebmarkbage/art: Retained mode vector drawing API designed for multiple output modes. There's also a built-in SVG parser.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

272 Commits
272 Commits

Folders and files

NameName
Last commit message
Last commit date
core
core
 
 
demos
demos
 
 
docs
docs
 
 
dom
dom
 
 
lib
lib
 
 
metrics
metrics
 
 
modes
modes
 
 
morph
morph
 
 
parsers
parsers
 
 
shapes
shapes
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.npmignore
.npmignore
 
 
README.md
README.md
 
 
_config.yml
_config.yml
 
 
index.js
index.js
 
 
index.md
index.md
 
 
license.txt
license.txt
 
 
package.json
package.json
 
 

Repository files navigation

ART

ART is a retained mode vector drawing API designed for multiple output modes. There's also a built-in SVG parser. It uses Node style CommonJS modules.

The first line in your program should select rendering mode by requiring either:

  • art/modes/canvas - HTML5 Canvas
  • art/modes/svg - SVG for modern browsers and vector tools
  • art/modes/vml - VML for Internet Explorer or Office
  • art/modes/script - Code generation for ART modules
  • art/modes/dom - SVG or VML depending on environment
  • art/modes/fast - Canvas, SVG or VML depending on environment

These modules exposes four core rendering classes:

  • Surface - Required rectangular rendering area. Container for the rest.
  • Group - Container for Shapes, Text or other Groups.
  • Shape - Fill and/or stroke an arbitrary vector path.
  • Text - Fill and/or stroke text content rendered using native fonts.

There are also helper classes to work with vector paths, 3x3 transformation matrices, colors, morphing, common shapes etc.

#Demos

See ./demos

About

Retained mode vector drawing API designed for multiple output modes. There's also a built-in SVG parser.

Resources

Readme
MIT license
Activity

Stars

1.1k stars

Watchers

24 watching

Forks

108 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.