Updated presets

This commit is contained in:
Devine Lu Linvega 2017-05-30 12:49:29 -10:00
parent 13e3764d87
commit 66afa7ef99
7 changed files with 184 additions and 4 deletions

45
presets/album.rin Normal file
View File

@ -0,0 +1,45 @@
frame.resize 800x800
type:size 13
type:font DIN Medium
type:color #ffffff
~ PART 1
layer.fill #b3b3b3
source.load /duomic_1.jpg x700 -90,100
type.write 400,67 "OPAL INQUISITORS"
~ PART 2
~ layer.fill #a6a6a6
~ source.load /duomic_2.jpg x700 -65,100
~ type.write 400,67 "PORTALION"
~ PART 3
~ layer.fill #b3b3b3
~ source.load /duomic_3.jpg x700 -75,100
~ type.write 400,67 "DEI DAIN"
source.load /nataniev.small.white.svg x40 50,50
type.write 250,67 "ALICEFFEKT"
type.write 110,67 "DUOMIC"
type:font DIN
type:size 10
~ PART 1
type.write 250,82 "2015.09"
type.write 400,82 "4 TRACKS"
type.write 110,83 "PART 1"
~ PART 2
~ type.write 250,82 "2016.10"
~ type.write 400,82 "4 TRACKS"
~ type.write 110,83 "PART 2"
~ PART 3
~ type.write 250,82 "2013.06"
~ type.write 400,82 "10 TRACKS"
~ type.write 110,83 "PART 3"
~ Save
source:format jpg
source:quality 1
source.save

45
presets/album_duomic.rin Normal file
View File

@ -0,0 +1,45 @@
frame.resize 800x800
type:size 13
type:font DIN Medium
type:color #ffffff
~ PART 1
~ layer.fill #b3b3b3
~ source.load /duomic_1.jpg x700 -90,100
~ type.write 400,67 "OPAL INQUISITORS"
~ PART 2
~ layer.fill #a6a6a6
~ source.load /duomic_2.jpg x700 -65,100
~ type.write 400,67 "PORTALION"
~ PART 3
layer.fill #b3b3b3
source.load /duomic_3.jpg x700 -75,100
type.write 400,67 "DEI DAIN"
source.load /nataniev.small.white.svg x40 50,50
type.write 250,67 "ALICEFFEKT"
type.write 110,67 "DUOMIC"
type:font DIN
type:size 10
~ PART 1
~ type.write 250,82 "2015.09"
~ type.write 400,82 "4 TRACKS"
~ type.write 110,83 "PART 1"
~ PART 2
~ type.write 250,82 "2016.10"
~ type.write 400,82 "4 TRACKS"
~ type.write 110,83 "PART 2"
~ PART 3
type.write 250,82 "2013.06"
type.write 400,82 "10 TRACKS"
type.write 110,83 "PART 3"
~ Save
source:format jpg
source:quality 1
source.save

View File

@ -0,0 +1,42 @@
frame.resize 800x800
type:size 13
type:font DIN Medium
type:color #000
~ PART 1
~ source.load /laeisth_1.jpg x800 -250,0
~ type.write 400,67 "CHILDREN OF BRAMBLE"
~ PART 2
source.load /laeisth_2.jpg x800 -250,0
type.write 400,67 "KNOWN MAGYE"
~ PART 3
~ source.load /laeisth_3.jpg x800 -250,0
~ type.write 400,67 "EXTENDED SLEEP"
source.load /nataniev.small.black.svg x40 50,50
type.write 250,67 "ALICEFFEKT"
type.write 110,67 "LAEISTHIC"
type:font DIN
type:size 10
~ PART 1
~ type.write 250,82 "2012.04"
~ type.write 400,82 "4 TRACKS"
~ type.write 110,83 "PART 1"
~ PART 2
type.write 250,82 "2014.03"
type.write 400,82 "6 TRACKS"
type.write 110,83 "PART 2"
~ PART 3
~ type.write 250,82 "2015.05"
~ type.write 400,82 "4 TRACKS"
~ type.write 110,83 "PART 3"
~ Save
source:format jpg
source:quality 1
source.save

25
presets/album_malice.rin Normal file
View File

@ -0,0 +1,25 @@
frame.resize 800x800
type:size 13
type:font DIN Medium
type:color #ffffff
~ PART 1
layer.fill #72dec2
source.load /malice_1.jpg x800 -90,0
type.write 400,67 "COLLECTED WORKS"
source.load /nataniev.small.white.svg x40 50,50
type.write 250,67 "害意"
type.write 110,67 "MALICE"
type:font DIN
type:size 10
~ PART 1
type.write 250,82 "2016.07"
type.write 400,82 "4 TRACKS"
type.write 110,83 "2008-2015"
~ Save
source:format jpg
source:quality 1
source.save

22
presets/radial.rin Normal file
View File

@ -0,0 +1,22 @@
frame.resize 500x500
brush:color #000000
~ Radial 45'
~ brush.add 250,250 45'
~ brush.add 250,250 90'
~ brush.add 250,250 135'
~ brush.add 250,250 180'
~ brush.add 250,250 225'
~ brush.add 250,250 270'
~ brush.add 250,250 315'
~ Radial 72'
brush.add 250,250 72'
brush.add 250,250 144'
brush.add 250,250 216'
brush.add 250,250 288'
~ Radial 90'
~ brush.add 250,250 90'
~ brush.add 250,250 180'
~ brush.add 250,250 270'

View File

@ -8,7 +8,7 @@ function Brush(rune)
this.add_mode(new Mode("erase","shift"));
this.add_setting(new Setting("color","#000000"));
this.add_setting(new Setting("size","2"));
this.add_method(new Method("add",["Position","Color","Scale"],["mirror_x","mirror_y"]));
this.add_method(new Method("add",["Position","Color","Scale","Angle"],["mirror_x","mirror_y"]));
this.add_method(new Method("clear"));
this.add = function(cmd, preview = false)
@ -30,6 +30,7 @@ function Brush(rune)
pointer.offset = cmd.position() ? cmd.position() : new Position("0,0");
pointer.color = cmd.color() ? cmd.color().hex : this.settings["color"].value;
pointer.scale = cmd.value() ? cmd.value().float : 1;
pointer.angle = cmd.angle() ? cmd.angle().degrees : 0;
if(mirror_x){ pointer.mirror_x = mirror_x; }
if(mirror_y){ pointer.mirror_y = mirror_y; }

View File

@ -1,14 +1,14 @@
function Pointer(offset = new Position(), color = null, scale = 1)
function Pointer(offset = new Position(), color = null, scale = 1, angle = 1)
{
this.offset = offset;
this.color = color;
this.scale = scale;
this.angle = null;
this.mirror_x = null;
this.mirror_y = null;
this.position_prev = null;
this.angle = null;
this.distance = 0;
// Parameters
@ -112,7 +112,7 @@ function Pointer(offset = new Position(), color = null, scale = 1)
this.position_rotation = function()
{
var angle_radian = this.angle.degrees * Math.PI / 180;
var angle_radian = this.angle * Math.PI / 180;
var deltaX = ronin.cursor.position.x - this.offset.x;
var deltaY = ronin.cursor.position.y - this.offset.y;
var t = Math.atan2(deltaY, deltaX) + angle_radian;