impl points and lines demo for core
fix stroke bug for line width