1.0.4 • Published 3 years ago
functool v1.0.4
Function generator
Introduction
A simple function drawing tool
Software architecture
Typescript & webpack & Art template is developed and drawn with canvas tag
The specific functions include drawing coordinate system, moving coordinate system, zooming in, zooming out and returning to the origin
Installation
npm
npm i functool@1.0.3 -S
yarn
yarn add functool@1.0.3 -S
Use
Import label
<link rel="stylesheet" href="Functool.min.css" />
<script defer src="Functool.min.js"></script>
<body>
<div id="functool"></div>
<script src="test.js"></script>
</body>
// test. js
new tool();
Module management
import tool from 'functool'
new tool()