Code Monkey home page Code Monkey logo

Comments (8)

SardineFish avatar SardineFish commented on August 28, 2024 1

Set backgroundBlurSteps to 0 should help :)

from raindrop-fx.

smallma avatar smallma commented on August 28, 2024

"Sorry for not explaining clearly. I want to make the blurred background clear. Setting the 'backgroundBlurSteps' value to 0 just turns the raindrops black (as shown below). What I want is to have the background clear in the background. Thank you.

image

from raindrop-fx.

SardineFish avatar SardineFish commented on August 28, 2024

That should be a BUG. I will fix it in few days.

from raindrop-fx.

smallma avatar smallma commented on August 28, 2024

@SardineFish Thank you

from raindrop-fx.

SardineFish avatar SardineFish commented on August 28, 2024

@smallma Try this PR by changing your package dependency to

"dependencies" : {
  "raindrop-fx" : "git+https://github.com/SardineFish/raindrop-fx.git#fix-background-blur"
}

Then you can disable background blur by setting backgroundBlurSteps to 0.
If works, I will merge it.

from raindrop-fx.

smallma avatar smallma commented on August 28, 2024

@SardineFish 非常感謝你的幫忙 但看起來還是不行, 我把背景換成清楚的版本和你提供的 js 原始碼 雨滴還是有破圖 再麻煩幫忙看看 謝謝
https://codepen.io/smallma009/pen/oNJdoew
image

from raindrop-fx.

SardineFish avatar SardineFish commented on August 28, 2024

我发现问题主要因为你的图片是带有透明的 PNG,图中的白色背景实际上是透明黑色 rgba(0, 0, 0, 1)。但是雨滴在渲染时不会采样 alpha 通道,所以得到了黑色。建议你可以更换一张背景图或是加上一个实色背景。我也会在后续加入对透明图片的支持

from raindrop-fx.

smallma avatar smallma commented on August 28, 2024

非常感謝你的協助 謝謝

from raindrop-fx.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.