Takagi curves