Erweckt eure Ideen zum Leben: hier lernt ihr verschiedene Animationstechniken kennen. Von der Entwicklung eurer Geschichten über das Schreiben vom Storyboard bis zum fertigen Animationsfilm werdet ihr von Profis begleitet.
Leitung: Christopher Bonk und Lisanne Immke
Eine Anmeldung ist nicht erforderlich.
Empfohlen von 10-14 Jahren.
©Merit Junghans
©Merit Junghans
©Mia Killus
©Merit Junghans
©Merit Junghans
/** * Wrapped in an IIFE so `let`/function declarations get a fresh, isolated * scope on every execution. ACF's block editor preview re-renders (and * re-runs) this script on every edit while the DOM node id stays the * same; top-level `let`/`const` would otherwise throw * "Identifier ... has already been declared" on the second render. */ (function($) { let ready = false; let currentAspectRatio = 16 / 9;
function setAspect(newRatio) { if (ready) { if (newRatio > currentAspectRatio) { currentAspectRatio = newRatio; document.querySelector('#image-carousel-block_010a2ccc0ce7ac74d0a4efef141ad58f .slick-list').style.aspectRatio = newRatio; } } }
function resize() { const captions = document.querySelectorAll( '#image-carousel-block_010a2ccc0ce7ac74d0a4efef141ad58f .slick-slide:not(.slick-cloned) .image-carousel__image-caption'); let maxCaptionHeight = 0; captions.forEach(function(caption) { maxCaptionHeight = Math.max(caption.offsetHeight, maxCaptionHeight); }); document.querySelector('#image-carousel-block_010a2ccc0ce7ac74d0a4efef141ad58f').style.paddingBottom = maxCaptionHeight + 'px'; }
$(document).ready(function() {
document.querySelectorAll('#image-carousel-block_010a2ccc0ce7ac74d0a4efef141ad58f .image-carousel__image').forEach(function(img) { function handleImageLoad() { setAspect(img.width / img.height); } if (img.complete && img.naturalWidth) { handleImageLoad(); } else { img.addEventListener('load', handleImageLoad); } });
$('#image-carousel-block_010a2ccc0ce7ac74d0a4efef141ad58f .carousel__slider').on('init', function(slick) { resize(); ready = true; this.parentElement.style.opacity = 1; }); $('#image-carousel-block_010a2ccc0ce7ac74d0a4efef141ad58f .carousel__slider').slick({ infinite: true, variableWidth: true, slidesToShow: 1, slidesToScroll: 1, autoplay: true, autoplaySpeed: 3000, // centerMode: true, dots: false, arrows: true, prevArrow: '', nextArrow: '', responsive: [{ breakpoint: 800, settings: { arrows: false } }] }); $('#image-carousel-block_010a2ccc0ce7ac74d0a4efef141ad58f .carousel__slider').slickLightbox({ src: function(element, info) { return element.querySelector('img').src; }, itemSelector: '.image-carousel__slide', caption: function(element, info) { return element.querySelector('figcaption').innerHTML; }, layouts: { closeButton: '', }, slick: { arrows: false } }); $('#image-carousel-block_010a2ccc0ce7ac74d0a4efef141ad58f .carousel__slider').slickLightbox().on({ 'show.slickLightbox': function() { $('#image-carousel-block_010a2ccc0ce7ac74d0a4efef141ad58f .carousel__slider').slick('slickSetOption', 'autoplay', false, true); }, 'hide.slickLightbox': function() { $('#image-carousel-block_010a2ccc0ce7ac74d0a4efef141ad58f .carousel__slider').slick('slickSetOption', 'autoplay', true, true); } });
});
// Each re-render of the block registers a new resize handler; drop // the previous one for this block id so they don't pile up. window.__dortmunderuImageCarouselResize = window.__dortmunderuImageCarouselResize || {}; const previousResize = window.__dortmunderuImageCarouselResize['image-carousel-block_010a2ccc0ce7ac74d0a4efef141ad58f']; if (previousResize) { window.removeEventListener('resize', previousResize); } window.__dortmunderuImageCarouselResize['image-carousel-block_010a2ccc0ce7ac74d0a4efef141ad58f'] = resize; window.addEventListener('resize', resize); })(jQuery);
Dortmunder U
Animation: Frame by Frame
Tickets
Sold by: dortmunder-u.de
Eintritt frei
Go to dortmunder-u.de ↗You will be redirected to the partner's website in a new tab.
Erweckt eure Ideen zum Leben: hier lernt ihr verschiedene Animationstechniken kennen. Von der Entwicklung eurer Geschichten über das Schreiben vom Storyboard bis zum fertigen Animationsfilm werdet ihr von Profis begleitet.
About the event
Comments
Log in to add a comment
Log in
No comments yet
Be the first to comment