surface

command
v0.0.0-...-d4efea6 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: MIT Imports: 2 Imported by: 0

README

  • Exercise 3.1: If the function f returns a non-finite float64 value, the SVG file will contain invalid elements (although many SVG renderers handle this gracefully). Modify the program to skip invalid polygons.
  • Exercise 3.2: Experiment with visualizations of other functions from the math package. Can you produce an egg box, moguls, or a saddle?
  • Exercise 3.3: Color each polygon based on its height, so that the peaks are colored red (#ff0000) and the valleys blue (#0000ff).

Just make test.svg file in each directory

go run main.go >test.svg

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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