Jump to content

CSS2/DOM psuedo 3D road

Recommended Posts

Hi Peeps

I used the stuff on Lou's Pseudo 3d page to make a road in CSS - it's just straight and flat at the moment but I thought I'd share for fun.


there's a couple of images which need to load so you need to give it a few seconds.

on phones it looks better landscape.

James Cat

Lou's Pseudo 3d page : www.extentofthejam.com/pseudo/

Link to post
Share on other sites

lol ... I know such reactions. People nowadays sometimes dont value realtime calculated stuff anymore.

That said,actually your friend is right in terms of performance,production costs etc.

Nevertheless,you know how the stuff works "behind the scenes" whether you generate a animated GIF out of it or not.

Link to post
Share on other sites

heh yes :-)


'behind the scenes' there are variables in the code that allow you to change camera position on the fly - in the final thing I'll make the camera height/zoom shift slightly according to the player position - like you say it's one of those 'behind the scenes' things, I'm just hoping to create a demo of applying old arcade raster techniques with DOM.


Thanks for your words of support!

Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...