block by curran 6a8c2817009a200e291707e4a1079bf0

[unlisted] Poorly Performing Clock

Full Screen

A clock, constructed using nested components with d3-component.

Since we’re not confined to physical limitations, why not have a “millisecond hand”?!

This is the first pass at implementing a clock, using d3-component “all the way down”. This is not the most efficient way of doing it, because of the unnecessary garbage collection (visible using Chrome’s “Allocation Timeline”). Take a look at this example - Clock - which is an optimized implementation of this one.

Built with blockbuilder.org

forked from curran‘s block: Clock

index.html