@@ -19,34 +19,34 @@ class Assets:
1919 @staticmethod
2020 def street () -> Path :
2121 import pooch
22- return pooch .retrieve (
22+ return Path ( pooch .retrieve (
2323 url = "https://w.wallhaven.cc/full/e7/wallhaven-e778vr.jpg" ,
2424 known_hash = "xxh128:60f452b021f2ccb1e4a06d54bd27959d" ,
2525 path = shaderflow .directories .user_data_path ,
2626 progressbar = True ,
27- )
27+ ))
2828
2929 @staticmethod
3030 def ethereal () -> Path :
3131 import pooch
32- return pooch .retrieve (
32+ return Path ( pooch .retrieve (
3333 url = "https://w.wallhaven.cc/full/ex/wallhaven-ex6kmr.jpg" ,
3434 known_hash = "xxh128:86ceea1b29cae24b2c3b58d1c6a58c27" ,
3535 path = shaderflow .directories .user_data_path ,
3636 progressbar = True ,
37- )
37+ ))
3838
3939 @staticmethod
4040 def chungus () -> Path :
4141 """Big Buck Bunny video (CC BY-SA 3.0)"""
4242 import pooch
43- return pooch .retrieve (
43+ return Path ( pooch .retrieve (
4444 url = "https://download.blender.org/demo/movies/BBB/bbb_sunflower_1080p_60fps_normal.mp4.zip" ,
4545 known_hash = "xxh128:497645dbba6435312c9e5779c9c4cb70" ,
4646 path = shaderflow .directories .user_data_path ,
4747 processor = pooch .Unzip (),
4848 progressbar = True ,
49- )[0 ]
49+ )[0 ])
5050
5151# ---------------------------------------------------------------------------- #
5252
@@ -65,7 +65,7 @@ def build(self):
6565# ---------------------------------------------------------------------------- #
6666
6767class MultiShader (ShaderScene ):
68- """Basic scene with two shaders acting together, main shader referencing the child """
68+ """Basic scene with two shaders acting together"""
6969
7070 def build (self ):
7171 self .child = ShaderProgram (scene = self , name = "child" )
@@ -91,7 +91,7 @@ def build(self):
9191# ---------------------------------------------------------------------------- #
9292
9393class Multipass (ShaderScene ):
94- """Many Layers ('Buffers') done on a single shader"""
94+ """Multi layers done on a single shader"""
9595
9696 def build (self ):
9797 ShaderTexture (scene = self , name = "background" ).from_image (Assets .street ())
@@ -101,7 +101,7 @@ def build(self):
101101# ---------------------------------------------------------------------------- #
102102
103103class MotionBlur (ShaderScene ):
104- """Poor's man Motion Blur. If you dislike the effect, definitely don't run this """
104+ """Poor's man Motion Blur"""
105105
106106 def build (self ):
107107 ShaderTexture (scene = self , name = "background" ).from_image (Assets .street ())
0 commit comments