This commit is contained in:
j 2018-01-11 13:44:22 +01:00
commit fe8bc05c69
8 changed files with 344 additions and 0 deletions

108
icf.css Normal file
View File

@ -0,0 +1,108 @@
@font-face {
font-family: Source Serif;
src: url(ttf/SourceSerifPro-Regular.ttf);
}
@font-face {
font-family: Source Serif Semibold;
src: url(ttf/SourceSerifPro-Semibold.ttf);
}
body {
color: rgb(64, 64, 64);
margin: 0;
}
a {
color: rgb(255, 128, 0);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
b {
font-family: Source Serif Semibold;
}
em, i {
font-family: Lora Italic;
}
#head {
background-color: rgb(255, 255, 255);
height: 80px;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 1;
}
#icf_icon {
height: 64px;
left: 64px;
position: absolute;
top: 8px;
}
#icf_logo {
height: 22px;
left: 136px;
position: absolute;
top: 49px;
}
#timeline {
background-color: rgb(192, 192, 192);
height: 32px;
left: 0;
overflow: hidden;
position: fixed;
right: 0;
top: 80px;
z-index: 1;
}
#timeline > img {
height: 32px;
position: absolute;
user-select: none;
-webkit-user-select: none;
}
#menu {
background: rgb(255, 255, 255);
border-bottom: 1px dotted rgb(255, 128, 0);
color: rgb(192, 192, 192);
font-family: Source Serif Semibold;
font-size: 18px;
height: 24px;
left: 0;
padding: 8px 64px;
position: fixed;
right: 0;
top: 112px;
z-index: 1;
}
#menu > a {
color: rgb(128, 128, 128);
text-decoration: none;
}
#menu > a:hover {
color: rgb(192, 128, 64);
}
#menu > a.selected {
color: rgb(255, 128, 0);
}
#menu > a.selected {
cursor: default;
}
.section {
font-family: Source Serif;
font-size: 16px;
line-height: 24px;
left: 64px;
padding-bottom: 32px;
position: absolute;
text-align: justify;
top: 160px;
width: 800px;
}
.section:not(.selected) {
display: none;
}

BIN
icf.icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

128
icf.js Normal file
View File

@ -0,0 +1,128 @@
let hashes = slice(document.querySelectorAll('#menu > a')).map(function(element) {
return element.getAttribute('href').substr(1)
})
let movies = [
{id: 'GJT', frames: 241117},
{id: 'IKP', frames: 250936}
]
let movie = movies[Math.floor(new Date() / 86400000) % 2]
let timelineElement = document.getElementById('timeline')
let timelineElements = []
let timelineWidth = 1500
let timelineTiles = Math.ceil(movie.frames / timelineWidth)
let timelinesLeft
let paused = true
let speed = 0
let acceleration = 0
let maxSpeed = 2
let maxAcceleration = maxSpeed / 100
function getTimelineElement(index, left) {
let element = document.createElement('img')
element.data = {index: index}
element.src = 'https://media.indiancine.ma/' + movie.id
+ '/timelinekeyframes64p' + (index + 1) + '.jpg'
element.style.left = left + 'px'
element.style.width = timelineWidth / 2 + 'px'
timelineElement.appendChild(element)
return element
}
function hashchange() {
let hash = document.location.hash.substr(1)
if (!hashes.includes(hash)) {
document.location.hash = hashes[0]
return
}
slice(document.querySelectorAll('#menu > a')).forEach(function(element) {
element.classList[
element.getAttribute('href') == '#' + hash ? 'add' : 'remove'
]('selected')
})
slice(document.querySelectorAll('.section')).forEach(function(element) {
element.classList[
element.getAttribute('id') == hash ? 'add' : 'remove'
]('selected')
})
console.log(hash)
}
function init() {
let frame = Math.floor(Math.random() * movie.frames)
let timelines = [{
index: Math.floor(frame / timelineWidth),
left: -(frame / timelineWidth) / 2
}]
let windowWidth = window.innerWidth
while (last(timelines).left < windowWidth + timelineWidth / 2) {
timelines.push({
index: (last(timelines).index + 1) % timelineTiles,
left: last(timelines).left + timelineWidth / 2
})
}
timelineElements = timelines.map(function(timeline, i) {
element = getTimelineElement(timeline.index, timeline.left)
return element
})
}
function last(array) {
return array[array.length - 1]
}
function play() {
if (speed <= 0 && acceleration < 0) {
paused = true
return
}
//console.log('play', speed, acceleration)
images = slice(document.querySelectorAll('#timeline > img'))
timelineElements.forEach(function(element) {
element.style.left = (parseFloat(element.style.left) - speed) + 'px'
})
if (parseFloat(timelineElements[0].style.left) <= -timelineWidth / 2) {
timelineElement.removeChild(timelineElements.shift())
let lastElement = last(timelineElements)
timelineElements.push(getTimelineElement(
(lastElement.data.index + 1) % timelineTiles,
parseFloat(lastElement.style.left) + timelineWidth / 2
))
timelineElement.appendChild(last(timelineElements))
}
if (speed < maxSpeed || acceleration <= 0) {
speed += acceleration
}
setTimeout(play, 25)
}
function resize() {
timelinesLeft = (window.innerWidth - 4096) / 2
}
function slice(nodelist) {
return Array.prototype.slice.call(nodelist)
}
function start() {
acceleration = maxAcceleration
if (paused) {
paused = false
play()
}
}
function stop() {
acceleration = -maxAcceleration
}
hashchange()
resize()
init()
window.addEventListener('hashchange', hashchange)
window.addEventListener('resize', resize)
timeline.addEventListener('mouseenter', start)
timeline.addEventListener('mouseleave', stop)

