-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(wind-layer): refactor lineWidth to support min-max range
BREAKING CHANGE: lineWidth option now requires min-max range object instead of single number - Change lineWidth type from number to { min: number, max: number } - Set default lineWidth range to { min: 1, max: 2 } - Update shader to support dynamic line width based on particle speed - Update types and documentation - Update example to demonstrate new lineWidth configuration - Add lineWidth range control in ControlPanel component This change allows for more dynamic and visually appealing particle trails by varying the line width based on wind speed, similar to how line length works.
- Loading branch information
Showing
13 changed files
with
235 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,28 @@ | ||
# example | ||
|
||
## 0.7.0 | ||
|
||
### Minor Changes | ||
|
||
- feat(wind-layer): refactor lineWidth to support min-max range | ||
|
||
BREAKING CHANGE: lineWidth option now requires min-max range object instead of single number | ||
|
||
- Change lineWidth type from number to { min: number, max: number } | ||
- Set default lineWidth range to { min: 1, max: 2 } | ||
- Update shader to support dynamic line width based on particle speed | ||
- Update types and documentation | ||
- Update example to demonstrate new lineWidth configuration | ||
- Add lineWidth range control in ControlPanel component | ||
|
||
This change allows for more dynamic and visually appealing particle trails by varying | ||
the line width based on wind speed, similar to how line length works. | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies | ||
- [email protected] | ||
|
||
## 0.6.0 | ||
|
||
### Minor Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.