1.0.8 • Published 5 years ago

pixel-sort v1.0.8

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

pixel-sort

MIT license Dependency Status npm

pixel-sort is a library for creating pixel art with node.js.

Table of contents

Installation

yarn add pixel-sort

Examples

Input

const { Sorter } = require('pixel-sort');
const sorter = new Sorter();

(async () => {
	// load an image
	await sorter.load('./input.png');

	// apply some filters
	await sorter.lightsort({
		direction: 'LTR'
	});

	// save the image
	await sorter.save('./output.png');
})();

Output

License

pixel-sort is licensed under the MIT License.

back to top

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago