curtainsjs
framer/motion
curtainsjs | framer/motion | |
---|---|---|
3 | 45 | |
1,704 | 24,067 | |
0.5% | - | |
3.6 | 9.8 | |
6 months ago | 4 months ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
curtainsjs
-
How to recreate this animated background with distortion effect?
If you're purely wanting to add a shader effect then as a newcomer to the shader world I'd recommend curtainsjs as an easy way to add custom shaders without the hassle of having to deal with low level WebGL setup stuff. They even have a similar example with the mouse distortion effect where the code is much more readable and well commented with another codepen by the creator of curtains which has a more similar mouse flow effect that could be repurposed to be a post effect shader and distort the output of a gradient shader.
-
Web Effect
Curtainsjs - Lightweight vanilla WebGL JavaScript library that turns HTML DOM elements into interactive textured planes.
framer/motion
-
🚀 Framer Motion: Smooth Animations for React Apps
Framer Motion GitHub Repository
-
Top 15 Animation Libraries for React & Modern Javascript Apps
Framer Motion is a powerful animation library known for its ease of use and comprehensive features. It has over 22.8k stars on GitHub and is widely praised for its intuitive API.
-
How AnimatePresence in framer-motion works
The two most popular choices now (circa Jan 2024) are React Transition Group, started in 2016, and Framer Motion, started in 2018. I'm not too familiar with the former, so this article solely dives into the workings of AnimatePresence from Framer Motion and how it's able to enable exit animations.
- How can I make page transition like this using NextJS + Framer Motion?
-
Smooth Scrolling with React & Framer Motion
Install Framer Motion with npm install framer-motion.
-
5 Not-So-Typical React Libraries for an Outstanding Project
GitHub: https://github.com/framer/motion
-
"react-next-tilt" and "react-flip-tilt" NPM Packages
At this point, I was already using a tilt component (react-parallax-tilt) in my portfolio, and after checking this page I had the general idea of how it should be done, a container with transform-style: preserve-3d, with two children, one tilt and the other an image, both having backface-visibility: hidden and the tilt being rotated to face backward at the start. For the animation, I decided to use framer-motion because I was already familiar with it and knew it had what was needed to get the job done (and I'm glad I did because later I needed to await the animation and it was easy with framer-motion).
-
Motion UI in React
Two of the most popular animation libraries for React include React Spring [26.1k+ GitHub stars] and Framer Motion [19.6k+ GitHub stars], but there are many to choose from. Arafat Islam has a great list of animation libraries here.
- Best Animation packages for React.js , every frontend developer should use it
-
Framer Motion tutorial: How to easily create React animations
Why should you consider using Framer Motion in your React project? Framer Motion is a fairly popular and actively maintained library, with 19k stars on GitHub, and plenty of resources to support it.
What are some alternatives?
shader-web-background - Displays GLSL fragment shaders as a website background. Supports offscreen buffers and floating point textures on almost any browser and hardware. Compatible with Shadertoy.
react-spring - ✌️ A spring physics based React animation library
shadertoy-react - 6kB "Shadertoy" like react component letting you easily render your fragment shaders in your React web projects, without having to worry about implementing the WebGL part.
react-motion - A spring that solves your animation problems.
freeciv-web - Freeciv-web is an Open Source strategy game implemented in HTML5 and WebGL, which can be played online against other players, or in single player mode against AI opponents.
react-gsap-enhancer - Use the full power of React and GSAP together