Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.
/ V4.js Public archive

A lightweight HTML5 canvas wrapper for creating expressive typography animations with shaders

License

Notifications You must be signed in to change notification settings

cbroms/V4.js

Repository files navigation

V4.js

What is it?

V4.js is a lightweight animation wrapper for the HTML canvas element. It makes the animation process modular by providing an interface to add and remove code for rendering to the canvas as needed, improving performance and readability.

V4 includes a rich text system that provides greater control over rendering text in the canvas, with methods to align text, easily change fonts, position, font size, colors, and other properties before only accessable via css outside the canvas. Each can also be easily animated with V4's modular rendering system.

V4 also provides a way to bridge the gap between a standard 2D canvas and GLSL fragment shaders by making the current canvas available as a texture to be modified in a shader program.

Install

npm i v4js

Getting Started

Find the guide to get started, examples, and API reference in the docs.

License

Copyright (c) 2019 Christian Broms under Apache 2.0.