private void getFromAttributes(Context context, AttributeSet attrs) {
        final TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.PatternView);
        try {
            circleSize = typedArray.getDimensionPixelSize(R.styleable.PatternView_circleSize, 200);
            circleColor = typedArray.getColor(R.styleable.PatternView_circleColor, Color.BLACK);
            dotColor = typedArray.getColor(R.styleable.PatternView_dotColor, Color.BLACK);
            pathColor = typedArray.getColor(R.styleable.PatternView_pathColor, Color.BLACK);
            gridColumns = typedArray.getInt(R.styleable.PatternView_gridColumns, 3);
            gridRows = typedArray.getInt(R.styleable.PatternView_gridRows, 3);
        } finally {
            typedArray.recycle();
        }
    }
the in progress point: - during interaction: where the user's finger is -
during animation: the current tip of the animating line
android-patternview/src/main/java/com/eftimoff/patternview/PatternView.java