Thanks, there must be more typos and mistakes
It should have been function quat.from_rot(r, a, x, y, z) like (mat4.rv etc) to begin with
Search found 188 matches
- Sun Oct 31, 2021 1:57 pm
- Forum: Libraries and Tools
- Topic: Math Library (with iqm animation demo)
- Replies: 3
- Views: 8415
- Fri Oct 29, 2021 9:08 pm
- Forum: Libraries and Tools
- Topic: Math Library (with iqm animation demo)
- Replies: 3
- Views: 8415
Math Library (with iqm animation demo)
https://github.com/monolifed/lua-module ... main/vmath (MIT Licensed)
Library is a port of my C library: https://github.com/monolifed/vmath (Unlicense)
IQM animation demo is modified to use this library (replacing cpml)
Library is a port of my C library: https://github.com/monolifed/vmath (Unlicense)
IQM animation demo is modified to use this library (replacing cpml)
- Thu Sep 16, 2021 7:45 pm
- Forum: Support and Development
- Topic: [SOLVED] Bizarre nil issue
- Replies: 27
- Views: 19383
Re: Bizarre nil issue
x = notes[x][y].x0 -- x is never affected by this bug... y = notes[x][y].y0 -- somehow this can set y to nil even though I've just shown a non-nil value for y0... first statement sets x to notes[x][y].x0 but the second sets y to notes[notes[x][y].x0][y].y0 Not notes[x][y].y0 You can do x, y = notes...
- Wed Sep 15, 2021 1:09 pm
- Forum: Libraries and Tools
- Topic: Easings Library
- Replies: 8
- Views: 11665
Re: Easings Preview
Thanks Yes very slight but there and compared to smootherstep it becomes very noticeable. polynomial outin functions seem to be smooth but all inout ones have that problem One solution is adding a higher degree polynomial that resembles the piecewise inout function (Like the smootherstep you provide...
- Tue Sep 14, 2021 5:09 pm
- Forum: Libraries and Tools
- Topic: Easings Library
- Replies: 8
- Views: 11665
Re: Easings Preview
I understand that they are not mathematically smooth but I am yet to see visual artifacts caused by it, Feel free to provide an example That said I am not inventing new functions here. They are some standard functions and some other functions from easings.net If they are not smooth there is nothing ...
- Tue Sep 14, 2021 3:09 pm
- Forum: Libraries and Tools
- Topic: Easings Library
- Replies: 8
- Views: 11665
Re: Easings Preview
Yes they (InOut ones) don't seem to have continuous second derivatives.
Interestingly leap from acceleration to deceleration doesn't seem to affect smoothness of the transition noticeably
Interestingly leap from acceleration to deceleration doesn't seem to affect smoothness of the transition noticeably
- Tue Sep 14, 2021 8:21 am
- Forum: Libraries and Tools
- Topic: Easings Library
- Replies: 8
- Views: 11665
Re: Easings Preview
Which ones are not smooth?
bounce is clearly not
elasticOutIn, expoOutIn also not
Anything else?
I can add smoothstep
I think its out version can be
Thinking again, smoothstep is more like an InOut function
bounce is clearly not
elasticOutIn, expoOutIn also not
Anything else?
I can add smoothstep
Code: Select all
f(x) = sqrt(x * (x - 1) / 3) for x < 0.5
1 - f(x - 2) for x >= 0.5
Thinking again, smoothstep is more like an InOut function
- Mon Sep 13, 2021 8:40 pm
- Forum: Libraries and Tools
- Topic: Easings Library
- Replies: 8
- Views: 11665
Easings Library
I am writing yet another easings library
smoothstep 1 to 6
polynomial 2 to 6
circle, sine, expo
back, elastic, bounce
https://github.com/monolifed/lua-modules -> easings
smoothstep 1 to 6
polynomial 2 to 6
circle, sine, expo
back, elastic, bounce
https://github.com/monolifed/lua-modules -> easings
- Mon Aug 30, 2021 9:12 am
- Forum: Support and Development
- Topic: video:play() issues [SOLVED] (sorta)
- Replies: 4
- Views: 7820
Re: video:play() issues
It worked with seek(0.1) and bgv1_4.4.ogv everytime I tried.
I also re-encoded your bgv1_4.4.ogv with ffmpeg 4.3.2-0, it seems to work.
I also re-encoded your bgv1_4.4.ogv with ffmpeg 4.3.2-0, it seems to work.
Code: Select all
ffmpeg -i bgv1_4.4.ogv -c:v libtheora -q:v 10 -c:a libvorbis -q:a 5 bgv1.ogv
- Mon Aug 30, 2021 8:45 am
- Forum: Support and Development
- Topic: video:play() issues [SOLVED] (sorta)
- Replies: 4
- Views: 7820
Re: video:play() issues
I don't know what is wrong.
But the following seems to work as a work around.
But the following seems to work as a work around.
Code: Select all
local video = love.graphics.newVideo("bgv1.ogv", {audio="true"})
video:seek(0.1) -- added