This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate image; | |
use image::GenericImage; | |
fn main() { | |
for x in 1..5 { | |
println!("Loading image."); | |
let image1 = image::open(&std::path::Path::new(&format!("bin/{}_1.png", x))).unwrap(); | |
let mut imgbuf = image::ImageBuffer::new(image1.width(), image1.height() * 2); | |
let image2 = image::open(&std::path::Path::new(&format!("bin/{}_2.png", x))).unwrap(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+++ b/.SRCINFO | |
@@ -1,8 +1,8 @@ | |
# Generated by mksrcinfo v8 | |
-# Tue Jan 5 17:24:24 UTC 2016 | |
+# Tue Jan 17 07:44:25 UTC 2017 | |
pkgbase = stockfish | |
pkgdesc = A strong chess engine written by Tord Romstad, Marco Costalba, Joona Kiiski | |
- pkgver = 7 | |
+ pkgver = 8 | |
pkgrel = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding=utf-8 | |
""" | |
Do a ballistic calculation. | |
""" | |
import json | |
import math | |
import vector |