svg-rasterizer

command module
v0.0.0-...-095ab7e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2021 License: MIT Imports: 3 Imported by: 0

README

svg-rasterizer

An software rasterizer using Go and Wasm that is displayed with WebGL in a browser environment.

It is not spec compliant or even close and was done to dive into some basics of how rasterizers work.

It is based on the CMU assignment for DrawSVG.

Building

First build the webasm file (run in root of this directory)

GOOS=js GOARCH=wasm go build -o o.wasm rasterizer/rasterizer.go

Then start an http server that has support for hosting wasm files properly

go run main.go

Finally go to

http://127.0.0.1:8080/

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL