Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@casual-simulation/aux-custom-portals
Advanced tools
A set of utilities that can be used to help custom portals interface with CasualOS.
A set of utilities that can be used to help custom portals interface with CasualOS.
npm install @casual-simulation/aux-custom-portals
V1.5.6
os.addDropSnap()
and os.addBotDropSnap()
.
experiment.speakText(text, options?)
and experiment.getVoices()
functions.
os.getGeolocation()
function.
imuPortal
to be able to stream IMU data into CasualOS.
imuPortalBot
will be updated with IMU data from the device.imuSupported
- Whether reading from the IMU is supported. This will be shortly after the imuPortal
is defined.deviceRotationX
, deviceRotationY
, deviceRotationZ
- The X, Y, and Z values that represent the orientation of the device.portalCameraType
tag to allow switching between perspective
and orthographic
projections.
orthographic
- This projection preserves parallel lines from the 3D scene in the output 2D image. As a result, same-sized objects appear the same size on the screen, regardless of how far away they are from the camera.perspective
- This projection makes same-sized objects appear larger or smaller based on how far away they are from the camera. Closer objects appear larger and vice versa.os.enablePointOfView(center?)
and os.disablePointOfView()
functions.
os.enableVR()
or os.enableAR()
and can be used to give the player a "ground level" perspective in the page portal.os.enablePointOfView(center?)
- Enables POV mode by moving the camera to the given position, setting the camera type to perspective
, and changing the controls so that it is only possible to rotate the camera.os.disablePointOfView()
- Disables POV mode by resetting the camera, camera type, and controls.FAQs
A set of utilities that can be used to help custom portals interface with CasualOS.
The npm package @casual-simulation/aux-custom-portals receives a total of 18 weekly downloads. As such, @casual-simulation/aux-custom-portals popularity was classified as not popular.
We found that @casual-simulation/aux-custom-portals demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.