Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Over the last few weeks I was working on SwissGL, tiny JS graphics library with a single function that does everything. Demos: Code:

59,011 Aufrufe • vor 3 Jahren •via X (Twitter)

10 Kommentare

Profilbild von Alex Mordvintsev
Alex Mordvintsevvor 3 Jahren

The library is just ~500loc, no dependencies. I made it because I got tired writing WebGL boilerplates for gpu simulations and visualizations again and again. The focus is in brevity and expressivity, none of demos I made it longer than 100 lines

Profilbild von Adam Stox
Adam Stoxvor 3 Jahren

This is so cool!! But where was this a few months ago when I gave up on web graphics frameworks and decided to teach myself webGL?? *cries in precision highp float*

Profilbild von Alex Mordvintsev
Alex Mordvintsevvor 3 Jahren

Don't worry, you still need to write everything in glsl. SwissGL is there to take care of boring verbose WebGL stuff

Profilbild von MB333
MB333vor 3 Jahren

Physarum is so good! amazing work

Profilbild von ECKER_O_
ECKER_O_vor 3 Jahren

This is awesome! Thank you! Will try it out. And I think it still pays off learning webgl and understanding what’s going on even when using great tools like this. Webgl is horrible to debug if you don’t have a clue. Been there…

Profilbild von Alex Mordvintsev
Alex Mordvintsevvor 3 Jahren

This tiny library impies good understanding of WebGL, it's just a helper handle object management, so that we could focus on interesting parts

Profilbild von ▥⟣▥⟣ ⦓ ⧉ ⦔ ▥⬡◫
▥⟣▥⟣ ⦓ ⧉ ⦔ ▥⬡◫vor 3 Jahren

Is there a way i could turn this into a music visualizer?

Profilbild von dek
dekvor 3 Jahren

hey, does it support loading / drawing of (image) textures?

Profilbild von Alex Mordvintsev
Alex Mordvintsevvor 3 Jahren

There is 'data' attribute, but I didn't try passing anything other than TypedArray yet (Spectrogram demo). I need to make an example on using external textures

Profilbild von Marcin Ignac
Marcin Ignacvor 2 Jahren

@ajflores1604 Thanks for pex-context mention!

Ähnliche Videos