# Weekly Programming Challenge #16

DevFeed: [Weekly Programming Challenge #16](<https://devfeed.tech/articles/weekly-programming-challenge-16-21097.md>)

Original publisher: [Read original article](<http://weblog.jamisbuck.org/2016/11/12/weekly-programming-challenge-16.html>)

Author: Jamis

Published: 2016-11-12T07:00:00Z

Content type: tutorial

Language: en

Sources: [Jamis Buck](<https://devfeed.tech/sources/jamis-buck.md>)

Topics: [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [code](<https://devfeed.tech/tags/code.md>), [function](<https://devfeed.tech/tags/function.md>), [image](<https://devfeed.tech/tags/image.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [pixel](<https://devfeed.tech/tags/pixel.md>), [programming](<https://devfeed.tech/tags/programming.md>)

## AI overview

This weekly programming challenge introduces the midpoint displacement algorithm for generating a fractal line. It explains the recursive midpoint-offset process and defines normal-mode requirements for accepting offset parameters and producing an image.

## Source excerpt

The Midpoint Displacement Algorithm -- 4-minute read