pixel-art-react

Pixel art animation and drawing web app powered by React

Github星跟蹤圖

Did you know that you can create pixel art using CSS?

Pixel Art to CSS is an online editor that helps you with that task.

Combining the power of both box-shadow and keyframes CSS properties, you will get CSS code ready to use in your site.

Furthermore, you can download your work in different formats such as a static image, animated GIF or sprite like image.

:pencil2: Try it out

Pixel Art to CSS aims to be an intuitive tool by its simplicity, however it is equipped with a wide range of features: customize your color palette, go back and forth in time, modify animation settings, save or load your projects, among others.

Example

By default, you will find the following project within the LOAD section:

Cat animation example

See it live at pixelartcss

You can also import it directly submitting this code.

Technical overview

This application has been built with the following technologies:

  • React: Library to build the UI.
  • Redux: Implements a Flux like architecture.
  • ImmutableJS Helps to keep the data immutable aiming to avoid side effects.
  • PostCSS Handle the app CSS.
  • NodeJS + Express (Server side to build an universal application, create and serve the generated drawings).

Installation

npm install

Development

If you just want to develop the interface with no need of the back-end side.

npm run development

Deploy

Create the final build and run the generated React HTML on the server using SSR.

npm run deploy

npm run server

A config.json is needed for deployment with the Twitter and express keys.

Lint

There are several libraries used in the project that help us to keep our codebase healthy:

Every time we commit something it will execute the linters and format the staged files if needed.

If you want to check them individually you could execute the following scripts:

npm run lint
npm run csslint
npm run format

Testing

We are using Jest as the testing platform.

npm run test

Contributing

Help me to improve it :seedling:

Please create a GitHub issue if there is something wrong or to be improved. Pull requests are also welcome, they should be created to the develop branch.

License

MIT
Copyright © 2016 Javier Valencia Romero (@jvalen)

主要指標

概覽
名稱與所有者jvalen/pixel-art-react
主編程語言JavaScript
編程語言JavaScript (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2015-12-09 07:07:53
推送於2024-01-29 23:24:02
最后一次提交2023-10-02 18:55:30
發布數24
最新版本名稱v3.10.0 (發布於 2021-07-27 21:36:33)
第一版名稱1.0.0 (發布於 )
用户参与
星數5.6k
關注者數70
派生數316
提交數679
已啟用問題?
問題數25
打開的問題數0
拉請求數23
打開的拉請求數0
關閉的拉請求數26
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?