drawing tori on the custom NSView