Skip to content

alphabitserial/glee_gd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glee_gd

Package Version Hex Docs

Gleam bindings for the Erlang Graphical Drawer (EGD) library.

gleam add glee_gd
import glee_gd

pub fn main() {
  let image = glee_gd.create(500, 500)
  let color = glee_gd.color(#(109, 74, 126))
  glee_gd.filled_ellipse(image, #(100, 400), #(400, 100), color)
  let binary = glee_gd.render(image)
  // Do something with binary in memory or write it to a file.
}

Further documentation can be found at https://hexdocs.pm/glee_gd.

Development

gleam test  # Run the tests

About

Gleam bindings for erlang/egd.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 95.3%
  • Gleam 4.7%