GithubHelp home page GithubHelp logo

tony-pizza / stereogram.js Goto Github PK

View Code? Open in Web Editor NEW
1.0K 1.0K 12.0 279 KB

Generate stereogram images (popularized as "Magic Eye") in the browser

Home Page: https://tony-pizza.github.io/Stereogram.js/

JavaScript 100.00%

stereogram.js's People

Contributors

christopherhackett avatar faceleg avatar khchen428 avatar tony-pizza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stereogram.js's Issues

Text

Hi.
I think you should allow text to be entered. What if somebody who wants to write a message cannot write using the mouse as well?
Thanks,
colt05

Downloading images?

I want to use this library to programmatically generate thousands of magic eye images with digits or words on them for the purpose of building a classifier. It looks like I need to be in a browser context for the library to work. Is there a way I can skip the tag and write the images directly to disk via a node script? Happy to work on a PR for this, but I'm not sure where I'd start :) Thanks!

Support for wall-eyed / cross-eyed viewing

Have you thought of putting in a switch to change the way you need to view the image cross-eyed or wall-eyed?

I have problems viewing wall-eyed, the images always seem to go in to the page.

Text

Add text support! Most Magic Eye generators on the internet allow text input, and since this is the best one, why not add text support?

Offload calculation to GPU

Have you experimented with doing the SIRDS rendering on the GPU? Using shader math would be a great application here, and hopefully get much faster results.

This would open the door for doing some cool things with animated SIRDS, especially if it could be combined with WebGL rendering to take a 3D object and render it as an animated SIRDS in realtime :D

NPM

Any chance of an npm package?

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.