Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/repalash/threepipe-device-mockup-codrops
Minimal 3D website to present designs, websites on a laptop and a phone in an interactive environment. Created for a codrops tutorial.
https://github.com/repalash/threepipe-device-mockup-codrops
Last synced: 1 day ago
JSON representation
Minimal 3D website to present designs, websites on a laptop and a phone in an interactive environment. Created for a codrops tutorial.
- Host: GitHub
- URL: https://github.com/repalash/threepipe-device-mockup-codrops
- Owner: repalash
- License: mit
- Created: 2024-08-06T10:12:42.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-07T09:59:45.000Z (3 months ago)
- Last Synced: 2024-08-07T17:59:51.493Z (3 months ago)
- Language: TypeScript
- Size: 11.2 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 3D Device Demo with Threepipe
Minimal 3D website to present designs, websites on a laptop and a phone in an interactive environment using [threepipe](https://threepipe.org).
Clone the repository and run the following commands to get started:
```bash
npm install
npm run dev
```Navigate to `http://localhost:5173` to see the project in action.
## Introduction to Threepipe
[Threepipe](https://threepipe.org) is a new framework for creating 3D web applications using JavaScript or TypeScript. It provides a high-level API built on top of [Three.js](https://threejs.org), offering a more intuitive and efficient way to develop 3D experiences for the web. Threepipe comes with a plugin system(and a lot of built-in plugins), making it easy to extend functionality and integrate various features into your 3D projects.
In the tutorial, we'll create an interactive 3D device mockup showcase using Threepipe, featuring a MacBook and an iPhone model, where users can interact with the model with clicking and hovering over the objects, and drop images to display on the devices. Check out the [final version](https://codepen.io/repalash/full/ExBXvby).
Check the full tutorial on [codrops](https://tympanus.net/codrops/) - https://tympanus.net/codrops/?p=79929
## Next Steps
This tutorial covers the basics of creating an interactive 3D device mockup showcase using Threepipe. You can further enhance the project by adding more models, animations, and interactions. Extending the model can be done in both the editor or in the code.
Here are some ideas to extend the project:
- Add some post processing plugins like SSAO, SSR, etc to enhance the visuals.
- Create a custom environment map or use a different HDR image for the scene.
- Add more 3D models and create a complete 3D environment.
- Embed an iframe in the scene to display a website or a video directly on the device screens.
- Add video rendering to export 3d mockups of UI designs.