##Pyth, 30

    jb_u+G+*leGd*HNu+N+^3hTNUQ]1]k

This is a program that takes input from STDIN and uses grc's method of finding the Cantor set. Uses the " character to display the curve.

[Try it online here.](https://pyth.herokuapp.com/)