MCPcopy Index your code
hub / github.com/bones-ai/rust-procedural-world

github.com/bones-ai/rust-procedural-world @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
49 symbols 80 edges 6 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Procedural World Generation

This repo showcases how to procedurally generate a simple world using perlin noise. It also includes a simple animated player character that can move around the world.

Refer Tutorial Section for a link to a youtube video tutorial.

Built in Rust using the Bevy game engine.

screenshot

Tutorials

Part 2

youtube

Part 1

youtube

Usage

  • Clone the repo
git clone git@github.com:bones-ai/rust-procedural-world.git
cd rust-procedural-world
  • Run the simulation
cargo run

Configurations

  • The project config file is located at src/configs.rs
  • To modify the terrain generation, update the thresholds in src/terrain.rs

Asset Page

https://polyducks.itch.io/kitchen-sink-textmode-font

Core symbols most depended-on inside this repo

is_land
called by 6
src/player.rs
grid_to_chunk
called by 4
src/utils.rs
world_to_grid
called by 3
src/utils.rs
is_jump
called by 3
src/player.rs
center_to_top_left_grid
called by 2
src/utils.rs
is_walk
called by 2
src/player.rs
grid_to_world
called by 1
src/utils.rs
center_to_top_left
called by 1
src/utils.rs

Shape

Function 23
Class 19
Method 6
Enum 1

Languages

Rust100%

Modules by API surface

src/player.rs25 symbols
src/terrain.rs15 symbols
src/utils.rs6 symbols
src/main.rs3 symbols

For agents

$ claude mcp add rust-procedural-world \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact