Wizardry

The scroll-based animation tool allows you to set start and end values for your animation and it will fill in the keyframes in-between based off of the scrolling of the page.

Examples

The Wizardry tool triggers animations off of the scrolling of the browser window itself. Since Partitions, which is used to build the documentation pages here, does not scroll the page, but instead scrolls individual sections, the Wizardry animations will not trigger within a Partitions layout.

It does not do to dwell on dreams and forget to live.

The Wizardry tool creates keyframed animations based on your provided start and end values for each animatable property.

The difference between this tool and Alchemy is that the keyframes between your start and end values is animated based on the visitor's scrolling of the browser window. This scrolling is appropriately translated into values that fall between those start and end values.

Settings

Edit Mode

Edit Mode Title

Allows you to add a custom label to the top title bar of the tool. This lets you quickly identify what purpose you're using that tool for in your layout. This title is also visible when you've collapsed or hidden the contents of the tool in Edit Mode.

General

Apply To

Here you can decide what content your scroll-based animation will be applied to. The Contents mode will apply the animation to the Wizardry tool, and its contents. When using Class mode you will provide a unique class name as an ID. You'll then apply this class name to another element on your page. This links that element to the Wizardry tool allowing it to animate that page element.

Start & End

These two drop downs will determine where within the browser window that the animation will begin and end. These locations are relative to the browser window.

Item Start & Item End

These two drop downs will determine what location on your content that will trigger the animation's start and stop. When the Item Start location passes the browser's start position the animation begins. When the Item End location passes the browser's end position the animation stops. The Item Start and End settings are relative to the item being animated.

Opacity

Animate Opacity

Allows you to add opacity start and end values to your animation.

Opacity

Here you set the values for your element's opacity for the Start and End of the animation. These values are a percentage of 100.

Easing

Easing can be applied to this property to give it a different look and feel. Easing with scroll-based animation is much more subtle in some instances than with other CSS based animation. Generally the Linear setting will be good for most animations.

Scale

Animate Scale

Allows you to add scale start and end values to your animation.

Scale

Here you set the values for your element's scale for the Start and End of the animation. These values are a multiplier. In other words 0.5 would be equal to 50% of the items original size, 1.0 would be equal to 100% of its original size and 1.5 would be equal to 150% of the elements original size.

Easing

Easing can be applied to this property to give it a different look and feel. Easing with scroll-based animation is much more subtle in some instances than with other CSS based animation. Generally the Linear setting will be good for most animations.

Rotate

Animate Rotate

Allows you to add rotation start and end values to your animation.

Rotate

Here you set the values for your element's rotation around its center point for the Start and End of the animation. These values are measured in degrees. These values can be a positive or negative number and can exceed 360° in either the positive or negative.

Easing

Easing can be applied to this property to give it a different look and feel. Easing with scroll-based animation is much more subtle in some instances than with other CSS based animation. Generally the Linear setting will be good for most animations.

Animate Rotation X-Axis

Allows you to add rotation start and end values to your animation along the items x-axis.

Rotate X

Here you set the values for your element's rotation along its X-axis for the Start and End of the animation. These values are measured in degrees. These values can be a positive or negative number and can exceed 360° in either the positive or negative.

Easing

Easing can be applied to this property to give it a different look and feel. Easing with scroll-based animation is much more subtle in some instances than with other CSS based animation. Generally the Linear setting will be good for most animations.

Animate Rotation Y-Axis

Allows you to add rotation start and end values to your animation along the items y-axis.

Rotate Y

Here you set the values for your element's rotation along its Y-axis for the Start and End of the animation. These values are measured in degrees. These values can be a positive or negative number and can exceed 360° in either the positive or negative.

Easing

Easing can be applied to this property to give it a different look and feel. Easing with scroll-based animation is much more subtle in some instances than with other CSS based animation. Generally the Linear setting will be good for most animations.

Translate

Animate Translate X-Axis

Allows you to add translate start and end values to your animation. Translate values allow you to move an element horizontally or vertically depending on the axis in question. The X-axis is horitontal.

Translate X

Here you set the values for your element's Start and End positions along the X-axis for the animation. The values can be either a positive or negative value.

Units

Allows you to select the unit of measure for the movement along the X-axis. You can choose from Pixels (px), RootEM (rem), View Width (vw) or Percent (%). The percentage value is a percentage of the widht of the element itself -- so if your element is 300 px wide, 50% would be a movement of 150px.

Easing

Easing can be applied to this property to give it a different look and feel. Easing with scroll-based animation is much more subtle in some instances than with other CSS based animation. Generally the Linear setting will be good for most animations.

Animate Translate Y-Axis

Allows you to add translate start and end values to your animation. Translate values allow you to move an element horizontally or vertically depending on the axis in question. The Y-axis is vertical.

Translate Y

Here you set the values for your element's Start and End positions along the Y-axis for the animation. The values can be either a positive or negative value.

Units

Allows you to select the unit of measure for the movement along the Y-axis. You can choose from Pixels (px), RootEM (rem), View Width (vw) or Percent (%). The percentage value is a percentage of the widht of the element itself -- so if your element is 300 px wide, 50% would be a movement of 150px.

Easing

Easing can be applied to this property to give it a different look and feel. Easing with scroll-based animation is much more subtle in some instances than with other CSS based animation. Generally the Linear setting will be good for most animations.

Filters

Filters

This tool also allows you to add animatable filters to your page elements. Like the other settings through out, you can add a start and end value for each filter. Unlike the above settings the filters do not have easing settings. The available, animatable filters are as follows:

  • Blur
  • Brightness
  • Contrast
  • Grayscale
  • Hue
  • Invert
  • Saturate
  • Sepia

Border

Animate Border Radius

Allows you to add a start and end value for animating the border radius, or rounded corners of an item, with your animation. These values are measured in Pixels (px). This setting is most often used in conjuction with Class Mode for the tool's Apply To setting.

Skew

Animate Skew

When enabled you're given the ability to set start and end values for the skewing of the content within the Wizardry tool. The skew of the contents can be set seprately along both the X- and Y-axis.

Padding

Animate Padding

Enabling this setting allows you to animated the padding applied to the Wizardry tool. This is especially useful when Wizardry's APPLY TO setting is set to Class, as this allows us to animate the padding applied to a class name, which we can assign to other elements throughout Foundry.

Padding Units

Allows you to select the unit of measure for the padding applied to the Wizardry tool or class. You can choose from Pixels (px) or RootEM (rem) for this setting.

Advanced

Position Mode

Here you can choose between displaying your animated element inline with other content using Relative mode or set an absolute position, which can overlap content, using Absolute mode.

Display Type

Lets you assign a CSS display property of either Block or Inline-Block to the animated item. Most often Inline Block will be preferable, but this setting offers you the ability to quickly change it if needed.

HTML Comment

HTML Comment

Enabling this feature adds an HTML comment to the exported code to indicate the name of the tool being used here. This is helpful to both yourself and others when troubleshooting, or inspecting the code. This is enabled by default.

Custom

This field allows you to replace the default HTML Comment with your own text.

CSS

Classes

Allows you to specify an options class, or classes, that will be added to this tool's child item. You can use this to apply custom styling from the Blacksmith tool, or add a Bootstrap v5 preset class to your item. If you're applying more than one class be sure that you separate each class name with a space. Do not use special characters.