Skip to content

Instantly share code, notes, and snippets.

Avatar

Omid Alemi omimo

View GitHub Profile
@omimo
omimo / crbm.py
Created Dec 21, 2015 — forked from gwtaylor/crbm.py
Theano CRBM demonstration
View crbm.py
""" Theano CRBM implementation.
For details, see:
http://www.uoguelph.ca/~gwtaylor/publications/nips2006mhmublv
Sample data:
http://www.uoguelph.ca/~gwtaylor/publications/nips2006mhmublv/motion.mat
@author Graham Taylor"""
import numpy
View ConnectivityMatrix.json
[[4,5],[3,4],[2,3],[1,2],[0,1],[9,10],[8,9],[7,8],[6,7],[0,6],[14,15],[13,14],[12,13],[19,20],[18,19],[17,18],[16,17],[12,16],[24,25],[23,24],[22,23],[21,22],[12,21],[11,12],[0,11]]
@omimo
omimo / triSelect.js
Created Sep 3, 2016
A jQuery plugin for a three-sided selector
View triSelect.js
/*
A jQuery plugin for a three-sided selector
By Omid Alemi
Created: September 2, 2016
*/
(function ( $ ) {
var controlWidth = 80;
@omimo
omimo / index.html
Last active Aug 10, 2019
A test for mviz
View index.html
<html>
<head>
<title>
Movement Data Visualization
</title>
<!--<script src="https://d3js.org/d3.v4.min.js"></script>-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<style>
* {
@omimo
omimo / index.html
Last active May 22, 2020
A simple example of drawing a single frame of motion capture data in d3.js
View index.html
<html>
<head>
<title>
Movement Data Visualization
</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<style>
* {
box-sizing: border-box
@omimo
omimo / index.html
Last active Feb 25, 2017
A sketch of motion capture frames
View index.html
<html>
<head>
<title>
Movement Data Visualization
</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<style>
* {
box-sizing: border-box
@omimo
omimo / index.html
Last active Mar 31, 2018
Walking - Squares
View index.html
<html>
<head>
<title>
[Visualizing Movement Data with D3.js]
</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<script src="mviz.js"></script>
<style>
* {
box-sizing: border-box
@omimo
omimo / index.html
Last active Mar 2, 2020
Basic Effort Actions - Entangled
View index.html
<html>
<head>
<title>
[Visualizing Movement Data with D3.js]
</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<script src="mviz.js"></script>
<style>
* {
box-sizing: border-box
@omimo
omimo / index.html
Last active Mar 30, 2017
Basic Effort Actions - Entangled & Colored
View index.html
<html>
<head>
<title>
[Visualizing Movement Data with D3.js]
</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<script src="mviz.js"></script>
<style>
* {
box-sizing: border-box
View index.html
<html>
<head>
<title>
[Visualizing Movement Data with D3.js]
</title>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://omid.al/Mova-Viz/MovaViz-v0.1.2.js"></script>
<style>
* {
box-sizing: border-box