Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
@egman1/pixi-picture
Advanced tools
Readme
Allows to use blendModes that are not available in pure webgl implementation, such as PIXI.BLEND_MODES.OVERLAY
.
Please, don't add children to sprite if you use those blendModes.
Use PIXI.picture.Sprite
instead of PIXI.Sprite
.
Logic: if sprite has special blendMode, push corresponding filter PIXI.picture.getBlendFilter(blendMode)
, if area is too small (<1px), dont draw at all.
If you want to use this with any components - just look in the source of Sprite how its done.
Assigning a filter to component directly container.filters = [PIXI.picture.getBlendFilter(blendMode)]
should work too.
To be fixed: At the moment this implementation is a bit worse than v4, it uses extra pass for filter.
Enables backdropSampler
uniform in filters, works only if you render stage to renderTexture or you have a filter somewhere in parents.
Sample DisplacementFilter takes everything from container and applies it as a displacement texture on backdrop.
Compatible with PixiJS 5.3.2 and up. No guarantee for earlier versions!
For PixiJS v4.1
and prior see pixi-v4.1
branch
For PixiJS v4.7
and prior see pixi-v4.2
branch
For PixiJS v4.9
and prior see v4.x
branch , npm 1.3.2
npm install
npm run build
FAQs
PixiJS advanced filter renderer, implements advanced blending modes
The npm package @egman1/pixi-picture receives a total of 3 weekly downloads. As such, @egman1/pixi-picture popularity was classified as not popular.
We found that @egman1/pixi-picture 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.
Research
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.