CS460 Computer Graphics - University of Massachusetts Boston

WebGL Support

Gecko Engine

Blink and V8

WebKit

Blink and V8

Presto

Blink and V8

EdgeHtml

Blink and V8

also has webdev tools...

let's try them!

You?

also has webdev tools...

let's try them!

You?

<canvas></canvas>

var ctx = c.getContext(           );

*.js

"2d"

"webgl"

"webgl2"

"experimental-webgl"

"webgpu"

All WebGL/WebGPU websites need a <canvas> element!

Frameworks make WebGL/WebGPU coding easier!

XTK

Three.js

Which framework is being used?

XTK

Three.js

Which framework is being used?

TOOFUZZYTOSTOP

Which framework is being used?

XTK

Three.js

#coolstuff

1. Find a great WebGL demo

2. Identify the framework used

Hello Cube!

Editor

Browser

Editor

Quiz Due Today!

submit your music

Lecture 2

By Daniel Haehn

Lecture 2

Slides for CS460 Computer Graphics at UMass Boston. See https://cs460.orghttps://cs460.org

  • 1,146