<!--Библиотека VORON--><!--Модификация курсора https://voron-dev.ru/neon_cursor--> <script type="module"> import { neonCursor } from 'https://cdn.jsdelivr.net/npm/threejs-toys@0.0.8/+esm'
neonCursor({
el: document.getElementsByTagName('body')[0],
shaderPoints: 16,
curvePoints: 80, // Количество промежуточных точек в " неоновом хвосте"
curveLerp: 0.5, // Скорость "хвоста"
radius1: 5, // ширина "хвоста"
radius2: 30, // ширина бликов от "хвоста"
velocityTreshold: 10, // Скорость "краснения" курсора
sleepRadiusX: 100,
sleepRadiusY: 100,
sleepTimeCoefX: 0.0025,
sleepTimeCoefY: 0.0025
})
const resizeObserver = new ResizeObserver(entries =>
document.querySelector('canvas').style.height = document.body.scrollHeight + 'px'
)
resizeObserver.observe(document.body)
</script> <style> canvas[data-engine="three.js r140"] {
position: absolute;
z-index: -1;
top: 0px;
left: 0px;
} </style> 123