• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision54a0dffaa07d3a6a1f042c6239f4025234005c6c (tree)
Time2020-01-26 06:39:08
AuthorCapsia Tech <cmsuser3754@zoho...>
CommiterCapsia Tech

Log Message

Remove proprietary resources

Change Summary

Incremental Difference

diff -r c2858399e844 -r 54a0dffaa07d img/background.jpg
Binary file img/background.jpg has changed
diff -r c2858399e844 -r 54a0dffaa07d js/svg-animator.js
--- a/js/svg-animator.js Sat Jan 25 22:25:10 2020 +0100
+++ b/js/svg-animator.js Sat Jan 25 22:39:08 2020 +0100
@@ -40,37 +40,33 @@
4040 });
4141 nums[i].attr({
4242 x: (width*posArr[i][0])-32,
43- y: (height*posArr[i][1])+50
43+ y: (height*posArr[i][1])+60
4444 });
4545 }
4646 }
47- function WHforDiscs(width, height) {
48- if (width/height > 1.05) {
49- return height/2;
50- } else {
51- return width/3;
52- }
53- }
5447 //console.log(initSVG.SVGsizes);
5548 // Setting default styles for rectangle and discs
5649 discs.attr({
57- fill: "#4e9a06",
58- stroke: "#ca64ff",
59- strokeWidth: 5
50+ fill: "#ffffff",
51+ stroke: "#222",
52+ strokeWidth: 8
6053 });
6154 dateLine.attr({
62- stroke: "#333",
63- strokeWidth: 30
55+ stroke: "#222",
56+ strokeWidth: 27
6457 });
6558 nums.attr({
6659 fontSize: "1.8em",
67- fontWeight: "bold"
60+ fontWeight: "bold",
61+ fill: "#fff",
62+ stroke: "#222",
63+ strokeWidth: 2
6864 // pointerEvents: "none"
6965 });
7066 // Initialize circles
7167 for (i = 0; i < posArr.length; i++) {
72- discs.add(s.circle(width*posArr[i][0], height*posArr[i][1], 20)); // Create and add circles to discs.
73- nums.add(s.text((width*posArr[i][0])-32, (height*posArr[i][1])+50, dates[i]));
68+ discs.add(s.circle(width*posArr[i][0], height*posArr[i][1], 25)); // Create and add circles to discs.
69+ nums.add(s.text((width*posArr[i][0])-32, (height*posArr[i][1])+60, dates[i]));
7470 discs[i].click( function() {
7571 if (window.nowFull == -1) {
7672 for ( i = 0; i < posArr.length; i++ ) {
@@ -84,7 +80,7 @@
8480 this.animate({r: window.innerWidth, cy: (window.innerHeight / 2) , cx: (window.innerWidth / 2), strokeWidth: 50}, 1000); //Move circle
8581 document.getElementById("overlay").style.visibility = "";
8682 } else {
87- discs[window.nowFull].animate({r: 20, cy: height*posArr[window.nowFull][1], cx: width*posArr[window.nowFull][0], strokeWidth: 5}, 1000); //Return circle to original position
83+ discs[window.nowFull].animate({r: 25, cy: height*posArr[window.nowFull][1], cx: width*posArr[window.nowFull][0], strokeWidth: 5}, 1000); //Return circle to original position
8884 discs[window.nowFull].attr({visibility: ""});
8985 nums.attr({visibility: ""});
9086 discs.attr({visibility: ""}); // Unhide circles