Cardioid: Sunday kind of LÖVE 1K Challenge

Show off your games, demos and other (playable) creations.
User avatar
ivan
Party member
Posts: 1545
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Cardioid: Sunday kind of LÖVE 1K Challenge

Post by ivan » Mon Dec 30, 2019 6:02 am

Good one zorg.
This last one by grump is amazing.

grump
Party member
Posts: 595
Joined: Sat Jul 22, 2017 7:43 pm

Re: Cardioid: Sunday kind of LÖVE 1K Challenge

Post by grump » Mon Dec 30, 2019 8:41 am

zorg wrote:
Sat Dec 28, 2019 9:43 pm
(atm, mine are the smallest in both cases, whether or not we take the fact that the OP specified a "cardioid animation". :3)
Alright, let's see how far we can bend the rules.

Animated: 63 60 bytes

Code: Select all

function love.draw()love.graphics.print("<3",os.time()%9)end
Not animated: 48 46 bytes

Code: Select all

function love.draw()love.graphics.print"<3"end
And my magnum opus in 9 bytes:

Code: Select all

print"<3"
Last edited by grump on Mon Dec 30, 2019 12:31 pm, edited 2 times in total.

User avatar
ingsoc451
Party member
Posts: 108
Joined: Sat Feb 06, 2016 9:42 pm
Location: Oceania

Re: Cardioid: Sunday kind of LÖVE 1K Challenge

Post by ingsoc451 » Mon Dec 30, 2019 9:02 am

Sorry for not stating the size of mine, it is 283 bytes with animation

Edit: now 252 bytes
main.lua
(252 Bytes) Downloaded 6 times

Code: Select all

a={0,15,10,5,-5,0,0,15}b={0,15,7,15,7,5,0,5}c={}e=0
l=love
z=l.graphics
l.draw=function()z.translate(400,-200)e=.02+e%2
f=e*(2-e)for i=1,8 do
c[i]=50*(f*a[i]+(1-f)*b[i])g=(-1)^i c[17-i+g]=g*c[i]end
z.polygon("fill",l.math.newBezierCurve(c):render())end

here is the final form (printed in error message):

Code: Select all

"<3"
eom

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests