Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MLG360Interpreter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
plw1g21
MLG360Interpreter
Commits
fc23ac51
Commit
fc23ac51
authored
2 years ago
by
plw1g21
Browse files
Options
Downloads
Patches
Plain Diff
Changed the approach of how to do pr7.tsl
parent
5ad743f7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
pr7.tsl
+6
-51
6 additions, 51 deletions
pr7.tsl
with
6 additions
and
51 deletions
pr7.tsl
+
6
−
51
View file @
fc23ac51
:) 100N tile
:) 100N tile
t1 << tile1;
t1 << tile1;
t2 = scale 100 t1;
t2 = scale 100 t1;
:)padTile is just a default tile that is N size
:)padTileH and V are just default tiles N height/width repeated a certain amount of time
padTile = _ (width t1);
padTileH = _ (width t1);
padTileV = _ (width t1);
:) repeat H so it is 100N wide
:) Repeat statement will use the paddingMask to add the padding
paddingMask = _ 100;
paddingMask = not paddingMask;
zeroesForXorMask = _ 100;
repeat 49 {paddingMask = gibb 2 2 paddingMask zeroesForXorMask;print(paddingMask);print(2);};
:)print(XORMask);
:) 98N tile
repeat 99 { padTileH = joinH padTileH padTile;};
repeat 97 { padTileV = joinV padTileV padTile;};
padTileH2 = joinV padTileH padTileH;
padTileV2 = joinH padTileV padTileV;
t3 = scale 98 t1;
t3 = joinH padTileV2 t3;
t3 = joinV padTileH2 t3;
:)print(t3);
:) XOR
t10 = not t2;
t11 = not t3;
t12 = and t2 t11;
t13= and t3 t10;
tileQ = or t12 t13;
print(tileQ);
:) 96N Tile
padTileV = _ (width t1);
repeat 95 { padTileV = joinV padTileV padTile;};
padTileV2 = joinH padTileV padTileV;
repeat 2{ padTileH2 = joinV padTileH2 padTileH;padTileV2 = joinH padTileV2 padTileV;};
t4 = scale 96 t1;
t4 = joinH padTileV2 t4;
t4 = joinV padTileH2 t4;
:)print(t4);
:) 94N Tile
padTileV = _ (width t1);
repeat 93 { padTileV = joinV padTileV padTile;};
padTileV2 = joinH padTileV padTileV;
repeat 2{padTileH2 = joinV padTileH2 padTileH;};
repeat 4{ padTileV2 = joinH padTileV2 padTileV;};
t5 = scale 94 t1;
t5 = joinH padTileV2 t5;
t5 = joinV padTileH2 t5;
:)print(t5);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment