ScratchData LogoScratchData
Back to gtoal's profile

Filled Circle variation of Bresenham's

GTgtoal•Created February 26, 2015
Filled Circle variation of Bresenham's
6
3
269 views
View on Scratch

Instructions

GF. best viewed at zoom = 100% I don't think this expression of the algorithm will be transparency-friendly. It could be rewritten that way. The problem is that we're taking advantage of X/Y symmetry and drawing 1/8 of a circle at a time.

Description

This is a minor hack to http://scratch.mit.edu/projects/49800724/ to make Bresenham's Circle algorithm draw filled circles instead of just outlines. It's not that much more expensive in Scratch. (Mind you, pen down/pen up with a large pen size is generally more efficient!)

Project Details

Project ID49811492
CreatedFebruary 26, 2015
Last ModifiedSeptember 27, 2016
SharedFebruary 26, 2015
Visibilityvisible
CommentsAllowed