File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 1414 < meta name ="generator " content ="ensegundoplano ">
1515 < meta name ="author " content ="ensegundoplano ">
1616 < link type ="text/css " href ="styles.css " rel ="stylesheet "/>
17+ </ head >
18+ < body >
19+ < a href ="https://github.com/ensegundoplano/Html5-canvas-particles " target ="_blank "> < img style ="position: absolute; top: 0; left: 0; border: 0; " src ="https://s3.amazonaws.com/github/ribbons/forkme_left_white_ffffff.png " alt ="Fork me on GitHub "> </ a >
20+ < canvas id ="canvas ">
21+ Sorry, your browser cannot support canvas tag.
22+ </ canvas >
1723 < script type ="text/javascript " src ="libs/jquery-1.7.1.min.js "> </ script >
1824 < script type ="text/javascript " src ="libs/Stats.js "> </ script >
1925 < script type ="text/javascript " src ="libs/RequestAnimationFrame.js "> </ script >
2026 < script type ="text/javascript " src ="libs/dat.gui.min.js "> </ script >
2127 < script type ="text/javascript " src ="libs/Utils.js "> </ script >
2228 < script type ="text/javascript " src ="main.js "> </ script >
23- </head >
24- <body >
25- <canvas id = " canvas" >
26- Sorry, your browser cannot support canvas tag.
27- </canvas >
29+ <!-- GOOGLE STATS -->
30+ < script >
31+ var _gaq = _gaq || [ ] ;
32+ _gaq . push ( [ '_setAccount' , 'UA-2018596-4' ] ) ;
33+ _gaq . push ( [ '_trackPageview' ] ) ;
34+
35+ ( function ( ) {
36+ var ga = document . createElement ( 'script' ) ; ga . type = 'text/javascript' ; ga . async = true ;
37+ ga . src = ( 'https:' == document . location . protocol ? 'https://ssl' : 'http://www' ) + '.google-analytics.com/ga.js' ;
38+ var s = document . getElementsByTagName ( 'script' ) [ 0 ] ; s . parentNode . insertBefore ( ga , s ) ;
39+ } ) ( ) ;
40+ </ script >
41+ <!-- /GOOGLE STATS -->
2842 </ body >
2943</ html >
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ function init(){
200200 stats = new Stats ( ) ;
201201 stats . setMode ( 0 ) ;
202202 stats . domElement . style . position = 'absolute' ;
203- stats . domElement . style . left = '10px ' ;
203+ stats . domElement . style . left = '150px ' ;
204204 stats . domElement . style . top = '0px' ;
205205 document . body . appendChild ( stats . domElement ) ;
206206
You can’t perform that action at this time.
0 commit comments