# 3d Rendering with floor and ceiling!

**URL:** https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758
**Category:** Arcade
**Tags:** graphics-and-math, extension, game
**Created:** [July 20, 2024, 5:06pm UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758 "2024-07-20T17:06:04Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![neintoes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/neintoes/32/8315_2.png) [@neintoes](https://forum.makecode.com/u/neintoes)
#### Post date: [July 21, 2024, 4:57am UTC](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758/8 "2024-07-21T04:57:11Z")

</div>

I can’t seem to figure out how to tag the original authors of the pxt-raycasting and original floor rendering code, so while I figure out how to tag users, here’s the updated extension now with ceiling rendering (and MrFranko’s floor rendering) forked from AqeeAqee’s raycasting extension :

> **[GitHub - neintoes/pxt-raycasting: AqeeAqee's raycasting extension with...](https://github.com/neintoes/pxt-raycasting)**
>
> AqeeAqee's raycasting extension with ceiling rendering and MrFranko's floor rendering - neintoes/pxt-raycasting

The project in the gif above can be achieved by simply using code from the ‘3d Render’ section like this image:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/3/2/32f3f4a9adb479da521008ef952f6c3b8bc5b743.png)

**Note: the ceiling tilemap must match the width and height of the tilemap that is currently loaded or it will throw an error.**

---

_[View the full topic](https://forum.makecode.com/t/3d-rendering-with-floor-and-ceiling/29758)._
