-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use them as functional tests for good measure.
- Loading branch information
1 parent
0de8181
commit 8a8a080
Showing
13 changed files
with
99 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
.PHONY: images | ||
|
||
images: tutorial1.jpg tutorial2.jpg tutorial3.jpg tutorial4.jpg tutorial5.jpg | ||
|
||
%.jpg: %.fl | ||
flitter --offscreen --lockstep --fps=1 --runtime=1 $< |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
!window size=1920;1080 | ||
!record filename=(OUTPUT or 'tutorial1.jpg') | ||
!canvas | ||
!text text="Hello world!" font_size=100 point=960;540 color=1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
!window size=1920;1080 | ||
!record filename=(OUTPUT or 'tutorial2.jpg') | ||
!canvas | ||
!group font_size=100 translate=960;540 color=1 | ||
!text text="Hello world!" point=-2;2 color=1;0;0 | ||
!text text="Hello world!" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
!window size=1920;1080 | ||
!record filename=(OUTPUT or 'tutorial3.jpg') | ||
!canvas | ||
!group font_size=100 translate=960;540 color=1 | ||
!text text="Hello world!" point=-2;2 color=1;0;0 | ||
!text text="Hello world!" | ||
!text text="Figure 1:" point=100;100 color=1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
func text3d(text, offset, shadow_color) | ||
for i in offset..0|-1 | ||
!text text=text point=-i;i color=shadow_color | ||
!text text=text | ||
|
||
let SIZE=1920;1080 | ||
|
||
!window size=SIZE | ||
!record filename=(OUTPUT or 'tutorial4.jpg') | ||
!canvas | ||
!group font_size=100 translate=SIZE/2 color=1 | ||
text3d("Hello world!", 10, 1;0;0) | ||
!text text="Figure 1:" point=100;100 color=1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
func text3d(text, offset, start_hue) | ||
for i in offset..0|-1 | ||
let k=i/offset | ||
!text text=text point=-i;i color=hsv(start_hue-k;1;1-k) | ||
!text text=text | ||
|
||
let SIZE=1920;1080 | ||
|
||
!window size=SIZE | ||
!record filename=(OUTPUT or 'tutorial5.jpg') | ||
!canvas | ||
!group font_size=100 translate=SIZE/2 color=1 | ||
text3d("Hello world!", 100, beat/10) | ||
!text text="Figure 1:" point=100;100 color=1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters