Platform
Resources
Pricing
Sign in
Contact us
Sumant Pattanaik
Workspace
Fork
Published
2 collections
By
Sumant Pattanaik
Edited
Sep 24, 2021
ISC
1 fork
Importers
5 stars
CAP 4720 2021
Parametric curve
CAP 4720: Introduction to Observable
Useful Javascript Array functions.
Vectors and vector Algebra
Example Use of TWGL Math Library
Intro to WebGL Programming using twgl.
Point In front or back of A Plane
Rasterization & Interpolation
Barycentric Coordinates
Model Loaders using ThreeJS
Diffuse lighting: Lambert Cosine Model.
Shade Due to Diffuse Lighting
Orbit Camera
SpotLight and its effect in Lighting.
Normal Matrix
Specular lighting Model
Diffuse + Specular + Ambient Lighting
WebGL Texturing using twgl.
WebGL/twgl Rendering of Multipart Model with Texture
Skybox rendering using Cubemap.
Stenciling Example
Silhouette Edge
Shadow Projection of 3D Objects
Fragment Inside/Outside Volume
Inbeweening using Tween.js: 1
Rotations
Ray-Scene (2D) intersection
Rotor Quaternion
SLERP: Spherical Linear Interpolation
Also listed in…
Computer Graphics Fundamentals
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
md
`## Shaders and Programs`
Insert cell
triangleProgramInfo
=
twgl
.
createProgramInfo
(
gl
,
[
vertShader1
,
fragShader
]
)
Insert cell
pointProgramInfo
=
twgl
.
createProgramInfo
(
gl
,
[
vertShader2
,
fragShader
]
)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
md
`## Useful Functions`
Insert cell
Insert cell
md
`## Libraries`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Listed in...
CAP 4720 2021
Sumant Pattanaik
Computer Graphics Fundamentals
Sumant Pattanaik
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
vertex0
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
vertex1
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
vertex2
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
PointSize
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
canvasWidth
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
canvasHeight
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
rasterizeTriangle
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
triangleProgramInfo
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
pointProgramInfo
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
vertShader1
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
fragShader
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
vertShader2
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
gl
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
hex2rgb
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
m4
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
v3
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
twgl
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML