[go-nuts] Cogent Core, a cross-platform GUI framework in Go

2024-07-24 Thread Kai O'Reilly
our blog post <https://cogentcore.org/blog/initial-release>, which is an interactive Cogent Core app running on the web. Cheers, Kai O'Reilly and Randy O'Reilly -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsub

Re: [go-nuts] Writing bitmap data to a canvas with WebAssembly

2023-11-07 Thread Kai O'Reilly
onsidering “render > time” - otherwise you are talking apples and oranges. > > On Nov 7, 2023, at 9:43 PM, Kai O'Reilly wrote: > > For future reference for anyone who comes across this thread, you can > directly pass RGBA image data to a canvas, which is around 200 time

[go-nuts] Re: Writing bitmap data to a canvas with WebAssembly

2023-11-07 Thread Kai O'Reilly
For future reference for anyone who comes across this thread, you can directly pass RGBA image data to a canvas, which is around 200 times faster than encoding it to a PNG and rendering it to an offscreen image. Also, passing the unsafe pointer to the slice to JavaScript instead of copying the