File:Simple Lissajous Animation.ogv
Summary
Description |
English: Simple Lissajous curve animation, of the kind commonly seen in 1960s/1970s science-fiction TV shows |
Date | |
Source | Own work |
Author | Ldo |
Generated with the following Python script, using the anim_framework classes:
#!/usr/bin/python3 import sys import colorsys import anim_common import anim_lissa anim_duration = 18.0 width = 512 height = 512 frame_rate = 25.0 nr_steps = 500 lissa = anim_lissa.make_draw \ ( x_amp = 200, x_freq = 4, x_phase = anim_common.linear_interpolator(0, anim_duration, 0, 1), y_amp = 200, y_freq = 3, y_phase = 0, nr_steps = nr_steps, ) def anim_init(g) : g.translate(width / 2, height / 2) g.set_line_width(4) #end anim_init def init_frame(g, t) : g.set_source_rgb(1, 1, 1) # background colour g.paint() g.set_source_rgb(*colorsys.hsv_to_rgb(0.25, 0.9, 0.9)) # curve colour #end init_frame anim_common.render_anim \ ( width = width, height = height, start_time = 0.0, end_time = anim_duration, frame_rate = frame_rate, draw_frame = anim_common.draw_compose(init_frame, lissa), overall_presetup = anim_init, out_dir = "frames", start_frame_nr = 1 )
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
![]() ![]() |
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
|