Skip to content

temphIicsad3ep.js

Bankn8II©$A edited this page Jul 9, 2026 · 1 revision

Welcome to the temphIicsad3ep.js wiki!

uoxyc temphicad3e.js changed by barionleg temphiicsad3ep.js

https://barionleg.github.io/temphIicsad3ep.js/index.html*

image

@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"

Skärmbild 2026-04-01 125353

@31_MARS_2026 month circle shown 2 (second) month ...

Skärmbild 2026-03-31 164120

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));
    };
}



Versions:

https://barionleg.github.io/temphIicsad3ep.js/mini.html

image

https://barionleg.github.io/temphIicsad3ep.js/mini1.html

image

https://barionleg.github.io/temphIicsad3ep.js/mini11.html

image

https://barionleg.github.io/temphIicsad3ep.js/mini2.html

image

https://barionleg.github.io/temphIicsad3ep.js/mini22.html

image

https://barionleg.github.io/temphIicsad3ep.js/mini3.html

image

https://barionleg.github.io/temphIicsad3ep.js/mini31.html

image

https://barionleg.github.io/temphIicsad3ep.js/mini33.html

image

https://barionleg.github.io/temphIicsad3ep.js/mini4.html

image

https://barionleg.github.io/temphIicsad3ep.js/mini42.html

image

https://barionleg.github.io/temphIicsad3ep.js/minic.html

image

https://barionleg.github.io/temphIicsad3ep.js/minic4.html

image

https://barionleg.github.io/temphIicsad3ep.js/minic5.html

image

https://barionleg.github.io/temphIicsad3ep.js/minil5.html

image image

https://codepen.io/barionleg/pen/YPNNEVM

image

https://codepen.io/barionleg/full/YPNNEVM

image

15.06.2026 15:30


#CSS margin


margin: 1em;
image
margin: 2% 0;
image
margin: 10px 50px 20px;
image
margin: 20px 10px 30px 0;
image
margin: 0;
image

Oldy barionlegs Clock

https://github.com/barionleg/colorbrewerY/wiki

https://github.com/barionleg/colorbrewerY/tree/master/Clock

https://barionleg.github.io/colorbrewerY/Clock/index.html

image

I.bardavelid3e ©928 by BARdos ScljARocsიმ & ©1932 ComPoSARC

Clone this wiki locally