Project Deadline - SVG animation with CSS3

 

#2 - Project Deadline - SVG animation with CSS3

...

codepen.io

 

.

Posted by 홍반장水 홍반장水
TAG animation, SVG

댓글을 달아 주세요

Build and edit SVGs in the browser http://jxnblk.com/paths

 

Paths

 

jxnblk.com

 

SVG Path Commands

The path element is used to create complex shapes based on a series of commands. Each command begins with a letter and is followed by numbers representing x/y coordinates according to the SVG’s viewBox attribute. Uppercase letters represent absolute coordinate movements, and lowercase letters represent relative movements. For simplicity, the Paths app only supports absolute movements.

For a more in-depth introduction, see the MDN Path Tutorial.

M x y

The Moveto command moves the current point without drawing. Paths must begin with a Moveto command to determine where the drawing starts.

L x y

The Lineto command draws a straight line from the previous command to its x/y coordinates.

H x

The Horizontal Lineto command draws a horizontal line.

V y

The Vertical Lineto command draws a vertical line.

C x1 y1 x2 y2 x y

The Curveto command draws a cubic Bézier curve with control points for the beginning and end of the curve. The final x/y coordinate pair determines where the line ends.

S x2 y2 x y

The Shorthand/Smooth Curveto command draws a cubic Bézier curve with a control point for the end of the curve. The first control point is a reflection of the control point from the previous command.

Q x1 y1 x y

The Quadratic Bézier Curveto command draws a quadratic Bézier curve with a single control point for both points on the curve.

T x y

The Shorthand/Smooth Quadratic Bézier Curveto command draws a quadratic Bézier curve, using a reflection of the previous command’s control point.

Z

The Closepath command draws a line to the intial point to close a path.

A rx ry x-axis-rotaion large-arc-flag sweep-flag x y

Note: The Arc command is currently not supported in the Paths app

The Elliptical Arc command draws an elliptical arc to the x/y coordinates.

How-To Use the App

Unlike other vector drawing applications, Paths has no tool palette or modes. Instead it exposes the path command syntax in a reactive user interface.

  • Use the form to the right to manually adjust the type and parameters for each command.
  • Add new points with the button below the form.
  • Remove points with the × button next to the command.
  • Click to select points on the canvas.
  • Click and drag to move points.
  • Use the arrow keys to nudge points.
  • Click anywhere on the canvas to add a new point after the selected point.
  • Click the blue × button to the right of the command syntax tooltip to remove a point.
  • Click outside of the canvas to deselect all points.
  • Use the toolbar below the canvas to toggle the following:
    • Grid visibility
    • Snap to grid
    • Path preview mode
  • Use the Download link to save the SVG.
  • Use the + & - buttons to zoom in and out.
  • Copy and paste the URL (along with the parameters) to share links with others.

 

Posted by 홍반장水 홍반장水

댓글을 달아 주세요

불언실행(不言實行)이라는 말이 있지만, 나는 언행 쪽이 위라고 생각한다.
불언실행은 주위 사람들이 자신의 맹세를 모르니까
언제든지 도망칠 수 있다.
하지만 말을 하고 실행하면 절대로 이뤄내야만 한다.
- 이나모리 가즈오 

남이 보든 안보든 스스로의 약속을 지키는 것이 최상입니다.
그러나 남의 눈을 의식해서라도 좋은 일을 하고 약속을 지킬 수 있다면
이 또한 바람직한 일입니다.
공개적인 약속은 실행가능성을 높입니다.
자꾸 이야기하다보면 구체적인 계획도 자연스럽게 떠오르게 됩니다.

Posted by 홍반장水 홍반장水

댓글을 달아 주세요

길을 걷다 보면 
한 걸음 이전과 한 걸음 이후가 
'변화' 그 자체라는 것을 느낄 수 있다. 
한 걸음 사이에 이미 이전의 것은 지나가고 
새로운 것이 다가온다. 같은 풀, 같은 꽃, 
같은 돌멩이, 같은 나무라도 한 걸음 
사이에 이미 그 자태가 변해 있다. 

- 서영은의《노란 화살표 방향으로 걸었다》중에서 - 


* 한 걸음에 인생이 바뀝니다.
처음에는 별것 아닌 것처럼 보여도
작은 걸음 하나가 방향을 바꾸어 놓습니다.
그래서 맨 앞에 선 사람의 발걸음이 중요합니다.
그 한 사람이 첫 한 걸음 잘못 디디면
많은 사람들이 아무 영문도 모른 채
엉뚱한 곳으로 가게 됩니다. 

'생활의 발견 > 아침편지' 카테고리의 다른 글

우울과 후회  (0) 2019.06.14
혼자 있는 시간  (0) 2019.06.13
첫걸음 하나에  (0) 2019.06.12
꽉 묶어둔 선물 보자기를 풀듯이  (0) 2019.06.11
달콤한 덫  (0) 2019.06.10
싸움의 기술  (0) 2019.06.09
Posted by 홍반장水 홍반장水

댓글을 달아 주세요