by Daniel Hansson (3 Submissions)
Category: Graphics
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (4 Votes)
This code uses a recursive function to generate a Bezier curve, based on any number of control points.
It also have an easy-to-use interface to control the curves.
Inputs
The main curve-code is placed in a class module for easy modular use in any application. It has a few functions to set up the curve and return coordinates.
API DeclarationsNo API's are used, but for easy speed up I recommend using SetPixel instead of Pset