1.2.0 • Published 9 years ago

react-snow-effect v1.2.0

Weekly downloads
89
License
MIT
Repository
github
Last release
9 years ago

#React Snow Effect · Build Status npm version PRs Welcome

alt text

###How do I use this?

npm install react-snow-effect

Include the component in your main app component outside of any containers.

// MyApp.js

var React = require('react');
var Snow = require('react-snow-effect');

var MyApp = React.createClass({
	render: function() {
		return (
			<div className='my-fancy-app'>
				<Snow />
				<div className='container'>
					{appContents}
				</div>
			</div>
		)
	}
}

module.exports = MyApp;

Disclaimer! This code borrows heavily from a lovely html5-canvas-snow-effect tutorial

If you have any problems, please let me know. This is my first npm package and I'd love for it to work for everyone!

:snowflake: :snowflake: Happy Holidays! :snowman: :snowflake: :snowflake:

                     *  .  *
                   . _\/ \/_ .
                    \  \ /  /             .      .   
      ..    ..    -==>: X :<==-           _\/  \/_
      '\    /'      / _/ \_ \              _\/\/_
        \\//       '  /\ /\  '         _\_\_\/\/_/_/_
   _.__\\\///__._    *  '  *            / /_/\/\_\ \
    '  ///\\\  '                           _/\/\_
        //\\                               /\  /\
      ./    \.             ._    _.       '      '
      ''    ''             (_)  (_)                  <> \  / <>
                            .\::/.                   \_\/  \/_/
           .:.          _.=._\\//_.=._                  \\//
      ..   \o/   ..      '=' //\\ '='             _<>_\_\<>/_/_<>_
      :o|   |   |o:         '/::\'                 <> / /<>\ \ <>
       ~ '. ' .' ~         (_)  (_)      _    _       _ //\\ _
           >O<             '      '     /_/  \_\     / /\  /\ \
       _ .' . '. _                        \\//       <> /  \ <>
      :o|   |   |o:                   /\_\\><//_/\
      ''   /o\   ''     '.|  |.'      \/ //><\\ \/
           ':'        . ~~\  /~~ .       _//\\_
                      _\_._\/_._/_      \_\  /_/
                       / ' /\ ' \                   \o/
       o              ' __/  \__ '              _o/.:|:.\o_
  o    :    o         ' .'|  |'.                  .\:|:/.
    '.\'/.'                 .                 -=>>::>o<::<<=-
    :->@<-:                 :                   _ '/:|:\' _
    .'/.\'.           '.___/*\___.'              o\':|:'/o
  o    :    o           \* \ / */                   /o\
       o                 >--X--<
                        /*_/ \_*\
                      .'   \*/   '.
                            :
                            '
1.2.0

9 years ago

1.1.4

9 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.9

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago