Computer graphics algorithms | Digital geometry

Bresenham's line algorithm

Bresenham's line algorithm is a line drawing algorithm that determines the points of an n-dimensional raster that should be selected in order to form a close approximation to a straight line between two points. It is commonly used to draw line primitives in a bitmap image (e.g. on a computer screen), as it uses only integer addition, subtraction and bit shifting, all of which are very cheap operations in commonly used computer instruction sets such as x86_64. It is an incremental error algorithm, and one of the earliest algorithms developed in the field of computer graphics. An extension to the original algorithm may be used for drawing circles. While algorithms such as Wu's algorithm are also frequently used in modern computer graphics because they can support antialiasing, Bresenham's line algorithm is still important because of its speed and simplicity. The algorithm is used in hardware such as plotters and in the graphics chips of modern graphics cards. It can also be found in many software graphics libraries. Because the algorithm is very simple, it is often implemented in either the firmware or the graphics hardware of modern graphics cards. The label "Bresenham" is used today for a family of algorithms extending or modifying Bresenham's original algorithm. (Wikipedia).

Bresenham's line algorithm
Video thumbnail

Creating Digital Art Using Mathematica

This presentation features Robert Fine discussing his use of Mathematica to create digital art in narrative form. He briefly outlines his experience with Mathematica as part of his finance career and explains the origins of his interest in digital art as coming out of my interest in digita

From playlist Wolfram Technology Conference 2020

Video thumbnail

Vector Calculus 5: Vector Equation of a Straight Line

https://bit.ly/PavelPatreon https://lem.ma/LA - Linear Algebra on Lemma http://bit.ly/ITCYTNew - Dr. Grinfeld's Tensor Calculus textbook https://lem.ma/prep - Complete SAT Math Prep

From playlist Vector Calculus

Video thumbnail

Code-It-Yourself! Worms Part #1 (C++)

A nice big project to end the year with! Split into several parts, I show you how to create a game similar to the classic Worms! Written from scratch, in C++ Source: https://github.com/OneLoneCoder/Javidx9/tree/master/ConsoleGameEngine/BiggerProjects/Worms Discord: https://discord.gg/WhwH

From playlist Code-It-Yourself!

Video thumbnail

Find the Shortest Path - Intro to Algorithms

This video is part of an online course, Intro to Algorithms. Check out the course here: https://www.udacity.com/course/cs215.

From playlist Introduction to Algorithms

Video thumbnail

Representing A Graph - Intro to Algorithms

This video is part of an online course, Intro to Algorithms. Check out the course here: https://www.udacity.com/course/cs215.

From playlist Introduction to Algorithms

Video thumbnail

Tangent Line of Curve Parallel to A Line Calculus 1 AB

I work through an example to explain how to find tangent lines to a function that are parallel to a given line. Find free review test, useful notes and more at http://www.mathplane.com If you'd like to make a donation to support my efforts look for the "Tip the Teacher" button on my channe

From playlist Calculus

Video thumbnail

Introduction to Parametric Equations

This video defines a parametric equations and shows how to graph a parametric equation by hand. http://mathispower4u.yolasite.com/

From playlist Parametric Equations

Video thumbnail

A-Level Further Maths F1-01 Lines: Introducing the Vector Equation of a Line

Navigate all of my videos at https://sites.google.com/site/tlmaths314/ Like my Facebook Page: https://www.facebook.com/TLMaths-1943955188961592/ to keep updated Follow me on Instagram here: https://www.instagram.com/tlmaths/ Many, MANY thanks to Dean @deanencoded for designing my openin

From playlist A-Level Further Maths F1: Equations of Lines

Video thumbnail

Linear Equations from the Graph of the Line, No. 1

Shows how to write the equation of a line in the slope intercept from from the graph of the line. You can link to all my videos at my website: https://www.stepbystepscience.com

From playlist Algebra; Linear Equations

Video thumbnail

Can you crack the combination lock? - Solution

The sequence 11221 contains all 2-digit combinations using the numbers 1 and 2. A sequence such as that is called a De Bruijn sequence. I show you three methods to find such sequence. The first two involve making diagrams called graphs, and either taking a path that visits every node of

