
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
react-rain-effect
Advanced tools
React wrapper for rain effect using web-gl inspired by https://freebiesbug.com/code-stuff/rain-drops-effect-with-webgl/
This project was bootstrapped with Create React App. Inspired by - https://freebiesbug.com/code-stuff/rain-drops-effect-with-webgl/ Code is extended from https://github.com/codrops/RainEffect
Run the following command:
npm install react-rain-effect
OR yarn add react-rain-effect
import { Weather } from 'react-rain-effect
<Weather type="rain"/>
type properties allowed - rain, drizzle, sunny, storm, fallout
Other properties allowed
Name | Description |
---|---|
temperature | number (if provided , will show the temperature passed) otherwise hide it |
textureOverrides | optional object, if passed, will override the default textures for each type () |
rainFg,rainBg,stormLightningFg, stormLightningBg, falloutFg,falloutBg,sunFg,sunBg, drizzleFg, drizzleBg | |
showTime | boolean (if provided, will show the time asa a day time string) |
import TextureRainFg from './background/background01.jpg';
const textureOverrides = {'falloutFg': TextureRainFg, 'falloutBg': TextureRainBg}
FAQs
React wrapper for rain effect using web-gl inspired by https://freebiesbug.com/code-stuff/rain-drops-effect-with-webgl/
The npm package react-rain-effect receives a total of 99 weekly downloads. As such, react-rain-effect popularity was classified as not popular.
We found that react-rain-effect demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.