Skip to content

Instantly share code, notes, and snippets.

object CracklePop {
def cracklePop(start: Integer, end: Integer): Unit = {
val cracklePopStr = new StringBuilder()
if (start % 3 == 0) {
cracklePopStr.append("Crackle")
}
import PIL.ImageOps
import numpy as np
import cv2
from PIL import Image
from PIL.ImageOps import invert
from scipy.misc import imread
from matplotlib import pyplot as plt
from scipy.misc import imsave
import os
import time
import shutil
import random
import heapq
def remove_file(f):
if os.path.exists(f):
os.remove(f)
<mujoco model="a1">
<compiler angle="radian" meshdir="assets" texturedir="assets" autolimits="true"/>
<!-- brax doesn't support eliptic friction -->
<option impratio="100"/>
<default>
<default class="a1">
<geom friction="0.6" margin="0.001"/>
<joint axis="0 1 0" damping="2" armature="0.01" frictionloss="0.2"/>