CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-gl

Creates a WebGL context without a window for headless rendering and server-side graphics

Overall
score

96%

Overview
Eval results
Files

Evaluation results

70%

-15%

Server-Side Image Processor

WebGL 2.0 Context Creation

Criteria
Without context
With context

WebGL 2.0 Context Creation

50%

0%

Context Attributes Configuration

100%

100%

Clear Operations

100%

100%

Pixel Reading

100%

100%

Resource Cleanup

100%

100%

90%

73%

Multi-Region Renderer

Viewport and Scissor Configuration

Criteria
Without context
With context

WebGL Context Creation

100%

100%

Viewport Configuration

0%

60%

Scissor Test Enable

0%

100%

Scissor Box Configuration

0%

100%

Pixel Reading

0%

100%

Context Cleanup

40%

100%

100%

WebGL Context Configurator

Context Attribute Configuration

Criteria
Without context
With context

Uses createContext

100%

100%

Passes width/height

100%

100%

Uses options object

100%

100%

Configures alpha attribute

100%

100%

Configures depth attribute

100%

100%

Configures stencil attribute

100%

100%

Configures antialias attribute

100%

100%

Configures preserveDrawingBuffer

100%

100%

Maps config correctly

100%

100%

100%

20%

GPU Computation Progress Tracker

Sync Objects (WebGL 2)

Criteria
Without context
With context

Sync Object Creation

100%

100%

Sync Status Querying

0%

100%

Client Wait Implementation

100%

100%

Sync Object Cleanup

100%

100%

Sequential Pass Execution

100%

100%

Progress Callback Timing

100%

100%

100%

Multi-Texture Blending Renderer

Texture Unit Selection (activeTexture)

Criteria
Without context
With context

Context Creation

100%

100%

Texture Creation

100%

100%

Texture Binding

100%

100%

activeTexture Usage

100%

100%

Texture Data Upload

100%

100%

Texture Parameters

100%

100%

Shader Uniforms

100%

100%

Framebuffer Reading

100%

100%

100%

WebGL Checkerboard Texture Generator

Texture Creation and Upload (texImage2D)

Criteria
Without context
With context

Context creation

100%

100%

Texture object creation

100%

100%

Texture binding

100%

100%

texImage2D usage

100%

100%

MIN_FILTER parameter

100%

100%

MAG_FILTER parameter

100%

100%

Correct data format

100%

100%

Returns required values

100%

100%

100%

Colored Triangle Renderer

Vertex Attribute Configuration (vertexAttribPointer)

Criteria
Without context
With context

Buffer creation

100%

100%

Buffer data upload

100%

100%

Attribute location retrieval

100%

100%

Position attribute pointer

100%

100%

Color attribute pointer

100%

100%

Enable position attribute

100%

100%

Enable color attribute

100%

100%

Correct data layout

100%

100%

100%

WebGL State Manager

State Management (enable, disable, isEnabled)

Criteria
Without context
With context

Uses gl.enable()

100%

100%

Uses gl.disable()

100%

100%

Uses gl.isEnabled()

100%

100%

Correct parameter passing

100%

100%

100%

Image Color Analyzer

Pixel Reading (readPixels)

Criteria
Without context
With context

Context Creation

100%

100%

readPixels Usage

100%

100%

Pixel Buffer Allocation

100%

100%

Viewport and Rendering

100%

100%

Pixel Data Processing

100%

100%

Return Value Structure

100%

100%

98%

8%

Texture Filter Manager

Sampler Objects (WebGL 2)

Criteria
Without context
With context

Sampler Creation

100%

100%

Parameter Configuration

100%

100%

Sampler Binding

100%

100%

Multiple Texture Units

100%

100%

Sampler Deletion

100%

100%

WebGL 2 Context

0%

80%

Install with Tessl CLI

npx tessl i tessl/npm-gl
Evaluated
Agent
Claude Code

Table of Contents