statueofdavid / them-custom-web-components

my attempt at building web components from scratch
Mozilla Public License 2.0
1 stars 0 forks source link

A Rectangle w. Text displaying in browser from a local html page, pure js web component #1

Open statueofdavid opened 1 month ago

statueofdavid commented 1 month ago

having a site that is strictly made of html and css has become too limiting. I want to create interactive animations and it appears I have run into an impossibly painful journey if I continue restricted myself to html and css only. In the comment below, there is a link to an issue for another project. There is more context there, but basically here is what I want to do with js

I have this css animation (a sort of slot machine animation effect) but I really want to optimize it but also gain control of it and so here are guiding thoughts Eric and I talked about over the phone

  1. reduce hardcoded table of tables down a single table of the characters
  2. replicate the single table to equal the length of string to be displayed
  3. provide an iterator that tracks character being displayed
  4. a mechanism to shift the table for another character to be displayed
statueofdavid commented 1 month ago

https://github.com/statueofdavid/david-bb-site/issues/14#issuecomment-2133820541