How to slant a costume?

It's not really a problem, but i wanted to know how to make a costume look slanted.

I tried the stretch feature by making the width different on the costume
I'm bad at explaining so here's the illustration:

Close enough to what i wanted, but i didn't want any cuts

not particularly fast but this works

this is very basic, it only works for positive amounts and doesn't have any interpolation (non-integer amounts will be jagged)

the if block is used because the if expression iterates through lists instead of operating on them as a whole

Thanks! i was looking for a way to make Shadows btw... but i should've asked that before...

if you're trying to make shadows you need to give a lot more context, the whole geometry and perspective of the scene and the style of the rest of the project needs to be taken into account

Turned the slanted costume monochrome and overlayed the original on top of it to give a basic effect

[edit - removed unnecessary csv packing/unpacking]

it would make more sense to set it to all black and divide the alpha by some number

This seems to give a more even, monochromatic look to it

very clever to use reshape and a super beautiful and useful result! I love this challenge and what it has turned into. See, stuff like this is what makes the Snap! community awesome. Thank you!