
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
github.com/as27/gop5js
Call p5.js from Go
To program something with p5.js is real fun, because it shows what happens. gop5js gives you the possibility to use p5.js together with go. You write your code in Go and you can see the results in your browser.
To install just use go get
go get github.com/as27/gop5js
func()
gop5js.Serve()
func main() {
gop5js.CanvasHeight = 400
gop5js.CanvasWidth = 400
gop5js.Draw = draw
gop5js.Serve()
}
func draw() {
gop5js.Background("127")
gop5js.Ellipse(20, 20, 30, 30)
gop5js.Rect(100, 100, 20, 20)
gop5js.Text("some text here", 20, 200)
}
FAQs
Unknown package
Did you know?
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.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.