Compare commits
13 Commits
Author | SHA1 | Date |
---|---|---|
DrMaxNix | 671c9564c4 | |
DrMaxNix | c7cc044282 | |
DrMaxNix | 7beceec022 | |
DrMaxNix | 4909606ed7 | |
DrMaxNix | 75d71483e4 | |
DrMaxNix | 4f6e5d3ed9 | |
DrMaxNix | 1fc75fdd40 | |
DrMaxNix | 826b353ea6 | |
DrMaxNix | fa1ca1c6a2 | |
DrMaxNix | cb7f2f953c | |
DrMaxNix | 85f9c48f81 | |
DrMaxNix | 4be82e0866 | |
DrMaxNix | ea266b1136 |
|
@ -1 +0,0 @@
|
|||
examples/
|
14
README.md
14
README.md
|
@ -1,9 +1,13 @@
|
|||
# Pixelimg.js
|
||||
[![GitHub release](https://img.shields.io/badge/release-v1.0.1-orange)](https://github.com/DrMaxNix/pixelimgjs)
|
||||
[![License](https://img.shields.io/badge/license-MIT-green)](https://github.com/DrMaxNix/pixelimgjs/blob/main/LICENSE)
|
||||
[![Release](https://img.shields.io/badge/release-v1.0.1-orange)](https://git.tjdev.de/DrMaxNix/pixelimgjs/releases/tag/1.0.1)
|
||||
[![License](https://img.shields.io/badge/license-MIT-green)](https://git.tjdev.de/DrMaxNix/pixelimgjs/src/branch/main/LICENSE)
|
||||
[![Maintaner](https://img.shields.io/badge/maintainer-DrMaxNix-blue)](https://www.drmaxnix.de)
|
||||
|
||||
Pixelimg.js is a rather small js-library to display code-generated pixel images inside of a html image-element.
|
||||
Pixelimg.js is a rather small js-library to display code-generated pixel images inside of an html image-element.
|
||||
|
||||
Used at [skyicon.drmaxnix.de](https://skyicon.drmaxnix.de).
|
||||
|
||||
**[Code examples can be found at the bottom of this README!](https://git.tjdev.de/DrMaxNix/pixelimgjs#examples)**
|
||||
|
||||
|
||||
## Installation
|
||||
|
@ -127,7 +131,7 @@ An object storing red, green, blue and alpha data for a color (all _Range: `0-25
|
|||
|
||||
# Examples
|
||||
## 1. 2x2 Red, Green, Yellow and Blue pixels
|
||||
![Output](https://raw.githubusercontent.com/DrMaxNix/pixelimgjs/main/examples/2x2-Red-Green-Yellow-and-Blue-pixels.png "Output")
|
||||
![Output](https://git.tjdev.de/DrMaxNix/pixelimgjs/raw/branch/main/examples/2x2-Red-Green-Yellow-and-Blue-pixels.png "Output")
|
||||
```html
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/DrMaxNix/pixelimgjs@1/pixelimg.min.js"></script>
|
||||
|
||||
|
@ -163,7 +167,7 @@ An object storing red, green, blue and alpha data for a color (all _Range: `0-25
|
|||
|
||||
|
||||
## 2. 64x64 RGB color-palette
|
||||
![Output](https://raw.githubusercontent.com/DrMaxNix/pixelimgjs/main/examples/64x64-RGB-color-palette.png "Output")
|
||||
![Output](https://git.tjdev.de/DrMaxNix/pixelimgjs/raw/branch/main/examples/64x64-RGB-color-palette.png "Output")
|
||||
```html
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/DrMaxNix/pixelimgjs@1/pixelimg.min.js"></script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue