Skip to content

akosgarai/webgl-cube-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cube editor with webgl

This application is a POC application for myself. It is possible to write a webgl application without writing a single line of javascript code.

Generate js code

This tool uses the gopherjs application for compiling the go code to javascript. Use the go get command to get and install gopherjs.

go get -u github.com/gopherjs/gopherjs

Next set the environment variable that is required by the gopherjs. (Put it into your zshrc or bashrc file.)

export GOPHERJS_GOROOT="$(go env GOROOT)"

Compile the code with the following command:

gopherjs build -o docs/webgl-cube-editor.js

Demo page

https://akosgarai.github.io/webgl-cube-editor/

About

threejs code generated from golang code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages