Freigeben über


Draw Curve in Small Basic

Small Basic doesn't have operations to draw curve.  But you can easily to draw a Bezier curve.

Today I'd like to show how to draw quadratic Bezier curve in Small Basic.

Quadratic Bezier curve needs three control points.  Click three control points with my demo program KJG712.  Then you can get drawing curve animation like following picutre.

Comments

  • Anonymous
    June 09, 2015
    This is cool. The program helps a ton as I read through your code. Thanks!

  • Anonymous
    June 09, 2015
    The comment has been removed

  • Anonymous
    June 10, 2015
    Thanks qwx.  I rewrote your code to use only LitDev extension: KJG712-2. Press left or right Ctrl key for 4th, 6th, 8th and 10th points to draw smooth curve.

  • Anonymous
    June 10, 2015
    I also published Curve 0.2: smallbasic.com/program . This version draws both quadratic and cubic Bezier curves.

  • Anonymous
    June 11, 2015
    added object geneartion w mousewheel adjustments+rightclick menu FGV376

  • Anonymous
    June 11, 2015
    The comment has been removed

  • Anonymous
    June 12, 2015
    now added text on curve options: BXG803

  • Anonymous
    June 13, 2015
    now new opts: LLP992 •added text and font editing •text follow path angle •path hiding now u can unleash ur creativity...

  • Anonymous
    June 14, 2015
    code: MDR865 updated: main menu, reduced righclick menu, checkmarked options and copy as png file

  • Anonymous
    November 04, 2018
    I updated Cubic Bézier Curve Edit Demo to Version 0.2. The program ID is SFT077-0.