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
//#define DEBUG 1 | |
void _show_1cell(float z, float x, output float r) { | |
float b = 0.01; | |
if ((x < b || z < b)) { | |
r = 1; | |
} | |
} | |
float _strand_curve(float x) { |
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/python | |
# -*- coding: UTF-8 -*- | |
# Version: 0.1 | |
# Author: rad <radiofun@ya.ru> | |
# License: GPL 3 | |
# | |
import sys | |
import codecs | |
import re |
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/python3 | |
import argparse | |
import time | |
import os | |
import math | |
# data, each byte of it used as cpu load value: (byte/255.0) | |
data = "0020305060708090A0B0C0D0E0F0FFA050" | |
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
<html> | |
<style> | |
body, html { | |
width: 100%; | |
height: 100%; | |
margin: 0; | |
padding: 0; | |
} | |
.container { | |
margin: auto; |