Skip to content

Instantly share code, notes, and snippets.

View Hperigo's full-sized avatar

Henrique Penteado Kujawski Périgo Hperigo

View GitHub Profile
==========
VULKANINFO
==========
Vulkan Instance Version: 1.2.148
Instance Extensions: count = 18
===============================
VK_EXT_acquire_xlib_display : extension revision 1
package main
import (
"fmt"
"io/ioutil"
"os"
"sync"
_ "sync/atomic"
_ "time"
)
@Hperigo
Hperigo / TimelineItems
Created August 15, 2018 20:39
example app for how to get all the items in the timeline
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/Timeline.h"
#include "cinder/Rand.h"
using namespace ci;
using namespace ci::app;
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/Timer.h"
#include "cinder/Utilities.h"
using namespace ci;
using namespace ci::app;
@Hperigo
Hperigo / Trails.cpp
Last active March 9, 2017 12:00
Naive test for drawing trails
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/Rand.h"
#include "cinder/Perlin.h"
using namespace ci;
using namespace ci::app;
#include <iostream>
#include <fstream>
#include <string>
#include <codecvt>
// Created by Hperigo
// original articles:
// 1. http://www.thradams.com/codeblog/utf8.htm
// 2. http://stackoverflow.com/questions/4358870/convert-wstring-to-string-encoded-in-utf-8