Hi Brennan,
OutSystems does not have an out-of-the-box functionality for that. However, if you know of a JavaScript library that does that, you can integrate it into OutSystems.
Also, can you give some more info on what you want to achieve? What do you mean that "you want to get a 2d drawing as output"? Do you want an action to draw something on the page when you call it with certain wdh parameters, or do you want an action to return a binary, that contains a png of a 2d drawing or something?