Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
Vipitis committed Nov 21, 2024
1 parent 039ece8 commit 2c36068
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/shadertoy_buffer_lovers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@

# shadertoy source: https://www.shadertoy.com/view/ssjyWc by FabriceNeyret2 (CC-BY-NC-SA-3.0?)

# current "bug": the string kinda floats off to the upper right corner, without any inputs... ? Likely to be some issue with the implementation of buffers.
shader_id = "ssjyWc"
json_path = Path(Path(__file__).parent, f"shader_{shader_id}.json")

shader = Shadertoy.from_json(json_path, resolution=(1024, 512))
shader = Shadertoy.from_json(json_path, resolution=(800, 450))

if __name__ == "__main__":
shader.show()

0 comments on commit 2c36068

Please sign in to comment.