Skip to content

Instantly share code, notes, and snippets.

View krishna2nd's full-sized avatar
🎯
Focusing

Krishna krishna2nd

🎯
Focusing
View GitHub Profile
@krishna2nd
krishna2nd / WebGL-WebGPU-frameworks-libraries.md
Created March 29, 2025 09:47 — forked from dmnsgn/WebGL-WebGPU-frameworks-libraries.md
A collection of WebGL and WebGPU frameworks and libraries

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.

Engines and libraries βš™οΈ

Name Stars Last Commit Description
three.js ![GitHub
@krishna2nd
krishna2nd / Sum Curry function with extensibility
Last active September 13, 2019 08:50
Curry function to find sum of integers with different parameter usage
function sum() {
let args = [...arguments];
if (args.length > 2) {
let sumValue = 0;
args.forEach(arg => {
sumValue += arg;
});
return sumValue;
}
if (args.length === 2) {
@krishna2nd
krishna2nd / dabblet.css
Created July 18, 2018 07:01 — forked from htmlr/dabblet.css
Webkit CSS3 Reflection with Box Shadow
/**
* CSS 3 Reflection with Box Shadow
*/
figure {
position:relative;
display:block;
width:96px;
}
@krishna2nd
krishna2nd / destructuring.js
Created April 24, 2018 09:29 — forked from mikaelbr/destructuring.js
Several demos and usages for ES6 destructuring. Runnable demos and slides about the same topic: http://git.mikaelb.net/presentations/bartjs/destructuring
// === Arrays
var [a, b] = [1, 2];
console.log(a, b);
//=> 1 2
// Use from functions, only select from pattern
var foo = () => [1, 2, 3];
@krishna2nd
krishna2nd / index.html
Created February 9, 2018 16:12
Twitter Heart
<div class="heart"></div>
@krishna2nd
krishna2nd / react_samples_list.md
Created February 9, 2018 16:06 — forked from jpalala/react_samples_list.md
React Samples List
@krishna2nd
krishna2nd / gist:da4dcec65fe17134da1d8f50efca484e
Created January 15, 2018 07:26 — forked from alimd/gist:3344523
All github Emoji (Smiles)

All github Emoji (Smiles)

ali.md/emoji

:bowtie: | πŸ˜„ | πŸ˜† | 😊 | πŸ˜ƒ | ☺️ | 😏 | 😍 | 😘 | :kissing_face: | 😳 | 😌 | πŸ˜† | 😁 | πŸ˜‰ | :wink2: | πŸ‘… | πŸ˜’ | πŸ˜… | πŸ˜“

😩 | πŸ˜” | 😞 | πŸ˜– | 😨 | 😰 | 😣 | 😒 | 😭 | πŸ˜‚ | 😲 | 😱 | :neckbeard: | 😫 | 😠 | 😑 | 😀 | πŸ˜ͺ | πŸ˜‹ | 😷

😎 | 😡 | πŸ‘Ώ | 😈 | 😐 | 😢 | πŸ˜‡ | πŸ‘½ | πŸ’› | πŸ’™ | πŸ’œ | ❀️ | πŸ’š | πŸ’” | πŸ’“ | πŸ’— | πŸ’• | πŸ’ž | πŸ’˜ | ✨

@krishna2nd
krishna2nd / react-intl-en.js
Created December 25, 2017 02:38
Sample React intl file
!function(e, a) {
"object" == typeof exports && "undefined" != typeof module ? module.exports = a() : "function" == typeof define && define.amd ? define(a) : (e.ReactIntlLocaleData = e.ReactIntlLocaleData || {},
e.ReactIntlLocaleData.en = a())
}(this, function() {
"use strict";
return [{
locale: "en",
pluralRuleFunction: function(e, a) {
var n = String(e).split(".")
, l = !n[1]
?
1
2
3
4
5
6
7
8
9