First experiments in designing a JS canvas drawing library