context-filter-polyfill
Polyfills `CanvasRenderingContext2d.filter` capability of adopting CSS3 filters to canvas contexts at least partially.
File Explorer
Download Latest Version (.zip)- main.yml
- blur.filter.spec.ts
- blur.filter.ts
- brightness.filter.spec.ts
- brightness.filter.ts
- contrast.filter.spec.ts
- contrast.filter.ts
- drop-shadow.filter.spec.ts
- drop-shadow.filter.ts
- grayscale.filter.spec.ts
- grayscale.filter.ts
- hue-rotate.filter.spec.ts
- hue-rotate.filter.ts
- invert.filter.spec.ts
- invert.filter.ts
- none.filter.spec.ts
- none.filter.ts
- opacity.filter.spec.ts
- opacity.filter.ts
- saturate.filter.spec.ts
- saturate.filter.ts
- sepia.filter.spec.ts
- sepia.filter.ts
- supported-filters.global.ts
- mock.data.ts
- filter.type.ts
- context.utils.ts
- detection.utils.ts
- filter.utils.spec.ts
- filter.utils.ts
- history.utils.ts
- proxy.utils.ts
- example.css
- example.html
- example.jpg
- example.ts
- index.ts
- module.d.ts
- polyfill.ts
- .editorconfig
- .gitignore
- .npmignore
- .npmrc
- .nvmrc
- .prettierrc
- CHANGELOG.md
- esbuild.config.ts
- eslint.config.ts
- LICENSE
- package-lock.json
- package.json
- README.md
- tsconfig.json
- web-test-runner.config.ts
# Installation Guide
1. Get the code
git clone https://github.com/davidenke/context-filter-polyfill
Downloads the entire project code from GitHub to your computer.
cd context-filter-polyfill
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
<script src="https://cdn.jsdelivr.net/npm/context-filter-polyfill/dist/index.min.js"></script>
Type this command into your terminal and run it.
npm install context-filter-polyfill
Downloads and installs the libraries listed in package.json.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
