195 karma · joined September 19, 2014
It’s a procgen algorithm that takes small image as input and generates a larger one with similar local features. I hope to add tiled method to the library some time.
Just a bit of a context: Wave Collapse Function is a method for procedural generation of images that are locally similar to the (much smaller) input image. It’s been used, for example, in roguelikes to support level generation.
Interesting model, could you share how this worked out for you? Good and bad?
See §6.2.6.2 in http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf
Unsigned integers are binary, while signed integers are allowed one of three well-defined representations.
Here’s an excellent book: C Programming: A Modern Approach, by King.
Avoid online tutorials, and know that there are many poor books on C, including the recommended here “Learn C the Hard Way”. It has factual problems; see under “Stuff that should be avoided” here: http://iso-9899.info/wiki/Main_Page
Note also, that unlike some other languages, C is not a language that you should learn by “trying things out”, due to the nature of “undefined behavior”.
Another recommendation would be to ask for CR on IRC.
Good luck!