Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useBlur #138

Closed
takuma-hmng8 opened this issue Oct 1, 2024 · 2 comments
Closed

useBlur #138

takuma-hmng8 opened this issue Oct 1, 2024 · 2 comments
Assignees
Milestone

Comments

@takuma-hmng8
Copy link
Member

シンプルなガウシアンブラーにする方がパフォーマンスと描画結果が綺麗になりそう?

ref:

https://mofu-dev.com/blog/gooey-shader/

@takuma-hmng8 takuma-hmng8 added this to the v2 milestone Oct 1, 2024
@takuma-hmng8 takuma-hmng8 changed the title fix:useBlur useBlur Oct 1, 2024
@roku-ft
Copy link
Member

roku-ft commented Nov 11, 2024

@takuma-hmng8

どのように拡張性を持たせるか?

今後下記の様なブラー系の処理を複数扱うことを考え拡張性を考慮すべきだと思います。

  • ボックスブラー(Box Blur)
  • ガウシアンブラー(Gaussian Blur)
  • ラジアルブラー(Radial Blur)
  • モーションブラー(Motion Blur)
  • ブックス(レンズ)ブラー (Bokeh Blur)

選択肢としては、

  • useBlur内の引数で処理を切り替える
  • フックをグルーピングできる様なディレクトリ構造にしてまとまりを持たせる

のどちらかかなと思います。

roku-ft added a commit that referenced this issue Nov 12, 2024
@roku-ft roku-ft closed this as completed Nov 15, 2024
@roku-ft
Copy link
Member

roku-ft commented Nov 15, 2024

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants