<commit_before>shadertoy-render
================

A simple Python script that uses `ffmpeg` to render ShaderToy scripts into video files.  Run it as follows:

	> python shadertoy-render.py example.glsl example.mp4

Dependencies include `numpy`, `scipy` and `vispy`.  You can install them with Python as follows:

    > pip install numpy scipy vispy

The output is a MP4 file with default encoding settings, which you can upload to YouTube for example.

.. image:: docs/example.jpg
	:target: https://youtu.be/GAauIQFHaZs

1. `Source ShaderToy <https://www.shadertoy.com/view/4sB3D1>`_ script by Inigo Quilez.

2. `Rendered Video <https://youtu.be/GAauIQFHaZs>`_ at 1080p uploaded to YouTube.<commit_msg>Minor tweaks to README.<commit_after>shadertoy-render
================

A simple Python script that uses ``ffmpeg`` as a subprocess to render ShaderToy scripts into video files.  After grabbing the file from the repository, you can run it as follows:

	> python shadertoy-render.py example.glsl example.mp4

Dependencies include `numpy`, `scipy` and `vispy`.  You can install them with Python as follows:

    > pip install numpy scipy vispy

The output is a MP4 file with default encoding settings, which you can upload to YouTube for example.  See the source code for details!

.. image:: docs/example.jpg
	:target: https://youtu.be/GAauIQFHaZs

1. `Source ShaderToy <https://www.shadertoy.com/view/4sB3D1>`_ script by Inigo Quilez.

2. `Rendered Video <https://youtu.be/GAauIQFHaZs>`_ at 1080p uploaded to YouTube.

Feedback is welcome; just submit a ticket or follow `@alexjc <https://twitter.com/alexjc>`_ on Twitter.
{'fraction_non_alphanumeric': 0.10652709359605911, 'fraction_numerical': 0.013546798029556651, 'mean_word_length': 4.363036303630363, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 12, 'https://': 7, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2694587', 'n_tokens_mistral': 545, 'n_tokens_neox': 520, 'n_words': 195}