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.showRightColons = false this.digitPad = 15; this.groupPad = 25; this.heightFrac = .7; this.widthFrac = .7; this.secondsScale = {val:0.5, pos:'bottom', offset:[-0.5,0]}; this.hoursScale = {val:0} this.alarm = { loopLength: 1, animation: {type:'wave',from:'side'} } this.alarm = {loopLength: 1, animation: {type:'wave',from:'side'} } this.bgColor = [255, 255, 255]; this.baseColor = [ 255, 132, 00 ]; this.partColor = { a:[ 250, 50, 250 ], b:[ 0, 200, 200 ]}; this.secondColor = this.bgColor; this.colonColors = [ [200, 50, 200] , [0, 200, 200] ]; this.defaultTrans = { type:'loop', turns: 1,via:'acc'} this.baseLineWidth = 7; this.partLineWidth = 7; this.colonRadius = 3.5; this.beginAniTime = 0.5; this.endAniTime = 1; this.ampmShow = true this.baseInFront = true; this.pulsate = true; this.lineCap = 'butt'; this.disableSlowest = true; var trans0={a:[ 255, 132, 0 ], b:[ 0, 125, 255 ]}; var trans1={a:[ 0,125,255 ], b:[255,132,0 ]} 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}); this.t[0].push({ src: 6, type: 'flip', to: 5}); this.t[0].push({ src: 1, type: 'shift', to: 2}); this.t[0].push({ src: 4, type: 'shift', to: 5}); this.t[0].push({ src: 2, type: 'shrink', mov: 0}); this.t[0].push({ src: 5, type: 'shrink', mov: 1}); this.t[1].push({ src: 2, type: 'shift', to: 0}); this.t[1].push({ src: 5, type: 'shift', to: 6}); this.t[1].push({ src: 2, type: 'grow', mov: 0}); this.t[1].push({ src: 2, type: 'shift', to: 4}); this.t[1].push({ src: 2, type: 'shift', to: 3}); this.t[2].push({ src: 2, type: 'shift', to: 5}); this.t[2].push({ src: 0, type: 'grow', mov: 1}); this.t[2].push({ src: 3, type: 'shift', to: 6}); this.t[2].push({ src: 3, type: 'grow', mov: 1}); this.t[2].push({ src: 4, type: 'shift', to: 6}); this.t[2].push({ src: 3, type: 'shift', to: 5}); this.t[2].push({ src: 0, type: 'shift', to: 2}); this.t[2].push({ src: 6, type: 'shrink', mov: 0}); this.t[3].push({ src: 0, type: 'shift', to: 2}); this.t[3].push({ src: 3, type: 'grow', mov: 0}); this.t[3].push({ src: 5, type: 'shift', to: 5}); this.t[3].push({ src: 3, type: 'shift', to: 1}); this.t[3].push({ src: 6, type: 'shrink', mov: 0}); this.t[3].push({ src: 2, type: 'shrink', mov: 0}); this.t[4].push({ src: 1, type: 'flip', to: 0}); this.t[4].push({ src: 3, type: 'shift', to: 3}); this.t[4].push({ src: 5, type: 'flip', to: 6}); this.t[4].push({ src: 2, type: 'shift', to: 5}); this.t[4].push({ src: 1, type: 'grow', mov: 0}); this.t[5].push({ src: 1, type: 'flip', to: 0}); this.t[5].push({ src: 6, type: 'shift', to: 4}); this.t[5].push({ src: 5, type: 'flip', to: 6}); this.t[5].push({ src: 3, type: 'shift', to: 3}); this.t[5].push({ src: 0, type: 'shrink', mov: 0}); this.t[5].push({ src: 1, type: 'grow', mov: 0}); this.t[5].push({ src: 5, type: 'grow', mov: 1}); this.t[50].push({ src: 0, type: 'shift', to: 2}); this.t[50].push({ src: 6, type: 'shift', to: 4}); this.t[50].push({ src: 1, type: 'grow', mov: 0}); this.t[50].push({ src: 1, type: 'flip', to: 0}); this.t[50].push({ src: 5, type: 'grow', mov: 1}); this.t[50].push({ src: 5, type: 'flip', to: 6}); this.t[50].push({ src: 3, type: 'shrink', mov: 0}); this.t[50].push({ src: 3, type: 'shrink', mov: 1}); this.t[6].push({ src: 0, type: 'shift', to: 2}); this.t[6].push({ src: 3, type: 'shrink', mov: 0}); this.t[6].push({ src: 6, type: 'shift', to: 5}); this.t[6].push({ src: 1, type: 'flip', to: 0}); this.t[6].push({ src: 5, type: 'shift', to: 5}); this.t[6].push({ src: 1, type: 'shift', to: 2}); this.t[6].push({ src: 4, type: 'shift', to: 2}); this.t[7].push({ src: 0, type: 'shift', to: 1,}); this.t[7].push({ src: 5, type: 'shift', to: 6,}); this.t[7].push({ src: 0, type: 'shift', to: 2}); this.t[7].push({ src: 0, type: 'grow', mov: 1}); this.t[7].push({ src: 2, type: 'shift', to: 4}); this.t[7].push({ src: 5, type: 'shift', to: 5}); this.t[7].push({ src: 2, type: 'shift', to: 3}); this.t[7].push({ src: 2, type: 'shrink', mov: 0}); this.t[8].push({ src: 1, type: 'flip', to: 0}); this.t[8].push({ src: 4, type: 'shift', to: 1}); this.t[8].push({ src: 6, type: 'shift', to: 6}); this.t[8].push({ src: 3, type: 'shrink', mov: 0}); this.t[8].push({ src: 0, type: 'shrink', mov: 0}); this.t[8].push({ src: 2, type: 'shift', to: 2}); this.t[8].push({ src: 5, type: 'shift', to: 5}); this.t[8].push({ src: 4, type: 'flip', to: 3,}); this.t[9].push({ src: 0, type: 'shift', to: 0}); this.t[9].push({ src: 1, type: 'shrink', mov: 1}); this.t[9].push({ src: 2, type: 'shift', to: 2}); this.t[9].push({ src: 3, type: 'shift', to: 1}); this.t[9].push({ src: 5, type: 'grow', mov: 1}); this.t[9].push({ src: 5, type: 'flip', to: 6}); this.t[9].push({ src: 6, type: 'shift', to: 4}); this.t[10].push({ src: 2, type: 'shrink', mov: 0}); this.t[10].push({ src: 5, type: 'shrink', mov: 0}); this.t[21].push({ src: 0, type: 'shift', to: 2}); this.t[21].push({ src: 2, type: 'shift', to: 2}); this.t[21].push({ src: 3, type: 'shift', to: 5}); this.t[21].push({ src: 4, type: 'shift', to: 5}); this.t[21].push({ src: 6, type: 'shift', to: 5}); this.t[20].push({ src: 0, type: 'shrink', mov: 0}); this.t[20].push({ src: 2, type: 'shrink', mov: 0}); 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: 'flip', to: 2}); this.t[30].push({ src: 2, type: 'flip', to: 2}); this.t[30].push({ src: 3, type: 'flip', to: 2}); this.t[30].push({ src: 5, type: 'flip', to: 5}); this.t[30].push({ src: 6, type: 'flip', to: 5}); 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