GOLuM
Posted: 13 May 2014 08:25
GOLuM creates Conway’s game of life on your Liine Lemur using the new HTML5 Canvas object.It demonstrates Lemur scripting techniques that overcome some of the limitations of the Lemur scripting environment.
http://youtu.be/W6bGxr0kMCA
This ended up being a tough project for me, which is good I learned allot about the lemur here are some of the problems encountered:
Maximum number of entries in an array is set to 256.
Multidimensional arrays not supported.
No provision for frame overrun does not preempt out.
Problems with data typing.
Lack of bitwise NOT.
Limited string handling.
No file based presets.
The Lemur script arrays have a limit of 256 items per array. To manipulate the GOLuM world of 1024 (32*32) cells bitwise operators were used to crush 1024 values into a 32 item array. The next challenge to overcome was processing the data which took longer than the lemur frame time allowed. A dynamic task slicer was implemented to split the processing over as many frames as was needed to complete the task. There was still more work to do, the preset data was being truncated on project reload, to stop this happening our 32bit data had to be reduced to 16bit for saving.
Hope this project helps somebody.
Have fun!
Bit
http://youtu.be/W6bGxr0kMCA
This ended up being a tough project for me, which is good I learned allot about the lemur here are some of the problems encountered:
Maximum number of entries in an array is set to 256.
Multidimensional arrays not supported.
No provision for frame overrun does not preempt out.
Problems with data typing.
Lack of bitwise NOT.
Limited string handling.
No file based presets.
The Lemur script arrays have a limit of 256 items per array. To manipulate the GOLuM world of 1024 (32*32) cells bitwise operators were used to crush 1024 values into a 32 item array. The next challenge to overcome was processing the data which took longer than the lemur frame time allowed. A dynamic task slicer was implemented to split the processing over as many frames as was needed to complete the task. There was still more work to do, the preset data was being truncated on project reload, to stop this happening our 32bit data had to be reduced to 16bit for saving.
Hope this project helps somebody.
Have fun!
Bit