- Bluenoise in the game INSIDE (dithering, raymarching, reflections)
- Dithering, Ray marching, shadows etc
- A Survery of Blue Noise and Its Applications
- Moments In Graphics (void-and-cluster)
- Bart Wronski Implementation of Solid Angle algorithm
| OpenSimplexNoise noise; | |
| int[][] result; | |
| float t, c; | |
| float ease(float p) { | |
| return 3*p*p - 2*p*p*p; | |
| } | |
| float ease(float p, float g) { |
| #define BINKGL_LIST \ | |
| /* ret, name, params */ \ | |
| GLE(void, LinkProgram, GLuint program) \ | |
| GLE(void, GetProgramiv, GLuint program, GLenum pname, GLint *params) \ | |
| GLE(GLuint, CreateShader, GLenum type) \ | |
| GLE(void, ShaderSource, GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length) \ | |
| GLE(void, CompileShader, GLuint shader) \ | |
| GLE(void, GetShaderiv, GLuint shader, GLenum pname, GLint *params) \ | |
| GLE(void, GetShaderInfoLog, GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) \ | |
| GLE(void, DeleteShader, GLuint shader) \ |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <opml version="1.0"> | |
| <head> | |
| <title>Graphics, Games, Programming, and Physics Blogs</title> | |
| </head> | |
| <body> | |
| <outline text="Tech News" title="Tech News"> | |
| <outline type="rss" text="Ars Technica" title="Ars Technica" xmlUrl="http://feeds.arstechnica.com/arstechnica/index/" htmlUrl="https://arstechnica.com"/> | |
| <outline type="rss" text="Polygon - Full" title="Polygon - Full" xmlUrl="http://www.polygon.com/rss/index.xml" htmlUrl="https://www.polygon.com/"/> | |
| <outline type="rss" text="Road to VR" title="Road to VR" xmlUrl="http://www.roadtovr.com/feed" htmlUrl="https://www.roadtovr.com"/> |
| #!/bin/bash | |
| # dontforget | |
| # | |
| # A stupid script for short term reminders in bash | |
| # | |
| # Arguments just need to contain a number and a bunch of words. | |
| # | |
| # The number can be anywhere in the arguments, but there shouldn't | |
| # be any other numeric digits. | |
| # |
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |
| // ------------------------------------------------------------------------------- | |
| // CoreAudio continuous play test | |
| // (c) 2014 by Arthur Langereis (@zenmumbler) | |
| // created: 2014-12-07 | |
| // | |
| // As part of my efforts for stardazed and to create a Mac OS X version of | |
| // Handmade Hero. | |
| // | |
| // compile with: | |
| // clang++ -std=c++11 -stdlib=libc++ -framework AudioToolbox catest.cpp -o catest |
| """ | |
| Physics simulation with PyODE followed by a (basic) rendering with Vapory | |
| See the result here: http://i.imgur.com/TdhxwGz.gifv | |
| Zulko 2014 | |
| This script is placed in the Public Domain (Licence Creative Commons 0) | |
| """ |
| var width = 500, | |
| height = 70, | |
| font = '18px serif' | |
| function getRetinaRatio() { | |
| var devicePixelRatio = window.devicePixelRatio || 1 | |
| var c = document.createElement('canvas').getContext('2d') | |
| var backingStoreRatio = [ | |
| c.webkitBackingStorePixelRatio, | |
| c.mozBackingStorePixelRatio, |
| /* | |
| * Simple ncurses form example with fields that actually behaves like fields. | |
| * | |
| * How to run: | |
| * gcc -Wall -Werror -g -pedantic -o test fields_magic.c -lform -lncurses | |
| */ | |
| #include <ncurses/ncurses.h> | |
| #include <ncurses/form.h> | |
| #include <assert.h> | |
| #include <string.h> |