Skip to content

An implementation of the Diamond-square algorithm in C++

Notifications You must be signed in to change notification settings

Vesther/Cloud-Fractal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

A implementation of the Diamond-square algorithm in C++

This is a short C++ program which generates a random midpoint displacement fractal, also known as a Plasma/Cloud fractal using the Diamond-square algorithm.

The resulting image is displayed in a OpenGL/GLUT window and written to a PGM file.

Note: Requires GLUT.

Press escape to quit the program, press space to generate a new random fractal.

Sample

About

An implementation of the Diamond-square algorithm in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages