User talk:Barecode/Space Statistics

Counter videos edit

China edit

This is an Avisynth+ script - counter.avs:

BlankClip(width=640, height=360, length=25, fps=25, color=$FFFFFF)

Subtitle("1970 - 1", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("1974 - 2", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("1975 - 3", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("1988 - 4", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("1990 - 5", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("1997 - 6", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("2003 - 7", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("2004 - 8", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("2007 - 10", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("2008 - 11", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("2010 - 15", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("2011 - 19", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("2016 - 22", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("2018 - 39", size=100, x=320, y=280, align=2, text_color=$0000ff) \
++ Subtitle("2021 - 52", size=100, x=320, y=280, align=2, text_color=$0000ff)
Subtitle("China launches", text_color=color_black, halo_color=color_gray, size=90, x=320, y=40, align=8)

USA edit

Script1
BlankClip(width=640, height=360, length=1, fps=1, color=$FFFFFF)
Subtitle("USA launches", text_color=color_black, halo_color=color_gray, size=90, x=320, y=30, align=8)
Subtitle("1957 - 1", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff)
Subtitle("Max: 1", text_color=color_black, halo_color=color_gray, size=90, x=580, y=355, align=3)
a1=last

BlankClip(width=640, height=360, length=1, fps=1, color=$FFFFFF)
Subtitle("USA launches", text_color=color_black, halo_color=color_gray, size=90, x=320, y=30, align=8)
Subtitle("1958 - 23", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff)
Subtitle("Max: 23", text_color=color_black, halo_color=color_gray, size=90, x=580, y=355, align=3)
a2=last

BlankClip(width=640, height=360, length=1, fps=1, color=$FFFFFF)
Subtitle("USA launches", text_color=color_black, halo_color=color_gray, size=90, x=320, y=30, align=8)
Subtitle("1960 - 29", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff)
Subtitle("Max: 29", text_color=color_black, halo_color=color_gray, size=90, x=580, y=355, align=3)
a3=last

BlankClip(width=640, height=360, length=1, fps=1, color=$FFFFFF)
Subtitle("USA launches", text_color=color_black, halo_color=color_gray, size=90, x=320, y=30, align=8)
Subtitle("1961 - 41", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff)
Subtitle("Max: 41", text_color=color_black, halo_color=color_gray, size=90, x=580, y=355, align=3)
a4=last

BlankClip(width=640, height=360, length=1, fps=1, color=$FFFFFF)
Subtitle("USA launches", text_color=color_black, halo_color=color_gray, size=90, x=320, y=30, align=8)
Subtitle("1962 - 59", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff)
Subtitle("Max: 59", text_color=color_black, halo_color=color_gray, size=90, x=580, y=355, align=3)
a5=last

BlankClip(width=640, height=360, length=1, fps=1, color=$FFFFFF)
Subtitle("USA launches", text_color=color_black, halo_color=color_gray, size=90, x=320, y=30, align=8)
Subtitle("1964 - 63", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff)
Subtitle("Max: 63", text_color=color_black, halo_color=color_gray, size=90, x=580, y=355, align=3)
a6=last

BlankClip(width=640, height=360, length=1, fps=1, color=$FFFFFF)
Subtitle("USA launches", text_color=color_black, halo_color=color_gray, size=90, x=320, y=30, align=8)
Subtitle("1965 - 70", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff)
Subtitle("Max: 70", text_color=color_black, halo_color=color_gray, size=90, x=580, y=355, align=3)
a7=last

BlankClip(width=640, height=360, length=1, fps=1, color=$FFFFFF)
Subtitle("USA launches", text_color=color_black, halo_color=color_gray, size=90, x=320, y=30, align=8)
Subtitle("1966 - 78", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff)
Subtitle("Max: 78", text_color=color_black, halo_color=color_gray, size=90, x=580, y=355, align=3)
a8=last

BlankClip(width=640, height=360, length=1, fps=1, color=$FFFFFF)
Subtitle("USA launches", text_color=color_black, halo_color=color_gray, size=90, x=320, y=30, align=8)
Subtitle("Max: 78", text_color=color_black, halo_color=color_gray, size=90, x=580, y=355, align=3)
Subtitle("1967 - 61", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1968 - 48", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1969 - 41", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1970 - 30", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1973 - 25", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1983 - 22", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1985 - 18", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1986 - 9", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1988 - 12", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1989 - 18", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1990 - 27", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1992 - 29", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1995 - 30", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1996 - 33", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("1997 - 38", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("2020 - 44", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
++ Subtitle("2021 - 48", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff)
a9=last

a1+a2+a3+a4+a5+a6+a7+a8+a9
Script2 - shorter
function AppendSubs(clip v, string "sub1", string "sub2")
{
    BlankClip(v, length=1, color=$FFFFFF)
    Subtitle("USA launches", text_color=color_black, halo_color=color_gray, size=90, x=320, y=30, align=8)
    Subtitle(sub1, size=100, x=320, y=250, align=2, text_color=$0000ff)
    Subtitle(sub2, text_color=color_black, halo_color=color_gray, size=90, x=580, y=355, align=3)

    v+last
}
function AppendSubs1(clip v)
{
    BlankClip(v, length=1, color=$FFFFFF)
    Subtitle("USA launches", text_color=color_black, halo_color=color_gray, size=90, x=320, y=30, align=8)
    Subtitle("Max: 78", text_color=color_black, halo_color=color_gray, size=90, x=580, y=355, align=3)
    Subtitle("1967 - 61", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1968 - 48", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1969 - 41", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1970 - 30", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1973 - 25", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1983 - 22", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1985 - 18", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1986 - 9", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1988 - 12", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1989 - 18", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1990 - 27", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1992 - 29", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1995 - 30", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1996 - 33", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("1997 - 38", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("2020 - 44", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff) \
    ++ Subtitle("2021 - 48", size=100, x=320, y=250, lsp=-100, align=2, text_color=$0000ff)

    v+last
}

BlankClip(width=640, height=360, length=1, fps=1, color=$FFFFFF)
AppendSubs(last, "1957 - 1", "Max: 1")
AppendSubs(last, "1958 - 23", "Max: 23")
AppendSubs(last, "1960 - 29", "Max: 29")
AppendSubs(last, "1961 - 41", "Max: 41")
AppendSubs(last, "1962 - 59", "Max: 59")
AppendSubs(last, "1964 - 63", "Max: 63")
AppendSubs(last, "1965 - 70", "Max: 70")
AppendSubs(last, "1966 - 78", "Max: 78")
AppendSubs1(last)

Rocket launches statistics edit

Voskhod edit

Talk:Voskhod (rocket)#Launch statistics

rem SOURCE: GCAT orbital launch log - JSR Launch Logs - Jonathan C. McDowell - Launch Log - https://planet4589.org/space/gcat/data/derived/launchlog.html - https://planet4589.org/space/log/launch.html
cat launchlog.html | grep Voskhod > v.txt
cat v.txt | cut -c1-8 | sort | uniq > v1.txt
cat v1.txt | cut -c1-4 > v2.txt
uniq -c v2.txt | gawk "{$1=$1};1" | sed -e "s/\(.*\) \(.*\)/\2 \1/" > v3.txt