LÖVE Plot - plotting snippet

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
fysx
Citizen
Posts: 97
Joined: Mon Jan 30, 2012 8:36 pm
Contact:

LÖVE Plot - plotting snippet

Post by fysx »

Hi there,

I have created a small snippet that allows plotting of stuff in LÖVE. Not necessarily fast, but can help when debugging stuff.

Latest code available in the repository: https://bitbucket.org/MartinFelis/loveplot

Here is a screenshot:
loveplot screenshot
loveplot screenshot
loveplot_screenshot.png (23.63 KiB) Viewed 3578 times
Have fun.

Edit: added repository link
Attachments
main.lua
loveplot example
(530 Bytes) Downloaded 113 times
loveplot.lua
loveplot snippet
(4.51 KiB) Downloaded 125 times
Last edited by fysx on Wed Oct 15, 2014 4:05 pm, edited 1 time in total.
Bird thing: @fysxdotorg Blog thing: fysx.org
User avatar
undef
Party member
Posts: 438
Joined: Mon Jun 10, 2013 3:09 pm
Location: Berlin
Contact:

Re: LÖVE Plot - plotting snippet

Post by undef »

Oh nice, that might be a useful alternative to just wildly printing values in the terminal :)
twitter | steam | indieDB

Check out quadrant on Steam!
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: LÖVE Plot - plotting snippet

Post by josefnpat »

Nice! Would be cool to put this somewhere folks could offer pull requests etc;

e.g. you might want to remove the require"strict"

<3
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
User avatar
clofresh
Citizen
Posts: 87
Joined: Sun Jul 26, 2009 4:21 pm
Contact:

Re: LÖVE Plot - plotting snippet

Post by clofresh »

Awesome! I've been meaning to do this to track FPS and memory. +1 to posting the code on github/bitbucket for collaboration.
----------------------------------------
Sluicer Games
User avatar
fysx
Citizen
Posts: 97
Joined: Mon Jan 30, 2012 8:36 pm
Contact:

Re: LÖVE Plot - plotting snippet

Post by fysx »

josefnpat wrote:Nice! Would be cool to put this somewhere folks could offer pull requests etc;

e.g. you might want to remove the require"strict"
Done and done.

If anyone wants to add features: I would be very happy to accept patches that allow plotting of multiple values ;)
Bird thing: @fysxdotorg Blog thing: fysx.org
User avatar
adnzzzzZ
Party member
Posts: 305
Joined: Sun Dec 26, 2010 11:04 pm
Location: Porto Alegre, Brazil

Re: LÖVE Plot - plotting snippet

Post by adnzzzzZ »

This seems useful, good job!
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests