GithubHelp home page GithubHelp logo

kublaj / nuophoto Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aurbano/nuophoto

0.0 2.0 0.0 2.55 MB

JavaScript and HTML5 canvas image editor

Home Page: http://github.urbanoalvarez.es/nuophoto/

nuophoto's Introduction

nuophoto

A JavaScript/HTML5 canvas image editor

Nuophoto is basically a web interface that aims to show the capabilities of JavaScript as a photo editing software. The photo editing part is done with the library PhotoJShop.

Nuophoto and PhotoJShop started as the same project, but I realised that they should be developed independently, to provide image editing functions in JS without the need to load all the interface code in Nuophoto.

##Demo:

Still in alpha stage of development. If you want to test the latest build check out:

##Compatibility: nuophoto is using some CSS3 and HTML5 things that only updated browsers support. I haven't run very specific tests (if you do please let me know) but so far I have detected the following:

##How it works It consists of different parts that are completely independent (modular). First it's the GUI, without any logic. It's all hard coded inside index.html. The interface event listeners are in main.js, which is kind of the conductor, it sets up the listeners, starts all the necessary components, but still doesn't know how to do anything by itself really. Above that sits workspace.js, which has all the GUI logic. All the event listeners call methods on this "class" and it handles all the visual requirements. When the user triggers an event that implies changes in the image, the last piece comes in place: imgEditor.js. This is the underlying library that handles the image manipulation, and there is one instance for every open file. The effects are dynamically loaded when they are required, and they live in the effects/ folder. All the effects receive a reference to the corresponding imgEditor instance, so that they are able to access and modify the image.

imgEditor should be completely unaware of the existance of the other layers, it's job is to modify the image and nothing else. It should work fine as a standalone library (Although it would probably require some tweaking)

##Contribute If you want to contribute please feel free to do so, below are some ideas I have for future development:

  • Responsive design
  • Touch controls
  • Custom matrix effects (Maybe even store in local memory)
  • Upload/load from url
  • Allow history traversal (moving back and forth)

##Meta

nuophoto's People

Watchers

 avatar  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.