Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

framer.module.fill

framer.module.fill is a fill module for Framer.

framer.module.fill

Installation

Add fill.coffee to the /modules folder of your project.

Usage

To include the module within your project, add the following:

fill = require "fill"

framer.module.fill consists of the methods pattern, video and accepts the parameters layer, src.

pattern

# Repeats on x-axis and y-axis
fill.pattern(layer, src)

The layer and src parameters defines the layer to fill and the source to fill it with.

Fill source could either be local or external of type image/*.

video

fill.video(layer, src)

The layer and src parameters defines the layer to fill and the source to fill it with.

Fill source could either be local or external of type video/*.

Example

# Module
fill = require "fill"

# Layers
layerA = new Layer()
layerB = new Layer()

# Fill
fill.pattern(layerA, "path/to/image.jpg")
fill.video(layerB, "path/to/video.mp4")

About

A fill module for Framer.

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages