Team Updates

We got featured in Newspaper.
We got featured in Newspaper.
Y
Yitendra Kumar
im = Image.new('RGB', (255, 255))
ld = im.load()
rnd,rnd1,rnd2=random.randint(0,125),random.randint(0,125),random.randint(0,125)
rgbrnd=random.sample(range(0,3), 3)
print(rnd,rnd1,rnd2)
q,w,e=1,1,1
r = rnd
g = rnd1
b = rnd2
for x in range(im.size[0]):
if rgbrnd[0]:
r=r+q
if rgbrnd[1]:
g=g+w
if rgbrnd[2]:
b=b+e
if r==255:
q=random.randint(-2,-1)
if g==255:
w=random.randint(-2,-1)
if b==255:
e=random.randint(-2,-1)
for y in range(im.size[1]):
ld[x, y] = (r, g, b)
im
view raw pythoncolor.py hosted with ❤ by GitHub
Y
Yitendra Kumar
from django.contrib import admin
from django.conf.urls import url
from app import views
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
url('admin/', admin.site.urls),
url('^$',views.index,name='index')
]
if settings.DEBUG:
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
view raw django.py hosted with ❤ by GitHub
Y
Yitendra Kumar
NASA Logo

SpaceApps is a NASA incubator innovation program.