sin

command
v0.0.0-...-a3e6692 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: CC0-1.0 Imports: 13 Imported by: 0

README

Drawing a sin curve

This example uses package wire to draw a sin curve as it appears from a perspective and orthographic camera and from various positions.

Dependencies

Package wire depends on GLFW. GLFW has its own dependencies; on Ubuntu for example you need the libgl1-mesa-dev and xorg-dev packages:

sudo apt install libgl1-mesa-dev xorg-dev

Run the example

To run the example from a terminal, with the current working directory as this directory, execute the command:

go run .

Example output

sin curves

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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