go-p5 / p5

p5 is a simple package that provides primitives resembling the ones exposed by p5js.org
https://go-p5.github.io/
BSD 3-Clause "New" or "Revised" License
146 stars 12 forks source link

p5: add {Draw,Read}Image #49

Closed sbinet closed 3 years ago

sbinet commented 3 years ago

Updates #6.

sbinet commented 3 years ago

PTAL @koxu1996

codecov[bot] commented 3 years ago

Codecov Report

Merging #49 (19116c7) into main (770290d) will increase coverage by 0.14%. The diff coverage is 84.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
+ Coverage   80.47%   80.62%   +0.14%     
==========================================
  Files           9        9              
  Lines         584      609      +25     
==========================================
+ Hits          470      491      +21     
- Misses         93       96       +3     
- Partials       21       22       +1     
Impacted Files Coverage Δ
proc.go 71.36% <82.60%> (+1.31%) :arrow_up:
api.go 62.96% <100.00%> (+2.96%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 770290d...19116c7. Read the comment docs.

koxu1996 commented 3 years ago

@sbinet It works great, thank you for such immediate action!

sbinet commented 3 years ago

thanks. here is the example in action: