# Anyone familiar with the Diamond - Square algorithm?

**URL:** <https://forums.unrealengine.com/t/anyone-familiar-with-the-diamond-square-algorithm/614231>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [July 26, 2022, 12:07am UTC](https://forums.unrealengine.com/t/anyone-familiar-with-the-diamond-square-algorithm/614231 "2022-07-26T00:07:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![UnrealEverything](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnrealEverything](https://forums.unrealengine.com/u/UnrealEverything)\
**Post date:** [July 26, 2022, 4:21am UTC](https://forums.unrealengine.com/t/anyone-familiar-with-the-diamond-square-algorithm/614231/3 "2022-07-26T04:21:49Z")

</div>

Isn’t Diamond-Square supposed to operate on powers-of-two plus 1 in both x and y dimensions? Neither the initial 14 nor the 15 after adding and additional row to make the initial size odd are valid inputs for the algorithm. But e.g. 17 would be valid as 2^4 + 1

---

_[View the full topic](https://forums.unrealengine.com/t/anyone-familiar-with-the-diamond-square-algorithm/614231)._
