Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

My first app - Pigs in Clover

edited October 2011 in Code Sharing Posts: 447

disclaimer: buggy and hacky but works well enough

Question: how do I make the formatting come out right in this forum?

Edit: posted here instead https://gist.github.com/1325162 Thanks Bortels

Comments

  • BortelsBortels Mod
    Posts: 1,557

    I suggest posting the code to gist, then simply putting a link here.

    https://gist.github.com/

    PS. Neat app!

  • Hi ruilov, got your code kind of working after a bit of reformatting - maybe copy and paste issues? It's good stuff, have you worked any further on this?

  • edited November 2011 Posts: 447

    reposted with better formatting, a couple of bug fixes and small new features (sounds!)

    https://gist.github.com/1330422

    don't plan to do anything else with it though but would love to see anything you manage to make from it

    edit: arg, still having problems copy-pasting the code. Now it ate all my ^ chars. I'll figure it out later but for now updated the source by manually putting the ^ chars back in. Hopefully got all of them.

  • Confirm that it works a treat! Seems to have the same slowish ellipse rendering that I've experienced too, other than that, top marks!

  • Posts: 447

    cool. Would be cool to remake this with the new physics stuff that's coming up, although I believe the physics API won't have a way to make semi-open circlers

  • SimeonSimeon Admin Mod
    Posts: 5,387

    I think it does. (This is beta talk: check out the "edge chain" example in the Physics Lab – test number 9.)

Sign In or Register to comment.