From playlist My Maths Videos

Video thumbnail

Dijkstra's Shortest Path Algorithm - Intro to Algorithms

This video is part of an online course, Intro to Algorithms. Check out the course here: https://www.udacity.com/course/cs215.

From playlist Introduction to Algorithms

Video thumbnail

Machine Learning Algorithms In-Depth Guide For 2022 | ML Algorithms Explained | Simplilearn

This video on Machine Learning Algorithm will take you through a detailed concept of machine learning algorithm. This video will help you to understand What is an Algorithm, What is Machine Learning, Types of Machine Learning, How Algorithms works in Machine Learning/Programing, Some popul

From playlist đŸ”¥Machine Learning | Machine Learning Tutorial For Beginners | Machine Learning Projects | Simplilearn | Updated Machine Learning Playlist 2023

Video thumbnail

Mobile Robotics, Part 3: Designing Line Following Algorithms

Learn how to design line following algorithms for a mobile robot. Enter the MATLAB and Simulink Primary and Secondary School Competitions Hub: https://bit.ly/2JBr3jf Download Example Files: https://bit.ly/2XNktPt ----------------------------------------------------------------------------

From playlist MATLAB and Simulink Mobile Robotics

Video thumbnail

Logistic Regression and the Perceptron Algorithm: A friendly introduction

Announcement: New Book by Luis Serrano! Grokking Machine Learning. bit.ly/grokkingML 40% discount code: serranoyt An introduction to logistic regression and the perceptron algorithm that requires very little math (no calculus or linear algebra), only a visual mind. 0:00 Introduction 0:08

From playlist General Machine Learning

Video thumbnail

Lecture 2. Introduction to Machine Learning

Data Science for Business. Lecture 2 slides: https://drive.google.com/file/d/195RvAyfT85FZwLN9TWAEpRYQH-ejtJu5/view?usp=sharing

From playlist Data Science for Business, 2022

Video thumbnail

Comparing Algorithms: Big O Notation

In this video we look at to how to compare ressource requirements of algorithms, independently from hardware, implementation etc. In doing so we will come across a useful, but infamous tool from the field of algorithms: big O notation 00:00 Ressource requirements and the scalability of al

From playlist All About Algorithms

Video thumbnail

CS50 VR 2016 - Week 7 - Machine Learning

This is Week 7 of CS50 2016 in 360º stereoscopic VR, shot on Nokia OZO. For the 2D version of Week 7, see https://youtu.be/dgt6IfEXgDk. 00:00:00 - Introduction 00:01:47 - Introducing Machine Learning 00:11:21 - Image Classification 00:17:13 - Flatland 00:19:35 - Lineland, Flatland, Spacel

From playlist CS50 VR Lectures 2016

Video thumbnail

CS50 2016 - Week 7 - Machine Learning

00:00:00 - Introduction 00:01:47 - Introducing Machine Learning 00:11:21 - Image Classification 00:17:13 - Flatland 00:19:35 - Lineland, Flatland, Spaceland, and Beyond 00:26:19 - Introducing Python 00:30:55 - Supervised Learning 00:43:52 - Python for Image Classification 00:56:01 - Deep L

From playlist CS50 Lectures 2016

Video thumbnail

Subtraction Empty Number Line

An alternate way for subtracting two whole numbers. PLEASE leave a message if a video has a technical difficulty (audio separating from the video). Occasionally, Explain Everything will do that, requiring me to re-render the video. Duane Habecker: https://about.me/duanehabecker Twitter:

From playlist All About Whole Numbers

Video thumbnail

Support Vector Machines (SVMs): A friendly introduction

Announcement: New Book by Luis Serrano! Grokking Machine Learning. bit.ly/grokkingML 40% discount code: serranoyt An introduction to support vector machines (SVMs) that requires very little math (no calculus or linear algebra), only a visual mind. This is the third of a series of three vi

From playlist General Machine Learning

Related pages

Midpoint circle algorithm | Raster graphics | Slope | Xiaolin Wu's line algorithm | Voxel | Spatial anti-aliasing | Line drawing algorithm | Bitwise operation