Sebastien Binet
Sebastien Binet
The `CPython` API is using varargs a lot. _e.g.:_ https://docs.python.org/2/c-api/arg.html ``` c int PyArg_ParseTuple(PyObject *args, const char *format, ...); int PyArg_ParseTupleAndKeywords(PyObject *args, PyObject *kw, const char *format, char *keywords[], ...);...
we should implement more of the [p5js](https://p5js.org) API: - https://p5js.org/reference/ - [x] path - [x] rotate - [x] scale - [x] transform - [x] push/pop - [x] bézier - [x]...
with Gio>=`v0.0.0-20210729070555-8cec7e04eb71` there appears to be a slight graphical hiccups when comparing an image produced with or w/o the libGL s/w renderer (the GitHubActions CI test on Linux falls back...
Update #6. Signed-off-by: Sebastien Binet
- [ ] `saveFrames` https://p5js.org/reference/#/p5/saveFrames
in Processing and in p5js, the state of the display is retained from iteration to iteration. right now, in p5, we don't (so, for example, in the `mouse-pressed` example, the...
right now, p5 relies on Gio to get its re-draw events, together with a little ticker goroutine (that ticks at the requested frequency, requesting Gio for redrawing the canvas). it's...
Currently, leaves uses a standalone matrix implementation that's almost completely binary compatible with gonum/mat.Dense implementation. It would be very beneficial to just use the one from gonum/mat. (Or, at least,...
This internal package makes quite extensive use calls to 'binary.Read'. This is very slow as it makes heavy use of reflection. One should use the binary.ByteOrder.PutUintXX and binary.ByteOrder.UintXX methods instead.
the following program: ```go package main import ( "log" "github.com/go-fonts/latin-modern/lmroman12regular" "github.com/golang/freetype/truetype" ) func main() { _, err := truetype.Parse(lmroman12regular.TTF) if err != nil { log.Fatalf("could not parse TTF data: %+v",...