-
Notifications
You must be signed in to change notification settings - Fork 589
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
Use real paper scribbles #30
Comments
Hey @woutersf that's pretty neat. I have also had a lot of fun with my kids on this. Thanks for opening an issue and describing where you're stuck. Haven't looked at the code yet, but I think at a high level this should work. Your input will create a bitmap image, and that image should then be uploaded using the |
I am now wrestling with React to make a PR. 😅 |
Nice! Keep me posted. I can help out if needed. |
Hi,
Thanks for creating this. It really sparked the creativity for me and my kids. I could not resist thinking about adding the paper scribbels functionality to this.
(if this is not supposed to be a ticket, certainly close it and point me to the right direction.
I have created a fork: Paper sketch diffusion.
https://github.com/woutersf/paper-sketch-diffusion
The idea is to allow your input to also allow a picture of a paper sketch.
Therefor I added a button (not styled yet)
Which then promps the camera permission:
And you are allowed to take a picture of a sketch.
I also transform the sketch to black and white and threshold it (black or white contrast) so that it is "scribblable" .
I then want this image data to flow into the scribble (see red arrow above), This is where I'm stuck now.
I would like to know how to flow the image data I have and not use the canvas that was hand drawn.
You will see in my code that I have no clue about React.
woutersf@14a5f47
You can easily try it out since you don't even need the replicate key to get this working.
Any help is much appreciated.
The text was updated successfully, but these errors were encountered: