Javascript and SVG Animation gr. color by SOFTWARE RVG

<html lang="en"> <head> <meta charset="utf-8"> <meta name="generator" content="Software RVG HTML Editor (www.software-rvg.com)"> <meta name="dcterms.created" content="sรก., 30 abr. 2016 21:08:47 GMT"> <meta name="description" content="Design solutions by Software RVG. javascript,css,svg animations,html,designs "> <meta name="keywords" content="Design solutions,software RVG,javascript,css3,svg,animations,html5,design,animation"> <title>DESIGN SOLUTIONS by SOFTWARE RVG</title> <style type="text/css"> <!-- body { color:#000000; background-color:#FFFFFF; background-image:url('Background Image'); background-repeat:no-repeat; } a { color:#0000FF; } a:visited { color:#800080; } a:hover { color:#008000; } a:active { color:#FF0000; } --> </style> <!--[if IE]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body itemscope itemtype="http://schema.org/CreativeWork"> </head> <body> <html><head> <meta charset="UTF-8"> <meta name="google" value="notranslate"> <title>CodePen - DESIGN SOLUTIONS by SOFTWARE RVG</title> <style> <style> * { margin: 0; padding: 0; border: 0; background: #000 } canvas { position: relative; top:50%; left:50%; margin-left:-50vmin; width:100vmin; height:100vmin; overflow:hidden; } </style> </head> <body> <canvas width="400" height="400"><style> /* Main styles */ @import url(http://fonts.googleapis.com/css?family=Open+Sans:800); .text { fill: url(#gr-radial); } /* Other styles */ html, body { height: 100%; }body{background: #222 -webkit-linear-gradient(0deg, #222 50%, #272727 50%); background: #222 linear-gradient(90deg, #222 50%, #272727 50%); } body header { background: #222 -webkit-linear-gradient(0deg, #222 50%, #272727 50%); background: #222 linear-gradient(90deg, #222 50%, #272727 50%); background-size: .2em 100%; font: 4.1em/1 Open Sans, Impact; text-transform: uppercase; margin: 0; } body footer { background: #222 -webkit-linear-gradient(0deg, #222 50%, #272727 50%); background: #222 linear-gradient(90deg, #222 50%, #272727 50%); background-size: .2em 100%; font: 2.1em/1 Open Sans, Impact; text-transform: uppercase; margin: 0; } svg { position: absolute; width: 100%; height: 100%; } </style> <script> window.console = window.console || function(t) {}; </script> <header> <svg viewBox="0 0 600 300"> <!-- Gradient --> <radialGradient id="gr-radial" cx="50%" cy="0%" r="70%"> <!-- Animation for radius of gradient --> <animate attributeName="r" values="0%;150%;100%;0%" dur="5s" repeatCount="indefinite"></animate> <!-- Animation for colors of stop-color --> <stop stop-color="#FFFf00" offset="0"> <animate attributeName="stop-color" values="#0000FF;#ffff00;#00FF00;#FF0000;#00FF00;#0000FF;#FFFF00;#00FF00;#FF0000;#0000FF;#FFFF00;#FF0000" dur="80s" repeatCount="indefinite"></animate> </stop> <stop stop-color="rgba(55,55,55,0)" offset="100%"></stop> </radialGradient> <!-- Text --> <text text-anchor="middle" x="50%" y="25%" dy=".35em" class="text" <="" text=""> </text></svg></header> <footer> <svg viewBox="0 0 600 300"> <!-- Gradient --> <radialGradient id="gr-radial" cx="50%" cy="0%" r="70%"> <!-- Animation for radius of gradient --> <animate attributeName="r" values="0%;150%;100%;0%" dur="5s" repeatCount="indefinite"></animate> <!-- Animation for colors of stop-color --> <stop stop-color="#FFFf00" offset="0"> <animate attributeName="stop-color" values="#0000FF;#ffff00;#00FF00;#FF0000;#00FF00;#0000FF;#FFFF00;#00FF00;#FF0000;#0000FF;#FFFF00;#FF0000" dur="20s" repeatCount="indefinite"></animate> </stop> <stop stop-color="rgba(55,55,55,0)" offset="100%"></stop> </radialGradient> <!-- Text --> <text text-anchor="middle" x="50%" y="25%" dy=".35em" class="text" <="" text=""> </text></svg></footer> </canvas> <script> <script> window.console = window.console || function(t) {}; </script> <canvas width="400" height="400"></canvas> <script src="//assets.codepen.io/assets/common/stopExecutionOnTimeout-f961f59a28ef4fd551736b43f94620b5.js"></script> <script> var canvas,ctx,max,p,count; window.onload=function(){ var a,b,r; canvas = document.getElementsByTagName('canvas')[0]; ctx = canvas.getContext('2d'); canvas.width=canvas.height=400; ctx.fillRect(0,0,400,400); max=80; count=150; p=[]; r=0; for(a=0;a<max;a++){ p.push([Math.cos(r),Math.sin(r),0]); r+=Math.PI*2/max; } for(a=0;a<max;a++)p.push([0,p[a][0],p[a][1]]); for(a=0;a<max;a++)p.push([p[a][1],0,p[a][0]]); rus(); }; function rus(){ var a,b,c,d,e,s,tim,p2,xp,yp,xp2,yp2,x,y,z,x1,y1,z1; ctx.globalCompositeOperation = "source-over"; ctx.fillStyle="rgba(0,0,0,0.03)"; ctx.fillRect(0,0,canvas.width,canvas.height); ctx.globalCompositeOperation = "lighter"; tim=count/5; for(e=0;e<3;e++){ tim*=1.7; s=1-e/3; a=tim/59; yp=Math.cos(a); yp2=Math.sin(a); a=tim/23; xp=Math.cos(a); xp2=Math.sin(a); p2=[]; for(a=0;a<p.length;a++){ x=p[a][0];y=p[a][1];z=p[a][2]; y1=y*yp+z*yp2; z1=y*yp2-z*yp; x1=x*xp+z1*xp2; z=x*xp2-z1*xp; z1=Math.pow(2,z*s); x=x1*z1; y=y1*z1; p2.push([x,y,z]); } s*=120; for(d=0;d<3;d++){ for(a=0;a<max;a++){ b=p2[d*max+a]; c=p2[((a+1)%max)+d*max]; ctx.beginPath(); ctx.strokeStyle="hsla("+((a/max*360)|0)+",70%,60%,0.15)"; ctx.lineWidth=Math.pow(6,b[2]); ctx.lineTo(b[0]*s+200,b[1]*s+200); ctx.lineTo(c[0]*s+200,c[1]*s+200); ctx.stroke(); } } } count++; requestAnimationFrame(rus); } </script> <script> if (document.location.search.match(/type=embed/gi)) { window.parent.postMessage("resize", "*"); } </script> <style> /* Main styles */ @import url(http://fonts.googleapis.com/css?family=Open+Sans:800); .text { fill: url(#gr-radial); } /* Other styles */ html, body { height: 100%; }body{background: #222 -webkit-linear-gradient(0deg, #222 50%, #272727 50%); background: #222 linear-gradient(90deg, #222 50%, #272727 50%); } body header { background: #222 -webkit-linear-gradient(0deg, #222 50%, #272727 50%); background: #222 linear-gradient(90deg, #222 50%, #272727 50%); background-size: .2em 100%; font: 8.1em/1 Open Sans, Impact; text-transform: uppercase; margin: 0; } body { background: #222 -webkit-linear-gradient(0deg, #222 50%, #272727 50%); background: #222 linear-gradient(90deg, #222 50%, #272727 50%); background-size: .2em 100%; font: 2.1em/1 Open Sans, Impact; text-transform: uppercase; margin: 0; } svg { position: absolute; width: 100%; height: 100%; } </style> <script> window.console = window.console || function(t) {}; </script> <header> <svg viewBox="0 0 600 300"> <!-- Gradient --> <radialGradient id="gr-radial" cx="50%" cy="50%" r="70%"> <!-- Animation for radius of gradient --> <animate attributeName="r" values="0%;150%;100%;0%" dur="5s" repeatCount="indefinite"></animate> <!-- Animation for colors of stop-color --> <stop stop-color="#FFFf00" offset="0"> <animate attributeName="stop-color" values="#0000FF;#ffff00;#00FF00;#FF0000;#00FF00;#0000FF;#FFFF00;#00FF00;#FF0000;#0000FF;#FFFF00;#FF0000" dur="20s" repeatCount="indefinite"></animate> </stop> <stop stop-color="rgba(55,55,55,0)" offset="100%"></stop> </radialGradient> <!-- Text --> <text text-anchor="middle" x="50%" y="25%" dy=".35em" class="text"> design solutions </text> </svg></header> <div id="phaser-example"><canvas style="display: block; width: 80px; height: 60px; cursor: inherit;" height="60" width="80"></canvas></div> <style> /* Main styles */ @import url(http://fonts.googleapis.com/css?family=Open+Sans:800); .text { fill: url(#gr-radial); } /* Other styles */ html, body { height: 100%; }body{background: #222 -webkit-linear-gradient(0deg, #222 50%, #272727 50%); background: #222 linear-gradient(90deg, #222 50%, #272727 50%); } body header { background: #222 -webkit-linear-gradient(0deg, #222 50%, #272727 50%); background: #222 linear-gradient(90deg, #222 50%, #272727 50%); background-size: .2em 100%; font: 1.1em/1 Open Sans, Impact; text-transform: uppercase; margin: 0; } body { background: #222 -webkit-linear-gradient(0deg, #222 50%, #272727 50%); background: #222 linear-gradient(90deg, #222 50%, #272727 50%); background-size: .2em 100%; font: 1.1em/1 Open Sans, Impact; text-transform: uppercase; margin: 0; } svg { position: absolute; width: 100%; height: 100%; } </style> <script> window.console = window.console || function(t) {}; </script> <footer> <svg viewBox="0 0 600 300"> <!-- Gradient --> <radialGradient id="gr-radial" cx="50%" cy="50%" r="70%"> <!-- Animation for radius of gradient --> <animate attributeName="r" values="0%;150%;100%;0%" dur="5s" repeatCount="indefinite"></animate> <!-- Animation for colors of stop-color --> <stop stop-color="#FFFf00" offset="0"> <animate attributeName="stop-color" values="#0000FF;#ffff00;#00FF00;#FF0000;#00FF00;#0000FF;#FFFF00;#00FF00;#FF0000;#0000FF;#FFFF00;#FF0000" dur="20s" repeatCount="indefinite"></animate> </stop> <stop stop-color="rgba(55,55,55,0)" offset="100%"></stop> </radialGradient> <!-- Text --> <text text-anchor="middle" x="50%" y="25%" dy=".35em" class="text"> software rvg </text> </svg></footer> </body> </html>
Javascript development animation on stages with time of ejecution movement colors opening and closing a circle gradiant colors. Added as footer an SVG animation gradiant colors with background of gradiant linear developed as a set for Rober Villar from SOFTWARE RVG

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.