Arcane Algorithm Archive
algorithm-archive.org
algorithm-archive.org
I've been learning SFML and the lack of direct code examples has been infuriating. Resources are explained in English (so paragraphs when a few lines of code would suffice), and the forums are 2/3 full of arrogant "we're not going to help you, just read the reference" posts, and are mostly outdated.
All I want(ed) to see is small code snippets for e.g. "get mouse position in map coordinates", "display text on the screen", "zoom on mouse position", "get mouse position in window/view coordinates", "create a gui box and determine size by text and center the text", "how to zoom without graphical glitches"
Part of the issue is that some are a snippet, but some are a few folders with a Makefile and some input data etc etc. So maybe I need a meta-snippet format for managing all of this
The Arcane Algorithm Archive - https://news.ycombinator.com/item?id=18575316 - Dec 2018 (7 comments)
https://github.com/algorithm-archivists/algorithm-archive/wi...