Bezier Curve

2025/12/27

Type
Learning Resource
Format
Glossary Article
Version
General
Subject Tags
Code
Assets
All else
Copyright 2016-2026, GDQuest
Created
2026/02/16
Updated
2025/12/27

Bezier Curve

A Bezier curve is a smooth curve defined by a series of control points, where the curve passes through start and end points but is shaped by intermediate control points that aren't necessarily on the curve itself.

Bezier curves are used a lot in computer graphics to create smooth, scalable paths, especially in vector graphics (in programs like Inkscape or Figma). They're also used in animation to define how an object moves between two points.

These game ssets are what we call vector drawings. These vector shapes are actually Bezier curves under the hood.
Bezier curve vector sprites

In games, Bezier curves are really useful for creating smooth movement paths or camera trajectories. You define a few key control points, and the curve smoothly interpolates between them.

Godot uses Bezier curves in several places: The Path2D and Path3D nodes use Bezier curves to define paths that characters or objects can follow. You can visually edit control points in the editor and then use PathFollow2D or PathFollow3D nodes to move objects along these paths.

In Advanced Mechanics: Node Essentials, we use a Bezier curve to define a path for a moving platform using a Path2D node.
Bezier curve in Advanced Mechanics: Node Essentials

You can also use them to define areas to spawn mobs or create camera paths.

A cubic Bezier curve (the most common type) uses four control points: two endpoints and two handles that control the curve's shape. When you adjust these handles, the curve bends differently without moving the endpoints themselves.

This diagram represents the points used to produce a smooth Bezier curve. P0 and P3 are the end points, and P1 and P2 are the control points. Image license: Public Domain, courtesy of Wikipedia.
A Bezier curve with two control points and two handles
Become an Indie Gamedev with GDQuest!

Don't stop here. Step-by-step tutorials are fun but they only take you so far.

Try one of our proven study programs to become an independent Gamedev truly capable of realizing the games you’ve always wanted to make.

Nathan

Founder and teacher at GDQuest
  • Starter Kit
  • Learn Gamedev from Zero
Check out GDSchool

You're welcome in our little community

Get help from peers and pros on GDQuest's Discord server!

20,000 membersJoin Server

Contribute to GDQuest's Free Library

There are multiple ways you can join our effort to create free and open source gamedev resources that are accessible to everyone!