Hi all!
Here is my try to make a double pendulum (thanks for reddit):
Double pendulum
Double pendulum
- Attachments
-
- double-pendulum-01.love
- (1.15 KiB) Downloaded 345 times
Re: Double pendulum
Second version:
Draw with lines, not points.
Press space to start.
Draw with lines, not points.
Press space to start.
- Attachments
-
- double-pendulum-02.love
- (1.19 KiB) Downloaded 763 times
Re: Double pendulum
The third version: 10000 double pendulums, on start the difference is just (1/1000000) radians and it makes big difference after few seconds.
Many thanks to Alexander Gustafsson: https://www.youtube.com/watch?v=H7nMP-MYyIc
Many thanks to Alexander Gustafsson: https://www.youtube.com/watch?v=H7nMP-MYyIc
- Attachments
-
- double-pendulum-03.love
- (974 Bytes) Downloaded 287 times
Re: Double pendulum
Version 04:
red-green-blue gradient:
You can enable/disable points (circles) and lines with keys Z and X.
red-green-blue gradient:
Code: Select all
function value_to_color (t, alpha) -- value from 0 (red) to 1 (blue)
local r = 2-4*t
local g = t < 1/2 and 4*t or 4-4*t
local b = -2 + 4*t
return {r,g,b,alpha}
end
- Attachments
-
- double-pendulum-04.love
- (1.29 KiB) Downloaded 260 times
- Gunroar:Cannon()
- Party member
- Posts: 1143
- Joined: Thu Dec 10, 2020 1:57 am
Re: Double pendulum
This all looks really great and fancy! Any possible uses in gamedev or is it just like a test/implementation?
Re: Double pendulum
Just proof of concept, but such pendulum can be used on the game level as a help to the exit or like a boss. Just put the disc saw on the free end of this pendulum >:)Gunroar:Cannon() wrote: ↑Tue May 11, 2021 5:26 pm This all looks really great and fancy! Any possible uses in gamedev or is it just like a test/implementation?
- Gunroar:Cannon()
- Party member
- Posts: 1143
- Joined: Thu Dec 10, 2020 1:57 am
Re: Double pendulum
Hahah!! I see!
Re: Double pendulum
Pretty hard game, level 6 is very difficult.
- Attachments
-
- double-pendulum-jump-game-02.love
- (3.69 KiB) Downloaded 332 times
- Gunroar:Cannon()
- Party member
- Posts: 1143
- Joined: Thu Dec 10, 2020 1:57 am
Re: Double pendulum
Level 6 is very difficult??! I just got past level 2 after 117 deaths!!
But I really like the game, haha, it was fun. The mean balls toturing the little bunny rabit. Now I really see!!!!
But I really like the game, haha, it was fun. The mean balls toturing the little bunny rabit. Now I really see!!!!
Re: Double pendulum
My try up to level 4:Gunroar:Cannon() wrote: ↑Fri May 14, 2021 11:43 am Level 6 is very difficult??! I just got past level 2 after 117 deaths!!
But I really like the game, haha, it was fun. The mean balls toturing the little bunny rabit. Now I really see!!!!
How to insert the embed youtube video?
Last edited by darkfrei on Fri May 14, 2021 10:15 pm, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 2 guests