DEV Community

Alvaro Montoro
Alvaro Montoro

Posted on

Divtober Day 8: Growing

Day 7 of #divtober is "Growing", so I coded an animation of a tree growing (only animated on Chromium and when reduced motion is not active):

I don't like the code. It feels too big, verbose, and an overkill. There has to be a better way to do this.

Discussion (4)

Collapse
posandu profile image
Posandu

I don't like the code. It feels too big, verbose, and an overkill. There has to be a
better way to do this.

I think @afif knows a better way.

Collapse
alvaromontoro profile image
Alvaro Montoro Author

He always does :)

Collapse
inhuofficial profile image
InHuOfficial

Awesome work! ❤ This one will take me a while to unpick!

Collapse
auroratide profile image
Timothy Foster

Ok that's pretty cool! It's amazing what @property enables ^^