terrastruct / d2

D2 is a modern diagram scripting language that turns text to diagrams.
https://d2lang.com
Mozilla Public License 2.0
17.17k stars 425 forks source link

Feature: Add support for images & 3d objects #166

Open elasticdotventures opened 1 year ago

elasticdotventures commented 1 year ago

There are other issues/requests for 2d shapes.

I'd like to see the ability to add custom images & libraries (such as all the AWS network map Iconography)

While we're on the topic - do you know what would make that even cooler? (while you're planning such an awesome feature) Having 3d images which animate (spinning). It's fairly straightforward to extrude 2d shapes into 3d images.

Image objects that can be mapped with text, and hooked on an interactive canvas to display metrics. (i.e.: Server is on fire), easy to hook by object id and write to that via GRPC or similar mechanism.

This would would be useful in cases such as network maps & visualizing data as it moves through ML Pipelines.

alixander commented 1 year ago

It's fairly straightforward to extrude 2d shapes into 3d images.

like this?

Screen Shot 2023-05-01 at 4 39 58 PM
alixander commented 1 year ago

or this: https://codepen.io/sungaila/pen/LzMgjE