A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
What this guide covers:
import { Directive, ElementRef } from '@angular/core'; | |
@Directive({ selector: 'img' }) | |
export class LazyImgDirective { | |
constructor({ nativeElement }: ElementRef<HTMLImageElement>) { | |
const supports = 'loading' in HTMLImageElement.prototype; | |
if (supports) { | |
nativeElement.setAttribute('loading', 'lazy'); | |
} |