EmbarkStudios / texture-synthesis

🎨 Example-based texture synthesis written in Rust 🦀

Home Page:http://embark.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

web interface for texture synthesis

Hugo-Trentesaux opened this issue · comments

Hi there!

I have a friend (https://davidberrebi.com/) who wanted to use texture-synthesis software for some of his art work, but he could not manage to use the CLI. I helped him to use it but realized that not anybody is comfortable with this kind of interface. That's why I started to write a GUI for texture-synthesis.
My choice came to the web, because it's easy to use and quite universal. Webassembly lacking multithreading support, I came to a simple wesocket API and a js frontend. My proof of concept is available here and I would like to know if you are interested in this before investing the time needed to submit a proper pull request to your project.

By the way, when looking for "texture synthesis" on GitHub, I found two other repositories who did something similar to you (1, 2). Have you already heard about them?

If we ever did make some kind of official GUI it would most likely be in a separate library (and we might even pull the CLI out to its own at some point), but that being said, we have plans to add a C FFI layer #68 so that the library can be consumed more easily in any language so that people can build whatever they want on top of the library.

If you want to make a web GUI for this repo we would be happy to link it as an "unofficial" additional resource link in our README though!

it would most likely be in a separate library

I wrote it in a separate Rust crate (it is then in a separate library).
We can still choose to include it in the same project (multi-crate project).

It's still ok if you prefer to link it as an extern additional resource.

Sorry, I meant a separate repo, not a separate library in that instance.

The project now has it's own repo and depends on the 0.7.1 version of texture-synthesis. I'll tell you when it has most of the features available from the command line.