Plate visuals now get added each time you calculate a weight. Still need to have the plates be animated. Instead of putting in a string it needs to append and add the weights each time. Make a function to append and then animate each weight.
1 line
469 B
XML
1 line
469 B
XML
<svg height="32" viewBox="0 0 8 32" width="8" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd" transform="matrix(-1 0 0 1 8 0)"><rect fill="#48484a" fill-rule="nonzero" height="32" rx="4" width="8"/><g fill="#fcfcfc" font-family="Roboto-Regular, Roboto" font-size="10" transform="matrix(-1 0 0 1 7 4)"><text><tspan x="0" y="9">2</tspan></text><text><tspan x="1.491699" y="12">.</tspan></text><text><tspan x="0" y="21">5</tspan></text></g></g></svg> |