anvaka / anvaka/VivaGraphJS

How to draw custom lines in webgl ?

Open
#202 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.9k
Forks
418
PR merge metrics
No merged PRs in 30d

Description

Hi,
how do I modify webglLineProgram to draw a path instead of a line?

using SVG I can use native and draw a path connecting A to B (fromPos and toPos in graphics.placeLink(function(ui, fromPos, toPos) { } )

Any simple way to do it in native webGL ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the WebGL line implementation referenced as webglLineProgram and compare it with the SVG path behavior in graphics.placeLink(function(ui, fromPos, toPos) { }). Determine whether the existing native WebGL renderer can represent a path connecting the supplied positions; done means documenting or implementing a clear way to draw that path.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.