What do you want to save?
Add Code snippet
New code examples
-
Other 2022-01-30 11:55:32
unity random array element
using UnityEngine; using System.Collections; public class GameController : MonoBehaviour { public GameObject Enemy; public GameObject Player; public float sd = 5f; public float dia = 0.005f; public float[] yValues = new float[] {-3.5... Add solution -
C# 2022-01-28 18:05:39
unity reset random seed
Random.InitState(System.Environment.TickCount); Add solution -
Python 2022-01-26 07:30:09
poisson disc python
import numpy as np import matplotlib.pyplot as plt # Choose up to k points around each reference point as candidates for a new # sample point k = 30 # Minimum distance between samples r = 1.7 width, height = 60, 45 # Cell side length a = r/np.sqrt(2) ... Add solution -
Javascript 2022-01-26 03:22:05
aframe react
import 'aframe';import 'aframe-particle-system-component';import {Entity, Scene} from 'aframe-react';import React from 'react';import ReactDOM from 'react-dom'; class VRScene exten... Add solution