Skip to content

Instantly share code, notes, and snippets.

View RenaudRohlinger's full-sized avatar
🖤
https://utsubo.com

Renaud Rohlinger RenaudRohlinger

🖤
https://utsubo.com
View GitHub Profile
@donmccurdy
donmccurdy / THREE_COLORSPACE_MANAGEMENT.md
Last active January 2, 2023 08:07
Color management in three.js
@rmartone
rmartone / compressedTextureAtlas.ts
Last active August 3, 2018 19:55
Simple example using phaser-ce texture atlas with compressed textures
import { Dictionary, ErrorCallback, parallel } from 'async';
import { AnimationParser, Cache } from 'phaser';
import { Client } from './client';
/**
* pending texture atlas 'complete' callbacks
*/
const pending: Dictionary<ErrorCallback<string>> = {};
/**
@ayamflow
ayamflow / MeshLine.js
Created February 29, 2016 16:34 — forked from superguigui/MeshLine.js
THREE.Meshline from spite in ES6 with update method
import THREE from 'three';
export default class MeshLine {
constructor() {
this.attributes = {};
this.positions = [];
this.geometry = new THREE.BufferGeometry();
this.widthCallback = null;
}