react-cursive-handwrite
Version:
React component to animate cursive handwriting text
22 lines (21 loc) • 491 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultPath = void 0;
// src/fonts/defaultPath.ts
// This is a sample cursive path for the word "Hello"
exports.defaultPath = `M 20,40
C 20,40 40,20 60,20
S 80,20 80,40
S 60,60 40,60
S 20,60 20,40
M 100,20
C 100,20 120,20 120,40
S 120,60 100,60
M 140,20
L 140,60
M 160,20
C 160,20 180,20 180,40
S 180,60 160,60
M 200,20
C 200,20 220,20 220,40
S 220,60 200,60`;