Explore
Search
Sign up
Make games on your phone.
Get the app!
Android
iOS
Discord
Dweller
Sign up
Play in App
Sign up
Play in App
iOS
Android
Sign up
Area52
Transparent triangle filler It's poorly optimized right now since it's a proof of concept
17.9k
211
80 Comments
Next up
Area52
Transparent triangle filler
#triangle
#filler
#drawing
#laggy
It's poorly optimized right now since it's a proof of concept.
More #triangle games ↓
petah_is_hella_sus
71w
If you read this in the future here is a more optimized version of the script function drawTriangleWithRightTriangles(x1, y1, x2, y2, x3, y3) y1 = -y1 y2 = -y2 y3 = -y3 local t1 = castle.createActor("Right Triangle", 0, 0) local t2 = castle.createActor("Right Triangle", 0, 0) t1:moveToFront() t2:moveToFront() local dx12, dy12 = x2 - x1, y2 - y1 local dx23, dy23 = x3 - x2, y3 - y2 local dx31, dy31 = x1 - x3, y1 - y3 local s1 = (dx23^2 + dy23^2)^0.5 local s2 = (dx31^2 + dy31^2)^0.5 local s3 = (dx12^2 + dy12^2)^0.5 local a1 = math.acos((s1^2 + s2^2 - s3^2) / (2 * s1 * s2)) local a2 = math.acos((s2^2 + s3^2 - s1^2) / (2 * s2 * s3)) local a3 = math.acos((s3^2 + s1^2 - s2^2) / (2 * s3 * s1)) local ox, oy, bx, by, ax, ay, side, angle if a1 >= a2 and a1 >= a3 then ox, oy = x3, y3; bx, by = x1, y1; ax, ay = x2, y2; side = s2; angle = a2 elseif a2 >= a3 then ox, oy = x1, y1; bx, by = x2, y2; ax, ay = x3, y3; side = s3; angle = a3 else ox,
4
Reply
lchciken
92w
I got trolled ┈┈┈┈▕▔╱▔▔▔━▁ ┈┈┈▕▔╱╱╱👁┈╲▂▔▔╲ ┈┈▕▔╱╱╱╱💧▂▂▂▂▂▂▏ ┈▕▔╱▕▕╱╱╱┈▽▽▽▽▽ ▕▔╱┊┈╲╲╲╲▂△△△△ ▔╱┊┈╱▕╲▂▂▂▂▂▂╱ ╱┊┈╱┉▕┉┋╲┈ ⠛⠛⣿⣿⣿⣿⣿⡷⢶⣦⣶⣶⣤⣤⣤⣀⠀⠀⠀ ⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡀⠀ ⠀⠀⠀⠉⠉⠉⠙⠻⣿⣿⠿⠿⠛⠛⠛⠻⣿⣿⣇⠀ ⠀⠀⢤⣀⣀⣀⠀⠀⢸⣷⡄⠀⣁⣀⣤⣴⣿⣿⣿⣆ ⠀⠀⠀⠀⠹⠏⠀⠀⠀⣿⣧⠀⠹⣿⣿⣿⣿⣿⡿⣿ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠿⠇⢀⣼⣿⣿⠛⢯⡿⡟ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠦⠴⢿⢿⣿⡿⠷⠀⣿⠀ ⠀⠀⠀⠀⠀⠀⠀⠙⣷⣶⣶⣤⣤⣤⣤⣤⣶⣦⠃⠀ ⠀⠀⠀⠀⠀⠀⠀⢐⣿⣾⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⢿⣿⣿⣿⣿⠟⠁
4
Reply
TNT_official
65w
I create triangle deck too...
3
Reply
dyemo
36w
Square
2
Reply
Demon_lX
91w
2
Reply
Demon_lX
91w
2
Reply
Comment in the App
More #triangle games
×
Whole triangle house mad |
@X-Dog_BankPet
Dress up
@ccinnamon
Shapebox V2: Triangles (Pubilshed 1st...
@McPaper2ndAccount
(not lined up)
@Sniffersarefun
Game maths
@kize_studio
Puzzle game inspired by Nil
@res5r5_u
My 3D project, free to use
@sly7372-
Fighting game
@ninocuber_official
See all #triangle games →