Skip to content

Instantly share code, notes, and snippets.

@punund
punund / hi.js
Created December 24, 2015 12:30
served by @coffee
(function (){ var slice = [].slice;var hasProp = {}.hasOwnProperty;var bind = function(fn, me){return function(){ return fn.apply(me, arguments); };};var extend = function(child, parent) {for (var key in parent) {if (hasProp.call(parent, key)) child[key] = parent[key];}function ctor() { this.constructor = child; }ctor.prototype = parent.prototype;child.prototype = new ctor();child.__super__ = parent.prototype;return child;};var indexOf = [].indexOf || function(item) {for (var i = 0, l = this.length; i < l; i++) {if (i in this && this[i] === item) return i;} return -1; };var modulo = function(a, b) { return (+a % (b = +b) + b) % b; }; return function () {
return alert('hi');
};})();
@punund
punund / data.json
Last active January 9, 2016 11:19
owidget: предлагаемый формат
{
"count": 10,
"locale": "en_UK",
"product": [
{
"name": "KD55X8509C Smart 3D Ultra HD 4k 55\" LED TV",
"maker": "Sony",
"brand": "Bravia",
"price": {
"amount": 102.95,

Keybase proof

I hereby claim:

  • I am punund on github.
  • I am punund (https://keybase.io/punund) on keybase.
  • I have a public key ASCGPt86DsNnvnpXxUx57AIJzjBJLBBVFSjE8NDX3RHbawo

To claim this, I am signing this object:

@punund
punund / main.js
Created March 28, 2023 19:19
Infection's main
import * as ē from 'three'
import { evolve, multiply, pipe, times } from 'ramda'
// import { OrbitControls } from '../../mod/OrbitControls.js'
import { rnd, RN } from '../../mod/rnd.js'
import { createNoise2D } from 'simplex-noise'
import { mergeCurves, curves } from '../../data/curves.js'
import * as xyz from '../../fun/xyz.js'