GithubHelp home page GithubHelp logo

mcfung / pixelshank Goto Github PK

View Code? Open in Web Editor NEW

This project forked from witmin/pixelshank

0.0 1.0 0.0 609 KB

Add pixel size mark on image and save as .png. Build with p5.js, electron and canvas.

Home Page: http://millielin.com/posts/pixelshank

License: MIT License

CSS 0.65% HTML 0.11% JavaScript 99.24%

pixelshank's Introduction

PixelShank

PixelShank Icon

Add pixel size mark on image and save as .png. Build with p5.js, electron and canvas.

PixelShank Screenshot

Download PixelShank Desktop Apps

PixelShank is integrated with electron, aftere simple setup, you can build the cross-platform desktop app on Windows, MacOS or Linux.

Windows app version is ready on sourceforge: https://sourceforge.net/projects/pixelshank/

It is a zipped file. Download, unpack it and click "pixelshank.exe" to start.

MacOS app is coming soon.

Install

  1. Check out the repository to your local machine as a new project
  2. Ensure you have the latest version of node.js installed.
  3. Open the terminal cd to the project folder .../pixelshank
  4. Type npm install to install the Dependencies include electron, electron-packager and electron-prebuild.
  5. Type npm run-script start or run electron ., you will have the development version of the desktop app work.

Package as an app

PixelShank use electron-packager to generate the desktop app for windows, MacOS and Linux.

Build app for Windows

The default setup is for windows(64bit) In terminal, run "npm run-script build", the folder "PixelShank-win32-x64" with PixelShank.exe file should appears in your project folder. Now you can have the program run anytime as you want. If you want to generate app in 32bit, please refer to the document of electron-packager.

You can also directly run the electron command as you want like the sample code below

electron-packager ./ PixelShank --platform=win32 --arch=x64 --version=0.35.0 --icon=./img/icon.ico --ignore=design_source --asar --overwrite
Build app for MacOS
electron-packager ./ PixelShank --platform=darwin --arch=x64 --version=0.35.0 --icon=./img/icon.ico --ignore=design_source --asar --overwrite

Build app for Linux or in other format

Please refer to the npm page of electron-packager.

Work in modern browser

It needs you to run a local server to make it work in the browser on local machine. I would suggest http-server if you want to test it locally. You can also upload the index.html, js and css folder to your online server to make it work.

Build with IDE: WebStorm.

Design and Developed with โ™ฅ love by MillieLin.

pixelshank's People

Contributors

witmin avatar

Watchers

Mike Chung avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.