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 = 25; this.heightFrac = 0.7; this.widthFrac = 0.7; this.secondsScale = {val:0.5, pos:'top'}; this.bgColor = [60, 50, 80]; this.baseColor = [ 100, 100, 100 ]; ; this.secondColor = this.baseColor; this.colonColors = {a: [200, 50, 200] ,b: [0, 200, 200] }; this.baseLineWidth = 0; this.partLineWidth = 6; this.colonRadius = 3.5; this.beginAniTime = -0.05; this.endAniTime = 1; this.baseInFront = true; this.pulsate = false; this.lineCap = 'round'; this.disableSlowest = true; r = Math.random(); if (r<.5){ this.partColor = {a:[0,255,0],b:[255,0,0]}; var trans0={a:[255,132,0], b:[0,125,255]}; } else{ this.partColor = {a:[255,0,255],b:[0,0,255]}; var trans0 = {a:[125,0,0],b:[0,125,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,t:[0,1/6],col:trans0}); this.t[0].push({ src: 6, type: 'flip', to: 5,t:[1/6,2/6]}); this.t[0].push({ src: 1, type: 'shift', to: 2,t:[2/6,.5],col:trans0}); this.t[0].push({ src: 4, type: 'shift', to: 5,t:[.5,4/6]}); this.t[0].push({ src: 2, type: 'shrink', mov: 0,t:[4/6,5/6],col:trans0}); this.t[0].push({ src: 5, type: 'shrink', mov: 1,t:[5/6,1]}); this.t[1].push({ src: 2, type: 'shift', to: 0,t:[0,.2],col:trans0}); this.t[1].push({ src: 5, type: 'shift', to: 6,t:[.2,.4]}); this.t[1].push({ src: 2, type: 'grow', mov: 0,t:[.8,1]}); this.t[1].push({ src: 2, type: 'shift', to: 4,t:[.4,.6]}); this.t[1].push({ src: 2, type: 'shift', to: 3,t:[.6,.8]}); this.t[2].push({ src: 2, type: 'shift', to: 5,t:[0,1/8]}); this.t[2].push({ src: 0, type: 'grow', mov: 1,t:[2/8,3/8]}); this.t[2].push({ src: 3, type: 'shift', to: 6,t:[7/8,1],col:trans0}); this.t[2].push({ src: 3, type: 'grow', mov: 1,t:[5/8,.75]}); this.t[2].push({ src: 4, type: 'shift', to: 6,t:[.75,7/8]}); this.t[2].push({ src: 3, type: 'shift', to: 5,t:[1/2,5/8]}); this.t[2].push({ src: 0, type: 'shift', to: 2,t:[1/8,2/8]}); this.t[2].push({ src: 6, type: 'shrink', mov: 0,t:[3/8,1/2]}); this.t[3].push({ src: 0, type: 'shift', to: 2,t:[5/6,1]}); this.t[3].push({ src: 3, type: 'grow', mov: 0,t:[2/6,3/6]}); this.t[3].push({ src: 5, type: 'shift', to: 5}); this.t[3].push({ src: 3, type: 'shift', to: 1,t:[1/6,2/6],col:trans0}); this.t[3].push({ src: 6, type: 'shrink', mov: 0,t:[4/6,5/6]}); this.t[3].push({ src: 2, type: 'shrink', mov: 0,t:[0,1/6]}); this.t[4].push({ src: 1, type: 'flip', to: 0,t:[0,.2],col:trans0}); this.t[4].push({ src: 3, type: 'shift', to: 3,t:[0,1]}); this.t[4].push({ src: 5, type: 'flip', to: 6,t:[.4,.6]}); this.t[4].push({ src: 2, type: 'shift', to: 5,t:[.6,.8]}); this.t[4].push({ src: 1, type: 'grow', mov: 0,t:[.8,1]}); this.t[5].push({ src: 1, type: 'flip', to: 0,t:[1/7,2/7]}); this.t[5].push({ src: 6, type: 'shift', to: 4,t:[6/7,1],col:trans0}); this.t[5].push({ src: 5, type: 'flip', to: 6,t:[3/7,4/7]}); this.t[5].push({ src: 3, type: 'shift', to: 3}); this.t[5].push({ src: 0, type: 'shrink', mov: 0,t:[0,01/7]}); this.t[5].push({ src: 1, type: 'grow', mov: 0,t:[2/7,3/7]}); this.t[5].push({ src: 5, type: 'grow', mov: 1,t:[4/7,5/7]}); this.t[50].push({ src: 0, type: 'shift', to: 2,col:trans0,t:[1/8,2/8]}); this.t[50].push({ src: 6, type: 'shift', to: 4,t:[5/8,6/8]}); this.t[50].push({ src: 1, type: 'grow', mov: 0,t:[2/8,3/8]}); this.t[50].push({ src: 1, type: 'flip', to: 0,t:[0,1/8]}); this.t[50].push({ src: 5, type: 'grow', mov: 1,t:[4/8,5/8]}); this.t[50].push({ src: 5, type: 'flip', to: 6,t:[3/8,4/8]}); this.t[50].push({ src: 3, type: 'shrink', mov: 0,t:[6/8,7/8]}); this.t[50].push({ src: 3, type: 'shrink', mov: 1,t:[7/8,1]}); this.t[6].push({ src: 0, type: 'shift', to: 2,t:[0,1/7]}); this.t[6].push({ src: 3, type: 'shrink', mov: 0,t:[1/7,2/7]}); this.t[6].push({ src: 6, type: 'shift', to: 5,t:[2/7,3/7]}); this.t[6].push({ src: 1, type: 'flip', to: 0,t:[5/7,6/7]}); this.t[6].push({ src: 5, type: 'shift', to: 5}); this.t[6].push({ src: 1, type: 'shift', to: 2,col:trans0,t:[4/7,5/7]}); this.t[6].push({ src: 4, type: 'shift', to: 2,t:[3/7,4/7]}); this.t[7].push({ src: 0, type: 'shift', to: 1,col:trans0,t:[0,1/8]}); this.t[7].push({ src: 5, type: 'shift', to: 6,t:[6/8,7/8]}); this.t[7].push({ src: 0, type: 'shift', to: 2,t:[2/8,3/8]}); this.t[7].push({ src: 0, type: 'grow', mov: 1,t:[3/8, .5]}); this.t[7].push({ src: 2, type: 'shift', to: 4,t:[.5, 5/8]}); this.t[7].push({ src: 5, type: 'shift', to: 5}); this.t[7].push({ src: 2, type: 'shift', to: 3,t:[5/8,6/8]}); this.t[7].push({ src: 2, type: 'shrink', mov: 0,t:[1/8,2/8]}); this.t[8].push({ src: 1, type: 'flip', to: 0,t:[1/8,1/4]}); this.t[8].push({ src: 4, type: 'shift', to: 1,t:[1/4,3/8]}); this.t[8].push({ src: 6, type: 'shift', to: 6}); this.t[8].push({ src: 3, type: 'shrink', mov: 0,t:[3/8,4/8]}); this.t[8].push({ src: 0, type: 'shrink', mov: 0,t:[0,1/8]}); 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,col:trans0,t:[4/8,5/8]}); this.t[9].push({ src: 0, type: 'shift', to: 0,t:[0,1]}); this.t[9].push({ src: 1, type: 'shrink', mov: 1,t:[1/7,2/7]}); this.t[9].push({ src: 2, type: 'shift', to: 2}); this.t[9].push({ src: 3, type: 'shift', to: 1,t:[2/7,3/7]}); this.t[9].push({ src: 5, type: 'grow', mov: 1,t:[4/7,5/7]}); this.t[9].push({ src: 5, type: 'flip', to: 6,t:[5/7,6/7]}); this.t[9].push({ src: 6, type: 'shift', to: 4,col:trans0,t:[6/7,1]}); this.t[10].push({ src: 2, type: 'shrink', mov: 0,t:[0,.5]}); this.t[10].push({ src: 5, type: 'shrink', mov: 0,t:[.5,1]}); 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: 0}); this.t[30].push({ src: 2, type: 'flip', to: 2}); this.t[30].push({ src: 3, type: 'flip', to: 1}); this.t[30].push({ src: 5, type: 'flip', to: 5}); this.t[30].push({ src: 6, type: 'flip', to: 6}); this.t[30].push({src:3,type:'shift',to:4}) this.t[11].push({ src: 5, type: 'grow', mov: 0, t:[.0,.5]}); this.t[11].push({ src: 2, type: 'grow', mov: 0, t:[.5,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