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 = 15; this.groupPad = 15; this.heightFrac = 0.45; this.widthFrac = .5; this.bgColor = [0, 0, 1]; this.baseColor = [ 100, 100, 100 ]; this.partColor = { a:[ 1, 1, 200], b:[ 1, 1, 200, ]}; this.secondColor = this.baseColor; this.colonColors = [ this.baseColor , this.baseColor ]; this.baseLineWidth = 0; this.partLineWidth = 9; this.colonRadius = 2; this.beginAniTime = 0.5; this.endAniTime = 1; this.lineCap = 'butt'; this.showRightColons = false; this.hoursScale= { val: 1 , pos: 'top' , offset:[1,-.45] }; this.minutesScale= { val: 1 , pos: 'top' , offset:[1,-.45] }; this.secondsScale= { val: .75 , pos: 'top' , offset:[-1,.750] }; this.baseInFront = true; this.pulsate = false; this.sevenSegment = false; this.defaultTrans = { type:'flip', turns: 0, via:'lin'} this.lineCap = 'round'; this.connected = false; this.ampmShow = true; var trans0={a:[ 1, 1, 200, .25], b:[ 150, 250, 150, .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', mov:0, via: 'occ', to: 0 }); this.t[0].push({ src: 1, type: 'flip', mov:1, via: 'occ', to: 0 }); this.t[0].push({ src: 1, type: 'loop', mov:1, via: 'occ', to: 0, col:trans0, turns:0 }); this.t[1].push({ src: 0, type: 'shift', mov:1, via: 'acc', to: 0 }); this.t[1].push({ src: 0, type: 'flip', mov:0, via: 'acc', to: 1}); this.t[1].push({ src: 0, type: 'shift', mov:0, via: 'acc', to: 2 }); this.t[1].push({ src: 0, type: 'loop', mov:0, via: 'acc', to: 1, col:trans0, turns:0 }); this.t[2].push({ src: 0, type: 'flip', via: 'occ', to: 1 }); this.t[2].push({ src: 1, type: 'flip', via: 'occ', to: 0 }); this.t[2].push({ src: 2, type: 'shrink', via: 'occ', to: 0 }); this.t[2].push({ src: 2, type: 'shrink', via: 'occ', to: 0 }); this.t[2].push({ src: 1, type: 'loop', via: 'occ', to: 1, col:trans0, turns:1 }); this.t[3].push({ src: 1, type: 'flip', mov:0, to: 1 }); this.t[3].push({ src: 0, type: 'shift', mov:1, via: 'lin', to: 0 }); this.t[3].push({ src: 0, type: 'flip', via: 'lin', to: 2 }); this.t[3].push({ src: 1, type: 'loop', via: 'lin', to: 1, col:trans0, turns:0 }); this.t[4].push({ src: 0, type: 'shift', to: 0 }); this.t[4].push({ src: 1, type: 'shift', to: 1 }); this.t[4].push({ src: 0, type: 'shift', to: 0 }); this.t[4].push({ src: 1, type: 'shift', via: 'lin', to: 2 }); this.t[4].push({ src: 2, type: 'flip', via: 'lin', to: 3 }); this.t[4].push({ src: 1, type: 'loop', via: 'lin', to: 1 , col:trans0, turns:0}); this.t[5].push({ src: 1, type: 'shrink',to:0, mov:0,t:[0,1]}); this.t[5].push({ src: 2, type: 'flip', to: 1 }); this.t[5].push({ src: 2, type: 'flip', to: 2 }); this.t[5].push({ src: 0, type: 'shift', to: 0 }); this.t[5].push({ src: 1, type: 'loop', to: 0, col:trans0 }); this.t[6].push({ src: 0, type: 'shift',to:0, via: 'accc', mov:0,t:[0,1]}); this.t[6].push({ src: 1, type: 'shift', to: 1, via: 'accc' , t:[0,1]}); this.t[6].push({ src: 2, type: 'flip', to: 1, via: 'accc' , t:[0,1]}); this.t[6].push({ src: 0, type: 'loop', to: 1, via: 'accc' , t:[0,1], col:trans0, turns:-1}); this.t[7].push({ src: 0, type: 'flip',to:0, via: 'lin', mov:0,t:[0,1]}); this.t[7].push({ src: 1, type: 'shift', to: 2, via: 'lin' , t:[0,1]}); this.t[7].push({ src: 1, type: 'flip', to: 3, via: 'lin' , t:[0,1]}); this.t[7].push({ src: 0, type: 'shift', to: 1, via: 'lin' , t:[0,1]}); this.t[7].push({ src: 1, type: 'loop', to: 2, via: 'lin' , t:[0,1], col:trans0, turns:1}); this.t[8].push({ src: 0, type: 'shift', to: 2, via: 'lin' , t:[0,1]}); this.t[8].push({ src: 1, type: 'shift', to: 1, via: 'lin' , t:[0,1]}); this.t[8].push({ src: 2, type: 'flip', to: 0, via: 'lin' , t:[0,1]}); this.t[8].push({ src: 3, type: 'shrink', to: 0, via: 'lin' , t:[0,1]}); this.t[8].push({ src: 2, type: 'loop', to: 0, via: 'lin' , t:[0,1], col:trans0, turns:1}); this.t[9].push({ src: 0, type: 'shift', to: 1, via: 'lin' , t:[0,1]}); this.t[9].push({ src: 1, type: 'shift', to: 0, via: 'lin' , t:[0,1]}); this.t[9].push({ src: 2, type: 'shift', to: 1, via: 'lin' , t:[0,1]}); this.t[9].push({ src: 0, type: 'loop', to: 1, via: 'lin' , t:[0,1],col:trans0, turns:1}); this.strokes = [[[[334,155],[100,100],[100,495.6091065491803],[106,498]],[[133,353],[540,577],[99,120],[130,354]],[[338,157],[573,319],[503,514],[107,495]]],[[[260,74],[443,228],[269,311],[300,495.6091065491803]]],[[[195,307],[604.6153846153846,55.334455712189325],[547,475],[266,452]],[[263,452],[223.0769230769231,495.6091065491803],[263.0769230769231,495.6091065491803],[423.0769230769231,495.6091065491803]]],[[[196,200],[407.6923076923077,87.23841591776838],[506.1538461538462,192.52148459617925],[210.76923076923077,275.4717811306848]],[[210.76923076923077,275.4717811306848],[460,256.32940500733736],[447.69230769230774,537.084254816433],[172,359]]],[[[360,143],[140,342.47009756240084],[306.1538461538462,307.37574133626384],[398.46153846153845,300.99494929514805]],[[375,135],[466,237],[339,372],[395.38461538461536,495.6091065491803]]],[[[509,276],[300,100],[300,100],[213.84615384615384,100]],[[216.9230769230769,103.1903960205579],[127.6923076923077,447.7531662408117],[503,51],[404.61538461538464,406.2780179735589]],[[404.61538461538464,406.2780179735589],[413.84615384615387,533.8938587958751],[201.53846153846155,524.3226707342014],[104,326]]],[[[462,121],[158.46153846153845,74.47683183553676],[56.92307692307692,463.7051463436012],[300,495.6091065491803]],[[300,495.6091065491803],[444.61538461538464,495.6091065491803],[447.69230769230774,285.0429691923585],[300,297.80455327459015]],[[300,297.80455327459015],[235.3846153846154,307.37574133626384],[192.30769230769232,339.2797015418429],[428,496]]],[[[143,164],[295,299],[300,100],[464,142]],[[466,138],[367.69230769230774,166.998316431716],[438,538],[183.0769230769231,495.6091065491803]]],[[[330.7692307692308,307.37574133626384],[152,263],[40,45],[295,65]],[[293,66],[468,11],[492,307],[235.3846153846154,316.94692939793754]],[[237.69230769230768,313.7565333773797],[103,400],[190,531],[336,503]],[[334,500],[420,521],[516,344],[329,306]]],[[[223.0769230769231,450.9435622613696],[450.7692307692308,645.5577195154018],[599,147],[361.53846153846155,106.38079204111581]],[[361.53846153846155,106.38079204111581],[173.84615384615384,84.04801989721048],[112,305],[308,376]],[[307,367],[554,486],[447.69230769230774,256.32940500733736],[435.3846153846154,218.0446527606425]]]]; }
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