diff --git a/.ctags b/.ctags new file mode 100644 index 0000000..d5fcaa5 --- /dev/null +++ b/.ctags @@ -0,0 +1,9 @@ +--exclude=.git +--exclude=.atom +--exclude=.vim/bundle +--exclude=**/vendor +--exclude=**/node_modules +--exclude=**/packages +--exclude=**/grav +--exclude=**min.js +--exclude=**pack.js diff --git a/.gitignore b/.gitignore index 2aa3bd9..74015bb 100755 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules timecut +tags diff --git a/logo/logo.svg b/logo/logo.svg old mode 100755 new mode 100644 diff --git a/photon/index.css b/photon/index.css new file mode 100755 index 0000000..628ec44 --- /dev/null +++ b/photon/index.css @@ -0,0 +1,17 @@ +[id^="sg-g0"] .segment path { + stroke-opacity: 0.8; + opacity: 0.8; +} +[id^="sg-g0"] text { + stroke-opacity: 0.8; + opacity: 0.8; +} + +#A .bottom path{ + stroke-opacity: 0.8; + opacity: 0.8; +} +#B .bottom path{ + stroke-opacity: 0.8; + opacity: 0.8; +} diff --git a/photon/index.js b/photon/index.js new file mode 100755 index 0000000..78582dc --- /dev/null +++ b/photon/index.js @@ -0,0 +1,102 @@ +var TL ; + +main(); + +function main() { + + TL = new TimelineMax({ + repeat: -1, + yoyo: true, + repeatDelay: 5 + }); + + TL.add( baseSequence() ); + + TL.timeScale(2); + TL.play(0); + +} + +function root3grid() { + + var seqTL = new TimelineMax({ + repeat: 0, + }); + + seqTL.add( drawLine( "#f" ) ); + seqTL.add( drawLine( "#g" ) ); + seqTL.add( drawLine( "#h" ) ); + seqTL.add( drawLine( "#i" ) ); + + return seqTL; + +} + + +function baseSequence() { + + var seqTL = new TimelineMax({ + repeat: 0, + }); + + // zoomToElement(["#b", "#c"], 50); + + // tl.addPause("blank"); + + //build sequence + seqTL.add( setPoint("#A") ); + seqTL.add( setPoint("#B") ); + + seqTL.add( drawLine("#a") ); + + // // tl.addPause("baseline"); + + seqTL.add( drawLine("#q1") ); + + seqTL.add( drawCircle("#b", "#q1") ); //vesica piseces + seqTL.add( eraseLine("#q1") ); + seqTL.add( setPoint("#C") ); + + seqTL.add( drawLineReverse("#q1") ); + seqTL.add( drawCircle("#c", "#q1") ); + seqTL.add( eraseLine("#q1") ); + + seqTL.add( setPoint("#D") ); + seqTL.add( setPoint(["#E", "#F"]) ); + + seqTL.add( drawLine("#d") ); + + seqTL.add( setPoint("#G") ); + + seqTL.add( drawLine("#q3") ); + seqTL.add( eraseLine("#q3") ); + + + var set = [ + "#a", + "#b", + "#c", + "#d", + ]; + seqTL.add( fadeElements( set ) ); + + // seqTL.add( unFadeElements("#a"), "+=1" ); + // seqTL.add( selectElements("#a"), "+=2" ); + // seqTL.add( unSelectElements("#a"), "+=1" ); + // seqTL.add( fadeElements("#a"), "+=1" ); + // + // seqTL.add( unFadeElements("#b"), "+=1" ); + // seqTL.add( selectElements("#b"), "+=2" ); + // + // seqTL.add( unFadeElements("#c"), "+=1" ); + // seqTL.add( selectElements("#c"), "+=2" ); + // seqTL.add( unSelectElements("#b"), "+=1" ); + // seqTL.add( fadeElements("#b"), "+=1" ); + // seqTL.add( unSelectElements("#c"), "+=1" ); + // seqTL.add( fadeElements("#c"), "+=1" ); + // + // seqTL.add( clearElements( set ), "+=2"); + + return seqTL; + +} diff --git a/photon/photon.ggb b/photon/photon.ggb new file mode 100755 index 0000000..fba01d5 Binary files /dev/null and b/photon/photon.ggb differ diff --git a/photon/photon.svg.html b/photon/photon.svg.html new file mode 100755 index 0000000..694ddfe --- /dev/null +++ b/photon/photon.svg.html @@ -0,0 +1,140 @@ + + + +GEOMETOR • base.svg + + + + + + + + + + + + + + + Circle b + + Circle b: Circle through B with center A + + + + + + + Circle c + + Circle c: Circle through A with center B + + + + + + + Line a + + Line a: Line A, B + + + + + + + Line d + + Line d: Line E, F + + + + + + + + + + + + + + + Segment q1 + + Segment q1: Segment A, B + + + + + + + Segment q3 + + Segment q3: Segment E, F + + + + + + + + + + Point A + + Point A: Point on xAxis + + + + + + Point B + + Point B: Point on xAxis + + + + + + Point C + + Point C: Intersection of b and a + + + + + + Point D + + Point D: Intersection of c and a + + + + + + Point E + + Point E: Intersection point of b, c + + + + + + Point F + + Point F: Intersection point of b, c + + + + + + Point G + + Point G: Intersection of a and d + + + + + + diff --git a/unique-external/index.html b/unique-external/index.html index 47e464c..08c8146 100755 --- a/unique-external/index.html +++ b/unique-external/index.html @@ -16,8 +16,6 @@ - @@ -34,7 +32,6 @@ min="0" max="100" value="0" step="any"> --> -