Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
cs-terrain-generator
Advanced tools
Generate random fractal terrains for use in the game Cities: Skylines. Requires NodeJS/io.js to be installed.
npm install cs-terrain-generator -g
Simply run the executable to generate a PNG heightmap of the correct size.
cs-terrain-generator output.png
There are multiple options to customize the fractal generation, such as: smoothness, lower clip, and upper clip.
-s
: changes how "blurry" the final fractal looks. Lower values produce more discernable features. Must be between 0.0 and 1.0.-l
: clips data below a certain height value, which creates flat areas on the map. Great for generating oceans, ponds, canyons, etc. Value must be between 0 and 255.-u
: clips data above a certain height value, which helps to create plateaus. Value must be between 0 and 255.Here's an example command that could create some oceans and plateaus:
cs-terrain-generator -s 0.5 -l 60 -u 60 output.png
For more information on importing heightmaps into Cities: Skylines, check out the Skylines Wiki.
FAQs
Generates random terrains for use in Cities: Skylines.
The npm package cs-terrain-generator receives a total of 0 weekly downloads. As such, cs-terrain-generator popularity was classified as not popular.
We found that cs-terrain-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.