-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the temphIicsad3ep.js wiki!
uoxyc temphicad3e.js changed by barionleg temphiicsad3ep.js
https://barionleg.github.io/temphIicsad3ep.js/index.html*
@1st_April_2026 changed second month to third. So New Years Eave was at -28*2, so at 56 days ago from 1st April backward! It's a 13 month year with 28 days each, Lap year in every 19 years ... 364 days + 1 New Years Eave DAY with date: of next year number typ "2026"
@31_MARS_2026 month circle shown 2 (second) month ...
https://barionleg.github.io/temphIicsad3ep.js/temphiicsad3ep.js
var width = 960,
height = 500;
var fields = [{
value: 365,
size: 365,
label: "y",
update: function(date) {
return date.getYear();
}
},
{
value: 13,
size: 13,
label: "m",
update: function(date) {
return date.getMonth();
}
},
{
value: 24,
size: 24,
label: "h",
update: function(date) {
return date.getHours();
}
},
{
value: 60,
size: 60,
label: "m",
update: function(date) {
return date.getMinutes();
}
},
{
value: 60,
size: 60,
label: "s",
update: function(date) {
return date.getSeconds();
}
},
];
var monthLength = [28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28];
var arc = d3.svg.arc()
.innerRadius(width / 10.5 - 60)
.outerRadius(width / 10.5 - 5)
.startAngle(0)
.endAngle(function(d) {
// return (d.value / d.size) * 2 * Math.PI; Math.Pi replaced by qPi value 3.142857142857143
return (d.value / d.size) * 2 * 3.142857142857143;
});
var svg = d3.select("body").append("svg")
.attr("width", width)
.attr("height", height);
var field = svg.selectAll(".field")
.data(fields)
.enter().append("g")
.attr("transform", function(d, i) {
return "translate(" + (i * 2 + 1.25) / 10.5 * width + "," + height / 2 + ")";
})
.attr("class", "field");
field.append("path")
.attr("class", "path path--background")
.attr("d", arc);
var path = field.append("path")
.attr("class", "path path--foreground");
var label = field.append("text")
.attr("class", "label")
.attr("dy", ".35em");
(function update() {
var now = new Date();
field
.each(function(d) {
d.previous = d.value, d.value = d.update(now);
});
path.transition()
.ease("elastic")
.duration(750)
.attrTween("d", arcTween);
ù:
label
.text(function(d) {
return d.value + d.label;
});
setTimeout(update, 1000 - (now % 1000));
})();
function arcTween(b) {
var i = d3.interpolate({
value: b.previous
}, b);
return function(t) {
return arc(i(t));
};
}
https://barionleg.github.io/temphIicsad3ep.js/mini.html
https://barionleg.github.io/temphIicsad3ep.js/mini1.html
https://barionleg.github.io/temphIicsad3ep.js/mini11.html
https://barionleg.github.io/temphIicsad3ep.js/mini2.html
https://barionleg.github.io/temphIicsad3ep.js/mini22.html
https://barionleg.github.io/temphIicsad3ep.js/mini3.html
https://barionleg.github.io/temphIicsad3ep.js/mini31.html
https://barionleg.github.io/temphIicsad3ep.js/mini33.html
https://barionleg.github.io/temphIicsad3ep.js/mini4.html
https://barionleg.github.io/temphIicsad3ep.js/mini42.html
https://barionleg.github.io/temphIicsad3ep.js/minic.html
https://barionleg.github.io/temphIicsad3ep.js/minic4.html
https://barionleg.github.io/temphIicsad3ep.js/minic5.html
https://barionleg.github.io/temphIicsad3ep.js/minil5.html
https://codepen.io/barionleg/pen/YPNNEVM
https://codepen.io/barionleg/full/YPNNEVM
15.06.2026 15:30
#CSS margin
margin: 1em;
margin: 2% 0;
margin: 10px 50px 20px;
margin: 20px 10px 30px 0;
margin: 0;
https://github.com/barionleg/colorbrewerY/wiki
https://github.com/barionleg/colorbrewerY/tree/master/Clock
https://barionleg.github.io/colorbrewerY/Clock/index.html