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 = 0.7; this.widthFrac = 0.7; this.secondsScale = {val:1, pos:'middle'}; this.hoursScale = {val:1} this.minutesScale = {offset:[0,0]} this.bgColor = [60, 50, 80]; this.baseColor = [ 100, 100, 100 ]; this.partColor = { a:[ 250, 50, 250 ], b:[ 0, 200, 200 ]}; this.secondColor = this.baseColor; this.colonColors = [ [200, 50, 200] , [0, 200, 200] ]; this.baseLineWidth = 14; this.partLineWidth = 9; this.colonRadius = 0; this.beginAniTime = 0; this.endAniTime = 1; this.lineCap = 'round' this.baseInFront = false; this.pulsate = false; zeroCol = [254,0,0] oneCol = [0,0,246] this.disableSlowest = true; twoCol = [254,0,0] threeCol = [0,0,246] fourCol = [255,0,0] fiveCol = [0,0,255] sixCol = [255,0,0] sevenCol = [0,0,246] eightCol = [255,0,0] nineCol = [00,00,255] var trans0={a:[ 250, 50, 250 ], b:[ 150, 0, 150 ]}; this.t = new Array(); for (var i=0;i<=50;i++) this.t[i] = new Array(); this.t[0].push({ src: 0, type: 'shift', to: 2,col:zeroCol}); this.t[0].push({ src: 6, type: 'flip', to: 5,col:oneCol}); this.t[0].push({ src: 1, type: 'shift', to: 2,col:twoCol}); this.t[0].push({ src: 4, type: 'shift', to: 5,col:threeCol}); this.t[0].push({ src: 2, type: 'shrink', mov: 0,col:fourCol}); this.t[0].push({ src: 5, type: 'shrink', mov: 1,col:fiveCol}); this.t[1].push({ src: 2, type: 'shift', to: 0,col:sixCol}); this.t[1].push({ src: 5, type: 'shift', to: 6,col:sevenCol}); this.t[1].push({ src: 2, type: 'grow', mov: 0,col:eightCol}); this.t[1].push({ src: 2, type: 'shift', to: 4,col:nineCol}); this.t[1].push({ src: 2, type: 'shift', to: 3,col:zeroCol}); this.t[2].push({ src: 2, type: 'shift', to: 5,col:zeroCol}); this.t[2].push({ src: 0, type: 'grow', mov: 1,col:oneCol}); this.t[2].push({ src: 3, type: 'shift', to: 6,col:twoCol}); this.t[2].push({ src: 3, type: 'grow', mov: 1,col:threeCol}); this.t[2].push({ src: 4, type: 'shift', to: 6,col:fourCol}); this.t[2].push({ src: 3, type: 'shift', to: 5,col:fiveCol}); this.t[2].push({ src: 0, type: 'shift', to: 2,col:sixCol}); this.t[2].push({ src: 6, type: 'shrink', mov: 0,col:sevenCol}); this.t[3].push({ src: 0, type: 'shift', to: 2,col:zeroCol}); this.t[3].push({ src: 3, type: 'grow', mov: 0,col: oneCol}); this.t[3].push({ src: 5, type: 'shift', to: 5,col:twoCol}); this.t[3].push({ src: 3, type: 'shift', to: 1,col:threeCol}); this.t[3].push({ src: 6, type: 'shrink', mov: 0,col:fourCol}); this.t[3].push({ src: 2, type: 'shrink', mov: 0,col:fiveCol}); this.t[4].push({ src: 1, type: 'flip', to: 0,col:zeroCol}); this.t[4].push({ src: 3, type: 'shift', to: 3,col:oneCol}); this.t[4].push({ src: 5, type: 'flip', to: 6,col:twoCol}); this.t[4].push({ src: 2, type: 'shift', to: 5,col:threeCol}); this.t[4].push({ src: 1, type: 'grow', mov: 0,col:fourCol}); this.t[5].push({ src: 1, type: 'flip', to: 0,col:zeroCol}); this.t[5].push({ src: 6, type: 'shift', to: 4,col:oneCol}); this.t[5].push({ src: 5, type: 'flip', to: 6,col:twoCol}); this.t[5].push({ src: 3, type: 'shift', to: 3,col:threeCol}); this.t[5].push({ src: 0, type: 'shrink', mov: 0,col:fourCol}); this.t[5].push({ src: 1, type: 'grow', mov: 0,col:fiveCol}); this.t[5].push({ src: 5, type: 'grow', mov: 1,col:sixCol}); this.t[50].push({ src: 0, type: 'shift', to: 2,col:zeroCol}); this.t[50].push({ src: 6, type: 'shift', to: 4,col:oneCol}); this.t[50].push({ src: 1, type: 'grow', mov: 0,col:twoCol}); this.t[50].push({ src: 1, type: 'flip', to: 0,col:threeCol}); this.t[50].push({ src: 5, type: 'grow', mov: 1,col:fourCol}); this.t[50].push({ src: 5, type: 'flip', to: 6,col:fiveCol}); this.t[50].push({ src: 3, type: 'shrink', mov: 0,col:sixCol}); this.t[50].push({ src: 3, type: 'shrink', mov: 1,col:sevenCol}); this.t[6].push({ src: 0, type: 'shift', to: 2,col:zeroCol}); this.t[6].push({ src: 3, type: 'shrink', mov: 0,col:oneCol}); this.t[6].push({ src: 6, type: 'shift', to: 5,col:twoCol}); this.t[6].push({ src: 1, type: 'flip', to: 0,col:threeCol}); this.t[6].push({ src: 5, type: 'shift', to: 5,col:fourCol}); this.t[6].push({ src: 1, type: 'shift', to: 2,col:fiveCol}); this.t[6].push({ src: 4, type: 'shift', to: 2,col:sixCol}); this.t[7].push({ src: 0, type: 'shift', to: 1,col:zeroCol}); this.t[7].push({ src: 5, type: 'shift', to: 6,col:oneCol}); this.t[7].push({ src: 0, type: 'shift', to: 2,col:twoCol}); this.t[7].push({ src: 0, type: 'grow', mov: 1,col:threeCol}); this.t[7].push({ src: 2, type: 'shift', to: 4,col:fourCol}); this.t[7].push({ src: 5, type: 'shift', to: 5,col:fiveCol}); this.t[7].push({ src: 2, type: 'shift', to: 3,col:sixCol}); this.t[7].push({ src: 2, type: 'shrink', mov: 0,col:sevenCol}); this.t[8].push({ src: 1, type: 'flip', to: 0,col:zeroCol}); this.t[8].push({ src: 4, type: 'shift', to: 1,col:oneCol}); this.t[8].push({ src: 6, type: 'shift', to: 6,col:twoCol}); this.t[8].push({ src: 3, type: 'shrink', mov: 0,col:threeCol}); this.t[8].push({ src: 0, type: 'shrink', mov: 0,col:fourCol}); this.t[8].push({ src: 2, type: 'shift', to: 2,col:fiveCol}); this.t[8].push({ src: 5, type: 'shift', to: 5,col:sixCol}); this.t[8].push({ src: 4, type: 'flip', to: 3,col:sevenCol}); this.t[9].push({ src: 0, type: 'shift', to: 0,col:zeroCol}); this.t[9].push({ src: 1, type: 'shrink', mov: 1,col:oneCol}); this.t[9].push({ src: 2, type: 'shift', to: 2,col:twoCol}); this.t[9].push({ src: 3, type: 'shift', to: 1,col:threeCol}); this.t[9].push({ src: 5, type: 'grow', mov: 1,col:fourCol}); this.t[9].push({ src: 5, type: 'flip', to: 6,col:fiveCol}); this.t[9].push({ src: 6, type: 'shift', to: 4,col:sixCol}); this.t[10].push({ src: 2, type: 'shrink', mov: 0,col:zeroCol,t:[0,.5]}); this.t[10].push({ src: 5, type: 'shrink', mov: 0,col:oneCol,t:[.5,1]}); this.t[21].push({ src: 0, type: 'shift', to: 2,col:zeroCol}); this.t[21].push({ src: 2, type: 'shift', to: 2,col:oneCol}); this.t[21].push({ src: 3, type: 'shift', to: 5,col:twoCol}); this.t[21].push({ src: 4, type: 'shift', to: 5,col:threeCol}); this.t[21].push({ src: 6, type: 'shift', to: 5,col:fourCol}); this.t[20].push({ src: 0, type: 'shrink', mov: 0,col:zeroCol,t:[0,.2]}); this.t[20].push({ src: 2, type: 'shrink', mov: 0,col:oneCol,t:[.2,.4]}); this.t[20].push({ src: 3, type: 'shrink', mov: 1,col:twoCol,t:[.4,.6]}); this.t[20].push({ src: 4, type: 'shrink', mov: 0,col:threeCol,t:[.6,.8]}); this.t[20].push({ src: 6, type: 'shrink', mov: 0,col:fourCol,t:[.8,1]}); this.t[30].push({ src: 0, type: 'flip', to: 2,col:zeroCol}); this.t[30].push({ src: 2, type: 'flip', to: 2,col:oneCol}); this.t[30].push({ src: 3, type: 'flip', to: 2,col:twoCol}); this.t[30].push({ src: 5, type: 'flip', to: 5,col:threeCol}); this.t[30].push({ src: 6, type: 'flip', to: 5,col:fourCol}); this.t[11].push({ src: 5, type: 'grow', mov: 0, t:[0,.5],col:zeroCol}); this.t[11].push({ src: 2, type: 'grow', mov: 0, t:[.5,1],col:oneCol}); }
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