<commit_before>---
layout: post
title: Framer code library
tags:
- framer
---



Framer code library / 자주 쓰이는 프레이머 코드들 정리하기


### Basic code sample
레이어 생성

```javascript
layerA = new Layer
	scale:0.5
	opacity: 0.5
	x:0
	y:0
	backgroundColor: "#aaa"

ani = new Animation
	layer:layerA
	properties:
		scale:1.5
		opacity:1
		backgroundColor:"skyblue"
		borderRadius: "100%"
		rotation:360
		x:Align.center
		y:Align.center
	//curve, time 값은 properties 와 같은 선상에
	curve:"spring(67, 8, 3)"
	time:0.8
```<commit_msg>Update 2017-04-11-framer_library.md<commit_after>---
layout: post
title: Framer code library
tags:
- framer
---



Framer code library / 자주 쓰이는 프레이머 코드들 정리하기 🐶 


### Basic code sample
레이어 생성

```javascript
layerA = new Layer
	scale:0.5
	opacity: 0.5
	x:0
	y:0
	backgroundColor: "#aaa"

ani = new Animation
	layer:layerA
	properties:
		scale:1.5
		opacity:1
		backgroundColor:"skyblue"
		borderRadius: "100%"
		rotation:360
		x:Align.center
		y:Align.center
	//curve, time 값은 properties 와 같은 선상에
	curve:"spring(67, 8, 3)"
	time:0.8
```
{'fraction_non_alphanumeric': 0.12727272727272726, 'fraction_numerical': 0.04784688995215311, 'mean_word_length': 3.587719298245614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '109640', 'n_tokens_mistral': 511, 'n_tokens_neox': 479, 'n_words': 116}