Drawing wave functioning