Value | Color |
---|---|
\e[0;30m | Black |
\e[0;31m | Red |
\e[0;32m | Green |
\e[0;33m | Yellow |
\e[0;34m | Blue |
\e[0;35m | Purple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[cfg(any(target_os = "linux", target_os = "macos"))] | |
mod unix { | |
use std::{ | |
ffi::{c_int, c_long, c_void}, | |
ptr, | |
}; | |
const PROT_NONE: c_int = 0; | |
const PROT_READ: c_int = 1; | |
const PROT_WRITE: c_int = 2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example created by Speykious | |
add_library('fisica') | |
world = FWorld() | |
def setup(): | |
size(1000, 600) | |
smooth() | |
frameRate(60) | |
Fisica.init(this) |