fast-2d-poisson-disk-sampling
Koi
fast-2d-poisson-disk-sampling | Koi | |
---|---|---|
1 | 10 | |
28 | 372 | |
- | - | |
0.0 | 3.4 | |
almost 2 years ago | 6 months ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fast-2d-poisson-disk-sampling
-
Example of subdividing the map into random regions (Poisson + BFS)
1) Make a map (duh!), in our case it is Cellular Automata map 2) Generate some random points that will be our region centers. Those point should be evenly distributed across the map, and I used this Poisson algorithm to generate them https://github.com/kchapelier/fast-2d-poisson-disk-sampling. Amit also suggested that a jittered grid (https://www.redblobgames.com/x/1830-jittered-grid/) can be used. 3) Use BFS from each point to make Voronoi-like thing, much better explained and showed here https://www.redblobgames.com/pathfinding/distance-to-any/#region-growth
Koi
-
Generating and mutating procedural koi patterns for my koi breeding game. Source code & interactive example included.
The entire game is also open source.
-
An interactive tutorial & article about procedurally generating and mutating koi patterns
I've used this technique to make my game Koi Farm.
-
Inheritance Mechanics for Creature Generation
Speaking of Koi Farm, Koi Farm has its source open on GitHub: https://github.com/jobtalle/Koi
-
Koi Farm, my koi breeding game, is coming to iOS, and we're still looking for testers!
Koi farm (already out on Steam) is coming to iOS, and we're looking for a few more testers.
-
Electron Publishing
GitHub link for those interested.
-
The source code for Koi Farm, my koi breeding game, is now publicly available on GitHub
I've asked many other game developers about their opinion on publishing source code, since this rarely happens. Opinions vary, although the consensus is that there is no strong reason to either do it or not do it. Therefore, this is a bit of an experiment. I hope it facilitates modding, and maybe I can merge some mods into the base game. The code is released under the Apache 2.0 with Commons Clause license, meaning anyone is free to do what they want with the code except for selling it.
- Koi Farm has been made open source
What are some alternatives?
nexrender - 📹 Data-driven render automation for After Effects
itchio-godot-scraper - A scraper for Godot games hosted on https://itch.io.
shapez.io - shapez is an open source base building game on Steam inspired by factorio!
greenworks - a node.js plugin to integrate nw.js/electron games with steamworks
ScreepsAi - My screeps "ai"
Fantasy-Map-Generator - Web application generating interactive and highly customizable maps
GeneticAlgorithmPython - Source code of PyGAD, a Python 3 library for building the genetic algorithm and training machine learning algorithms (Keras & PyTorch).
MarkovNameGenerator - :black_nib: Markov process-based procedural name and word generator demo
KoiPattern - Koi pattern generation demo
fishdraw - procedurally generated fish drawings