Got to mess around with server side canvas'es for the first time today.

Having a REST API to image processing is actually pretty damn useful.

Considering adding an API to my image gen projects. If client side is suffering Abit just render your content statically and shove a blob into an img source for your thin clients.

I'm quite excited by the possibilities of it all.

I needed a rest API to generate some normal, height, specular and a custom mask map from an aldebo image based on a json specification of physical material properties.

So I utilised some inspiration from and now I just post my image blob and a json spec sheet to the API and the server will return to me my set of maps based on some snazzy math from conversion of physical properties to visual equvilants in 3D properties encoded to maps.

Sign in to participate in the conversation

Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them. Check out our Patreon to see our donations.