Toggle navigation
Sign Up
Log In
Explore
Works
Folders
Tools
Collections
Artists
Groups
Groups
Topics
Tasks
Tasks
Jobs
Teams
Jobs
Recommendation
More Effects...
JS
var canvas,ctx,p; canvas = document.getElementsByTagName('canvas')[0]; ctx = canvas.getContext('2d'); canvas.width=canvas.height=400; aaa(); function aaa(){ var a,b,c,d,s,tim,q,qt,x,y,r,tx,ty; ctx.globalCompositeOperation = "source-over"; ctx.fillStyle="rgb(0,0,0)"; ctx.fillRect(0,0,canvas.width,canvas.height); ctx.globalCompositeOperation = "lighter"; tx=canvas.width/2; ty=canvas.height/2; tim=new Date().getTime()/31; p=[]; for(a=0;a<3;a++){ b=(a+1)/4; x=b; y=0; r=tim/13+a*(2); x+=Math.cos(r)*0.12; y+=Math.sin(r)*0.12; p.push([x,y]); } r=tim/73; q=[]; s=[]; for(a=0;a<3;a++){ x=Math.cos(r)*180; y=Math.sin(r)*180; q.push([tx+x,ty+y]); s.push([tx-x,ty-y]); r+=Math.PI*2/3; } ctx.strokeStyle="hsl(44,60%,60%)"; qt=[]; for(a=0;a<3;a++){ b=(a+1)%3; qt[a]=[]; koch(q[a][0],q[a][1],q[b][0],q[b][1],4,qt[a]); qt[a].push(q[b]); } ctx.strokeStyle="hsla("+(44)+",60%,60%,0.08)"; for(a=0;a<3;a++){ b=qt[a]; d=s[(a+2)%3]; for(c=0;c
CSS
* { margin: 0; padding: 0; border: 0; background: #000000 } canvas { position: relative; top:50%; left:50%; width:50vmin; height:50vmin; overflow:hidden; display: block; }
HTML
Join Effecthub.com
Working with Global Gaming Artists and Developers!
Login
Sign Up
Or Login with Your Email Address:
Email
Password
Remember
Or Sign Up with Your Email Address:
Your Email
This field must contain a valid email
Set Password
Password should be at least 1 character
Stay informed via email