This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import pymunk | |
import pygame | |
from pymunk.vec2d import Vec2d | |
from pygame.locals import QUIT, KEYDOWN, K_ESCAPE, K_q, K_SPACE | |
from pymunk.pygame_util import to_pygame, DrawOptions | |
BLACK = (0, 0, 0) | |
RED = (255, 0, 0) |