This one is ascending. Please note the modification of line 20:
https://play.golang.org/p/qB8jCyVAJc9
The reason the first one is not is that you start the two threads virtually
at the same time, so when they come up for execution, they are neck and
neck and timing probably depends on the hard
Two slightly different version for what is is worth (not much):
checkKey:=func(k int) int {
if rl.IsKeyDown(k) {
return 1
}
return 0
}
p.Rect.X+=-checkKey(rl.KeyA)+checkKey(rl.KeyD)
p.Rect.Y+=-checkKey(rl.KeyW)+checkKey(,rl.KeyS)
or
checkKey:=func(m,p int) (i int) {
if rl.IsKeyDown(
Hi all,
There appear to be a lot of different paths to take as far as generics and
templates go (pun intended). Many of you I am sure have more experience and
have thought deeper about contracts and templates than I ever will. Also, I
am sure all experienced users and programmers know the joys
de optional). Also, I wanted to automatically support
>> things like JSON in the same way that a slice or map natively does, so an
>> end-user doesn’t have to struggle with all that themselves (and I don’t
>> ever have to deal with it again myself :) Anyway, in my estimation, the K
f these frameworks.
> Currently GoGi is focused on desktop systems, but nothing prevents
> adaptation to mobile.
>
> Right now the rendering is based off of a modified version of
> https://github.com/fogleman/gg, but I’m very interested in integrating
> the new rasterx system
Thanks. I just fixed a bug 2 minutes ago that I introduced while
refactoring, so you probably want to pull the new version. (Thanks to
Anthony Starks for pointing it out.)
On Saturday, April 28, 2018 at 1:21:41 PM UTC-7, Daniel Theophanes wrote:
>
> Thank you for looking into this! This looks gr
Hey everyone,
I looked into using just the rasterizer package from the
"golang.org/x/image/vector" package and tested it vs the rasterizer derived
from the freetype package. I will call these the GV and FT rasterizers. One
thing with the GV is that it only does non-zero-winding-rule, while the
23, 2018 at 3:42:55 PM UTC-7, Nigel Tao wrote:
>
> Nice!
>
>
> On Mon, Apr 23, 2018 at 3:41 AM, Steven Wiley > wrote:
>
>> I refactored and enhanced the raster package from the golang
>> translation of freetype, <https://github.com/golang/freetype>
>&g
Thank you!
FYI, here is a working link for the first release downloads
https://github.com/visualfc/liteide/releases/tag/x33.3
On Sunday, April 22, 2018 at 11:28:18 PM UTC-7, visualfc wrote:
>
> Hi all.
> LiteIDE x33.3 released!
> This version support import line jump to package source file, supp
Hi all,
I needed to write an SVG renderer; something that draws an SVG file onto an
image (not to be confused with an SVG generator such as SVGo). I wanted to
do this in native go, and not rely on wrapping pre-existing C code.
The golang 2D drawing packages I could find were not capable of ren
10 matches
Mail list logo