Skip to content

Commit

Permalink
example clean up and bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Acepie committed Mar 21, 2024
1 parent b8f8751 commit ebae067
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions examples/minimal/src/minimal.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ fn setup(p: P5) -> String {
"Hello, world!"
}

fn draw(p: P5, state: String) -> Nil {
fn draw(p: P5, state: String) {
p5.background(p, "#ffffff")
p5.fill(p, "#000000")
p5.text(p, state, 400.0, 300.0)
Nil
}

pub fn main() {
Expand Down
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "p5js_gleam"
version = "1.0.0"
version = "1.0.1"
target = "javascript"

description = "A simple game library providing p5.js bindings for Gleam in a functional style to make basic games and animations. Heavily inspired by the Racket library 2htdp/universe"
Expand Down

0 comments on commit ebae067

Please sign in to comment.