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

Add advanced image usage tools with examples #870

Merged
merged 5 commits into from
Oct 4, 2024

Conversation

cjbrigato
Copy link
Contributor

Adds ReflectiveBoundTexture and Stateful abstraction Adds SurfaceLoaders to go with
Show usage of such new objects with examples:

  • loadimageAdvanced mimics loadimage but with new objects
  • asyncImage shows usage of states and events
  • paint is full featured paint with drawCommands and undo buffer for minimal footprint. Perfect for usage over socket and collaboration

Note: paint use embed.fs so you can just do go run github.com/AllenDang/giu/examples/paint@latest once it's merged :)

paintexample.1.webm

@cjbrigato
Copy link
Contributor Author

@gucio321 it passes linter.

Could you review again. This has been so much time and line since it started.

Adds ReflectiveBoundTexture and Stateful abstraction
Adds SurfaceLoaders to go with
Show usage of such new objects with examples:
* loadimageAdvanced mimics loadimage but with new objects
* asyncImage shows usage of states and events
* paint is full featured paint with drawCommands and undo buffer for
  minimal footprint. Perfect for usage over socket and collaboration
@cjbrigato cjbrigato force-pushed the advanced-image-usage branch from be27aea to 81ade50 Compare October 4, 2024 09:09
@cjbrigato
Copy link
Contributor Author

(rebased on upstream master)

Copy link
Collaborator

@gucio321 gucio321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, Paint is awesome 🎉

@gucio321 gucio321 merged commit 2fc7d72 into AllenDang:master Oct 4, 2024
4 checks passed
@cjbrigato
Copy link
Contributor Author

if you like paint, you'll like the incoming version with "collaborative realtime paint" over giu :p (hence the "Drawcommands" and buffers: it's made for sending and receiving states over sockets 🗡️ )

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

Successfully merging this pull request may close these issues.

2 participants