Skip to content

Instantly share code, notes, and snippets.

Jari Komppa jarikomppa

Block or report user

Report or block jarikomppa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View nodes.cpp
// ImGui - standalone example application for Glfw + OpenGL 3, using programmable pipeline
#include <imgui.h>
#include "imgui_impl_glfw_gl3.h"
#include <stdio.h>
#include <GL/gl3w.h>
#include <GLFW/glfw3.h>
#include <math.h>
#include <string.h>
#include <vector>
ocornut / imgui_node_graph_test.cpp
Last active Dec 28, 2019
Node graph editor basic demo for ImGui
View imgui_node_graph_test.cpp
// Creating a node graph editor for ImGui
// Quick demo, not production code! This is more of a demo of how to use ImGui to create custom stuff.
// Better version by @daniel_collin here
// See
// v0.03: fixed grid offset issue, inverted sign of 'scrolling'
// Animated gif:
#include <math.h> // fmodf
// NB: You can use math functions/operators on ImVec2 if you #define IMGUI_DEFINE_MATH_OPERATORS and #include "imgui_internal.h"
raxoft / xorshift.asm
Created May 22, 2015
Fast quality Xor-Shift random number generator for Z80 I have created to weed out the crap RNGs out there. 28 bytes, 122 T cycles, period 2^32-1.
View xorshift.asm
; 8-bit Xor-Shift random number generator.
; Created by Patrik Rak in 2008 and revised in 2011/2012.
; See
org 40000
call rnd ; BASIC driver
ld c,a
ld b,0
You can’t perform that action at this time.