-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
646 additions
and
463 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
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
Binary file not shown.
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,17 +1,20 @@ | ||
# Guide: | ||
|
||
When you run the `main.py` file you will see three common types of FrostedGlass implementations: static, static with a moving background, and moving with a static background. | ||
In terms of performance, there is no significant difference between the first and second implementations (which have high performance). However, the third implementation may have a slight drop in FPS on some devices, as it needs to update the FBO every time the *FrostedGlass* is moved. *What can be targeted for improvement by contributors!* | ||
When you run the `main.py` file you will see four common types of `FrostedGlass` implementations: | ||
- STATIC → static `FrostedGlass` and static `background` | ||
- MOVING BACKGROUND → static `FrostedGlass` and moving `background` | ||
- MOVING FrostedGlass → `FrostedGlass` moving with a static `background` | ||
- INSIDE MODALVIEW → `FrostedGlass` inside `ModalView`. | ||
|
||
The main intention is to give a basic idea of how to combine FrostedGlass with the rest of the UI. These are just some of the many possible combinations you can make. *The creativity is yours!* | ||
The main intention is to give a basic idea of how to combine `FrostedGlass` with the rest of the UI. These are just some of the many possible combinations you can make. *The creativity is yours!* | ||
|
||
An FPS meter (`fps_monitor.py`) will also be imported and used to display the current performance of the UI. But attention, its use is indicated only for development purposes and contribution to the FrostedGlass project widget. For final product uses, perform conventional import and use as described on the project homepage: [*Import and Usage*](https://github.com/kivy-garden/frostedglass/blob/main/README.md#import) | ||
An FPS meter (`fps_monitor.py`) will also be imported and used to display the current FPS of the UI. But attention, its use is indicated only for development purposes and contribution to the `FrostedGlass` project widget. For final product uses, perform conventional import and use as described on the project homepage: [*Import and Usage*](https://github.com/kivy-garden/frostedglass/blob/main/README.md#import) | ||
|
||
### For contributors: | ||
|
||
The contents of this folder are ready to be used on any operating system supported by Kivy. The FPS indicator will be imported and used automatically as mentioned above and will help you to track the performance of the UI while improving the performance, quality and usability of the FrostedGlass widget. The contents of this folder will help you improve FrostedGlass, but you don't have to limit yourself to it, of course! | ||
The contents of this folder are ready to be used on any platforms supported by Kivy. The FPS indicator will be imported and used automatically as mentioned above and will help you to track the performance of the UI while improving the quality, usability and performance of the `FrostedGlass` widget. The contents of this folder will help you improve `FrostedGlass`, but you don't have to limit yourself to it, of course! | ||
|
||
|
||
# Examples overview: | ||
|
||
https://user-images.githubusercontent.com/73297572/157085704-6fa4c48b-ba9a-4fb3-9ef1-a59088a89622.mp4 | ||
https://user-images.githubusercontent.com/73297572/214140662-8703ef05-ff28-4712-a081-519624e3b5ba.mp4 |
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.