Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
base-viewer
Advanced tools
Viewer components and library to build a 3D architecture web application
<base-viewer>
A customizable, mobile friendly 3D viewer for building interiors.
<head>
<link rel="import" href="https://code.archilogic.com/viewer/1.0.1/interior-viewer.html">
</head>
<body>
<base-viewer src="/3d-assets/some-building.ms.json" style="width:500px;height:300px;" />
</body>
<head>
<style>
.topbox {
position: absolute;
top: 5px;
left: 5px;
}
.bottombox {
position: absolute;
bottom: 5px;
left: 5px;
}
.fadeIn { … }
</style>
<link rel="import" href="https://code.archilogic.com/viewer/1.0.1/interior-viewer.html">
</head>
<body>
<base-viewer id="myViewer">
<base-loading-screen style="background:#f0f0f0">
<img src="my-company-logo.svg">
</base-loading-screen>
<data src="./3d-assets/some-building.ms.json" />
<base-webgl-renderer/>
<base-viewport>
<base-sky-map type="cylinder" src="panorama.jpg" scale="2" offsetY="-0.2"/>
<base-filter type="wireframe"/>
<base-controls>
<base-mouse pitch-lock="true"/>
<base-keyboard />
<base-touchscreen />
</base-controls>
</base-viewport>
<base-camera y="1.65" yaw="72">
<base-bookmark title="Bathroom" … />
<base-bookmark title="Living Room" … />
<base-bookmark id="cam-living-room" hide-in-menu="true" … />
</base-camera>
</base-viewer>
<div class="topbox">
<img class="logo fadeIn" src="…" alt="MyCorp" />
<archilogic-level-menu />
</div>
<div class="bottombox">
<base-cam-bookmarks-menu />
<base-camera-menu floorplan bird person /> <!-- use boolean attributes where appropriate! -->
</div>
<button class="cta" style="bottom: 5px; right: 5px;">Get your own 3D model</button>
<script>
let myViewer = document.querySelector("interior-viewer#myViewer")
myViewer.camera.stop()
console.log(myViewer.camera.getPosition())
</script>
</body>
Open source, web based and optimized for mobile.
FAQs
Viewer components and library to build a 3D architecture web application
The npm package base-viewer receives a total of 1 weekly downloads. As such, base-viewer popularity was classified as not popular.
We found that base-viewer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.