1. [Publications](/publications)
2. Generating stratified random lines in a square
 
 # Generating stratified random lines in a square

  ![](/sites/default/files/styles/wide/public/publications/icon.png?itok=qGtmaDOK)

 When generating a set of uniformly distributed lines through a square, some care is needed to avoid bias in line orientation and position. We present a compact algorithm to generate unbiased uniformly distributed lines from a uniform point set over the unit square.



 ## Authors



Peter Shirley (NVIDIA)

[Chris Wyman](/person/chris-wyman)

 

 

 ## Publication Date



Friday, June 30, 2017

 

 ## Published in



[Journal of Computer Graphics Techniques](http://jcgt.org/published/0006/02/03/)

 

 ## Research Area



[Algorithms and Numerical Methods](/research-area/algorithms)

 

 

 ## Uploaded Files



[Paper](https://research.nvidia.com/sites/default/files/pubs/2017-06_Generating-stratified-random//Shirley2017Lines.pdf "Open file in new window")1.05 MB