Comments (3)
Devlog: I tried to convert everything to web components. Initially, it was very clean, but then I realized there's a lot of inconsistencies with web components that make it really confusing to bundle as a library. Ironically, it's too restrictive. There's too many gotchas, and I would imagine Web Components to be useful in more specialized use cases, but not a replacement to existing systems atm. Unfortunately, I spent a bit too long on this exploration, but I absolutely learnt a lot.
from manawave.
there's some confusing vector math in this im ngl... i figured out formula for having diagonal in any direction.
requirement for looping marquee => must traverse entire width or height of looped element
by applying a direction ie vector it means you can't traverse all of it => flashing before start and end state
to make the direction loop, you have to make sure the direction vector repeats until it == full w & height of marquee. but direction vector isn't whole number or in sync which means... we have to round it so vec matches repetitions while not having floating point imprecision...
from manawave.
I studied the Fly By Jing website, and I've gained an understanding how they do their slider hehehehehehehe. So it's true it's a marquee, but essentially, a debounce function is a applied while the user drags the slider. When they're done, it resets to the original intended transform of the entire slider. It also seems they animate the whole thing, not just by element.
from manawave.
Related Issues (20)
- Fix type export error
- Flesh out reference documentation
- onLayoutHook lacking initialSize input
- Make index scrollbar dark
- Update Project Readme's
- Flesh out examples
- Bump webdriverio and merge configs HOT 1
- Add test flow to CI / CD HOT 1
- High speed to slow speed causes desync HOT 1
- Modifying element in hook causes visual artifacts
- Enable code coverage on test reports
- Change contribution references on homepage
- Add customized signature and banner onto README and link preview
- Add Favicon to Docs
- Update title of Docs HOT 1
- Add credits
- Create a demo page with all the different CSS layout options
- Clean up examples testing folder
- feat: Rewrite setup functions
- repo: Migrate to vitest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manawave.