🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/akosgarai/webgl-cube-editor

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/akosgarai/webgl-cube-editor

v0.0.0-20210718162233-c1dcaf162fa7
Source
Go
Version published
Created
Source

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/

FAQs

Package last updated on 18 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts