animaclock.com
|
about
|
gallery
|
Graph-Based Visual Saliency
Click here for Tutorial
Edit the code below, then click anywhere outside of textarea to update:
Click here to draw your own digits!
var testfont=new function() { this.digitPad = 4; this.groupPad = 15; this.heightFrac = .7; this.widthFrac = .7; this.secondsScale = {val:0.66, pos:'top'}; this.bgColor = [60, 50, 80]; this.baseColor = [ 100, 100, 100,1 ]; this.partColor = { a:[ 250, 50, 250,0 ], b:[ 0, 200, 200,0 ]}; this.secondColor = this.baseColor; this.colonColors = [ [200, 50, 200] , [0, 200, 200] ]; this.baseLineWidth = 0; this.partLineWidth = 5; this.colonRadius = 4; this.beginAniTime = 0; this.endAniTime = 1; this.connected = true this.baseInFront = true this.pulsate = false; this.sevenSegment = false this.disableSlowest = false; var trans0={a:[ 250, 50, 250, .25 ], b:[ 0, 200, 200 ,.5]}; trans1={a:[250,250,50,.25],b:[0,200,200,.5]} this.t = new Array(); for (var i=0;i<=50;i++) this.t[i] = new Array(); this.t[0].push({ src: 0, type: 'shift', turns: 2, via: 'osc', to: 0 }); this.t[0].push({ src: 1, type: 'flip', turns: 2, via: 'osc', to: 0 }); this.t[0].push({ src: 1, type: 'loop',turns:0, to: 0 , col:trans0 }); this.t[0].push({ src: 4, type: 'shrink', mov: 1 }); this.t[0].push({ src: 2, type: 'shrink', mov: 1 }); this.t[0].push({ src: 5, type: 'shrink', mov: 0 }); this.t[1].push({ src: 0, type: 'loop', turns: 1, via: 'osc', to: 0 }); this.t[1].push({ src: 0, type: 'shift', turns: 1, via: 'acc', to: 1 }); this.t[1].push({ src: 0, type: 'loop', to: 1,turns:0,col:trans0 }); this.t[1].push({ src: 4, type: 'grow', mov: 1 }); this.t[1].push({ src: 3, type: 'grow', mov: 1 }); this.t[2].push({ src: 0, type: 'loop', turns: 1, via: 'osc', to: 0 }); this.t[2].push({ src: 1, type: 'loop', turns: 1, via: 'osc', to: 1 }); this.t[2].push({ src: 1, type: 'loop',turns:1, to: 0,col:trans0 }); this.t[2].push({ src: 2, type: 'loop', to: 2 }); this.t[2].push({ src: 5, type: 'grow', mov: 0 }); this.t[2].push({ src: 4, type: 'loop', to: 0,col:trans0 }); this.t[3].push({ src: 0, type: 'loop', turns: 1, via: 'osc', to: 1 }); this.t[3].push({ src: 0, type: 'loop', turns: 0, via: 'acc', to: 1,col:trans0 }); this.t[3].push({ src: 1, type: 'loop', to: 0}); this.t[3].push({ src: 5, type: 'loop', to: 5}); this.t[3].push({ src: 1, type: 'loop', to: 0,turns:0,col:trans0}); this.t[4].push({ src: 1, type: 'loop', turns: 1, via: 'acc', to: 0 }); this.t[4].push({ src: 1, type: 'loop', turns: 0, via: 'acc', to: 0, col:trans0 }); this.t[4].push({ src: 0, type: 'loop', to: 2}); this.t[4].push({ src: 0, type: 'loop', to: 2,turns:0,col:trans0}); this.t[4].push({ src: 2, type: 'shrink', mov: 0}); this.t[4].push({ src: 1, type: 'grow', mov: 0}); this.t[5].push({ src: 0, type: 'loop', turns: 1, via: 'osc', to: 0 }); this.t[5].push({ src: 2, type: 'loop', turns: 1, via: 'osc', to: 2, }); this.t[5].push({ src: 2, type: 'loop', to: 2,turns:0,col:trans0}); this.t[5].push({ src: 3, type: 'loop', to: 3}); this.t[5].push({ src: 1, type: 'loop', to: 1}); this.t[5].push({ src: 4, type: 'loop', to: 5,col:trans0}); this.t[50].push({ src: 1, type: 'loop', turns: 0, via: 'acc', to:1, col:trans0 }); this.t[50].push({ src: 0, type: 'loop', turns: 0, via: 'osc', to: 0, col:trans0 }); this.t[50].push({ src: 2, type: 'loop', to: 0}); this.t[50].push({ src: 1, type: 'loop', to: 1}); this.t[50].push({ src: 0, type: 'loop', to: 1,turns:3}); this.t[50].push({ src: 0, type: 'loop', to: 0,turns:1}); this.t[50].push({ src: 0, type: 'loop', to: 1,turns:2,col:trans0 }); this.t[50].push({src:2,type:'loop',to:1,col:trans0}) this.t[50].push({src:0,type:'loop',to:1}) this.t[50].push({src:0,type:'loop',to:1,turns:0,col:trans0}) this.t[50].push({src:2,type:'loop',to:1,turns:0,col:trans0}) this.t[50].push({src:2,type:'loop',turns:0,to:0,col:trans0}) this.t[50].push({src:0,type:'loop',to:1,turns:4,col:trans0}) this.t[50].push({src:0,type:'loop',to:1,turns:5,col:trans0}) this.t[50].push({src:0,type:'loop',to:1,turns:6,col:trans0}) this.t[50].push({src:0,type:'loop',to:1,turns:7,col:trans0}) this.t[50].push({src:0,type:'loop',to:1,turns:8,col:trans0}) this.t[50].push({src:0,type:'loop',to:1,turns:9,col:trans0}) this.t[50].push({src:0,type:'loop',to:1,turns:10,col:trans0}) this.t[50].push({src:0,type:'loop',to:1,turns:11,col:trans0}) this.t[50].push({src:0,type:'loop',to:0,turns:1,col:trans0}) this.t[50].push({src:0,type:'loop',turns:2,col:trans0,to:0}) this.t[50].push({src:0,type:'loop',turns:3,col:trans0,to:0}) this.t[50].push({src:0,type:'loop',turns:4,col:trans0,to:0}) this.t[50].push({src:0,type:'loop',turns:5,col:trans0,to:0}) this.t[50].push({src:0,type:'loop',turns:6,col:trans0,to:0}) this.t[50].push({src:0,type:'loop',turns:7,col:trans0,to:0}) this.t[50].push({src:0,type:'loop',turns:8,col:trans0,to:0}) this.t[50].push({src:0,type:'loop',turns:9,to:0,col:trans0}) this.t[50].push({src:0,turns:10,type:'loop',col:trans0,to:0}) this.t[50].push({src:0,type:'loop',turns:11,col:trans0,to:0}) this.t[50].push({src:2,type:'loop',turns:1,to:0,col:trans0}) this.t[50].push({src:2,type:'loop',turns:2,to:0,col:trans0}) this.t[50].push({src:2,type:'loop',turns:3,to:0,col:trans0}) this.t[50].push({src:2,type:'loop',turns:4,to:0,col:trans0}) this.t[50].push({src:2,type:'loop',col:trans0,to:0,turns:5}) this.t[50].push({src:2,type:'loop',col:trans0,turns:6,to:0}) this.t[50].push({src:2,type:'loop',col:trans0,turns:7,to:0}) this.t[50].push({src:2,type:'loop',turns:8,col:trans0,to:0}) this.t[50].push({src:2,type:'loop',turns:9,col:trans0,to:0}) this.t[50].push({src:2,type:'loop',turns:10,col:trans0,to:0}) this.t[50].push({src:2,type:'loop',turns:11,col:trans0,to:0}) this.t[6].push({ src: 0, type: 'loop', turns: 1, via: 'osc', to: 2 }); this.t[6].push({ src: 0, type: 'loop', turns: 0, via: 'osc', to: 1, col:trans0 }); this.t[6].push({ src: 3, type: 'shrink', mov: 1}); this.t[6].push({ src: 0, type: 'loop', to: 0}); this.t[6].push({ src: 0, type: 'loop', to: 1}); this.t[6].push({ src: 1, type: 'shrink', mov: 0}); this.t[6].push({ src: 2, type: 'loop',turns:0, to: 1}); this.t[7].push({ src: 1, type: 'loop', turns: 1, via: 'osc', to: 0, col:trans0 }); this.t[7].push({ src: 5, type: 'loop', turns: 1, via: 'osc', to: 6, col:trans0 }); this.t[7].push({ src: 3, type: 'grow', mov: 1 }); this.t[7].push({ src: 1, type: 'grow', mov: 0 }); this.t[7].push({ src: 0, type: 'loop', to: 1 }); this.t[7].push({ src: 0, type: 'loop', to: 1,col:trans0,turns:0 }); this.t[7].push({ src: 2, type: 'grow', mov: 1 }); this.t[7].push({ src: 1, type: 'loop', to: 0 }); this.t[8].push({ src: 0, type: 'loop', turns: 1, via: 'osc', to: 2, }); this.t[8].push({ src: 2, type: 'loop', turns: 1, via: 'osc', to: 0, }); this.t[8].push({ src: 2, type: 'loop', to: 2 }); this.t[8].push({ src: 0, type: 'loop', to: 2,col:trans0,turns:0 }); this.t[8].push({ src: 3, type: 'loop', to: 2 }); this.t[8].push({ src: 1, type: 'loop', to: 1 }); this.t[8].push({ src: 4, type: 'shrink', mov: 1 }); this.t[9].push({ src: 0, type: 'loop', turns: 1, via: 'osc', to: 0 }); this.t[9].push({ src: 0, type: 'loop', turns: 0, via: 'acc', to: 0, col:trans0 }); this.t[9].push({ src: 1, type: 'loop', to: 1 }); this.t[9].push({ src: 2, type: 'loop', to: 1 }); this.t[9].push({ src: 2, type: 'loop', to: 1,col:trans0,turns:0 }); this.t[9].push({ src: 3, type: 'shrink', mov: 1 }); this.t[9].push({ src: 4, type: 'grow', mov: 1 }); this.t[10].push({ src: 0, type: 'shrink', mov: 0 }); this.t[10].push({ src: 5, type: 'shrink', mov: 0 }); this.t[21].push({ src: 0, type: 'shrink', mov: 0,t:[0,.25] }); this.t[21].push({ src: 1, type: 'shrink', mov: 0,t:[.25,.5] }); this.t[21].push({ src: 0, type: 'grow', mov: 0,t:[.5,1] }); this.t[21].push({ src: 1, type: 'loop', to: 0 }); this.t[21].push({ src: 0, type: 'loop', to: 0 }); this.t[21].push({src:1,col:trans0,turns:2,type:'loop',to:0}) this.t[21].push({src:0,col:trans0,turns:2,type:'loop',to:0}) this.t[20].push({ src: 0, type: 'shrink', mov: 0,t:[0,.5] }); this.t[20].push({ src: 1, type: 'shrink', mov: 0,t:[.5,1] }); this.t[20].push({ src: 3, type: 'shrink', mov: 0 }); this.t[20].push({ src: 4, type: 'shrink', mov: 0 }); this.t[20].push({ src: 6, type: 'shrink', mov: 0 }); this.t[30].push({ src: 0, type: 'shrink', mov: 0,t:[0,.25] }); this.t[30].push({ src: 1, type: 'shrink', mov: 0 ,t:[.25,.5]}); this.t[30].push({src:1,type:'grow',mov:1,t:[.5,.75]}) this.t[30].push({src:0,type:'grow',mov:1,t:[.75,1]}) this.t[30].push({src:0,type:'loop',to:0}) this.t[30].push({src:1,to:1,type:'loop'}) this.t[30].push({src:0,type:'loop',to:1}) this.t[30].push({src:0,turns:2,type:'loop',col:trans0,to:1}) this.t[30].push({src:1,turns:2,to:1,type:'loop',col:trans0}) this.t[30].push({src:0,turns:2,col:trans0,type:'loop',to:0}) this.t[30].push({src:1,type:'loop',to:0}) this.t[30].push({col:trans0,src:1,turns:2,type:'loop',to:0}) this.t[11].push({ src: 5, type: 'grow', mov: 0, t:[.9,.95]}); this.t[11].push({ src: 2, type: 'grow', mov: 0, t:[.95,1]}); }
TO SAVE WORK
:
font name
:
(new or previous)
letters/numbers, no spaces
author username
:
(create now OR recall)
letters/numbers, no spaces
password
:
(create now OR recall)
remember what you type here -
it creates an instant account
(nothing is saved till you hit save)
see previous versions of this font