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.strokes = [[[[287.5,256],[183.5,169],[19.5,359],[289.5,515]],[[284.5,512],[519.5,470],[502.5,151],[289.5,257]]],[[[293.5,261],[82.5,62],[268.5,486],[302.5,501]],[[292.5,260],[521.5,98],[400.5,389],[300,500]]],[[[244.5,219],[604.6153846153846,55.334455712189325],[412.5,529],[187.5,493]],[[191.5,493],[25.5,385],[87.5,77],[247.5,218]]],[[[306.5,301],[363.5,274],[358.5,353],[289.5,362]],[[309.5,301],[251.5,246],[265.5,351],[293.5,361]]],[[[216.5,373],[163.5,284],[181.5,245],[224.5,278]],[[222.5,280],[333.5,252],[276.5,360],[217.5,374]]],[[[401.53846153846155,100],[300,100],[300,100],[213.84615384615384,100]],[[230.5,322],[642.764571816304,255.06426167643895],[292.5,538],[278.5,411]],[[280.5,413],[223.5,496],[137.5,425],[236.5,321]]],[[[397.5,143],[158.46153846153845,74.47683183553676],[32.5,406],[305.5,497]],[[300,495.6091065491803],[444.61538461538464,495.6091065491803],[447.69230769230774,285.0429691923585],[300,297.80455327459015]],[[300,297.80455327459015],[451.5,282],[469.5,194],[392.5,140]]],[[[291.5,501],[94.5,421],[161.5,260],[258.5,320]],[[256.5,319],[376.5,227],[424.5,400],[290.5,500]]],[[[246.5,250],[394.5,166],[438.5,274],[231.5,410]],[[245.5,262],[126.5,141],[139.5,319],[233.5,410]],[[230.5,408],[462.5,332],[391.5,200],[243.5,260]],[[247.5,253],[65.5,114],[64.5,219],[233.5,409]]],[[[292.5,276],[281.5,155],[149.23076923076923,326.5181174596113],[295.5,378]],[[291.5,274],[402.5,209],[444.5,336],[290.5,379]]]]; this.bgColor = [, 50, 80]; this.baseColor = [ 2500, 50, 250 ]; this.partColor = { a:[ 2508, 50, 250 ], b:[ 0, 200, 200 ]}; this.secondColor = this.bgColor; this.colonColors = [ [200, 50, 200] , [0, 200, 200] ]; this.baseLineWidth = 7; this.partLineWidth = 5; this.colonRadius = 4; this.beginAniTime = 0; this.endAniTime = 1; this.baseInFront = false; this.pulsate = true; this.disableSlowest = true; 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}); 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: 'flip', 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: 4}); this.t[7].push({ src: 2, type: 'flip', to: 3}); this.t[7].push({ src: 2, type: 'shift', to: 5}); 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: 'grow', mov: 1}); this.t[21].push({ src: 0, type: 'shift', to: 2}); this.t[21].push({ src: 1, type: 'shift', to: 3}); 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: 3, type: 'flip', to: 1}); this.t[30].push({ src: 3, type: 'flip', to: 4}); 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]}); } this.strokes = [[[[287.5,256],[183.5,169],[19.5,359],[289.5,515]],[[284.5,512],[519.5,470],[502.5,151],[289.5,257]]],[[[293.5,261],[82.5,62],[268.5,486],[302.5,501]],[[292.5,260],[521.5,98],[400.5,389],[300,500]]],[[[244.5,219],[604.6153846153846,55.334455712189325],[412.5,529],[187.5,493]],[[191.5,493],[25.5,385],[87.5,77],[247.5,218]]],[[[306.5,301],[363.5,274],[358.5,353],[289.5,362]],[[309.5,301],[251.5,246],[265.5,351],[293.5,361]]],[[[216.5,373],[163.5,284],[181.5,245],[224.5,278]],[[222.5,280],[333.5,252],[276.5,360],[217.5,374]]],[[[401.53846153846155,100],[300,100],[300,100],[213.84615384615384,100]],[[230.5,322],[642.764571816304,255.06426167643895],[292.5,538],[278.5,411]],[[280.5,413],[223.5,496],[137.5,425],[236.5,321]]],[[[397.5,143],[158.46153846153845,74.47683183553676],[32.5,406],[305.5,497]],[[300,495.6091065491803],[444.61538461538464,495.6091065491803],[447.69230769230774,285.0429691923585],[300,297.80455327459015]],[[300,297.80455327459015],[451.5,282],[469.5,194],[392.5,140]]],[[[291.5,501],[94.5,421],[161.5,260],[258.5,320]],[[256.5,319],[376.5,227],[424.5,400],[290.5,500]]],[[[246.5,250],[394.5,166],[438.5,274],[231.5,410]],[[245.5,262],[126.5,141],[139.5,319],[233.5,410]],[[230.5,408],[462.5,332],[391.5,200],[243.5,260]],[[247.5,253],[65.5,114],[64.5,219],[233.5,409]]],[[[292.5,276],[281.5,155],[149.23076923076923,326.5181174596113],[295.5,378]],[[291.5,274],[402.5,209],[444.5,336],[290.5,379]]]];
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