mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-09-15 19:11:21 -04:00
Some amount of dynamic rendering
This commit is contained in:
7
main.py
7
main.py
@ -24,16 +24,15 @@ import pyglet
|
||||
import pycuda.autoinit
|
||||
|
||||
from cuburn.render import *
|
||||
from cuburn.code.mwc import test_mwc
|
||||
from cuburn.code.mwc import MWCTest
|
||||
from cuburn.code.iter import silly
|
||||
|
||||
|
||||
def main(args):
|
||||
#MWCTest.test_mwc()
|
||||
with open(args[-1]) as fp:
|
||||
genomes = Genome.from_string(fp.read())
|
||||
anim = Animation(genomes)
|
||||
|
||||
accum, den = silly()
|
||||
accum, den = silly(anim.features, genomes[0])
|
||||
|
||||
if False:
|
||||
bins = anim.render_frame()
|
||||
|
Reference in New Issue
Block a user