pink sand!
This commit is contained in:
parent
4e850668cd
commit
a808e7996b
4 changed files with 14 additions and 6 deletions
|
@ -8,3 +8,4 @@ edition = "2021"
|
|||
[dependencies]
|
||||
petri = { path = "../petri" }
|
||||
bevy = { version = "0.13", features = ["dynamic_linking"] }
|
||||
owo-colors = "4.0.0"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
use owo_colors::OwoColorize;
|
||||
use petri::{Cell, Dish, CHUNK_SIZE};
|
||||
|
||||
fn main() {
|
||||
|
@ -30,7 +31,7 @@ fn render_pixel_pair(dish: &Dish, x: usize, y: usize) {
|
|||
(true, false) => "▀",
|
||||
(true, true) => "█",
|
||||
};
|
||||
print!("{}", char);
|
||||
print!("{}", char.fg_rgb::<255, 147, 219>());
|
||||
}
|
||||
|
||||
pub fn wait_for_input() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue