File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -37,19 +37,19 @@ defmodule Scenic.Primitive.Path do
3737
3838 ## `Path` vs. `Script`
3939
40- Both the `Path` and the `Script` primitives use the `Scenic.Script` to create scripts
41- are sent to the drivers for drawing. The difference is that a Path is far more limited
40+ Both the `Path` and the `Script` primitives use the `Scenic.Script` to create scripts that
41+ are sent to the driver for drawing. The difference is that a Path is far more limited
4242 in what it can do, and is inserted inline with the compiled graph that created it.
4343
4444 The script primitive, on the other hand, has full access to the API set of
4545 `Scenic.Script` and accesses scripts by reference.
4646
47- The inline vs. reference difference is important. A simple path will be consume
48- fewer resources. BUT it will cause the entire graph to be recompile and resent
49- to the drivers if you change it.
47+ The inline vs. reference difference is important. A simple path will consume
48+ fewer resources. BUT it will cause the entire graph to be recompiled and resent
49+ to the driver if you change it.
5050
5151 A script primitive references a script that you create separately from the
52- the graph. This means that any changes to the graph (such as an animation) will
52+ graph. This means that any changes to the graph (such as an animation) will
5353 NOT need to recompile or resend the script.
5454
5555 ## Usage
Original file line number Diff line number Diff line change @@ -24,19 +24,19 @@ defmodule Scenic.Primitive.Script do
2424
2525 ## `Script` vs. `Path`
2626
27- Both the `Path` and the `Script` primitives use the `Scenic.Script` to create scripts
28- are sent to the drivers for drawing. The difference is that a Path is far more limited
27+ Both the `Path` and the `Script` primitives use the `Scenic.Script` to create scripts that
28+ are sent to the driver for drawing. The difference is that a Path is far more limited
2929 in what it can do, and is inserted inline with the compiled graph that created it.
3030
3131 The script primitive, on the other hand, has full access to the API set of
3232 `Scenic.Script` and accesses scripts by reference.
3333
34- The inline vs. reference difference is important. A simple path will be consume
35- fewer resources. BUT it will cause the entire graph to be recompile and resent
36- to the drivers if you change it.
34+ The inline vs. reference difference is important. A simple path will consume
35+ fewer resources. BUT it will cause the entire graph to be recompiled and resent
36+ to the driver if you change it.
3737
3838 A script primitive references a script that you create separately from the
39- the graph. This means that any changes to the graph (such as an animation) will
39+ graph. This means that any changes to the graph (such as an animation) will
4040 NOT need to recompile or resend the script.
4141
4242 ## Usage
You can’t perform that action at this time.
0 commit comments