BIN
icf.logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

108
index.html Normal file
View File

@ -0,0 +1,108 @@
<!doctype html>
<html>
<head>
<title>The Indian Cinema Foundation</title>
<meta charset="utf-8"/>
<meta content="width=device-width" name="viewport"/>
<link href="icf.icon.png" rel="shortcut icon"/>
<link href="icf.css" rel="stylesheet"/>
</head>
<body>
<div id="head">
<img id="icf_icon" src="icf.icon.png"/>
<img id="icf_logo" src="icf.logo.png"/>
</div>
<div id="timeline"></div>
<div id="menu">
<a href="#about">About</a> &middot;
<a href="#indiancine.ma">Indiancine.ma</a> &middot;
<a href="#goals">Goals</a> &middot;
<a href="#charter">Charter</a> &middot;
<a href="#team">Team</a> &middot;
<a href="#support">Support</a> &middot;
<a href="#news">News</a>
</div>
<div class="section" id="about">
<p><b>The Indian Cinema Foundation</b> has been created by filmmakers, film historians and artists, to forge new means for re-presenting the Indian cinema in all its glorious complexity in the 21st century.</p>
<p>The Foundation recognises that cinema in India has historically existed in unique environments where it has been made, shown, discussed and debated. Such environments need, along with the cinema itself, to transit into the digital era if the cinema that has been made for a century is to continue to meaningfully exist.</p>
<p>Since 1931 to date, India has made around 50,000 sound films. Official figures suggest that around 4.4% of all films made exist in archival conditions. On the other hand, it is likely that low-end sector, including 16 mm, VHS, VCD and DVD, might have 15,000 sound films, i.e. 30%, across the Indian cinemas history, and across regions.</p>
<p>In order to archive what exists, the Foundation will open its doors to amateur archivists, film lovers and enthusiasts, together with academics, filmmakers, artists and all those who take Indian cinema seriously, to achieve the following:</p>
<p><ul>
<li>To recover as much of the Indian cinema as exists</li>
<li>To index and to annotate existing films (director's/scholars/technician/critics commentary, academic references, historical annotations) thereby introducing a new way of viewing them.</li>
</ul></p>
<p>The Foundation will achieve its goals by working with the film industry, collaborating with University departments and institutions of research worldwide to make this material available.</p>
<p>The Indian Cinema Foundation is a registered non-profit trust. Donations are tax exempt under 80G.</p>
</div>
<div class="section" id="indiancine.ma">
<p><a href="https://indiancine.ma">Indiancine.ma</a> is a non-commercial annotated online archive of Indian film.</p>
<p>The project was initiated by <a href="https://pad.ma">Pad.ma</a> (Public Access Digital Media Archive), an online archive of densely text-annotated video material, primarily footage and not finished films, that was set up by members of <a href="https://studio.camp/">CAMP</a>, <a href="http://altlawforum.org">Alternative Law Forum</a> and <a href="https://0x2620.org/">0x2620</a> in 2007.</p>
<p>Indiancine.ma was originally set up using Ashish Rajadhyaksha's and Paul Willemen's Encyclopedia of Indian Cinema (published in 1999 by the British Film Institute).</p>
<p>At present, <a href="https://indiancine.ma">Indiancine.ma</a> has created unique links for 36,406 films.</p>
<p>In addition to the general public, Indiancine.ma is being used by several film and cultural studies institutions nationally and globally. Indiancine.ma archives all films, but only films that are out of copyright are available for pubic viewing. Films that are more recent are not available to the public, but can be seen by bona fide research institutions and researchers.</p>
<p>We hope to upload as many as 15,000 titles, with a primary focus on early (i.e. pre-1957) cinema. Even this astonishing target will still be only 30% of all feature films made.</p>
</div>
<div class="section" id="goals">
<p><ul>
<li>To develop the online film archive as a public, NON-COMMERCIAL and FREE resource that will recover as much of the Indian cinema as exists.</li>
<li>To rethink the future of digital archives and provide new models of archiving using collaborative models of knowledge production and dissemination.</li>
<li>To try and track down prints of all available films (which may, especially in films made from earlier times, be the only prints in existence).</li>
<li>To curate and commission time-based annotations of major films from both the history of Indian cinema and from recent titles.</li>
<li>To significantly build on ancillary collections, including journals, documents, film stills, posters etc.</li>
<li>To make available key books on the history of Indian cinema embedded and tagged to relevant film titles.</li>
<li>To offer fellowships for young researchers working on Indian cinema history.</li>
<li>To build partnerships with University departments and Research Centres worldwide, with historians of Indian cinema, with filmmakers and producers interested in supplying supporting materials, time-based commentaries, and supplementary data,on their films, and with art practitioners and cinephiles.</li>
</ul></p>
</div>
<div class="section" id="charter">
<p><b>Charter of the Indian Cinema Foundation</b></p>
<p><b>Acknowledging</b> that cinema forms an integral part of Indias cultural heritage and provides a unique expression of our political, cultural, creative and historic identity,</p>
<p><b>Acknowledging</b> further that Cinema constitutes one of the most important means of promoting an understanding of India amongst the global community thereby forming a part of the heritage of mankind as a whole,</p>
<p><b>Recognising</b> that the preservation, restoration, archiving, annotation, dissemination and study of Indian cinema is crucial to the continued relevance of cinema as a living heritage,</p>
<p><b>Considering</b> that as a result of their material form and fixation, films remain one of the most fragile cultural artifacts and extremely vulnerable to destruction, deterioration, decay, damage, and loss,</p>
<p><b>Considering further</b> that cinema has remained a neglected aspect of state and industry policy and whose systematic neglect has already resulted in the loss of a majority of films causing an irreversible impoverishment to our cinematic heritage,</p>
<p><b>Appreciating</b> the important role played by specialised institutions like the National Film Archive of India and other regional film archives and societies in preserving and promoting Indian cinema,</p>
<p><b>Bearing in mind</b> that the archiving of cinema needs to have many more institutional and individual stake holders who collectively develop a creative and future oriented vision of film archives and databases if we are to effectively safeguard and promote Indian cinema as a cultural resource for present and future generations,</p>
<p><b>Noting</b> that developments in technology afford us an opportunity to harness the power of the digital medium, the internet, and collaborative communities of knowledge producers to reshape the future of archiving and to create non-commercial open access archives informed by principles of a digital cultural commons,</p>
<p><b>Desiring</b> to create a foundation that will create public infrastructure and resources, and develop best practices to enhance the ways in which the Indian cinema can be safeguarded, archived, accessed, viewed, analysed, discussed, researched, annotated and written about,</p>
<p><b>Desiring further</b> to create a productive collaboration between the film industry, the state, universities, film historians and scholars, artists, journalists, critics, and all cinephiles and enthusiasts in general,</p>
<p><b>Affirming</b> the importance of inculcating a sense of corporate social responsibility within the film industry towards the urgent tasks mentioned above,</p>
<p><b>We the undersigned</b></p>
<p><b>Pledge our support</b> to the Indian Cinema Foundation</b> and commit to ensuring its financial, intellectual and creative sustainability by supporting it monetarily and by providing access to our films and their material heritage and culture.</p>
</div>
<div class="section" id="team">
<p><b>Team</b></p>
<p><b>Ashish Rajadhyaksha</b> is a film historian and cultural theorist. He co-authored the Encyclopaedia of Indian Cinema (2009), and has written several books and curated film and moving image events in India and elsewhere. Ashish was co-founder of the Centre for the Study of Culture &amp; Society (1998). He is a founding Trustee of the Indian Cinema Foundation.</p>
<p><b>Ashok Sukumaran</b> is an artist, co-initiator of the collaborative studio CAMP and <a href="https://pad.ma/">Pad.ma</a> and <a href="https://indiancine.ma">Indiancine.ma</a>.</p>
<p><b>Jan Gerber</b> is an artist and programmer from Berlin. He develops internet platforms for the production and distribution of video material. Jan has has been with <a href="https://pad.ma/">Pad.ma</a> and <a href="https://indiancine.ma">Indiancine.ma</a> from its inception and is one of the initiators of 0x2620 - Collaborative Archiving and Networked Distribution.</p>
<p><b>Lawrence Liang</b> is a lawyer, writer and film scholar. A founder of Alternative Law forum, he is currently at Ambedkar University Delhi. Involved with various copyleft initiatives, Lawrence has been with <a href="https://pad.ma/">Pad.ma</a> and <a href="https://indiancine.ma">Indiancine.ma</a> from its inception and is a founding trustee of The Indian Cinema Foundation.</p>
<p><b>Sebastian Lütgert</b> is an artist, programmer, writer, based in Berlin and sometimes Bombay, co-founder of <a href="https://0x2620.org">0x2620</a> (since 2007) and <a href="https://0xDB.org">0xDB</a> (since 2007).</p>
<p><b>Shaina Anand</b> is an artist and filmmaker, co-initiator of the collaborative studio CAMP. Her films and projects over the past decade have shown how deep technical experimentation and artistic form can meet while extracting new qualities and experiences from contemporary life and materials. Shaina is part of the core group that runs <a href="https://pad.ma/">Pad.ma</a> and <a href="https://indiancine.ma">Indiancine.ma</a> and is a founding trustee of The Indian Cinema Foundation.</p>
<p><b>Zinnia Ambapardiwala</b> joined the collaborative studio CAMP in 2008. She oversees media encoding, archiving and backend operations for <a href="https://pad.ma/">Pad.ma</a> and <a href="https://indiancine.ma">Indiancine.ma</a>.</p>
<p><b>Advisors</b></p>
<p><b>Kiran Rao</b>is a screenwriter and director of Dhobhi Ghaat (2011), and a film producer deeply committed to promoting independent cinema and living screen cultures. She is also chairperson of MAMI (Mumbai Academy of Moving Images), and producer at Aamir Khan Productions. </p>
<p><b>Vishesh Bhatt</b> is a filmmaker and producer. He currently heads strategy, content development, creatives, marketing, and is responsible for all digital initiatives at Vishesh Films.</p>
<p><b>Vikramaditya Motwane</b> is an award winning filmmaker, producer and screenwriter. He co-founded Phantom Films.</p>
<p><b>Sidharth Roy Kapur</b> is a film producer, founder of Roy Kapur Films and the President of Film and Television Producers Guild of India. He was formerly Managing Director Disney, India.</p>
<p><b>Saeed Akthar Mirza</b> is an award winning writer, filmmaker and producer. He began his career as a member of YUKT (Union of Kinematographers and Technicians) and went on to make several films during the parallel cinema movement in India. He was chairperson of his alma matter FTII.</p>
<p><b>Ranjani Majumdar</b> teaches Cinema Studies at the School of Arts and Aesthetics, Jawaharlal Nehru University. She was part of India's first and all-women documentary collective Mediastorm. She is the author of Bombay Cinema: An Archive of the City (2007). Her areas of research include, the cinematic city, media theory, and the intersection of travel, design and colour in 1960s Bombay cinema.</p>
<p><b>Moinak Biswas</b> (Jadavpur University, Kolkata) teaches film studies at Jadavpur University and has been widely published in both English and Bengali on contemporary Indian cinema. He started the medialab at Jadavpur University, and has collaborated with Pad.ma and Indiancine.ma.</p>
</div>
<div class="section" id="support">
<p>In March 2013, in commemoration of India's cinema centenary Indiancine.ma was born.</p>
<p>Indiancine.ma has been hosted and developed by the team that runs Pad.ma, that has had continuous support Foundation for Arts Initiatives. In 2016-17, we received seed grants from key film studios in Mumbai who share are vision and remain committed to supporting the activities of the Indian Cinema Foundation.</p>
<p><ul>
<li>Aamir Khan Productions</li>
<li>Excel Entertainment</li>
<li>Phantom Films</li>
<li>Vishesh Films</li>
<li>Disney</li>
<li>Rakesh Omprakash Mehra Productions</li>
<li>Raju Hirani Films</li>
</ul></p>
</div>
<div class="section" id="news">
</div>
<script src="icf.js"></script>
</body>
</html>

BIN
ttf/SourceSerifPro-Bold.ttf Executable file

Binary file not shown.

BIN
ttf/SourceSerifPro-Regular.ttf Executable file

Binary file not shown.

BIN
ttf/SourceSerifPro-Semibold.ttf Executable file

Binary file not shown.