Git Product home page Git Product logo

basic-go-gl's Introduction

Basic Golang OpenGL example

This project uses Go-Gl to create a scene with OpenGL and play with it.

Dependencies

This package uses go modules. Whenever you run go build or go test all dependencies will be downloaded automatically. See go.mod and go.sum to see all modules used by this package.

  • OpenGL for Go: github.com/go-gl/gl/v2.1/gl
  • GLFW: github.com/go-gl/glfw/v3.3/glfw

Usage

To execute this example program you can use the make run command, it will build the golang executable and run the example program. After the program execution the command will remove the golang executable it has created.

Commands

  • make run: build and run the program
  • make: will build all the files needed

Result

When running this example program, the program will create an white window and present 2 squares (cars) with spinning sirens (X). One car is blue and the other is red.

You can press q or ESC to quit the program.

basic-go-gl's People

Contributors

arielril avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.