Code Monkey home page Code Monkey logo

textp's Introduction

TEXTp Image Filter

A fun little Ember-CLI app that converts images into TEXTp—Youtube's 2010 April Fool's joke. Play with it here.

Supported platforms

Tested on Chrome 37, Firefox 32, Safari 7.1, IE 11, and Opera 24. Mobile devices are currently not supported.

Setup

This app uses Ember-CLI and is a static app. Everything happens locally in the browser and there is no need for a back-end. Build it and serve it:

npm install -g ember-cli
npm install -g bower
npm install
bower install
ember build --environment=production

or run a local server with:

ember serve

textp's People

Contributors

rzurad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

textp's Issues

Tweak color selection logic

Currently, the color of each character is determined by the top-left pixel in the 8x8 cell of the image for that character. As a result, the output image is desaturated and darkened as a result.

Experiment with tweaking the color selection logic to possibly counteract this.

Tidy up Parallel.js fork

Parallel.js does not support asynchronous web workers out of the box. The scribbles branch of my fork is a fast-stab at an API that supports asynchronous workers with backwards compatibility in mind. While it works in the way TEXTp needs it to, it does so at the expense of the rest of the library (7 tests now fail).

Fix the Parallel.js fork so that it adds support for asynchronous web workers without breaking the rest of the API.

  • Write tests for the API additions
  • Fix broken tests
  • Update README

Ignore TIF files

TIF files don't render natively, but since it passes the "image" mimetype test, the app still tries to do something with and then then just fails silently, having never properly loaded the image.

Make sure to ignore unsupported image types and also see about adding a timeout so that there is some level of user feedback for the severe edge case of dragging and dropping a linked image whose link no longer exists.

Write tests

There are no unit or integration tests, so... yeah

Revisit Mobile Support

Spend more time on iPhone/iPad to see if we're stuck with permissions errors when trying to select files from the Camera Roll.

The single Android device that was tested worked, but wasn't quite usable due to a lack of responsive styles and touch events.

WebGL

The original TEXTp shader was used for video. See about switching from HTML5 Canvas and Web Workers to WebGL and shaders for image and video support.

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.