Socket
Book a DemoInstallSign in
Socket

functional-paint

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

functional-paint

[![npm version][npm-svg]][npm-url] [![Build Status][travis-svg]][travis-url] [![Dev dependency Status][david-devdeps-svg]][david-devdeps-url]

latest
Source
npmnpm
Version
0.3.3
Version published
Maintainers
1
Created
Source

npm version Build Status Dev dependency Status

functional-paint

This is a JavaScript library for manipulating image buffers with pure functions. It's not the most efficient way of doing this, and you probably won't be able to use this library in a performance-critical project. It's just for practicing image processing algorithms and functional programming.

Installation

This module is distributed via npm:

npm install functional-paint

Usage

import FunPaint from 'functional-paint';

const canvas = FunPaint.createImageBuffer(16, 16);
const color = [0, 0, 0, 0];

FunPaint.drawRect(canvas, 16, true, 0, 0, 16, 16, color);

This code is released under the MIT license, feel free to do whatever you want with it.

FAQs

Package last updated on 17 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts