Bezier Self-X demo

Cubic Bezier Curve Self-X

Blue Curve: degree 3, control points, P0(230.00, 414.00), P1(538.00, 67.00), P2(118.00, 228.00), P3(304.00, 372.00);
Self Intersection point at: S0(281.821562022915089, 351.823676670808595); t1 = 0.065950318969598, t2 = 0.953428843861398;
Red Curve: degree 3, control points, P0(518.00, 276.00), P1(861.00, 541.00), P2(317.00, 467.00), P3(648.00, 253.00);
Self Intersection point at: S0(568.363063810895710, 318.074523048867775); t1 = 0.890366061129052, t2 = 0.057039506770568;

Cubic Bezier curve - data 1

Blue Curve: degree 3, control points, P0(443.00, 550.00), P1(735.00, 320.00), P2(167.00, 331.00), P3(585.00, 538.00);
Self Intersection point at: S0(503.276721160105751, 492.499277733034148); t1 = 0.092188454645879, t2 = 0.920746506184873;
Red Curve: degree 3, control points, P0(644.00, 465.00), P1(329.00, 399.00), P2(488.00, 629.00), P3(568.00, 365.00);
Self Intersection point at: S0(528.797211519462621, 452.734772756344455); t1 = 0.156534409290818, t2 = 0.850961842583245;

Cubic Bezier curve - data 2

Blue Curve: degree 3, control points, P0(691.00, 570.00), P1(209.00, 170.00), P2(457.00, 738.00), P3(613.00, 319.00);
Self Intersection point at: S0(531.587117922315315, 454.904570642326576); t1 = 0.834245067690145, t2 = 0.137337977155561;
Red Curve: degree 3, control points, P0(366.00, 566.00), P1(684.00, 117.00), P2(658.00, 666.00), P3(285.00, 422.00);
Self Intersection point at: S0(429.016565106291353, 484.244111969887172); t1 = 0.850521472145561, t2 = 0.071602327317529;

Cubic Bezier curve - data 3

Quartic Bezier Curve Self-X

Blue Curve: degree 4, control points, P0(264.00, 360.00), P1(518.00, 602.00), P2(225.00, 70.00), P3(165.00, 749.00), P4(418.00, 332.00);
Self Intersection point at: S0(351.480324324800279, 425.018209380468249); t0 = 0.144850066159719, t1 = 0.923602547504774; S1(357.904908967809092, 417.646739697024998); t2 = 0.260280905852207, t3 = 0.932200220480718; S2(313.213876696665807, 402.571952846605029); t4 = 0.059094202802168, t5 = 0.446597530835171;
Red Curve: degree 4, control points, P0(714.00, 395.00), P1(413.00, 539.00), P2(683.00, 160.00), P3(676.00, 706.00), P4(618.00, 404.00);
Self Intersection point at: S0(622.690658677607530, 427.013142991336338); t0 = 0.103096670294622, t1 = 0.979175333137089; S1(624.263477189409969, 434.105931859378700); t2 = 0.560901691022655, t3 = 0.971875152605705; S2(618.646862167006020, 427.629183987153340); t4 = 0.110018022015915, t5 = 0.533124375006936;

Quartic Bezier curve - data 1

Blue Curve: degree 4, control points, P0(377.00, 397.00), P1(126.00, 222.00), P2(576.00, 246.00), P3( 88.00, 411.00), P4(418.00, 377.00);
Self Intersection point at: S0(355.568454488317741, 381.146135011551621); t0 = 0.023593382976907, t1 = 0.940710182286574; S1(307.490398376237977, 331.416479939097087); t2 = 0.116084778772025, t3 = 0.645984704127069;
Red Curve: degree 4, control points, P0(678.00, 363.00), P1(269.00, 469.00), P2(645.00, 106.00), P3(689.00, 541.00), P4(523.00, 324.00);
Self Intersection point at: S0(531.853919391456884, 335.165884638423961); t0 = 0.427976964360680, t1 = 0.986308232411901; S1(582.861094062505344, 380.770589435669251); t2 = 0.072126029945558, t3 = 0.883082184209280; S2(607.236850366850263, 377.809523744966668); t4 = 0.050156519139489, t5 = 0.757838473265069;

Quartic Bezier curve - data 2

Blue Curve: degree 4, control points, P0(218.00, 291.00), P1(363.00, 615.00), P2(587.00, 99.00), P3( 35.00, 510.00), P4(386.00, 368.00);
Self Intersection point at: S0(306.692540204543150, 394.730824712493416); t0 = 0.152457567891810, t1 = 0.922493323263234; S1(372.014174748079029, 373.540505472162351); t2 = 0.392584785004931, t3 = 0.989628825085350; S2(281.437501740931964, 380.053865211908146); t4 = 0.106667266201696, t5 = 0.737075783013103;
Red Curve: degree 4, control points, P0(299.00, 520.00), P1(454.00, 185.00), P2( 24.00, 325.00), P3(601.00, 545.00), P4(271.00, 303.00);
Self Intersection point at: S0(324.657359300405346, 345.018550253624767); t0 = 0.223013039591413, t1 = 0.949605579657089; S1(306.555242193426466, 330.121215268106994); t2 = 0.348843771166975, t3 = 0.969357709261646; S2(333.205143459171154, 385.970383288766016); t4 = 0.136733518312200, t5 = 0.617893582383277;

Quartic Bezier curve - data 3