Coder Social home page Coder Social logo

stained-glass-window's Introduction

Stained Glass Window

Stained-Glass is a design experiment originally inspired by a pixellated stained glass window made by Gerhard Richter and video noise.

The page is currently hosted here: http://bradreeder.github.io/Stained-Glass-Window/index.html

What

Three column grid-design. Each box of the grid is composed of hundreds of smaller divs that intermittently change colour in a random pattern. When any of the coloured boxes are clicked on, that colour is removed from the overall palette. When all the colours are removed, the user can click again and it refreshes to its initial state.

How

Currently this is done dynamically. The entirety of the grid is generated by javascript and then coloured (through assigning the individual divs a random colour class) from a pre-defined array of colours. A timer is set so that every 100ms it fills again randomly from the same array. When one of the boxes is clicked on an event fires that removes that colour from the potential palette. When the colour array is empty it refreshes to its original condition.

Current Goals

  • Use canvass/sass/css3 to create a rose-window
  • and to add semi-circles to the top of the current windows to shape them more.
  • Proportion the window's sizes better and perhaps increase their length so you can scroll down them.
  • Work on more interesting colour patterns to implement.
  • Look into Perlin Noise algorithm and processing

Stretch Goals

  • Consider extending the basic design into an idea for a hypercomic.

stained-glass-window's People

Contributors

bradreeder avatar

Watchers

 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.