aboutsummaryrefslogtreecommitdiff
path: root/helper.c
AgeCommit message (Collapse)Author
2020-05-19Back to basic SDL application boilerplateCharles
2019-09-22SupersamplingCharles
- Random supersampling (prettier but quite slow) - WIP: bette color gradient
2019-09-20Parallel computation, pixel arrayCharles
- All the pixels are stored in an array, put in a surface then a texture so we don't draw each pixel one by one. - The computation of this array is done in parallel (one thread by line) - Use sscanf instead of atoi hack to parse options
2019-08-27Set visualizationCharles
Loop throught each pixel and color it black if its in the set, white otherwise. This is eavily inspired by the coding train video on the subject. (https://www.youtube.com/watch?v=6z7GQewK-Ks)